455 Commits

Author SHA1 Message Date
Ansgar Becker
d62807a2ce fix: crash on macOS, due to running Connection.ShowWarnings directly in the TQueryThread
Refs #2425
2026-03-09 16:06:30 +01:00
Ansgar Becker
e33ea1d1fb fix: two more exception causes found in uploaded reports 2026-03-06 13:05:56 +01:00
Ansgar Becker
c9eb765256 fix: sporadic "no database selected" when updating grid header with row details 2026-03-06 13:03:48 +01:00
Ansgar Becker
e3fc3f5ff6 fix: wrong use of Copy(), which is one-based not zero-based, and remove translated appendix to snipped log message which may use critical chars and confuse SynEdit
Refs #48
2026-03-06 10:55:38 +01:00
Ansgar Becker
6215d19ff5 fix: various crash causes, reported in uploaded bug reports 2026-03-06 10:52:15 +01:00
Ansgar Becker
96bb46650f feat(ui): turn all TEdit's with NumbersOnly into TSpinEditEx
TUpDown still can handle only SmallInt's, so here we go with superstar TSpinEditEx
2026-03-04 20:09:04 +01:00
Ansgar Becker
18e943155d feat: select just created table copy
Refs #131
2026-03-02 20:28:24 +01:00
Ansgar Becker
2bc9d78f88 fix: remove default keystrokes from query editor: 2x ecRedo and 1x ecDeleteLine
There may be more where users create a conflict when assigning a custom shortcut, but this particular one (Ctrl+Y) is one of the most popular.

Refs #733
2026-03-01 17:04:22 +01:00
Ansgar Becker
6ed145ef67 style(ui): remove border around reverse foreign key list 2026-02-28 15:57:35 +01:00
Ansgar Becker
938f303bda feat: add toolbar button for toggling reverse foreign key listing, so the user has the chance to disable its potentially long during query
Refs #1825
2026-02-28 15:23:56 +01:00
Ansgar Becker
ca483435a6 feat: reverse foreign keys on "Foreign keys" tab in table editor
Refs #1825
2026-02-28 14:09:41 +01:00
Ansgar Becker
ce9393167f feat: add menu item Edit > Copy column names
Refs #2055
2026-02-27 16:27:19 +01:00
Ansgar Becker
a763fd1d47 fix: wrong SQL on MS SQL when renaming table per table editor
Refs #1997
2026-02-27 15:19:56 +01:00
Ansgar Becker
153e61d654 feat: prevent loading an SQL file multiple times into an editor
Shows an information dialog when a loaded file is being selected again through the various load-file mechanism: load-file dialog, recent files menu, dropping on editor, passing on command line

Refs #1403
2026-02-25 20:10:21 +01:00
Ansgar Becker
86a96bd5b2 ui: hint the user in which path we are going to look for sshpass (macOS and Windows)
Refs #2302
2026-02-25 16:16:41 +01:00
Ansgar Becker
d79d462d17 feat: add sshpass.exe v1.0.6 for Windows, and refactor Windows installer script
https://github.com/xhcoding/sshpass-win32
2026-02-25 14:10:14 +01:00
Ansgar Becker
b7c3d07ebb fix: use default brew path to sshpass on macOS
See https://www.heidisql.com/forum.php?t=44716
2026-02-25 13:56:17 +01:00
Ansgar Becker
dfb86d5ae3 fix: status bar text gets written into the panel right besides the current one, on Linux/macOS
TextRect does not automatically clip on all widgetsets unless you tell it to. On Linux/macOS you must set Canvas.TextStyle so clipping is enabled.
2026-02-25 13:05:35 +01:00
Ansgar Becker
93e1b39f94 feat: inject app name and version into potentially long during SQL queries for the SQL export
Refs #1988
2026-02-23 17:35:14 +01:00
Ansgar Becker
1b27b1d1ef feat: run user startup script in DoAfterConnect call, which includes reconnects
Refs #1896
2026-02-23 14:08:26 +01:00
Ansgar Becker
1029657e9c fix: several crash causes Host subtabs when connection is lost externally
This also changes the dodgy default text "Node" in any VirtualTree's cell to "-"

