220 Commits

Author SHA1 Message Date
f2cc5124d3 Restore previous scroll position after saving routine, trigger, event or view. See https://www.heidisql.com/forum.php?t=40291 2023-01-26 09:57:42 +01:00
075aa18bc7 Refactor: Move connection reference out of TSortItems.ComposeOrderClause, so the caller must pass it as a parameter 2023-01-22 13:34:01 +01:00
0e6d814e03 Replace two versions of TSortItem.Create with an even simpler TSortItems.AddNew function 2023-01-22 13:23:51 +01:00
7ff9b2e9b7 Refactor internal structures for grid/table sorting, prefer TObjectList over Array 2023-01-22 12:49:53 +01:00
4ccf6e07f8 Do not auto-create "c:\Users\Anse\Documents\HeidiSQL\", as we only use it for snippets which can also have a custom path. Closes #1751 2023-01-19 20:31:25 +01:00
d7689d5abf Issue #1721: Let the user disable a session's SSH tunnel configuration, similar to the SSL checkbox 2023-01-02 20:40:33 +01:00
1744ae02c5 Issue #1730: add preference option for disabling incremental search through typing in grids 2022-12-31 11:41:43 +01:00
ae883a0a80 Include some System.Generics.* units without using project's unit scopes or aliases 2022-12-29 17:59:23 +01:00
0d9de512cd Remove unit scopes from project settings, prefer fully qualified unit names in uses clauses. Enhance readability and compiler performance. 2022-12-26 17:59:19 +01:00
6219e928ea Issue #418: restart via task scheduler after build update, decreasing privileges to the normal user instead of administrator 2022-12-25 13:18:37 +01:00
2c609a6c61 Issue #1725: add history menu pulldown to global filter edit box 2022-12-09 16:46:08 +01:00
7b36063ec6 Add option to turn off warning dialog for active but unused SSL settings. See https://www.heidisql.com/forum.php?t=40080 2022-12-06 19:05:00 +01:00
78dd4c2bd2 Fix too narrow column widths restored with high DPI setting, due to Delphi's Round() function using the nearest *even* number. Use the better suited "kaufmännisch runden" approach. 2022-11-30 21:12:00 +01:00
7bea342b9f Make clicks on grid column headers configurable, so the user may disable it, preventing him from accidental sortings on large tables. See https://www.heidisql.com/forum.php?t=40026 2022-11-28 20:55:39 +01:00
def6ec67b1 Issue #1691: make timer interval for auto completion proposal configurable, while keeping 500ms as a default value. 2022-10-26 19:18:35 +02:00
59bb389650 Add preference option for adding timestamp to log messages. Helpful for debugging performance issues. 2022-10-20 18:47:10 +02:00
18b16e29eb Issue #1669: turn off always-format setting by default 2022-09-27 16:20:41 +02:00
f2a50aba63 Issue #1669: turn customize-highlighter button into dropdown button with additional items "Format code once" and "Always format code". Usable for SQL and JSON. 2022-09-27 11:10:43 +02:00
8e38e4ee99 Use empty default host/ip for new SQLite sessions, to avoid running into some out-of-memory issue. Closes #1602 2022-09-21 07:49:54 +02:00
47f5058ae3 Fix previous approach in TDBQuery.HasFullData and StrHasNumChars, which used CharNextW() and stopped at null bytes within binary strings. Again use Length() instead, but let it be longer than GRIDMAXDATA. Closes #1658 2022-09-18 11:33:53 +02:00
2ca233afbf Issue #1659:
* fix exception on closing customize dialog
* use empty string when converting clNone to and from web color, instead of #ffffff
2022-09-12 07:32:26 +02:00
ddca97c07a Issue #1659: create dialog for customizing highlighter colors and style, for use on grid text editor 2022-09-11 13:52:59 +02:00
770e469804 Strip comments from procedure parameters before parsing. Closes #1477 2022-07-18 14:45:26 +02:00
ce8a401cac Create context menu item "Empty recent filters" on database and table filter above tree view. See https://www.heidisql.com/forum.php?t=39447 2022-07-05 07:27:28 +02:00
965e88b579 Delphi 11.1: fix VirtualTree package files, fix missing uses clauses, and some newly required type casts 2022-06-18 18:08:00 +02:00
9c1249bf7c TSHFileOpStruct.pFrom needs a trailing nul char, see https://stackoverflow.com/a/1594859/4110077 and/or https://docs.microsoft.com/de-de/windows/win32/api/shellapi/ns-shellapi-shfileopstructa?redirectedfrom=MSDN#members 2022-06-08 19:50:00 +02:00
9ec40f0703 When deleting tab backup file, delete it to recycle bin, for cases where the user did that by accident. Same for snippet file and overwritten export/zip file. See https://www.heidisql.com/forum.php?t=39355 2022-06-08 19:25:33 +02:00
25d15d8b41 Optimization: set up a single TSynMemo instance instead of all, e.g. when creating a new query tab 2022-05-25 13:16:27 +02:00
1ee23b1682 Issue #1351: optimize StrHasNumChars 2022-05-18 07:56:10 +02:00
bb608ff52c Make counting characters in TDBQuery.HasFullData more precise for diacritical characters. Fixes EnsureFullRow not doing its work when a cell contains some emoji. Reported in the forum: https://www.heidisql.com/forum.php?t=39239 2022-05-17 19:50:48 +02:00
354e984b37 Leave away delimiter at the end of a query batch, in one-go mode. Closes #1583 2022-05-10 07:30:39 +02:00
56262e50a4 Issue #1577: make apphelpers.SelectNode more intelligent, returning true/false to indicate whether it successful went through OnFocusChanging event 2022-05-05 19:13:42 +02:00
c4085bed4e Refactor: move structures for specific network types out of dbstructures, into their own dbstructures.xxx.pas, and include const.inc in project sources 2022-04-23 11:38:26 +02:00
e27d9c1b96 Refactor: create and use self explanatory TDBObjectEditor.ObjectExists method 2022-04-22 12:42:37 +02:00
2ddb8451af Issue #892: support custom line break style when saving log panel contents or CREATE code tabs to file, using the existing "LineBreakStyle" option introduced in 59159c7afd8ea875b604d639bded105984b5e2c8. 2022-04-21 12:37:42 +02:00
c8d9bd716b Replace redundant ExtractBaseFileName() with TPath.GetFileNameWithoutExtension() 2022-04-13 07:29:10 +02:00
76f9a77637 Use default snippets directory if custom one is an empty string 2022-03-20 22:00:47 +01:00
2c5e64299d Issue #202: always assign randomly initialized HasNulls variable, to fix wrong read-only state in grid editor 2022-02-27 12:23:49 +01:00
61a08e0947 Issue #202: replace NUL characters in cell text with a space, and activate read-only mode in such cases 2022-02-26 17:38:20 +01:00
eb4f996b39 Issue #1491: add checkbox option to empty-tables-dialog, for disabling foreign key checks 2022-02-22 21:21:37 +01:00
e505b54bdd Issue #1503: fix unsaved setup of columns in lists on object editors (table + routine editors effectively are the only ones with lists) 2022-02-21 17:35:25 +01:00
0f61ad64fe In a connection error, give the user a hint to better use the default library. A similar hint was yet only given on SSL error messages, but libmysql.dll seems to end with a misleading "access denied" error in some cases. Related to #722, #980 and https://stackoverflow.com/questions/71161296/unable-to-connect-to-mysl-container-via-heidisql-via-localhost 2022-02-19 14:50:44 +01:00
d84f2ed22e Issue #1529: detect klink.exe and putty.exe as variants of plink executable 2022-02-09 20:08:44 +01:00
8656a6459f Issue #362: bugfix for existing sessions: remove default value for unset asSshExecutable, so the old global asPlinkExecutable gets used in that case 2022-02-06 12:01:11 +01:00
98c69fa2ed Issue #362: add basic support for OpenSSH tunnels, with slightly different command line arguments 2022-02-04 22:28:03 +01:00
c8ecee8f69 Add user option to cut floats from trailing decimal zeros, and leave 1 zero by default. See https://www.heidisql.com/forum.php?t=38775 2022-02-03 08:24:55 +01:00
210f056c47 Revert a part of commit 976dd6b7420232c4dba631391743ef44cf95a935: do not generate hyperlinks for local file paths, which get broken too often due to unsupported spaces. 2022-01-01 12:38:45 +01:00
91be0fcc0a Issue #1503: increase default size of grid popup text editor 2021-12-29 10:00:32 +01:00
d46716ff2e Issue #1503: reactivate DPI awareness, and try to read/write component dimensions DPI independently 2021-12-26 13:06:24 +01:00
07f00ed88d Issue #1151: add option to turn off tab close by doubleclick/middleclick 2021-12-25 17:12:24 +01:00