Commit Graph

307 Commits

Author SHA1 Message Date
Ansgar Becker
79bcd1d486 fix: remove dead code, fix some compiler hints 2025-12-03 17:14:55 +01:00
Ansgar Becker
8d119a011a fix: bad position of TEdit on TInplaceEditorLink 2025-12-03 16:21:01 +01:00
Ansgar Becker
8696e61127 fix: quick filter > "more values" submenu not created/shown 2025-12-03 15:36:12 +01:00
Ansgar Becker
db00c83665 fix: empty KeyStrokes list on text editor
Closes #2131
2025-12-03 14:56:54 +01:00
Ansgar Becker
1730956488 fix: broken caption on inline text edit button
Refs #2313
2025-12-03 14:39:00 +01:00
Ansgar Becker
222a386039 fix: user queries not showing up in log panel
Refs #2313
2025-12-03 13:24:01 +01:00
Ansgar Becker
0257867dff fix: do not edit grid cell on right-click, and set HotCursor on DBtree 2025-12-03 12:12:39 +01:00
Ansgar Becker
0563b4d683 fix: flashing main form in background after cancel session manager
Decided to fully show the main form before showing the session manager through an Application.OnIdle event. Hoping no user manages to click somewhere on the main form, causing crashes. The only reasonable alternative was to show the session manager before TMainForm is created, but this would be more effort.
2025-12-02 20:53:24 +01:00
Ansgar Becker
cf9ed85900 fix: work around empty space artifact in ShellListView
https://forum.lazarus.freepascal.org/index.php/topic,72895.0.html
2025-12-02 20:23:19 +01:00
Ansgar Becker
64919d6aa6 fix: move all Application event assignments to .lpr file 2025-12-02 18:32:58 +01:00
Ansgar Becker
b488ca23ae fix: confusion with (selected) folder icons 2025-12-02 14:34:46 +01:00
Ansgar Becker
b4c0566635 feat: display some known file type icons in file open/save dialog 2025-12-01 16:19:34 +01:00
Ansgar Becker
637d2d6578 feat: finalize keyboard shortcut customization in preferences
Applies a modified shortcut in tree.OnFocusChanging, which is also triggered by Apply
2025-12-01 12:01:20 +01:00
Ansgar Becker
cc4e6f17d4 feat: add new keyboard shortcut editors on preferences dialog
todo: find the right event for applying a changed shortcut
2025-11-30 16:58:23 +01:00
Ansgar Becker
5e20c53e21 fix: tree with keyboard actions shows wrong captions 2025-11-30 15:28:03 +01:00
Ansgar Becker
4322372c30 fix: binary result values displayed as 000...
Refs #2276
2025-11-30 15:16:34 +01:00
Ansgar Becker
1c9321c825 enhance: disable tree option asDoubleClickInsertsNodeText by default
Refs #2307
2025-11-30 14:35:48 +01:00
Ansgar Becker
bb517d79e2 fix: TMySQLQuery.TableName() returns wrong string, and introduce apphelpers.GetAppDir
Refs #2305
2025-11-30 14:33:26 +01:00
Ansgar Becker
06322de926 feat: keep time fractions intact for CSV exports
Refs #2098
2025-11-30 14:14:06 +01:00
Ansgar Becker
59659f0741 fix: crash in AnyGridPaintText with no query result
Found in recently uploaded crash reports
2025-11-30 14:10:34 +01:00
Ansgar Becker
13a0127d69 fix: Error: (4004) Variable identifier expected
Refs #2268
2025-11-30 14:02:32 +01:00
Ansgar Becker
3094d79c52 feat: use custom folder icons in tree on file dialogs, in non-Windows mode
Refs #2268
2025-11-30 13:58:25 +01:00
Ansgar Becker
06b44eb483 feat: show NULL values in system variables listing
Refs #1281
2025-11-29 21:26:56 +01:00
Ansgar Becker
afc9d8c24f feat: highlight same text in grids based on all selected rows 2025-11-29 16:34:47 +01:00
Ansgar Becker
6eecdd8a5f fix: crash in printer dialog with 0 printers available
Refs #2283
2025-11-29 16:32:46 +01:00
Ansgar Becker
65c14727d5 feat: support fractional UNIX timestamps in grids
Refs #884
2025-11-29 16:26:59 +01:00
Ansgar Becker
2863a80b68 feat: add "source table: xyz" hint to query result column headers
https://www.heidisql.com/forum.php?t=44554
2025-11-29 16:20:38 +01:00
Ansgar Becker
857cca865c fix: missing file for previous commit
Refs #2268
2025-11-29 14:23:23 +01:00
Ansgar Becker
5e8133c2b1 SynEdit memos: enable Options.eoPersistentCaret and Options2.eoPersistentCaretStopBlink to disable the blinking caret when an editor does not have focus 2025-11-29 14:19:26 +01:00
Ansgar Becker
34e3f32a07 fix: some remaining issues in the new file-open/save dialogs
* add missing support for ofFileMustExist, by default enabled in TExtFileOpenDialog
* store and restore previously selected path
* support single FileName when MultiSelect is true
* avoid setting unwanted tree path when caller provides an empty FileName or InitialDir
* set different default form caption for open + save mode (todo: include lclstrconsts translation files in packages)