Refs #1875
2026-02-23 13:40:13 +01:00
Ansgar Becker
f7f90e8f41 enhance: move color scheme submenu from Tools to Display menu
Refs #1891
2026-02-22 19:14:50 +01:00
Ansgar Becker
c0fbcff3ef feat: add "Display" main menu, move some spread items there, and add two items for toggling log panel and tree filters
Refs #1891
2026-02-22 16:58:34 +01:00
Ansgar Becker
0ccb1acf35 fix: non stored global setting for "sort alphabetically" checkbox in column selection 2026-02-22 16:31:42 +01:00
Ansgar Becker
676fcd793f fix: high CPU load and unresponsiveness through SynEdit highlighter when starting to edit large text in popup editor
Refs #2388
2026-02-22 16:29:43 +01:00
Ansgar Becker
2acce35206 fix: crash when enabling TShellListView.MultiSelect in OnFormShow, now sets options per setter method, before FormShow
Closes #2410
2026-02-20 12:37:13 +01:00
Ansgar Becker
6309305425 fix: crash on right-click in empty area of query result grid
Related to a forum post: https://www.heidisql.com/forum.php?t=44747
2026-02-19 19:51:55 +01:00
Ansgar Becker
10fc1177d8 fix: data grid context menu not opening after click in empty area 2026-02-19 19:31:26 +01:00
Ansgar Becker
6a0cbe3fbf fix: repaint columns list after move up/down a column
Was reported in the forum: https://www.heidisql.com/forum.php?t=44760
2026-02-19 18:47:39 +01:00
Ansgar Becker
e796ad1d55 feat: support BOOLEAN column type in MySQL
Closes #1541
2026-02-19 18:45:48 +01:00
Ansgar Becker
e93924f604 fix: out-of-memory error in call to sqlite3_open() on a non-existent SQLite database file
Closes #1367
2026-02-19 18:44:01 +01:00
Ansgar Becker
42e5277be9 enhance: export tables which are hidden through the table filter
Closes #1983
2026-02-19 18:42:07 +01:00
Ansgar Becker
cc5b8116c0 fix: font bold + italic setting not stored in settings
Closes #2398
2026-02-19 16:39:42 +01:00
Ansgar Becker
da07591045 fix: potentially crashing typecast in LoadRecentFilter
Refs #2411
2026-02-18 14:05:17 +01:00
Ansgar Becker
31ba8bf339 refactor: migration from Array[TSQLSpecifityId] to TSqlProvider
Refs #667, #1880
2026-02-17 19:47:04 +01:00
Ansgar Becker
678c7b8a37 feat: re-enable clickable "Analyze query" label on host > processes 2026-02-16 13:11:25 +01:00
Ansgar Becker
7554364151 fix: non-themed white area on TTabControl, fix from https://github.com/zamtmn/metadarkstyle/issues/75 2026-02-14 19:41:05 +01:00
Ansgar Becker
8098296ea3 fix: forgotten files in c01a439ce5
Refs #2250
2026-02-12 19:04:29 +01:00
Ansgar Becker
5560454f1b feat: create SQL export option for wrapping DML commands in a BEGIN/COMMIT transaction
This also
* removes the MyISAM-only ALTER TABLE .. DISABLE/ENABLE KEYS command, which in mid size tables costs more than it helps.
* shows the number of checked export options on the button caption
* saves settings when the user just closes the dialog, without having exported

Closes #1262
2026-02-12 18:50:44 +01:00
Ansgar Becker
146044fcee feat: display approximate row count of tables in database tab on MS SQL
closes #1877
2026-02-12 18:29:14 +01:00
Ansgar Becker
d8cd61c08d fix: Initial FK names assigned in TfrmTableEditor.listForeignKeysNewText() were lacking the referencing table's table name in case the referencing table was not created yet (pr from Jochen Neubeck)
Closes #1835
2026-02-12 18:25:31 +01:00
Ansgar Becker
7072986d63 fix: wrong schema queries in SQLite, always shows columns and indexes of first database file
Closes #1823
2026-02-12 18:20:32 +01:00
Ansgar Becker
7456c38ae6 fix: BIT values in MS SQL grid queries prefixed with MySQL b'' style
Closes #264
2026-02-12 18:18:05 +01:00
Ansgar Becker
422935a3ad feat: support full table status option in SQLite, showing "Rows" from COUNT(*) for each table
closes #1803
2026-02-10 19:36:17 +01:00
Ansgar Becker
37add0fd5b fix: random crash in dodgy typecast TEdit/TEditButton 2026-02-10 18:59:14 +01:00
Ansgar Becker
b739799d3c fix: crash when moving added column to very bottom
Closes #2400
2026-02-10 18:47:03 +01:00
Ansgar Becker
dbab4cb0d7 fix: load any foreign keys, anyway if the user owns them, on PostgreSQL
Refs #1653
2026-02-09 13:47:36 +01:00
Ansgar Becker
3e0bf91fcc fix: wrong captions on quick filter actions shown in preferences > shortcuts
Closes #1646
2026-02-09 10:58:13 +01:00
Ansgar Becker
b3743d85b5 feat: prefer KILL QUERY over KILL on MySQL and MariaDB, when using the "Kill process" menu item in Host > processlist
Refs #1567
2026-02-07 16:06:05 +01:00
Ansgar Becker
27e26a6815 fix: crash in OpenTextFile, for a 0-bytes file - override the encoding to one without BOM
Closes #1448
2026-02-07 13:43:14 +01:00