Commit Graph

66037 Commits

Author SHA1 Message Date
rich2014
56d9ea7958 Cocoa: Fix the issue where ListBox/ListView may be incorrectly set to a huge height
1. NSTableView.fittingSize returns the full height, not the visible height
2. the issue can be observed in IDE Options - Component Palette
2024-01-26 21:55:27 +08:00
rich2014
a284237384 Cocoa: Fix the issue of scroll bar not working in Form
since macOS 10.7, NSScrollerStyleOverlay is used by default, and the scroll bar needs to be set before the DocumentView size changes.
2024-01-26 21:55:02 +08:00
Martin
ca21254ef0 SynEdit: prevent fold-view CalculateMaps assert during destroy. Once the handle is destroyed, the HL will scan delayed. Issue #40720
(cherry picked from commit fb279cada4)
2024-01-25 12:50:33 +01:00
Željan Rikalo
b086f9dfa0 Qt,Qt5,Qt6: fixed buggy mouse capture with TSpinEdit, TFloatSpinEdit. issue #40725
(cherry picked from commit 27bc023a87)
2024-01-24 17:52:22 +00:00
Maxim Ganetsky
ea073bee6b Translations: Slovak translation update by LacaK, issue #40719
(cherry picked from commit ef22ee4542)
2024-01-23 17:46:10 +03:00
Martin
6448c2b1a0 FpDebug: fix range check in stack unwind (CFI)
(cherry picked from commit ac87f213d1)
2024-01-23 11:29:03 +01:00
Martin
910afda1b3 LazDebuggerFpLldb: fixed watch-eval for Mac-M2, if stackwindow is closed. (register PC for M2)
(cherry picked from commit c4483bf7f4)
2024-01-22 13:58:11 +01:00
Martin
ca859f5b3e FpDebug: Fix mem leak, if breakpoint is set to "auto destroy"
(cherry picked from commit 5d6489a45a)
2024-01-20 17:23:53 +01:00
Martin
ef82482ce5 LazDebuggerFp: Don't set breakpoints when the debug session is already over
(cherry picked from commit fd792b5d6f)
2024-01-20 17:23:53 +01:00
Martin
fbb65eaa20 FpDebug: Fix dangling pointer, if debug-backend sets breakpoint too late.
(cherry picked from commit ec98b15709)
2024-01-20 17:23:52 +01:00
Martin
af2489f6ff Debugger, IDE: prevent dangling pointer in Source-Hint watch-eval.
(cherry picked from commit 4d3adb3870)
2024-01-20 17:23:52 +01:00
rich2014
4c41d70ddf Cocoa: fix #40702, beeps by Cursor keys 2024-01-20 21:36:06 +08:00
rich2014
4f9063a828 Cocoa: Fix #40581 #40535 , Merge branch 'cocoa/message'
keep LM_SETFOCUS/LM_KILLFOCUS/LM_DESTROY consistent with Win32
2024-01-20 21:35:56 +08:00
rich2014
506bdc13d1 Cocoa: fix range check error in TCocoaWSCustomTabControl.GetTabRect() 2024-01-20 21:35:37 +08:00
rich2014
e21879d0a0 Cocoa: Fix #22360 the issue of changing the focus control again during changing the focus control 2024-01-20 21:35:10 +08:00
rich2014
309603fa93 Cocoa: Fix #40680, the issue in TDbLookupCombobox with csDropDownList 2024-01-20 21:34:05 +08:00
Maxim Ganetsky
48b54337bc MessageComposer: Restrict minimal form width and height to keep correct layout. Patch by Don Siders, issue #40707.
(cherry picked from commit e585a9016f)
2024-01-19 23:02:57 +00:00
Željan Rikalo
1f724b1393 Qt,Qt5,Qt6: fixed widget palette dangling pointers.
(cherry picked from commit b2dc565bb3)
2024-01-18 21:36:07 +00:00
Juha
9835b964fb LazUtils: Resolve '/somedir/..' correctly in ResolveDots. Add tests. Issue #40678.
(cherry picked from commit 148b2d23f4)
2024-01-18 16:49:34 +00:00
Maxim Ganetsky
7c62769d75 Translations: Slovak translation update by LacaK, issue #40700
(cherry picked from commit c2d546e251)
2024-01-17 22:39:18 +03:00
Maxim Ganetsky
ef69aa583a IDE: fixed a typo in command-line key for skipping debugger checks (Debbugger -> Debugger)
(cherry picked from commit 767d21e2d9)
2024-01-17 01:33:46 +00:00
Martin
8c022f5c58 FpDebug: Don't read debug info with unknown DW_FORM
(cherry picked from commit 532aae6212)
2024-01-16 17:46:06 +01:00
Maxim Ganetsky
3761707e93 IDE: Create a list of custom key schemes as needed before making a first write to it. Fixes memory leak when calling ./lazarus --help.
(cherry picked from commit 44a97af383)
2024-01-16 00:27:54 +00:00
dsiders
1bc44cbdf7 Docs: LCL/maskedit. Updates TCustomMaskEdit topics for changes in b48d102c.
* TCustomMaskEdit.EnableSets removes experimental designation.
* TCustomMaskEdit.OnValidationError adds topic content and See Also links.

