Commit Graph

69110 Commits

Author SHA1 Message Date
Martin
bcd6d2ced6 FpDebug: fix range check error with enum values (negative ord value). Issue #41240
(cherry picked from commit d93235de52)
2024-11-17 13:17:39 +01:00
Maxim Ganetsky
9512487328 IDE: added missing space after comma in OK button hint of Options dialog
(cherry picked from commit d2ebb7674d)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2024-11-17 12:15:40 +00:00
Maxim Ganetsky
d195fe8910 IconFinder: regenerated translations and updated Russian translation
(cherry picked from commit 7d2a74d680)
2024-11-17 14:33:48 +03:00
Juha
d15afa2c7e IDE: Restore Ctrl-Enter shortcut in IdoOptionsDlg. Tweak the hint. Issue #40234. 2024-11-16 21:20:16 +02:00
dsiders
94bd8f9aae Docs: LCL/intfgraphics. Adds the TLazReaderBMP.InternalReadHead topic for changes in a153126d5a. Issue #40685.
(cherry picked from commit 1bcd352773)
2024-11-16 02:00:38 +00:00
wp_xyz
6620e22730 IconFinder: Avoid closing the IDE options dialog when the user presses ENTER after typing a search phrase.
(cherry picked from commit b7f4fd1d74)
2024-11-16 00:34:28 +01:00
wp_xyz
88f3d577c7 IconFinder: Fix compilation of IconViewer demo
(cherry picked from commit d82e6b2dca)
2024-11-16 00:34:28 +01:00
wp_xyz
e24deb6559 IconFinder: Further speedup of icon reading.
(cherry picked from commit e16acf9623)
2024-11-16 00:34:28 +01:00
wp_xyz
2d81368339 IconFinder: Display icon count. Update demo projects.
(cherry picked from commit 3788e25cc6)
2024-11-16 00:34:27 +01:00
wp_xyz
33b4d31618 IconFinder: Fix crash when icon folders are added/hidden while an icon is selected in the viewer.
(cherry picked from commit 39252c56ba)
2024-11-16 00:34:27 +01:00
wp_xyz
f34a53131a IconFinder: Fix failure to display BMP icons.
(cherry picked from commit b5e2e98d35)
2024-11-16 00:34:27 +01:00
wp_xyz
9619640514 LCL/graphics: Workaround for FPReaderBMP not implementing the InternalSize class function before 3.3.1 (issue 40685)
(cherry picked from commit a153126d5a)
2024-11-16 00:34:26 +01:00
wp_xyz
f2d4c42e2f IconFinder: Inherit TIconList from TFPHashObjectList rather than TFPGObjectList to speed up TThumbnailViewer.ReadMetadata by factor 2.
(cherry picked from commit 25a1a645ec)
2024-11-16 00:34:26 +01:00
wp_xyz
e15e3cf85e IconFinder: Avoid duplicate processing of default image folder.
(cherry picked from commit aef3e62e80)
2024-11-16 00:34:26 +01:00
Juha
7595beee48 LCL-GTK2: Fix errors in TCombobox.Text. Issue #28840, patch by Maxim Ganetsky. 2024-11-15 17:28:24 +02:00
Juha
b82cf7de6e IDE: Remove Ctrl-Enter shortcut from IdoOptionsDlg. It did not work. Issue #40234. 2024-11-15 17:28:07 +02:00
Željan Rikalo
4452b7d447 Qt5,Qt6: do not send LM_CLICKED if button lost focus after mouse down. issue #41237
(cherry picked from commit c97c2774da)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-15 07:01:08 +00:00
dsiders
26a7cc0cf3 Docs: LCL/graphutil. Fixes an invalid See Also link in the ScaleImg topic.
(cherry picked from commit 816d1b0cd5)
2024-11-14 22:45:10 +00:00
dsiders
87806e24b2 Docs: LCL/forms. Updates THintWindow topics for changes in 301fcda550, including:
* THintWindow.ActivateHint
* THintWindow.ActivateWithBounds
* THintWindow.ActivateHintData
* THintWindow.CalcHintRect

(cherry picked from commit 2f7f0198ab)
2024-11-14 16:45:57 +00:00
Željan Rikalo
194bd07f82 Qt5, Qt6: fixed PopupParent = modal form, issue #41241
(cherry picked from commit 9ba7c6e286)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-14 12:56:26 +00:00
Maxim Ganetsky
5b60a5e128 LCL: Don't modify hint position when it is shown via calling HintWindow.ActivateWithBounds method (useful for SynEdit).
Also cleanup useless FActivating assignment (it is a simple field
without any side effects).

