167 Commits

Author SHA1 Message Date
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
e7baba4776 Issue #75: pimp up context menu for indexes tab, and assign to foreign keys tab and check constraints tab as well 2021-01-16 17:19:35 +01:00
54166561d8 Apply data type colors to column names in completion proposal, and move formatting code to new apphelpers.SynCompletionProposalPrettyText() 2020-12-28 13:18:26 +01:00
77ee00e5e8 Call SynUnicode.GetEncoding instead of our own old copied code in apphelpers.DetectEncoding. Probably enhances the "auto-detect encoding" option in file-open dialogs. 2020-12-26 08:58:45 +01:00
990c630341 Get rid of hardcoded string default date 2000-01-01 in various places. Introduce apphelpers.DateTimeNever field instead. 2020-12-15 07:36:16 +01:00
1733156502 Fix sporadic EInvalidOp crash when displaying invalid uptime from server's ConnectionInfo 2020-12-14 22:26:56 +01:00
a9039e08f1 Fix crash when table has an invalid/negative create or update date/time 2020-12-14 22:16:49 +01:00
bb8b11fc55 Issue #1232: fix wrong tab caption used when rename-tab action triggered through its shortcut 2020-11-24 18:28:19 +01:00
bcd2f4d8c8 Issue #1232: suggest query tab caption as default filename in save-dialog 2020-11-21 19:15:21 +01:00
c878311b8b Fix grid search/replace with scope=selection. Closes #1233 2020-11-21 14:16:47 +01:00
2f9dc90b0e Add context menu item for renaming query tabs. Closes #1232 2020-11-21 13:08:46 +01:00
ed7a8cd2c8 Restore main window if minimized to taskbar. IsWindowVisible is also true when window is minimized. Closes #1207 2020-11-14 17:36:43 +01:00
787f33014a Issue #1191: convert "Copy rows" context menu item to a submenu, and provide all export formats, with icons 2020-11-14 13:54:58 +01:00
e04d0ee783 Issue #1215: modify original url variable so error messages show the right one 2020-11-13 17:19:17 +01:00
7fe1a58a8e Fix integer instead of string message part. Closes #1215 2020-11-11 22:28:45 +01:00
bae514d147 Issue #1209: move https=>http fallback to THttpDownload.SendRequest(), so the update check benefits from that 2020-11-11 20:05:41 +01:00
1f5f36f4e9 Tab restoring: simplify check for keyword in ProcessExists(), don't throw a regular expression at it 2020-11-10 07:19:53 +01:00
66c50ce792 Tab restoring: avoid restoring tab file only if the owner is a *HeidiSQL* process. Fixes non-restored tabs when an old Heidi process id is re-assigned to another application. Happened here at least one time. 2020-11-09 18:08:06 +01:00
d8cf039d98 Emergency fix: Turn asLibrary again into a session based setting. Broken in commit b22c3fd81549edba525e526cb6429aad2fa1faf3. Closes #1199 2020-10-27 08:39:04 +01:00
b22c3fd815 Dynamic default value for library session setting, depending on its network type. Closes #1010 2020-10-26 20:02:12 +01:00
5b83719a5c Issue #807: forgotten file for previous commit 2020-10-26 19:59:24 +01:00
5c14ab4f23 Issue #1132: Add basic support for code folding in SQL editors, using #region/#endregion markers 2020-08-16 13:00:31 +02:00
cd29cd244e Sort session path + names alphabetically, in menus with no header sort logic. Closes #1119 2020-08-10 21:23:37 +02:00
154272d9b3 Move one constant out of const.inc into TAppSettings structure 2020-08-07 08:33:24 +02:00
f2af43f1e0 Fix all 11 compiler hints and 5 warnings 2020-08-06 13:49:32 +02:00
1529b32a2d Issue #1111: Add two safety checks in TAppSettings.GetSessionNames, trying to blindly fix some endless recursion happening on user nami0309's system when starting HeidiSQL 2020-08-03 12:07:41 +02:00
8b548862de Prefer String.IsEmpty over self-baken IsEmpty(String) 2020-07-04 08:12:17 +02:00
a3cf8b3c92 Set minimum window height of session manager. Closes #1074 2020-06-25 07:15:38 +02:00
08f0cbdb4f Remove download link for plink in SSH tunnel tab, and provide plink.exe v0.73 through the installer 2020-06-24 17:22:43 +02:00
1981afdf3b Issue #120: Allow unsupported ADODB providers per registry hack 2020-06-24 07:30:43 +02:00