Commit Graph

6550 Commits

Author SHA1 Message Date
He Yunxia
a777202b98 add some build step
add install madExcept & compile *.rc files
2026-03-02 13:21:38 +01:00
Ansgar Becker
2dc6619b59 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:15:07 +01:00
Ansgar Becker
844d9c3640 feat: reverse foreign keys on "Foreign keys" tab in table editor, including an option to toggle the new listing
Refs #1825
2026-02-28 15:47:50 +01:00
Ansgar Becker
d6742913d4 docs(ui): mark VCL styles as deprecated 2026-02-28 11:19:19 +01:00
Ansgar Becker
0c900b415c fix: crash on right-click in empty area of query result grid
Closes #2056
2026-02-27 16:38:29 +01:00
Ansgar Becker
b1ae97a843 feat: add menu item Edit > Copy column names
Refs #2055
2026-02-27 16:21:27 +01:00
Ansgar Becker
dbce6b5a0f fix: wrong SQL on MS SQL when renaming table per table editor
Refs #1997
2026-02-27 15:17:13 +01:00
Ansgar Becker
7d828d26b2 fix: crash when holding shift + arrow down then arrow up in last row of data grid
Closes #1451
2026-02-26 18:56:44 +01:00
Ansgar Becker
9fb90d1fcb 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 19:44:33 +01:00
Ansgar Becker
401674177f feat: inject app name and version into potentially long during SQL queries for the SQL export
Refs #1988
2026-02-23 17:33:51 +01:00
Ansgar Becker
eb5a3a551b feat: run user startup script in DoAfterConnect call, which includes reconnects
Refs #1896
2026-02-23 14:05:34 +01:00
Ansgar Becker
4837405f19 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:33:28 +01:00
Ansgar Becker
05886c43da enhance: add note about deprecated Wine usage and native builds in update check dialog 2026-02-22 20:18:07 +01:00
Ansgar Becker
af9a73c13e fix: wrong tree filter box widths after hide > resize > show
Refs #1891
2026-02-22 20:06:08 +01:00
Ansgar Becker
fee5807426 enhance: more exact hint for issue field 2026-02-22 19:16:48 +01:00
Ansgar Becker
44ce3527f0 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:15:27 +01:00
Ansgar Becker
85dd9847f8 fix: non stored global setting for "sort alphabetically" checkbox in column selection 2026-02-22 14:50:32 +01:00
Ansgar Becker
7d207a412e fix: high CPU load and unresponsiveness through SynEdit highlighter when starting to edit large text in popup editor
Refs #2388
2026-02-20 14:55:01 +01:00
Ansgar Becker
6262880486 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 16:47:19 +01:00
Ansgar Becker
86d956fad1 feat: support BOOLEAN column type in MySQL
Closes #1541
2026-02-19 16:06:14 +01:00
Ansgar Becker
84b12add15 fix: out-of-memory error in call to sqlite3_open() on a non-existent SQLite database file
Closes #1367
2026-02-19 15:56:21 +01:00
Ansgar Becker
dcebcc6417 enhance: export tables which are hidden through the table filter
Closes #1983
2026-02-19 15:48:29 +01:00
Ansgar Becker
14f5468af2 refactor: outsource queries from GetRowCount into TSqlProvider
This required to introduce a third version of TSqlProvider.GetSql which works with named parameters packed into a TStringMap
2026-02-16 20:45:23 +01:00
Ansgar Becker
277c0a969a refactor: outsource queries from GetCharsetTable into TSqlProvider 2026-02-16 15:28:02 +01:00
Ansgar Becker
10fecd61b0 refactor: get SQLite collations from pragma collation_list 2026-02-16 14:17:47 +01:00
Ansgar Becker
a3374f3eb9 refactor: outsource queries from GetCollationTable into TSqlProvider 2026-02-16 13:45:19 +01:00
Ansgar Becker
4912dd8233 refactor: move mysql specific SQL snippets to its own TSqlProvider, don't use as default for all others 2026-02-15 19:41:14 +01:00
Ansgar Becker
f8f980572d refactor: retrieve query for disabling and enabling foreign key checks from TSqlProvider 2026-02-15 19:00:29 +01:00
Ansgar Becker
fecd011d86 refactor: outsource 3 large queries from GetTableColumns into TSqlProvider
Refs #1880
2026-02-15 18:41:37 +01:00
Ansgar Becker
c450f516b7 refactor: replace FSQLSpecifities with a TSqlProvider, and outsource many hardcoded SQL queries to the dbstructures.* units
Refs #667 and #1880
2026-02-15 15:04:22 +01:00
Ansgar Becker
3b3c941169 feat: support PG materialized views in GetCreateCode() and GetTableColumns()
Refs #1880
2026-02-13 18:55:22 +01:00
Ansgar Becker
a4456aa205 enhance: re-enable tree option asDoubleClickInsertsNodeText by default
closes #2406
2026-02-13 07:13:25 +01:00
Ansgar Becker
99b14b0c28 feat: refactor SQL query in TPGConnection.FetchDbObjects, now including materialized views for which we have no editor yet
Refs #1880
2026-02-12 21:10:54 +01:00
Ansgar Becker
c843b196b5 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:06:59 +01:00
Ansgar Becker
fcce4a396b feat: display approximate row count of tables in database tab on MS SQL
closes #1877
2026-02-11 17:08:05 +01:00
Jochen Neubeck
a12f21b275 Fix #1835 - Initial FK names assigned in TfrmTableEditor.listForeignKeysNewText() were lacking the referencing table's table name in case the referencing table was not created yet 2026-02-11 16:16:37 +01:00
Ansgar Becker
b6aee36c8a fix: wrong schema queries in SQLite, always shows columns and indexes of first database file
Closes #1823
2026-02-11 16:10:02 +01:00
Ansgar Becker
211c5e2af7 fix: BIT values in MS SQL grid queries prefixed with MySQL b'' style
Closes #264
2026-02-11 14:52:26 +01:00
Ansgar Becker
ab72520ab4 feat: support full table status option in SQLite, showing "Rows" from COUNT(*) for each table
closes #1803
2026-02-11 13:59:48 +01:00
Ansgar Becker
1913f1d193 fix: crash when moving added column to very bottom
Closes #2400
2026-02-10 18:48:22 +01:00
Ansgar Becker
b78b4feb8e feat: recreate previous state of trigger after realizing the user edited code has errors
Refs #2348 and #1788
2026-02-10 16:37:25 +01:00
Ansgar Becker
3fb41ee1f4 fix: load any foreign keys, anyway if the user owns them, on PostgreSQL
Refs #1653
2026-02-09 13:43:22 +01:00
Ansgar Becker
0e198af78f fix: wrong captions on quick filter actions shown in preferences > shortcuts
Closes #1646
2026-02-09 11:02:55 +01:00
Ansgar Becker
52648ceebd feat: add security policy for supported versions and reporting
Refs #1591
2026-02-09 09:35:43 +01:00
Ansgar Becker
1f69da5f65 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:08:24 +01:00
Ansgar Becker
4c179addec fix: crash in OpenTextFile, for a 0-bytes file - override the encoding to one without BOM
Closes #1448
2026-02-07 13:47:59 +01:00
Ansgar Becker
07f75f71d3 feat: show virtual, stored and hidden columns in SQLite
Refs #1432
2026-02-06 15:29:07 +01:00
Ansgar Becker
c568e1ccff fix: keep column default value in table editor, when user changes its datatype to one in the same category as before (int => bigint)
Refs #1374
2026-02-06 14:10:26 +01:00
Ansgar Becker
84228c80ff fix: trim away spaces around name of routine parameter silently
Refs #1369
2026-02-06 13:55:28 +01:00
Ansgar Becker
7be7f3ed83 fix: allow $$ as delimiter again on non-PostgreSQL connections, and ` on non-MySQL connections
Refs #2385
2026-02-01 11:50:08 +01:00