Commit Graph

443 Commits

Author SHA1 Message Date
Ansgar Becker
930a815d6a fix: wrong length of text detected (always 0) 2026-01-21 16:38:13 +01:00
Ansgar Becker
e9b6835e47 fix: crash in data grid when switching to an empty table on ArchLinux
May be reverted once the forms get DesignTimePPI = 96

Refs #2344
2026-01-21 16:08:53 +01:00
Ansgar Becker
c8e8beddbf fix: next attempt to fix ERangeError crash in TBaseVirtualTree.UpdateVerticalRange
- Moves call to FixVT from the often called ApplyFontToGrids to FormCreate. This hopefully heals the crash.
- Fixes GetTextHeight to use the tree's font, not the one on MainForm. This was likely another culprit here.
- Also moves code for setting IncrementalSearch on grids to FixVT

Refs #2344
2026-01-20 19:30:47 +01:00
Ansgar Becker
2367ac681f fix: wrong ModalResult on "Replace all" button
Delphi/mrAll is 12 and FPC/mrAll is 8 !

Refs #2375
2026-01-19 16:24:03 +01:00
Ansgar Becker
60ad998715 fix: increase too tight node height
Hopefully does not again cause crashes

Refs #2344
2026-01-19 11:57:28 +01:00
Ansgar Becker
4ce827b358 fix: auto fit columns in search-on-server results, taking the header caption into account 2026-01-19 11:48:54 +01:00
Ansgar Becker
ac095e46cd refactor: rename TSynEditHelper.TextIsEmpty to HasText 2026-01-19 11:19:21 +01:00
Ansgar Becker
7423aa3561 fix: remove space eating gutter from SynEdit in search text dialog, disable scrollbars as long as not required 2026-01-19 11:17:27 +01:00
Ansgar Becker
dab1cda93e fix: form dimensions reset to default values each time, and wrong check for empty SynEdit
This disables the AutoSize property on most forms (except the about dialog).
2026-01-17 10:38:36 +01:00
Ansgar Becker
9300cbc67b enhance: turn two more TButtons into TBitBtn with icon 2026-01-16 13:49:57 +01:00
Ansgar Becker
b100479b7e enhance: immediately show new log lines on heavy operations, enhancing user experience 2026-01-16 10:43:50 +01:00
Ansgar Becker
f8dc7963e8 fix: confusion about modified default setting for DoubleClickInsertsNodeText, reset to old value
See various forum questions, e.g. https://www.heidisql.com/forum.php?t=44694
2026-01-16 10:08:13 +01:00
Ansgar Becker
f951b78c0e fix: wrong BOM characters written to grid export files, when encoding is set to "UTF-8 BOM" for instance 2026-01-15 20:34:39 +01:00
Ansgar Becker
d34be7f7b4 fix: auto-uppercase when pressing Enter immediately after a keyword 2026-01-15 19:58:25 +01:00
Ansgar Becker
304cd26a05 feat: support European umlauts/accents as \w (word char) in some regular expression areas 2026-01-15 19:41:20 +01:00
Ansgar Becker
2e31c5e0ec fix: missing selection highlighting and auto-uppercasing in data tab filter editor 2026-01-14 16:43:48 +01:00
Ansgar Becker
62cda84bed feat: auto-uppercase keywords, data types and functions
Refs #1047
2026-01-14 16:43:48 +01:00
Gustavo Carreno
c9c6be0970 ci: Using the correct lazbuild 2026-01-13 19:20:36 +00:00
Gustavo Carreno
fc49d22f28 ci: And I had to forget one more, right?!?! 2026-01-13 19:16:22 +00:00
Gustavo Carreno
35d2ebdbe3 ci: Windows executables have .exe extension!!! 2026-01-13 19:13:32 +00:00
Gustavo Carreno
10776d69de ci: Add Windows build to the matrix 2026-01-13 19:10:17 +00:00
Ansgar Becker
e7e5e11cb4 feat: recreate previous state of trigger after realizing the user edited code has errors
Refs #2348
2026-01-13 15:52:30 +01:00
Ansgar Becker
3028076b45 fix: prevent triggers without quoted trigger name or table name from failing to be parsed (alexanderglueck)
Refs #2347
2026-01-13 15:44:40 +01:00
Ansgar Becker
39df33999f fix: convert usages of UnicodeString to String, in jsonregistry unit, and fix handling of Chinese characters
Refs #2362
2026-01-13 14:58:01 +01:00
Ansgar Becker
fa1db7663a fix: broken integers and floats after locale formatting on macOS
Refs #2366
2026-01-12 19:48:00 +01:00
Ansgar Becker
7f8dc30628 fix: crash in file-picker with Windows path within Linux
Note: EInvalidPath is a descendant of EShellCtrl, which is the upper exception class in ShellCtrls, right below Exception

