147 Commits

Author SHA1 Message Date
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
c9135bd9d0 Issue #293: make warning threshold for number of grid rows customizable, in preferences dialog, on grid formatting tab 2020-05-30 09:10:23 +02:00
67b2f8194a Extend exception message with useful folder variable, in TAppSettings.PrepareRegistry, which I saw several times now in user reports, last time here: https://github.com/HeidiSQL/HeidiSQL/issues/1028#issuecomment-628131074 2020-05-13 20:57:53 +02:00
3eb3480e1c Get rid of global esc() function (which always refers to MainForm.ActiveConnection) and prefer the method's or unit's connection object instead 2020-05-10 13:41:15 +02:00
849a50c4f3 Make regular expressions for detecting attributes in EXTRA column of IS.COLUMNS slightly more lose, so a "default_generated" does not break detection of "on update ...". Also allow case insensitive searching. See https://www.heidisql.com/forum.php?t=36100 2020-04-23 20:37:24 +02:00
2fae5dd852 Add new advanced session option, for hiding databases via regular expression. Closes #387 2020-04-22 18:28:38 +02:00
cc161270c9 Fix crash when loading portable fails, when MessageDialog() itself crashes. See #1001 2020-04-20 09:11:58 +02:00
3a29a2086e Add option to support completion proposal with matching in middle of entered text. Closes #126 2020-04-12 15:03:47 +02:00
099d553a05 #982: Add "Reformat SQL" menu item to view editor, and all other editors with a code editor. 2020-04-11 13:41:38 +02:00
f2c6bb713a Add support for -db/--databases command line parameter. Closes #977 2020-04-09 19:49:35 +02:00
4470ca6c05 Issue #977: pass value of -p command line argument to the connection even when it's "0", to override TConnectionParameters.DefaultPort 2020-04-09 18:13:53 +02:00
f11a81e3b5 Issue #977: Support -l/--library command line parameter, and provide short parameters for sslprivatekey, sslcacertificate, sslcertificate, sslcipher and cleartextenabled 2020-04-09 14:55:01 +02:00
64c405ff74 Don't trim items when exploding to string list 2020-03-05 13:45:19 +01:00
88c3560e6e Issue #140: As a complement to writing tab backups in UTF8 without BOM, now load them in this encoding, not in UTF8 with BOM
* see deab98736ed591b1aeb6a229de1ddf06e9f43a42
* see https://www.heidisql.com/forum.php?t=35551
2020-02-20 09:35:45 +01:00
54757760f9 Use default library of given network type in command line receiver. See https://www.heidisql.com/forum.php?t=35656 2020-02-18 20:28:19 +01:00
33300bd171 Silence crash happening in some very early calls to apphelpers.FindNode, also triggered by RestoreTabs. Probably helps here: https://www.heidisql.com/forum.php?t=35551 2020-02-04 08:03:34 +01:00
19391e0d3f Tweak update check dialog, closes #784
* make dialog resizable
* restore previous dialog size
* use fixed pitch font in build notes
2020-01-30 16:15:42 +01:00
91f973caed Issue #12: On "Host" tab, prefer visible filename over visible file path 2019-12-25 12:58:36 +01:00
168e49af84 Use the newer KNOWNFOLDERID TGUID constants from Winapi.KnownFolders instead of CSLID integer constants. Probably fixes wrong FOLDERID_RoamingAppData folder for #815 2019-12-18 21:36:51 +01:00
805c0c35b2 Add checkbox option to remove line breaks from field contents in grid export dialog. Closes #474 2019-12-08 11:59:15 +01:00
6695a31eae Issue #805: fall back to translated button captions if GetLocaleString returned an empty string. Setting an empty button caption raises an exception in TTaskDialogButtonItem 2019-11-14 21:32:15 +01:00