Refs #2268
2025-11-29 14:17:14 +01:00
Ansgar Becker
ec4c237cae fix: work around out-of-view item in left tree after FormShow
Also, remove error dialog when InitialDir is an invalid path. Climb up path until it's valid.

Refs #2268
2025-11-28 15:24:03 +01:00
Ansgar Becker
251f632a2a fix: navigate to directory of currently loaded file when user opens dialog for loading another file
Refs #2268
2025-11-28 13:13:12 +01:00
Ansgar Becker
98b796b688 feat: support click on path parts on top label of file dialog
Refs #2268
2025-11-28 13:11:09 +01:00
Ansgar Becker
fe652313ab fix: broken support for non UTF-8 encoding
Affects code in SaveUnicodeFile, OpenTextFile, DetectEncoding and ReadTextfileChunk

Refs #2268
2025-11-28 12:23:54 +01:00
Ansgar Becker
4a8c53c4e0 feat: convert all save/open dialogs to the new custom one
* TOpenDialog => TExtFileOpenDialog
* TSaveDialog => TExtFileSaveDialog
* show encodings and linebreaks only when the caller sets data for these
* show selected path from tree in label at top
* support DefaultExt string
* support OnTypeChange event
* disallow changing tree folder for ofNoChangeDir
* catch EInvalidPath in SetInitialDir
* show hidden folders in tree
* enable sorting in file listing

Refs #2268
2025-11-28 10:17:23 +01:00
Ansgar Becker
91de2fc30d fix: prompt to overwrite only if file exists
Refs #2268
2025-11-27 19:43:51 +01:00
Ansgar Becker
d5d34add5f feat: create file-save dialog with linebreaks selector
Refs #2268
2025-11-26 16:10:47 +01:00
Ansgar Becker
56b783d829 fix: add encoding selector to file-open dialog
Refs #2268
2025-11-26 12:55:28 +01:00
Ansgar Becker
bac0d7a585 feat: recreate basic TExtFileOpenDialog without OS owned dialog and room for customization
Refs #2268
2025-11-25 21:33:43 +01:00
Ansgar Becker
00627ae284 fix: crash when app exits, with deleted TSynGutterSeparator 2025-11-24 19:57:12 +01:00
Ansgar Becker
dbca69d2b0 feat: full support for different icon packs, Silk and Icons8 2025-11-24 19:09:05 +01:00
Ansgar Becker
769afa5195 feat: add 206 Silk icons into new TImageList 2025-11-24 16:06:51 +01:00
Ansgar Becker
29d1abc23c fix: optical stuff, add bookmark icons for SynEdit 2025-11-24 12:53:38 +01:00
Ansgar Becker
e1781f96dc feat: require libsybdb5 in DEB package
Refs #2149
2025-11-23 12:42:21 +01:00
Ansgar Becker
b20f121466 feat: mark MS SQL protocols like named pipe as unsupported, advise the user to change to TCP/IP
Refs #2149
2025-11-23 12:37:46 +01:00
Ansgar Becker
93bf989ac7 fix: use GetApplicationName in InitMoFile as well, plus documentation
Refs #2310
2025-11-22 17:15:24 +01:00
Ansgar Becker
0469dd9f51 fix: make LCLTranslator independent of executable filename
Refs #2310
2025-11-22 16:54:48 +01:00
Ansgar Becker
9e2611e54d fix: make GetAppConfigDir independent of executable filename
Refs #2310
2025-11-22 16:26:31 +01:00
Ansgar Becker
5d487bb352 fix: make translation filename independent of executable filename
Refs #2310
2025-11-22 16:01:34 +01:00
Ansgar Becker
fbe32db875 fix: more painting related crashes on QT, this time in OperationRunning() 2025-11-21 12:37:14 +01:00