Commit Graph

67537 Commits

Author SHA1 Message Date
Martin
1f35f2f89b LCL: ChildSizing, fix calculating MaxWidth/Heigh for cell. If any chell in the Column(or Row in case of Height) has a Constraint it will apply (even if other are not constraint). If several have MaxWidth, the smallest MaxWidth applies. 2024-03-24 20:13:12 +01:00
Maxim Ganetsky
defe854704 CI: enabled LCL test job to run automatically 2024-03-24 17:12:44 +00:00
rich2014
0ac0870a84 Cocoa: fix Font Orientation issue #40855 (by Johann) 2024-03-25 00:34:25 +08:00
Maxim Ganetsky
9c22f26428 CI: added LCL test job (manual for now) 2024-03-24 16:29:38 +00:00
rich2014
a528a5c515 FpDebug: fix compliation error when FPC<3.3.1 2024-03-24 23:57:04 +08:00
Martin
560c6818f9 LCL: ChildSizing, fix applying new Height. Issue #24986 2024-03-24 16:00:18 +01:00
Martin
da3a1abb9a LCL: ChildSizing, remove restriction that child controls with "AutoSized=True" are not enlarged. (This did not work, due to bugs in constrains code / but now constrains code is fixed / This restores the old behaviour) 2024-03-24 15:49:06 +01:00
Martin
2a04d89400 LCL: Testcase for ChildSizing 2024-03-24 15:46:55 +01:00
Martin
22881f66db LCL: Refactor ChildSizing. Fix constraint handling. 2024-03-24 15:46:54 +01:00
Bart
db6ed214b9 Fix several occurrences of raise exception('some string'), in effect casting a string into an exception, instead of raise exception.create(). Issue #40860. Patch by n7800 (slightly modified). 2024-03-23 23:16:38 +01:00
wp_xyz
86a410c96a LCL/grids: Add default values for the new published properties FocusColor and FocusRectVisible 2024-03-22 23:56:12 +01:00
wp_xyz
e11e1d3921 TAChart: Fix inconsistent usage of brush styles in series OnCustomDrawPointer (https://forum.lazarus.freepascal.org/index.php/topic,66664.msg511859.html#msg511859). 2024-03-22 22:21:22 +01:00
Martin
29f1643745 LCL: ChildSizing, implement crsSameSize / Solves issue #22730 2024-03-22 17:06:38 +01:00
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