Commit Graph

6139 Commits

Author SHA1 Message Date
Ansgar Becker
c489504bc8 Fix non-stored checkbox state for local timezone feature, missing in r4152 2012-05-31 15:18:22 +00:00
Ansgar Becker
3dffe2880e Use InputQuery instead of InputBox, so we can use the focused cell content as default value and check if user clicked ok or cancel. See http://www.heidisql.com/forum.php?t=10729 2012-05-30 17:41:38 +00:00
Ansgar Becker
7537d848bc Rethink r4111: Recalculate height of query editors and SQL log if the space for the query grid between them gets too small so the grid gets overlapped. This time without making the SQL log too small so it does not snap and keep having a zero height. Fixes issue #2855. 2012-05-28 09:08:20 +00:00
Ansgar Becker
e2f09b0d8d Make local timezone feature a per session option. See http://www.heidisql.com/forum.php?t=10635 2012-05-25 17:46:57 +00:00
Ansgar Becker
764e87b98b Fix misplaced destruction of column list which gets used a line later 2012-05-23 09:47:59 +00:00
Ansgar Becker
2d8d8e9f36 Get additional column names into SELECT query and ListProcesses tree. See http://www.heidisql.com/forum.php?t=10687 2012-05-22 22:32:05 +00:00
Ansgar Becker
6d34e81f15 Escape joker chars in automated LIKE filter for data tab. Fixes issue #2852. 2012-05-22 17:09:42 +00:00
Ansgar Becker
05b832a9bb Use the right color for inactive nodes. 2012-05-21 17:14:03 +00:00
Ansgar Becker
1f313df20e Remove TServerVariable.VarType property, and detect that by only examining the value. Fetch list of variables from a more complete documentation table which also reveals their read/write state. Also, paint variable values in data type colors. 2012-05-20 22:17:57 +00:00
Ansgar Becker
548eb4003f Catch EInvalidOp exceptions from calls to Trunc(), caused by unsigned Int64 values in string parameters of MakeInt(). 2012-05-20 12:25:44 +00:00
Ansgar Becker
aaf80e7d93 Limit SET time_zone query to 4.1.3+ servers, to fix "Unknown system variable time_zone" error on old servers. 2012-05-20 12:10:41 +00:00
Ansgar Becker
2ef9f4e288 Implement server variable mapping table, and extend the variable editor to explicitly modify strings, numbers, booleans or enumerations, as described on http://dev.mysql.com/doc/refman/5.6/en/dynamic-system-variables.html . Fixes issue #2614. 2012-05-20 08:34:13 +00:00
Ansgar Becker
0f4ec0b3e9 Fix wrong spelled character sets in HTML files, exported from grids. Fixes issue #2825 2012-05-19 10:25:04 +00:00
Ansgar Becker
18bcbd8235 Support insertion of SQL function calls in grid cells, via context menu and shortcut Ctrl+F2. Also, reload full row data after INSERT and UPDATE. 2012-05-18 17:01:59 +00:00
Ansgar Becker
de504e4a18 Detect client timezone in TMySQLConnection.DoAfterConnect and send SET time_zone to the server, so that NOW() and friends return UTC-fixed values. See http://www.heidisql.com/forum.php?t=10635 . Breaks grid editing of date/time values, issue #1835, while timestamp columns use server magic. 2012-05-17 06:18:23 +00:00
Ansgar Becker
30474de294 Encode more unsafe characters in urls 2012-05-01 12:10:17 +00:00
Ansgar Becker
62c0396165 Separate version from app name using slash instead of space, which seems most commonly 2012-05-01 09:00:27 +00:00
Ansgar Becker
e8b6de3b6f Include operating system in user agent 2012-05-01 08:56:36 +00:00
Ansgar Becker
5e8bf8306a Remove unused unit inclusions, detected by CNPack/Uses cleaner 2012-05-01 08:34:12 +00:00
Ansgar Becker
4e5783a510 Missing file for previous commit 2012-05-01 07:05:15 +00:00
Ansgar Becker
5cb54b3711 Remove helper function ToggleCheckListBox, replace the few callers with simple code alternatives 2012-05-01 06:50:57 +00:00
Ansgar Becker
3e2d4371a3 Implement home brown "THttpDownload" class, making use of the Internet_* methods from WinINet unit. Replaces "TDownloadUrl2" class. Fixes single char in user agent. 2012-04-29 06:37:24 +00:00
Ansgar Becker
276797ed52 Code cosmetic: Move MODIFIEDFLAG to const.inc 2012-04-26 04:44:36 +00:00
Ansgar Becker
a9260a49d6 Fix black tree background, broken in previous commit. 2012-04-22 12:10:06 +00:00
Ansgar Becker
1b5285bb0e Introduce TConnectionParameters.SessionColor property to hold the tree background color, and use that to paint the background of relevant nodes only, instead of the whole tree. See http://www.heidisql.com/forum.php?t=10133 2012-04-22 08:40:30 +00:00
Ansgar Becker
af747da0b6 Add server specific icons for TokuDB, InfiniDB and Infobright. Fixes issue #2795. 2012-04-13 15:43:55 +00:00
Ansgar Becker
a7af9a9a2c No use for procedure debug() any longer. 2012-04-09 17:44:17 +00:00
Ansgar Becker
6ef3d17042 Use home brown file format for exporting and importing registry settings, as used for portable_settings.txt. Registry dumps cannot be imported into a separate registry key for a portable instance, which is hereby fixed, see http://www.heidisql.com/forum.php?t=10503 . 2012-04-09 17:40:12 +00:00
Ansgar Becker
8bc905b02f Add postfix to query result tabs so captions are unique. See http://www.heidisql.com/forum.php?t=10493 2012-04-07 06:47:14 +00:00
Ansgar Becker
1858c04d82 Usermanager: Host may contain uppercase chars, it's just case sensitive, as stated on http://bugs.mysql.com/bug.php?id=19828 . Allow uppercase host names, which may cause errors when selecting such users, but as we have a exit-logic here that does not show AVs to the end user. 2012-04-06 09:03:26 +00:00
Ansgar Becker
b82319a7f1 Display formatted query time if query took longer than 60 seconds. Fixes issue #2813. 2012-04-06 08:47:49 +00:00
Ansgar Becker
1230b9c6a1 Do not offer "show all warnings" button if SHOW WARNINGS LIMIT 5 returns less than 5 warnings. 2012-04-06 08:38:50 +00:00
Ansgar Becker
8295a66808 Use 3-retries approach in TCustomSynEdit.DoCopyToClipboard when opening clipboard, for cases in which that crashes due to MS Office managing clipboard. Fixes issue #2076. 2012-04-01 18:05:44 +00:00
Ansgar Becker
1a4e54c88c Auto switch to origin "from cursor" for second and later search actions, so it does not find the first one again and again. Fixes issue #2730. 2012-04-01 17:56:28 +00:00
Ansgar Becker
1f0146b460 Use "Entire scope" as the default origin option in search + replace dialog. Fixes issue #2731. 2012-04-01 17:40:57 +00:00
Ansgar Becker
75e69ec3ab Detect --skip-name-resolve server option in usermanager, and disable users where that would cause "There is no such grant..." errors when firing "SHOW GRANTS FOR ...". On older servers there is no server variable for that detection, so as a fallback the "SHOW GRANTS FOR ..." errors are try/caught and the user node gets disabled lately. See r4101 and http://www.heidisql.com/forum.php 2012-04-01 09:30:40 +00:00
Ansgar Becker
40234cd3f4 Work around a magic automatic TAB key arriving the pulldown grid editor if the user got into this cell via TAB. Only seen for a TComboBox with style=csDropDown. Fixes issue #2809. 2012-03-31 10:56:44 +00:00
Ansgar Becker
64433d0095 Add an "import settings" button onto the empty default session manager. Fixes issue #2749. 2012-03-29 21:37:51 +00:00
Ansgar Becker
de758373f3 Disable assertions in SynEdit. Not sure but it seems some of them do a false positive detection. Fixes issue #2801. 2012-03-29 20:59:08 +00:00
Ansgar Becker
46497c03e1 Expand session tree again after creating a new database and refreshing the tree. Fixes issue #2806 2012-03-29 20:48:03 +00:00
Ansgar Becker
4abe696b14 Expect CHARSET + COLLATE clause after RETURN, in regular expression logic of TDBConnection.ParseRoutineStructure(). See http://www.heidisql.com/forum.php?t=10297 2012-03-29 20:23:30 +00:00
Ansgar Becker
4129519580 Try to fix one of the oldest bugs: Prevent SQL log from getting a zero value height, in special cases I could never reproduce here. Users reported that here: http://www.heidisql.com/forum.php?t=10384 2012-03-29 16:10:39 +00:00
Ansgar Becker
66f9ead0f0 Avoid AV when trying to focus username edit box in cases where tabCredentials is not the active tab. 2012-03-29 13:59:13 +00:00
Ansgar Becker
269d3a0791 Revert r4101 - instead, do a FLUSH PRIVILEGES when the user manager dialog is opened, to ensure that non-flushed users can be edited. Users with uppercase chars in their host name cannot be edited - disable such nodes with a hint on how to manually fix that. 2012-03-27 23:17:20 +00:00
Ansgar Becker
2c1d6808c1 Auto-resize query editor and/or sql log when FormResize or splitterTopBottom cause overlapped query grid(s). Many users wondered about where the grid has been gone, like recently: http://www.heidisql.com/forum.php?t=10384 2012-03-26 19:53:11 +00:00
Ansgar Becker
108b07be50 Remove unused variable and fix a string list memory leak 2012-03-26 18:44:57 +00:00
Ansgar Becker
c2699b3443 Safe 9 lines of code by introducing new server specific snippets spEmptyTable and spCurrentUserHost. 2012-03-26 18:43:00 +00:00
Ansgar Becker
6703f20711 Move global LoadConnectionParams() to class function TDBConnection.ReadFromRegistry() 2012-03-26 18:34:33 +00:00
Ansgar Becker
24a8b9da48 Do not consider active query tab when dropping .sql files, at least if it has content. Fixes issue #2793. 2012-03-25 21:50:28 +00:00
Ansgar Becker
a685ff292b Introduce TSQLSpecifity and TDBConnection.GetSQLSpecifity(), which manage and return server version specific SQL snippets. Fixes issue #2796. 2012-03-25 21:42:52 +00:00