e686ea171b
Silence conversion errors while reading query history from registry. See pm from Thomas Hauck.
2012-08-27 15:33:18 +00:00
491a6298d1
Introduce property LogToFile in TMainForm, which is synced with the registry setting asLogToFile. Fixes issue #2936 .
2012-08-23 23:16:36 +00:00
c7ffeba600
Add a second label to below the processlist, called "EXPLAIN Analyzer on MariaDB.org", which passes the EXPLAIN output to http://mariadb.org/explain_analyzer/api/1/ . Thanks to Bryan Alsdorf for support.
2012-08-20 06:15:49 +00:00
5cb8df0a78
Use j, not i, for a check whether a recent filter item has a numeric name. Fixes issue #2932 .
2012-08-20 06:07:14 +00:00
90ab0b6cf1
Refactor logic for reading and writing application and session settings:
...
* Introduce TAppSettings, created in dpr file
* Implement read and write methods, and replace callers of GetRegValue and MainReg.WriteInt/... with these
* Optimize read and write methods for avoiding redundant accesses to registry
* Auto-remove stored default settings from registry to avoid registry spam
* Replace synced MainForm.pref* variables with TAppSettings.Read* calls
* Move SetLocales call to dpr file
* Move MainForm.FDirname* variables to appropriate methods in helpers.pas
* Implement TQueryHistory.Create(SessionPath), reading its items within constructor
2012-08-19 10:55:08 +00:00
bab15cf16b
Fix compiler error due to errors in previous commit caused by half undone modifications.
2012-08-02 22:24:57 +00:00
525b0b4edc
Code maintenance: Remove unused control tags, turn check menu items into TAction's, and refactor some code parts.
2012-08-02 22:15:35 +00:00
56e0d8b445
Implement session folders. Fixes issue #1228 .
2012-07-27 06:54:56 +00:00
796dbb1a05
Issue #1031 : Include group name in window caption breadcrumb trail.
2012-07-19 08:44:22 +00:00
08ec09c3dd
Fix issue #1031 : Have folders for tables, views, routines in database tree.
2012-07-19 07:07:50 +00:00
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
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
764e87b98b
Fix misplaced destruction of column list which gets used a line later
2012-05-23 09:47:59 +00:00
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
6d34e81f15
Escape joker chars in automated LIKE filter for data tab. Fixes issue #2852 .
2012-05-22 17:09:42 +00:00
05b832a9bb
Use the right color for inactive nodes.
2012-05-21 17:14:03 +00:00
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
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
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
5e8bf8306a
Remove unused unit inclusions, detected by CNPack/Uses cleaner
2012-05-01 08:34:12 +00:00
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
a9260a49d6
Fix black tree background, broken in previous commit.
2012-04-22 12:10:06 +00:00
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
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
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
b82319a7f1
Display formatted query time if query took longer than 60 seconds. Fixes issue #2813 .
2012-04-06 08:47:49 +00:00
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
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
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
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
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
108b07be50
Remove unused variable and fix a string list memory leak
2012-03-26 18:44:57 +00:00
c2699b3443
Safe 9 lines of code by introducing new server specific snippets spEmptyTable and spCurrentUserHost.
2012-03-26 18:43:00 +00:00
6703f20711
Move global LoadConnectionParams() to class function TDBConnection.ReadFromRegistry()
2012-03-26 18:34:33 +00:00
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
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
72acd369e5
Fix glitch from previous commit which causes access violations in TMainForm.SynMemoQueryPaintTransient. See http://www.heidisql.com/forum.php?t=10402
2012-03-25 06:37:42 +00:00
110e7ca2ed
Update SynEdit component to latest SVN revision 76.
2012-03-24 23:04:29 +00:00
7948055261
Since r4096, TQueryHistory.ReadItem() possibly returns nil. Catch these cases in relevant loops. Fixes issue #2791 .
2012-03-21 19:07:22 +00:00
a004c015d8
Fix minor memory leak
2012-03-21 18:57:14 +00:00
9c7f23b9b6
Add context menu item for manually clearing query history. See http://www.heidisql.com/forum.php?t=8927#p10355
2012-03-20 20:09:55 +00:00
65222c123f
Do not check expansion state of query history children unless the parent node is expanded, to avoid initializing children when not required. Accesses registry items when doing so.
2012-03-20 19:46:46 +00:00
e9eb68b293
Add safety check for numeric history item name, so we don't run into follow up errors when there is some non-numeric history item. Fixes issue #2790 .
2012-03-20 19:34:04 +00:00
20ad253cca
Implement query history in helpers tree. See http://www.heidisql.com/forum.php?t=8927 .
2012-03-19 23:45:09 +00:00
1a13a011c2
Reintroduce option "Remember filters" on Preferences > Data, as a replacement for the delete buttons besides the recent filters dropdown. Reverts r3463 and fixes issue #2776 .
2012-03-13 22:11:11 +00:00
9b7a1a88cd
Implement usage of mysql_warning_count(). Ask for running SHOW WARNINGS in a new query tab if there are more than the 5 warnings which already get displayed in the popup dialog. Fixes issue #2768 .
2012-03-10 09:13:31 +00:00
530c27d064
Synchronize logging within a query thread with the main thread, to prevent access violations in SynEdit. Remove CriticalSection approach. Fixes issue #2763 .
2012-03-09 20:55:31 +00:00
4de1b3012d
Move code from GetSQLSplitMarkers and SplitSQL into TSQLBatch class. Enables me to access details like string size of batch. Preparation for query history.
2012-03-06 21:52:57 +00:00
ccca1bf982
Try to fix command line for Wine users by launching "$TERM -e path/to/mysql", see http://www.heidisql.com/forum.php?t=10158
2012-03-06 20:13:21 +00:00
de0048d419
Issue #2728 :
...
* Support Unix paths to MySQL binaries.
* Auto-add the right directory separator at the end of the path setting
2012-03-02 21:03:52 +00:00