Commit Graph

9720 Commits

Author SHA1 Message Date
wp_xxyyzz
016a7136bb FPSpreadsheet: Fix error in IF formula when second argument contains an error and is selected. See https://forum.lazarus.freepascal.org/index.php/topic,70117.msg546252. Update unit test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9620 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-06 21:26:55 +00:00
wp_xxyyzz
9bb978ae0f LazMapViewer: Provide method to clear the tile cache. Issue #39103.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9619 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-06 10:52:03 +00:00
wp_xxyyzz
24f7ae65f5 LazMapViewer: Add persistent classes TMapRealPoint for TRealPoint and TMapRealArea for TRealArea.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9618 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-05 23:17:30 +00:00
wp_xxyyzz
2a8df5456c LazMapViewer: Restrict LatLonToDMS property editor allow only latitudes between +/-90° and longitudes between +/-180°
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9617 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-05 22:16:50 +00:00
wp_xxyyzz
20a2365fca LazMapViewer: Add property MouseButtonDown[] to plugin manager. Patch by Ekkehard Domning.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9616 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-04 23:20:11 +00:00
wp_xxyyzz
017c0eab2b FPSpreadsheet: Add more unit tests for CONCATENATE, EXACT, LEN, LOWER and UPPER
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9615 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-03 18:10:10 +00:00
wp_xxyyzz
d334b73843 LazMapviewer: Moved SelectedAreaChangedEvent to the end of MouseUp in mvareaselectionplugin.pas (patch by Ekkehard Domning)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9614 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-01 10:17:24 +00:00
alexs75
025bbdb0d2 RxFPC:fix compile after lazarus rev 476da882
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9613 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-31 19:57:37 +00:00
wp_xxyyzz
e8bac51fc8 LazMapViewer: Register area selection plugin. Rework area selection demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9612 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-31 18:44:34 +00:00
wp_xxyyzz
bd1bc6cf8f LazMapViewer: Improvements in GreatCircle plugin, by Ekkehard Domning.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9611 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-31 13:03:27 +00:00
wp_xxyyzz
df186894ba LazMapViewer: Add unit tests for great-circle calculations. Move general great-circle procedure from plugin to mvGeoMath.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9610 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-31 12:29:38 +00:00
wp_xxyyzz
06b87dfade LazMapViewer: Add GreatCirclePainterPlugin by Ekkehard Domning. Refactor some calculation routines in mvGeoMath
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9609 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-29 17:38:26 +00:00
wp_xxyyzz
320d413df5 LazMapViewer: Fix Spreadmarker_Demo broken along the way...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9608 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-28 13:05:28 +00:00
wp_xxyyzz
46e39361c5 LazMapViewer: Rename map provider "OpenStreetMap Mapnik" to "OpenStreetMap Standard", issue #39098. Adjust sample projects to the new provider name.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9607 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-28 10:21:55 +00:00
wp_xxyyzz
5c33ac9769 FPSpreadsheet: Add more unit tests for formula AVERAGEIF .
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9606 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-27 23:05:14 +00:00
wp_xxyyzz
e66040bd5c FPSpreadsheet: Add more unit test cases for COUNTIF and SUMIF.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9605 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-26 23:31:57 +00:00
alpine-a110
35839d3bc3 LazMapViewer: Fixes on r9594: TMapEditMark writable cursor shape and DoDrag interruption.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9604 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-26 18:21:41 +00:00
wp_xxyyzz
d80948d93a FpSpreadsheet: More formula calculation unit tests. Fix some formulas for special arguments.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9603 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-25 18:32:21 +00:00
wp_xxyyzz
0efab0339c FPSpreadsheet: Add more unit tests for formula calculation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9602 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-24 00:12:37 +00:00
inoussa
052d94d02f Add support for Delphi11.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9601 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-23 18:17:01 +00:00
inoussa
bf962826cf +TypeScript generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9600 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-23 18:13:16 +00:00
inoussa
c8133ba5ee object_serializer : Fill the array for tkMRecord and tkPointer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9599 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-23 17:51:47 +00:00
inoussa
138c5bf720 FPC HTTP Transport: +UserName, +Password.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9598 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-23 17:50:26 +00:00
wp_xxyyzz
c5b8b6077c FPSpreadsheet: Fix error propagation in ISERROR formula. Fix Excel pecularities in DATE and TIME formulas. Add formula calculation unit tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9597 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-23 00:04:07 +00:00
wp_xxyyzz
e5e12455ea FPSpreadsheet: Redo error propagation in formula engine (https://forum.lazarus.freepascal.org/index.php/topic,69893.msg544003.html#msg544003, https://forum.lazarus.freepascal.org/index.php/topic,69900.0.html). Incomplete, formula IsError is broken.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9596 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-22 12:02:41 +00:00
wp_xxyyzz
e7384d44ad FPSpreadsheet: Fix formulas with sheetnames containing a dash character (https://forum.lazarus.freepascal.org/index.php/topic,69891.0.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9595 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-20 18:04:36 +00:00
alpine-a110
13b9d3578d LazMapViewer: Points editor changes: Track/area points can be now entered sequentially by clicking with the mouse; lon/lat of the selection can be changed directly to any supported format (floating point or deg-min-secs)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9594 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-18 21:53:49 +00:00
wp_xxyyzz
b9d49d118d CalLite: Rename some internal variables for better clarity.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9593 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-18 10:59:35 +00:00
wp_xxyyzz
a95ac46c9d CalLite: Avoid crash when Colors are shared (Issue #39097)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9592 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-18 10:42:00 +00:00
wp_xxyyzz
cae258705a FPSpreadsheet: Avoid splitting of cell comments in worksheetgrid when the comment contains a '|' character.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9591 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-16 13:32:46 +00:00
wp_xxyyzz
4d8fc61fad callite: Add HitTest. Issue #39096.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9590 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-15 19:14:43 +00:00
wp_xxyyzz
bcf7b5c43f LazMapViewer: Fix compilation of previous commit. Update points editor form (hide "Select" button which has no function)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9589 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-15 11:30:10 +00:00
wp_xxyyzz
d89df48fd2 LazMapViewer: Add area section plugin with demo. Allow to delete points in spreadmarker_demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9588 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-15 09:59:45 +00:00
wp_xxyyzz
3d1e300fcd LazMapViewer: Add plugin handler for OnResize
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9587 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-15 09:36:40 +00:00
wp_xxyyzz
1ca7133883 New palette icons for LazMapViewer by Roland Hahn
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9586 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-13 15:44:41 +00:00
wp_xxyyzz
0879ee4a0e LazMapViewer: New palette icons by Roland Hahn
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9585 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-13 15:26:42 +00:00
wp_xxyyzz
41b03db616 LazMapViewer: Update project group
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9584 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 20:22:58 +00:00
wp_xxyyzz
a3928d5e6f LazMapViewer: Avoid generic file names in sample projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9583 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 15:18:19 +00:00
wp_xxyyzz
0afda6d375 LazMapViewer: Remove duplicate code from TMvDrawPlugin.Destroy
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9582 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 14:54:08 +00:00
wp_xxyyzz
8df360f422 LazMapViewer: Rename unit mvPluginCore to mvPluginCommon. Adapt all sample projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9581 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 11:06:39 +00:00
wp_xxyyzz
4bf90d369f LazMapViewer: Improvements of TDraggableMarkerPlugin, issue #39094.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9580 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 10:04:58 +00:00
wp_xxyyzz
d793149fb7 LazMapViewer: Fix adding and deleting plugins from PluginManager.PluginList directly. Protect other TPluginList methods inherited from TFPList. Introduce EMapViewerException class.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9579 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-11 09:44:08 +00:00
wp_xxyyzz
ba8b889d48 LazMapViewer: (Hopefully) fix incorrect deletion of Plugmanager and Plugins and resulting crash when IDE closes. Issue #39093.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9578 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-09 22:57:29 +00:00
wp_xxyyzz
9b216b5dcd LazMapViewer: Avoid cache running over its max size when new items are added. Code by Ekkehard Domning.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9577 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-09 21:57:30 +00:00
wp_xxyyzz
aed26fd17b LazMapViewer: Fix floating point error in HaversineAngle. In CalcIntermedPoint, use length units specification in CalcGeoDistance rather than multiplying result by 1000.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9576 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-09 21:48:48 +00:00
wp_xxyyzz
b361823008 LazMapViewer: Cosmetics in mvCache
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9575 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-09 17:32:06 +00:00
wp_xxyyzz
5fbafff4bf LazMapViewer: mvCache update (code by Ekkehard Domning):
- Add property for the maximum number of tiles kept in memory (linked to MapView by Engine)
- Cache items stored in TFPObjectList rather than StringList
- Sorted StringList for faster searching.


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9574 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-09 16:54:05 +00:00
wp_xxyyzz
a57c5a8f75 LazMapViewer: Slight improvements in point-of-interest markers demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9573 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-08 17:00:19 +00:00
wp_xxyyzz
06dcec188d LazMapViewer: Fix positioning of word-wrapped text in IntfGraphics drawing engine.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9572 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-08 16:59:06 +00:00
wp_xxyyzz
6fc9d9e6ab LazMapViewer: Fix exchanged x/y in text measuring .
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9571 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-08 16:58:13 +00:00