Commit Graph

9682 Commits

Author SHA1 Message Date
wp_xxyyzz
2eb97a3732 LazMapViewer: Fix drawing of missing tiles. Issue #39111.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9682 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-14 19:20:10 +00:00
wp_xxyyzz
a49a182aa2 LazMapViewer: Minor refactoring of tile drawing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9681 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-14 18:04:04 +00:00
wp_xxyyzz
870c3252cb LazMapViewer: Fix incorrect painting of stretched and missing tiles when Cyclic is true.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9680 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-13 15:50:11 +00:00
wp_xxyyzz
7cf32c3448 LazMapViewer: Support TransparentMap property also in painting of stretched tiles.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9679 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 22:44:39 +00:00
wp_xxyyzz
43ee80e563 LazMapViewer: Add property TransparentMap to allow correct background drawing of alpha-channel-transparent tiles. Add OnAfterDrawTile event forgotten in r9666.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9678 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 22:29:23 +00:00
wp_xxyyzz
2ddd901a34 LazMapViewer: New area icon by Roland Hahn
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9677 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 22:05:32 +00:00
wp_xxyyzz
201779c33c LazMapViewer: Add OnDrawEditMark event to TMapView allowing to custom-draw the EditMark of the viewer. Internal FMarquee* properties renamed to FRubberband*
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9676 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 14:28:40 +00:00
wp_xxyyzz
12eb71ee4e LazMapViewer: Fix loss of coordinate accuracy when dragging points at small zoom factor. Issue #39114.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9675 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 09:46:35 +00:00
wp_xxyyzz
adc968308b LazMapViewer: In TMapEditMark, move declarations of FPt, FMarquee, FMarqueeRect, and FLit from private to protected section. Rename FLit to FList. Issze #39114
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9674 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-11 13:54:25 +00:00
wp_xxyyzz
6dcc628ea3 LazMapViewer: Create the MapView's EditMark in a separate virtual method, CreateEditMark. Issue #39114
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9673 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-11 10:29:41 +00:00
wp_xxyyzz
e8c36f1bc2 LazMapViewer: Improved usability of Map Points Editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9672 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-10 22:28:35 +00:00
wp_xxyyzz
d46dae3faa LazMapViewer: Apply EditMark.CursorShape only when mouse is over MapView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9671 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-10 21:56:53 +00:00
wp_xxyyzz
03a94f1e25 LazMapViewer: Minor cosmetics
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9670 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-09 16:20:53 +00:00
wp_xxyyzz
9ddd028c92 GridPrinter: Increase version to 0.7 after OPM update.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9669 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-09 14:00:29 +00:00
wp_xxyyzz
3fe880025c GridPrinter: Increase version to 0.6 for OPM update.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9668 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-09 13:33:12 +00:00
wp_xxyyzz
6568b6edf7 LazMapViewer: Improved Area icon for the PointsEditor by Roland Hahn.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9667 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-09 13:18:36 +00:00
wp_xxyyzz
e1c08d4b8a LazMapViewer: Add TileInfo plugin. Issue #39112.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9666 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-09 00:14:57 +00:00
wp_xxyyzz
d80d4c79f5 LazMapViewer: Restrict zoom level to allowed range. Part of issue #39111.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9665 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-08 21:28:25 +00:00
wp_xxyyzz
637f4bbf66 Add more icons for LazMapViewer. By Roland Hahn.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9664 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-08 18:45:28 +00:00
wp_xxyyzz
e4ab7bc646 LazMapViewer/PointsEditor: Use high-dpi icons by Roland Hahn. Toolbar instead of speed buttons. More descriptive edit mode info texts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9663 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-08 18:41:51 +00:00
wp_xxyyzz
4d9359aea2 LazMapViewer: Fix "semicolon after 'then'" issue in unit mvDrawingEngine. Issue #39109.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9662 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-06 18:41:17 +00:00
wp_xxyyzz
61effac4d9 LazMapViewer: Fix duplicate painting of points in TGPSComboLayer (side-effect of #9658).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9661 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-05 16:14:33 +00:00
wp_xxyyzz
62dad16629 LazMapViewer: Cleanup
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9660 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-04 10:09:01 +00:00
wp_xxyyzz
5c8d6b0cb2 LazMapViewer: Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9659 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-04 09:25:12 +00:00
wp_xxyyzz
f98a48a096 LazMapViewer: TGPSObjectList.Draw now draws its items. Issue #39110.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9658 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-04 09:02:34 +00:00
wp_xxyyzz
688e0e2303 LazMapViewer: Replace method TMapView.GetIDsArea by .GetAreaOfIDs (deprecate the old one).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9657 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-04 08:56:22 +00:00
wp_xxyyzz
223a1ca884 LazMapViewer: Add GPSObj filter also to public MapViewer methods ObjsAtScreenPt and VisibleObjsAtScreenPt. Issue #39108.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9656 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-04 08:39:16 +00:00
wp_xxyyzz
b37743bbf4 LazMapViewer: MapViewer's FindObjsAtScreenPt now can filter by TGPSObj class type. Issue #39108.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9655 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-03 23:09:08 +00:00
wp_xxyyzz
ccdccc2805 JVCLLaz: Fix "semicolon after then" bug in JvDBTreeView demo (issue #39109)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9654 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-02 17:35:29 +00:00
wp_xxyyzz
9a4f0f40f1 powerpdf: add project group for all sample projects. Remove lib folder.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9653 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-27 11:07:01 +00:00
wp_xxyyzz
58fdb80002 powerpdf: Fix compilation with Laz v4.99
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9652 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-27 11:00:27 +00:00
wp_xxyyzz
cfe6c14a8f fpspreadsheet: Clip cell ranges at the sheet dimension limits. Add some test cases for it.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9651 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-26 23:27:47 +00:00
wp_xxyyzz
31951b323a TParadoxDataset: clean-up
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9650 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-26 17:08:38 +00:00
wp_xxyyzz
125e6e11ca TParadoxDataset: Activate InputEncoding property for writing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9649 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-26 14:17:43 +00:00
wp_xxyyzz
5095b475b2 FPSpreadsheet: Restructure unit tests in calcformulatests.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9648 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-25 16:40:57 +00:00
wp_xxyyzz
97e1d1e881 FPSpreadsheet: Add unit tests for ASIN, ATAN and SQRT formulas.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9647 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-25 12:51:37 +00:00
wp_xxyyzz
960402692f FPSpreadsheet: Fix misc bugs in INDEX and INDIRECT formulas.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9646 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-25 10:49:55 +00:00
wp_xxyyzz
cadf2d517a FPSpreadsheet: Add unit tests for MATCH formula searching in 2nd sheet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9645 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-24 12:14:14 +00:00
wp_xxyyzz
7c75ca5398 FPSpreadsheet: Fix INDIRECT for cell range references. Add unit tests for the INDIRECT formula.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9644 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-24 11:48:51 +00:00
wp_xxyyzz
a02dcc5c93 FPSpreadsheet: Fix worksheetgrid AutoAdvance default value (https://forum.lazarus.freepascal.org/index.php/topic,70342.msg548118)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9643 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-23 16:31:18 +00:00
wp_xxyyzz
b3fca34799 FPSpreadsheet: Fix formula MATCH support of wildcards in strings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9642 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-19 18:47:36 +00:00
wp_xxyyzz
69fb5b2ea2 FPSpreadsheet: Fix compilation (issue #39106). Add unit test for ADDRESS formula.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9641 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-18 09:17:14 +00:00
wp_xxyyzz
81f20ccfdb FPSpreadsheet: Add unit tests for ACOS, ODD, POWER, RADIANS
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9640 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-17 10:58:14 +00:00
wp_xxyyzz
350efafd15 FPSpreadsheet: Handle missing argument in ROW and COLUMN formulas. Add unit tests for ROW, COLUMN, LOG, LOG10, and fix others regarding error cases.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9639 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-17 08:50:06 +00:00
wp_xxyyzz
b794930352 LazMapViewer: Fix crash in qt5 due to text output in plugins (reason: incorrect text size measurement) Issue #39105
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9638 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-15 18:55:06 +00:00
inoussa
846ac6f77a Allow assignment for readonly object property.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9637 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-13 10:30:43 +00:00
wp_xxyyzz
7830ba9937 LazMapViewer: Avoid duplicate storage of property values in TMapPoint and TMapPointOfInterest.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9636 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-12 22:31:37 +00:00
wp_xxyyzz
9e05b54fae LazMapViewer: Update project group
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9635 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-12 21:45:18 +00:00
wp_xxyyzz
22ff28efaf LazMapViewer: Update flights demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9634 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-12 21:44:53 +00:00
wp_xxyyzz
c5692c7ba9 LazMapViewer: Redeclare ImageAnchor percentages as integer (0..100) rather than singles (0..1) to avoid streaming issues. (Might break existing projects)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9633 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-02-12 18:54:03 +00:00