196 Commits

Author SHA1 Message Date
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
e8d6eed8a5 Don't clear variable from --description cli parameter. Broken since c8b25c75fa875ffdc1de4c7c8d52c2f30e1499fd. Closes #1295 2021-10-23 09:29:00 +02:00
38510bd030 Activate auto-suggest option "Find matches in middle of entered text" by default. 2021-10-19 06:47:58 +02:00
9baeb9f018 Outsource large list of MySQL functions into separate .ini files, one per server type. Todo: definitions for SQLite and Interbase. 2021-10-11 21:32:55 +02:00
b86efe871d No longer disable SSH tunnel on Windows 10 S. This removes the no longer required support for Win10S if used in the Windows Store. 2021-06-26 09:15:12 +02:00
ed28bcbf6f SQL export: Add popup menu action for copying mysqldump command line 2021-06-25 08:56:18 +02:00
39d7af0abd Code cleanup: outsource generic MainForm.IsWine property to apphelpers.IsWine function 2021-06-24 05:44:14 +02:00
dd38ba4f6f Code cosmetic: rename implodestr() to Implode() 2021-06-03 08:32:06 +02:00
fcfb6ea140 Modify TQueryTab.LoadContents so it only catches crashes in ReadTextfile(), and let the remaining unsuspicious code run without catching a crash. This way we should get an exact crash report here: https://www.heidisql.com/forum.php?t=37945#p37957 2021-06-03 08:16:05 +02:00
4fc2063449 Fix crash after encountering unsupported NetType session setting. And don't ask the user to report that as a bug, in the prior error dialog. 2021-05-15 08:25:40 +02:00
cdc8481471 First attempt to manipulate the CREATE table code in SQL exports when source is a MySQL server and target is MariaDB. This just removes the incompatible "COLLATE xyz" clause from virtual varchar columns. 2021-05-12 18:16:21 +02:00
976dd6b742 Turn release-download button into a link label, displaying a second link to a message dialog with instructions for a portable update. See https://www.heidisql.com/forum.php?t=37843 2021-05-08 17:21:02 +02:00
b271107dad Add new preference option for displaying hexadecimal content in lowercase 2021-04-23 15:45:39 +02:00
6468fd85ff Issue #1357: include column names in "copy as" submenu export actions by default 2021-04-18 17:35:26 +02:00
acb11f8647 Optimize TSQLSentence.GetSQL 2021-04-10 19:19:05 +02:00
fe4e29e2e3 Initialize global SystemImageList variable, to fix potential issues in apphelpers.GetSystemImageList 2021-04-10 19:18:12 +02:00
d5f7f84f43 Issue #136: auto-remove empty registry subkeys created just through AppSettings.SessionPath := GetRegKeyTable, indirectly by TAppSettings.PrepareRegistry 2021-03-17 18:17:06 +01:00
c75dfc2274 Issue #136: adjust code for displaying cursor position to the new SynMemo approach 2021-03-16 18:38:27 +01:00
9dcd446a47 Issue #136: Replace the standard memo on the grid cell text editor with a TSynMemo. And provide all supported highlighters in a drop-down, remembering the previously selected highlighter. 2021-03-14 20:46:30 +01:00
3e7a706caa Always read portable settings file and imported settings file in UTF8 mode, instead of (falsely) auto-detecting the encoding. Fixes broken characters loaded from a portable file larger than the examined 16 (?) KB. See pm from FP. 2021-03-03 07:39:03 +01:00
bc26484701 Issue #397: Add support for logging DML queries, and make log file path fully customizable. Requires to move some session settings to a new SSL tab, to reduce the required dialog height. 2021-01-29 08:25:14 +01:00
153e0724bd Issue #397: Implement logging of DDL queries to migration files 2021-01-28 08:23:12 +01:00
be66d708dc Issue #397: simplify synchronized code calls in query threads, especially wrt LogFromOutside() 2021-01-27 22:41:56 +01:00
ac9f16e4d1 Fix %db in file pattern being replaced like a %d (current day) with a literal "b" after it. 2021-01-27 22:35:47 +01:00
b6c9cc1e02 Simplify some code which checks where user has clicked, using the new PopupComponent() 2021-01-16 18:15:12 +01:00