(cherry picked from commit 301fcda550)
2024-11-14 02:52:36 +03:00
rich2014
3989144ccb LCL: fix hint window bounds issue introduced in a2057a6., issue #41194
(cherry picked from commit aeca9749b1)
2024-11-14 02:52:36 +03:00
Martin
fe1284cb27 DockedFormEditor: Adjust scrollbar for "fake" main-menu. Pull Request !380
(cherry picked from commit add8755ea8)
2024-11-13 21:17:10 +01:00
Martin
c891537cc0 LazDebuggerFp: test, change testcase to use Test* instead of Assert* => so it will write logs
(cherry picked from commit 95a133b379)
2024-11-13 21:17:09 +01:00
Martin
985f917ee1 FpDebug: Allow MemManage read extended to other float types. Fixed test for new soft fpu extended
(cherry picked from commit 4d88956173)
2024-11-13 21:17:09 +01:00
Martin
182c0aa557 FpDebug: test, fixed for pascal parser new context
(cherry picked from commit 35b94fb26f)
2024-11-13 21:17:09 +01:00
Martin
e935913516 FpDebug: test, remove old test, now covered by LazFpDebugger test.
(cherry picked from commit 5932ef9aef)
2024-11-13 21:17:08 +01:00
Martin
0e7362a961 Anchordocking: fix default monitor, if no monitor is set in config (0/zero may not be the default on all systems)
(cherry picked from commit 0a86b7b053)
2024-11-13 21:15:36 +01:00
dsiders
0a361691e7 Docs: LCL/forms. Updates content in THintWindow.ActivateHint and THintWindow.CalcHintRect topics.
* Related to (but not dependent on) changes in aeca9749.
* Originally reported in issue #41194.

(cherry picked from commit c02978f20f)
2024-11-12 17:24:20 +00:00
Maxim Ganetsky
e95c28c9bc LCL-Gtk3: Convert ampersands to underscores and back in captions as needed. Hints from Anton Kavalenka, issue #41220.
(cherry picked from commit b35ba030b3)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2024-11-11 19:51:34 +00:00
Željan Rikalo
1b2d86714b Gtk2: better recognition of wayland session, do not create dummy frame.
(cherry picked from commit 54ba042fb2)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-11 06:46:10 +00:00
Juha
6739c59336 IDE: Prevent compiler warning about a platform specific symbol in new applications. It was suppressed in IDE but Warning count increased. Issue #41224. 2024-11-10 12:08:18 +02:00
rich2014
87a35b466a Cocoa: remove circle references between CocoaInt and CocoaWSCommon 2024-11-10 12:01:42 +08:00
rich2014
7e979f711f Cocoa: remove duplicate calls to selectRowIndexesByProgram() in TCocoaTableListView 2024-11-10 12:01:41 +08:00
David Jenkins
83940629e2 Cocoa: Fix code assumption that target is always TScrollingWinControl 2024-11-10 12:01:41 +08:00
rich2014
62fddfd5f2 Cocoa: fix the missing unit @ 52dc179
but the unit circular reference is reintroduced
2024-11-10 12:01:41 +08:00
David Jenkins
0fac0c3e01 Cocoa: TCocoaWidgetSet.IsWindow should return true for any widget handle and not just TCocoaWindowContent. 2024-11-10 12:01:41 +08:00
rich2014
759b07932a Cocoa: Fixed the issue of calling reloadData in NSTableView triggering OnChange
TListView / TListBox / TCheckListBox
2024-11-10 12:01:41 +08:00
Martin
8780b02ac5 IdeDebugger: update icons, by Roland Hahn / Issue #41233
(cherry picked from commit a116ad932e)
2024-11-08 20:33:23 +01:00
Martin
cef34fde34 FpDebug: mask range check
(cherry picked from commit eeca861ba4)
2024-11-08 20:33:22 +01:00
dsiders
3f7395faca Docs: LCL/graphutil. Modifies content in ScaleImg topic for changes in 77121d9b.
* Exit ScaleImg immediately when size change for the image is not needed.

(cherry picked from commit a265712f5f)
2024-11-07 16:53:10 +00:00
wp_xyz
973af8dbd7 Splash form: Fix size of splash image on mac. Issue #41205.
(cherry picked from commit 2e21040755)
2024-11-06 22:43:37 +01:00
wp_xyz
4a4e0d8b79 AboutBox/SplashScreen: Fix blurring on mac Retina displays, part 2. issue #41205
(cherry picked from commit 4f007f3d82)
2024-11-06 22:43:37 +01:00
wp_xyz
300b16b917 AboutBox/Splashscreen: Fix blurring on Mac Retina displays. Patch by @Slidescape, issue #41205,
(cherry picked from commit 0b7d81bd37)
2024-11-06 22:43:37 +01:00
wp_xyz
2fee3db2b4 LCL/GraphUtil: Exit ScaleImg immediately when no size change of the image is needed.
(cherry picked from commit 77121d9b42)
2024-11-06 22:43:36 +01:00
Martin
15ca7b97cb IDE: Custom IDE title, default value
(cherry picked from commit 2825d4f579)
2024-11-06 16:49:23 +01:00
Martin
8942f3ea4a LazDebuggerFp: fix asm-step-over wrongly stops at finally block in nested code. Issue #41226
(cherry picked from commit 929c9e68ca)
2024-11-06 16:09:05 +01:00
Martin
30c79f3082 Debugger: If asm stepping stops in source (e.g. asm-step over hits breakpoint / or step ends at known source) then update source-editor. Fix regression from issue #40415 f051d0bd65
(cherry picked from commit 5111f33390)
2024-11-06 16:09:05 +01:00
Martin
7ea40e1211 FpDebug: Asm-step-over, ignore unloading library events
(cherry picked from commit 93da1812b9)
2024-11-06 16:09:04 +01:00
Maxim Ganetsky
604c8de016 LCL-Gtk2: Call SetExceptionMask for all CPUs, not only for x86 (thus unify it with other widgetsets). Fixes crashes on AArch64, issue #41188.
(cherry picked from commit 7cfcb81528)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2024-11-06 13:23:17 +00:00