Commit Graph

67274 Commits

Author SHA1 Message Date
Martin
65809d7515 LCL: ChildSizing, fix computation of MaxWidth/Heigh for cells 2024-03-22 15:42:20 +01:00
Pascal Riekenberg
3caf5b699b SynEdit: Syncro edit: fixed wrong type cast 2024-03-22 10:53:43 +01:00
wp_xyz
51d2468af3 fpvectorial: One more exception when a non-text page is passed to the pdf writer. Issue #40858. 2024-03-21 19:09:21 +01:00
wp_xyz
e8c9f1f61e fpvectorial: Raise exception when pdfvectorialwriter is requested to save a vectorial (non-text) page. Issue #40858. 2024-03-21 19:00:50 +01:00
Maxim Ganetsky
2b58463b83 IDEDebugger: updated Russian translation 2024-03-21 17:54:07 +03:00
Martin
55a673e4c4 Debugger: Updated delete/confirmation dialogs to TTaskDialog. 2024-03-21 14:17:19 +01:00
Martin
5779cff4d2 LCL: Add wrapper functions for TTaskDialog. So it can be used like MessageDlg. 2024-03-21 14:16:04 +01:00
Maxim Ganetsky
1a1e02d2dc IDE: regenerated translations and updated Russian translation 2024-03-21 01:51:54 +03:00
Maxim Ganetsky
5af7c4b808 IDEDebugger: updated Russian translation 2024-03-21 01:49:04 +03:00
Martin
6c6ab806b3 Debugger: Add confirmation dialogs for delete Watches/History. Make confirm delete breakpoints optional. 2024-03-20 19:45:07 +01:00
Martin
7d98811e16 Debugger: New icon for "delete all" in debugger dialogs. And new icon "address" for watches. Images by Roland Hahn 2024-03-20 19:45:07 +01:00
Martin
82cda34b48 FpDebug, test: update for 3.3.1 2024-03-20 19:45:07 +01:00
Martin
ca431adcf2 FpDebug, test: disable thread check on Linux. Not required, and currently not fully implemented 2024-03-20 19:45:06 +01:00
Martin
6216a99ce5 Debugger, IDE: Fix storage for array of structure, if first element is error (error, after some fields added / wrong field count stored) 2024-03-20 19:45:06 +01:00
martin
5c5e12448d FpDebug, Linux: Fix leaked handle 2024-03-20 19:45:06 +01:00
dsiders
2fb5d41799 Docs: LCL.controls. Adds version admonitions to topics for changes in 3aaae1a6. Issue #40838.
* TWinControl.AdjustClientRect
* TWinControl.AlignControls
* TWinControl.ChildSizing
2024-03-20 19:24:08 +01:00
mattias
733ac0edd1 freetype: cleaned up some uses sections 2024-03-20 15:42:59 +01:00
marcos-ebm
d3f23af47c Translations: Brazilian Portuguese translation update, merge request !275 2024-03-19 20:43:30 +03:00
dsiders
ead3135f3c Docs: LCL/clipbrd. Updates content in the TClipboard.GetComponentAsText topic. 2024-03-19 17:49:51 +01:00
dsiders
60813b02c5 Docs: LazUtils/lazutf8. Removes unneeded TODO entries. 2024-03-19 17:45:35 +01:00
Maxim Ganetsky
decd3881c4 IDEIntf: regenerated translations and updated Russian translation 2024-03-19 19:10:35 +03:00
Maxim Ganetsky
0395c402b1 IDE: regenerated translations and updated Russian translation 2024-03-19 19:08:55 +03:00
Maxim Ganetsky
0df6225782 IDE: minor resource string improvements 2024-03-19 19:06:21 +03:00
wp_xyz
5621ec7af3 IDE/LCL: Prevent using the TListItems component editor when the associated listview is in virtual mode. https://forum.lazarus.freepascal.org/index.php/topic,66660.0.html, patch by dsiders. 2024-03-18 21:07:15 +01:00
Martin
5f9dd398f7 FpDebug: fix "EProcess" not found 2024-03-18 20:47:12 +01:00
Martin
6f0d8113cd FpDebug: Remove LCL / Win32Proc 2024-03-18 19:54:48 +01:00
Martin
dec0414cd6 FpDebug: update Makefile 2024-03-18 17:54:30 +01:00
Martin
a9ecef9ad2 LazDebuggerFp: defer destroying internal breakpoints, so they don't access any pending TDbgThreads (try getting instruction pointer) 2024-03-18 15:52:53 +01:00
Martin
34a5fe0392 Debugger, Test: don't get current location when not paused 2024-03-18 15:52:33 +01:00
Martin
6aa6ea6983 Ide, Debugger, FpDebug: Implement StdIn/StdOut file redirection. Issue #40458 2024-03-18 14:01:44 +01:00
dsiders
1dad391af7 Docs: LazUtils/translations. Adds missing topics and content for:
* GetLanguageIDFromLocaleName
* UpdatePOFile
2024-03-17 17:30:31 +01:00
rich2014
adc486abd0 Cocoa: fix #40853, Merge branch 'cocoa/scroll' 2024-03-17 22:24:25 +08:00
rich2014
ed95006509 Cocoa: Fix the issue that NSScrollView always consumes scrollWheel by itself
when NSScrollView itself does not need to scroll, scrollWheel should be passed to the upper NSScrollView.
it's intuitive and consistent with usage habits.
for example, the usability of "Lazarus IDE - Options Dialog" can be greatly improved.
2024-03-17 22:21:58 +08:00
rich2014
5cb028ee29 Cocoa: Fix Vertical Scroll Bar visibility issue in TCocoaWidgetSet.GetScrollbarVisible()
details:
1. in macOS system settings, set the scroll bar to always be shown.
2. the height of DocumentView does not exceed the visual vertical size of NSScrollView, but the difference is smaller than the scroll bar size.
3. the width of DocumentView exceeds the visible horizontal size of NSScrollView.
at this time, the horizontal scroll bar is shown correctly, but the vertical scroll bar is not shown. the correct result should be that because the horizontal scroll bar occupies vertical space, a vertical scroll bar should appear.
2024-03-17 22:21:58 +08:00
rich2014
142678cee6 Cocoa: keep the precision of getting and setting ScrollBar consistent 2024-03-17 22:21:58 +08:00
rich2014
5a7b7dbf37 Cocoa: NSScrollViewSetScrollPos refactored 2024-03-17 22:21:58 +08:00
rich2014
48c3b8d61b Cocoa: NSScrollerGetScrollInfo & NSScrollViewGetScrollInfo refactored 2024-03-17 22:21:58 +08:00
rich2014
75c05e54e8 Cocoa: TCocoaWidgetSet.SetScrollInfo() refactored 2024-03-17 22:21:58 +08:00
rich2014
308f3acce6 Cocoa: Fix the issue when the ScrollBar Visibility is toggled due to the frame size being changed
after the frame size changes, if one ScrollBar Visibility is toggled, which may cause the size of another ScrollBar to change.
on Cocoa, after calling setHasXXXScrollBar(), we must calculate and set all two ScrollBars again.
2024-03-17 22:21:58 +08:00
rich2014
e82f9bc1b7 Cocoa: Fix scroll issue of the NSScrollView in NSScrollViewSetScrollPos()
1. it's the issue caused by macOS animation
2. the issue can be observed in Lazarus IDE - Options - General Tab (move by Keyboard cursor key only)
2024-03-17 22:21:58 +08:00
rich2014
0724aee3df Cocoa: Fix scroll bar visibility issue of the TScrollingWinControl in TCocoaWSCustomForm.CreateHandle()
base on 7ea0e2d, create NSScrollView with default scroll bar visibility (hidden)
2024-03-17 22:21:58 +08:00
rich2014
5418c6f07d Cocoa: Fix scroll bar visibility of TCocoaScrollView in TCocoaWidgetSet.SetScrollInfo()
since macOS 10.7, NSScrollerStyleOverlay is used by default, and the scroll bar needs to be set before the DocumentView size changes.
2024-03-17 22:21:58 +08:00
rich2014
2d1f1e0652 Cocoa: Fix scroll bar init issue of the Form in TCocoaWSCustomForm.CreateHandle()
1. in TCustomForm.ShowModal(), a modal form with pmNone may be destroyed and recreated by RecreateWnd().
2. in this case, some initialization data needs to be obtained from the Form, such as the setting data of ScrollBar.
3. for example, IDEOptionsDialog in Lazarus IDE.
2024-03-17 22:21:58 +08:00
rich2014
e7b7b114a2 Cocoa: Fix scroll bar visibility issue in TCocoaWidgetSet.GetScrollbarVisible()
if the following two conditions are met at the same time, it will cause an infinite loop:
1. in macOS system settings, set the scroll bar to always be shown.
2. NSScrollView sets Border to bsSingle (occupies two points)
3. the width of DocumentView just exceeds the visual horizontal size of ScrollView by 1-2 points
2024-03-17 22:21:57 +08:00
rich2014
ab4727c101 Cocoa: Fix Document size in TCocoaScrollView
in the previous implementation, the entire frame of ScrollView was mistakenly used instead of Client Bound.
2024-03-17 22:21:57 +08:00
rich2014
c00f60ad39 Cocoa: Fix Scroller Bound in Custom Control (eg. TTreeView)
1. on Cocoa, when there are multiple subviews in an NSView, AutoresizesSubviews of the NSView may cause the subviews' position to be adjusted by Cocoa
2. in TCocoaManualScrollView, there are three subviews: document, fhscroll, and fvscroll, which may be accidentally adjusted by Cocoa.
3. by canceling AutoresizesSubviews, manually adjust the bounds of the three subviews and correct related issues.
2024-03-17 22:21:57 +08:00
wp_xyz
8744e56918 TAChart: Support series pointers in TAChartStyle. 2024-03-16 22:24:31 +01:00
Juha
d50abe6209 IDE: EditorOptions, remove "ShowFileNameInCaption" from Misc section. Issue #40821 2024-03-16 14:19:36 +02:00
Martin
0ace4633e8 IDE: EditorOptions, save CompletionLongLineHintType in the Codetool XML node. Issue #40821 2024-03-16 11:17:30 +01:00
Juha
30950b1cc2 IDE: Enable fppkg configuration file selection. Issue #40850, patch by Peacoor. 2024-03-16 11:27:29 +02:00