Commit Graph

9697 Commits

Author SHA1 Message Date
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
wp_xxyyzz
53fc9b1dc3 Sample project for various POI marker settings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9570 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-08 11:40:46 +00:00
wp_xxyyzz
da08930f63 LazMapViewer: New TextPositionHor and TextPositionVert properties of TGPS|MapPointOfInterest.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9569 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-07 18:18:26 +00:00
wp_xxyyzz
ee3135daf1 LazMapViewer: New ImageAnchorX and ImageAnchorY properties of TGPS|MapPointOfInterest.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9568 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-07 17:28:13 +00:00
wp_xxyyzz
073231eb50 ExCtrls/TFloatSISpinEditEx: Supports more prefixes (binary as well as some metric).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9567 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-06 22:57:12 +00:00
wp_xxyyzz
8fe8d3a882 LazMapViewer: Add TMvPluginManager.AddPlugin method. Some cosmetics.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9566 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-05 18:11:51 +00:00
wp_xxyyzz
fc1b7b9ccd LazMapViewer: Reverse dispatching order of mouse events in plugin manager. Add mouse-paint-order demo for it.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9565 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-05 17:49:49 +00:00
wp_xxyyzz
0f1b627cf4 LazMapviewer: Add palette icon for TMvPluginManager (by Ekkehard Domning). Move components to page "MapViewer" (from "Misc")
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9564 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-04 21:22:51 +00:00
wp_xxyyzz
853503a11f LazMapViewer: Rename TPluginManager.Item[] to .Items[]. Add properties .Count, .MapViewCount and .MapViews[].
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9563 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-04 21:12:05 +00:00
wp_xxyyzz
4c30141e1a LazMapViewer: Add utility functions for centering.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9562 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-01 23:56:23 +00:00
wp_xxyyzz
9c6eef3b8c LazMapViewer: Extend Layer Editor to zoom and center on loaded gpx track
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9561 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-01-01 23:45:06 +00:00
wp_xxyyzz
02072abd47 LazMapViewer: Fix positioning of PointsEditor form. Issue #39088.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9560 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-31 18:22:00 +00:00
wp_xxyyzz
62abb888cf LazMapViewer: Fix Layer Editor crashing when layer with loaded gpx file is deleted.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9559 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-31 12:47:39 +00:00
wp_xxyyzz
6c1f27b048 LazMapViewer: Update object tree with tracks/pois loaded as gpx from layer editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9558 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-31 12:11:47 +00:00
wp_xxyyzz
72bb393e2f LazMapviewer: Add layer editor as additional TMapView component editor. Replace Load/Save buttons in layer editor by tool buttons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9557 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-30 18:50:30 +00:00
wp_xxyyzz
1e6d2ffcf8 LazMapViewer: Extend LinkedMaps demo with zoom buttons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9556 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-29 17:55:24 +00:00
wp_xxyyzz
b96869c8fc LazMapViewer: Implement MapViewEnabled for MultiMapsPlugin. Extend dragmarker_demo to show enabling of specific maps.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9555 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-29 17:31:14 +00:00
wp_xxyyzz
44cbf67019 LazMapViewer: Activate ControlStyle csAcceptsControls in TMapView (allowing to add any controls to the map viewer). Issue #39090.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9554 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-29 00:15:28 +00:00
wp_xxyyzz
2a66f07424 LazMapViewer: Extend TLegalNoticePlugin to support embedded links and line-breaks. Update demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9553 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-28 12:52:00 +00:00
alpine-a110
230cdbbc3b LazMapViewer: Fixed (2) Flickering of component on map, (4) Mark of track points, (5) Selection identification, (6) Red border; from issue #39088.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9552 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-26 18:22:25 +00:00
alpine-a110
200f5209e3 LazMapViewer: Fixed recursive loop when loading TMapView component with UseThreads=true.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9551 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-25 22:40:12 +00:00
wp_xxyyzz
8457b3b34a LazMapViewer: New class TMvMultiMapsDrawPlugin combining TMvMultiMapsPlugin and TMvDrawPlugin used for the LegalNotice-Plugin.
Added published Property DragMouseButton in the TDraggableMarkerPlugin to allow dragging with specific MouseButtons. Contributed by Ekkehard Domning.


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9550 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-23 21:59:36 +00:00
alpine-a110
0b8056db78 LazMapViewer: TMapEditMark observing deletions of map items. Issue #39089.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9549 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-23 14:10:45 +00:00
wp_xxyyzz
7b9236498a LazMapViewer: Rename TPointOfInterestDrawEvent to TMapPointOfInterestDrawEvent
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9548 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-12-20 21:31:16 +00:00