(cherry picked from commit c9cb29b47a)
2024-01-15 23:59:31 +00:00
mattias
c4c2c20f7c ide: run working directory: use exe folder and as fallback the project directory
(cherry picked from commit b38b88bdb5)
2024-01-15 13:10:02 +01:00
Martin
023766bdda SynEdit: Hihghlighter-Html, fix slow down due to internal pchar to string conversions. Issue #40660
(cherry picked from commit a7a0b3ee3a)
2024-01-15 01:50:26 +01:00
Martin
6897ef5e3b IDE, SourceEdit: Don't show hint if any mouse button is down. Issue #40117
(cherry picked from commit 8c268c4992)

# Conflicts:
#	ide/sourceeditor.pp
2024-01-14 23:22:03 +01:00
dsiders
3f86df37f8 Docs: LazUtils/lazfileutils. Updates the ResolveDots topic for changes in 148b2d23. Issue #40678.
(cherry picked from commit 5f19d0caf8)
2024-01-13 17:12:54 +00:00
Juha
56cb8fe0d0 IDE: Show "Find in Files" dialog also from the package editor. Issue #40673, patch by Henner Drewes.
(cherry picked from commit 75d9f32660)
2024-01-13 15:09:02 +00:00
rich2014
9a11ab871d Cocoa: Fix MouseMove issue related to PopupMenu 2024-01-13 00:29:32 +08:00
rich2014
6f8a824944 Cocoa: fix #40692, the bug of Modal Window 2024-01-12 23:17:40 +08:00
rich2014
7157791611 Cocoa: support moving the mouse to HintWindow for operation in the IDE, Merge branch 'cocoa/mousemove'
there was a bug in the IDE before. HintWindow was hidden before the mouse was moved into HintWindow.
2024-01-12 23:17:40 +08:00
rich2014
aa458fc479 Cocoa: Accelerator key (&) should be only supportted in TPopupMenu on macOS 2024-01-12 23:17:40 +08:00
rich2014
8d71a45619 Cocoa: fixed missing Accelerator key (&) support in Menu 2024-01-12 23:17:40 +08:00
Maxim Ganetsky
a7413b60db SynEdit, Highlighters: actually use initial value of DefaultFilter when deciding whether to store this value to LFM or not
(cherry picked from commit 889c2339f6)
2024-01-10 16:19:34 +00:00
Željan Rikalo
2e6008c8fa Qt: fixed memleak in enumfontfamiliesex.
(cherry picked from commit c7bbb0b354)
2024-01-08 18:19:31 +03:00
Željan Rikalo
2e89eae863 Qt5,Qt6: fixed memleak in enumfontfamiliesex()
(cherry picked from commit eb41784ad0)
2024-01-08 18:19:31 +03:00
dsiders
1e8275f185 Docs: LCL/actnlist. Fixes invalid parameter name, and adds missing content.
* Renames TActionEvent.Action to TActionEvent.AAction
* Adds content in TShortCutList and ApplicationActionComponent topics.

(cherry picked from commit d0137e028e)
2024-01-08 07:12:14 +00:00
dsiders
1ebad6e312 Docs: LCL/graphics. Adds IncColor topic for changes in c9a4f79b. Issue #40682.
* Updates DecColor topic to use language consistent with IncColor.

(cherry picked from commit 07a6dce3e7aaf3bcf4fc4f62ff7facc0ea59279a)
2024-01-05 17:25:11 +00:00
Maxim Ganetsky
56721fe772 LCL, Graphics.pp: added IncColor() counterpart to the existing DecColor() function, patch by Don Siders, issue #40682
(cherry picked from commit c9a4f79b92)
2024-01-05 15:57:41 +00:00
mattias
9590c4978c codetools: fixed FindDanglingComponentEvents iteration of properties, fixed #40664 2024-01-03 10:44:35 +01:00
Maxim Ganetsky
6eb05623c2 AnchorDocking: improved header appearance, patch by Don Siders, issue #40677
(cherry picked from commit 3b5bda9882)
2024-01-02 15:21:00 +00:00
dsiders
4dfdd2f3ce Docs: LazUtils/translations. Updates content in TPOFile.SaveToStrings.
(cherry picked from commit ff03db4f10)
2023-12-31 18:52:00 +00:00
Maxim Ganetsky
2c67e9194b LazUtils, Translations unit: fixed compilation on 32-bit Darwin as reported on forum:
https://forum.lazarus.freepascal.org/index.php/topic,65612.msg500834.html#msg500834


(cherry picked from commit beb17ad4d7)
2023-12-31 17:22:25 +00:00
Martin
bfd4989743 FpDebug: prevent div-by-zero in the debugger (in the IDE) while evaluating watches.
(cherry picked from commit 5a1d892e69)
2023-12-30 21:07:10 +01:00
Martin
08fac03972 FpDebug: Add comparing enum-values in watches "enum1 >= enum2"
(cherry picked from commit 5c6662f3e7)
2023-12-30 21:07:09 +01:00
Maxim Ganetsky
9bef988478 IDE: regenerated translations and updated Russian translation
(cherry picked from commit 9cae9d55d8)
2023-12-29 03:55:14 +03:00
Maxim Ganetsky
4707a9b54c IDE: cleaned up resource strings, patch by n7800, issue #40668
(cherry picked from commit 395f813e34)
2023-12-29 03:55:12 +03:00
Maxim Ganetsky
cff8000c67 IDE: committed automatically regenerated file 2023-12-27 19:08:05 +03:00
Maxim Ganetsky
3edce304cb JCF2: set incorrectly translated string from German translation fuzzy, issue #40665
(cherry picked from commit 005e37a5a7)
2023-12-27 18:59:16 +03:00