Refs #2365
2026-01-12 16:47:35 +01:00
Ansgar Becker
3b24707072 fix: some more compiler warnings and hints 2026-01-12 13:53:59 +01:00
Ansgar Becker
8a667f297a feat: create a TSynEditMarkup descendant and use it for highlighting selected text occurrences
This replaces the old OnPaintTransient event, which is not supported in Lazarus/SynEdit
2026-01-12 13:04:52 +01:00
Ansgar Becker
427104065c fix: missing top anchor control for new terminal edit box
Refs #2363
2026-01-11 19:38:08 +01:00
Ansgar Becker
613e207b72 feat: create custom setting so the user may define a terminal app himself, and auto-detect terminal app if the setting is yet empty
Refs #2363
2026-01-11 17:13:56 +01:00
Ansgar Becker
6ce846b47b fix: missing SSHPASS environment variable when starting tunnel with sshpass -e 2026-01-10 13:33:20 +01:00
Ansgar Becker
d9b6f877ac fix: non working MySQL command line launcher, for all platforms
Todo:
- test on Linux and macOS
- the Linux code should probe for additional terminal emulators like gnome-terminal, konsole, xterm, etc., when x-terminal-emulator is not available

Refs #2363
2026-01-10 13:26:41 +01:00
Ansgar Becker
e18b3dbc7e fix: a few more compiler hints and warnings 2026-01-10 13:20:45 +01:00
Ansgar Becker
f88405bfd6 fix: crash at right-click on data grid header 2026-01-09 16:11:50 +01:00
Ansgar Becker
317edcd529 feat: enable InnoSetup script for creating Windows installer 2026-01-07 21:24:20 +01:00
Ansgar Becker
287abde286 fix: add missing dlls and MySQL plugin dlls for use on Windows, remove unused macOS dylibs 2026-01-07 21:00:54 +01:00
Ansgar Becker
d1faf6b361 fix: non working "Insert row" actions and its friends
Broken through my wild rage over compiler messages in f1ac6dce5b

Refs #2360
2026-01-07 16:41:41 +01:00
Ansgar Becker
20aded3ead fix: stretched preview image, and image metadata label too small
Refs #2120
2026-01-07 14:15:13 +01:00
Ansgar Becker
485fb7ddc1 fix: ban Windows API code used in OnAdvancedHeaderDraw for painting column headers with sort chars
Fixes wrong measured text before column headers get ellipsed
2026-01-06 21:08:58 +01:00
Ansgar Becker
377d402304 fix: broken sort arrows in grid column header 2026-01-06 17:27:59 +01:00
Ansgar Becker
633ee44ff2 fix: fails to run netstat or netstat.exe on Windows, try a cross-platform socket approach
todo: test on Linux and macOS

Refs #2359
2026-01-06 17:12:29 +01:00
Ansgar Becker
4864900c65 enhance: turn export options button into TBitBtn and give it an arrow-down icon 2026-01-06 07:13:00 +01:00
Ansgar Becker
f1ac6dce5b fix: fix various compiler hints and warnings
Adds a {%H-} prefix to a few where the compiler is complaining wrongly.
Note: {%H-} affects just the IDE, not the command line.
2026-01-05 19:37:38 +01:00
Ansgar Becker
c054884b51 fix: crash when switching between tables
This disables code for setting DefaultNodeHeight and Header.Height through FixVT(), along with TextMargin and Margin. If once again these need to be modified, then at design time.

Refs #2344
2026-01-05 14:06:45 +01:00
Ansgar Becker
3e77c0df1c fix: bad anchors on edit-variable dialog, overlapping/hiding radio buttons 2026-01-04 13:38:09 +01:00
Nico
b2c049bafe ci: switch back to upstream setup-lazarus
PR got merged
2026-01-04 13:22:09 +01:00
D3SOX
f41a6ffdee refactor: move macOS build to Makefile 2026-01-04 13:22:09 +01:00
D3SOX
4205774ae3 fix(ci): get libqt6pas on ubuntu via 3rd party repo 2026-01-04 13:22:09 +01:00
D3SOX
6377e1110f ci: add macOS 2026-01-04 13:22:09 +01:00
D3SOX
dcdac1b763 ci: test switching to forked setup-lazarus action 2026-01-04 13:22:09 +01:00