Commit Graph

6139 Commits

Author SHA1 Message Date
Ansgar Becker
87ce54b75a Remove debugging code, accidentally committed in r3654. Caused non shown snippet files. 2011-01-21 20:09:04 +00:00
Ansgar Becker
99eda21fe6 Catch various IO exceptions for TDirectory calls. See http://www.heidisql.com/forum.php?t=7616 2011-01-20 17:45:45 +00:00
Ansgar Becker
fda777f843 Do not go to start of query if error message did not contain a valid character position. Slightly wrong in r3570. 2011-01-19 21:04:04 +00:00
Ansgar Becker
58a95bc978 Allow snippet files with more than one dot. Fixes issue #2264. Also, this removes GetFilesFromDir() and makes use of TDirectory.GetFiles instead. 2011-01-19 20:47:37 +00:00
Ansgar Becker
0911c8edad Init all objects in active db before preselecting, so the tree does not just check the parent db node when we only want the first object in it. Fixes issue #2267. 2011-01-19 20:11:45 +00:00
Ansgar Becker
82b45cf09e Can't recall why date/time columns in a VIEW did not get a default text for CREATE VIEW. Undo that and probably fix the issue described on http://www.heidisql.com/forum.php?t=7109 2011-01-17 20:58:56 +00:00
Ansgar Becker
bb00b55798 Get collation table once, not in each loop when parsing table columns. Fixes issue #2266. 2011-01-16 16:41:29 +00:00
Ansgar Becker
adb3a3aa74 Add more debug log lines, mostly to detect looped calls to Ping(). 2011-01-16 16:36:42 +00:00
Ansgar Becker
56f3b8ff0b Add debug logging in TMySQLConnection.Ping(). See issue #2266 2011-01-16 16:22:56 +00:00
Ansgar Becker
88d56668c8 Redo changes from r3630 2011-01-12 18:16:28 +00:00
Ansgar Becker
6ffb0e360c Revert r3630 test wise, so the reporter of issue #2266 can see if that really caused the slowness. 2011-01-12 18:14:39 +00:00
Ansgar Becker
7e1331300d Internally reset cached list of databases after dropping a db. Fixes issue #2271. 2011-01-11 18:22:55 +00:00
Ansgar Becker
65148c596d Redo r3571 - seems that was not the cause of slowness. 2011-01-11 07:01:58 +00:00
Ansgar Becker
d2fdeef0fb Revert r3571, to test if that caused slowness described in issue #2266 - of which I am unsure. 2011-01-10 22:57:49 +00:00
Ansgar Becker
40791c52a9 Do what's needs to be done to tell a node it has children now. 2011-01-10 20:42:45 +00:00
Ansgar Becker
fcb7fcffab Auto expand active database on startup. See http://www.heidisql.com/forum.php?t=7471 2011-01-09 07:23:58 +00:00
Ansgar Becker
11256e914b Allow auto refresh interval to be some float, especially useful for seconds between 0 and 1. 2011-01-07 21:29:37 +00:00
Ansgar Becker
e884f26c29 Revert r3636 - grid cells need this extra space for the edit button with the three dots. 2011-01-04 22:41:50 +00:00
Ansgar Becker
6921e6e189 Make detection of disabled users more stable. See http://www.heidisql.com/forum.php?t=7433#p7442 2011-01-03 23:21:17 +00:00
Ansgar Becker
a8f5310e3c Minimize column width in data and query grids - add 15px less extra space. See http://www.heidisql.com/forum.php?t=7363 2011-01-01 17:48:27 +00:00
Ansgar Becker
1df812d53f Large numbers exceeding Int64 range in SHOW STATUS result can cause an EInvalidOp exception in Trunc(). Catch this exception. See http://www.heidisql.com/forum.php?t=7409 2011-01-01 17:36:38 +00:00
Ansgar Becker
cb9572d8d0 Adjust Delphi XE package files with automagic changes, failed to send these in previous commit. 2011-01-01 09:36:42 +00:00
Ansgar Becker
69b8201273 Add Delphi XE packages. 2010-12-29 23:04:18 +00:00
Ansgar Becker
c5ae894951 Use less indentation in db tree and less height per node in all trees. Fixes issue #2262. 2010-12-29 22:44:12 +00:00
Ansgar Becker
b0048cff64 Try to fix a flicker effect on the owner-drawed status bar panels. 2010-12-29 20:52:20 +00:00
Ansgar Becker
eea43de0eb Force cache update of server stuff like table engines after reconnecting. Fixes issue #2258. 2010-12-21 22:43:14 +00:00
Ansgar Becker
ea4f87f4d0 Skip filtered nodes in various GUI actions, e.g. "drop objects" and "export as csv". Fixes issue #2255. 2010-12-20 22:00:46 +00:00
Ansgar Becker
535e3d31bf Hide table engines marked as disabled. 2010-12-17 21:26:06 +00:00
Ansgar Becker
d60d3f3ea6 Focus next or previous grid node on Shift+MouseWheel, in all trees. See http://www.heidisql.com/forum.php?t=7269 2010-12-11 07:25:19 +00:00
Ansgar Becker
c97f5295e0 5.0 and older servers show a "USING BTREE" before the column list, newer servers have them right after the list. Allow both places to fix compatibility to old servers. See http://www.heidisql.com/forum.php?t=7153 . 2010-12-06 23:21:58 +00:00
Ansgar Becker
0df3c96a42 Reset CREATE code when renaming a view, so the next click on that view does not trigger "Table does not exist". 2010-12-06 23:08:07 +00:00
Ansgar Becker
e23a16f9ae Allow dash in view names. Fixes issue #2243. 2010-12-06 22:59:41 +00:00
Ansgar Becker
e3ce880b69 Call Application.ProcessMessages in certain intervals while export runs, and disable most controls so nothing critical can break the export loop. See http://www.heidisql.com/forum.php?t=7174 . 2010-12-06 22:52:41 +00:00
Ansgar Becker
481b472c52 Try to fix detection of default-less fields in views. See http://www.heidisql.com/forum.php?t=7109 2010-12-03 21:38:05 +00:00
Ansgar Becker
6136e777e1 Silence SQL exception in grid editing when foreign table is not accessible. See http://www.heidisql.com/forum.php?t=7070 2010-11-29 07:10:23 +00:00
Ansgar Becker
973351fed8 Use manual counter for default query tab caption ("Query #X"), so when closing some tab in between there are no equal ids. See http://www.heidisql.com/forum.php?t=7065 2010-11-29 07:03:25 +00:00
Ansgar Becker
a6d697cbd2 Minor follow up to previous commit: Trigger save button to be enabled when editing SSH timeout, and adjust IDE-automated width of SSH timeout label. 2010-11-28 19:48:06 +00:00
Ansgar Becker
7770d186e5 Append -N option to plink command line. Avoids starting a shell on the remote system, and probably heals immediately exiting plink process in cases where the user is not allowed to start a shell. Discussed in issue #2236. 2010-11-28 17:22:50 +00:00
Ansgar Becker
199d7c6e0f Make plink.exe wait timeout configurable in session manager. Fixes issue #2236. 2010-11-28 12:47:00 +00:00
Ansgar Becker
8fe2fb7b84 Manually repaint db tree after user fired a USE <db> command, so the icons show the right db as active. 2010-11-26 23:42:07 +00:00
Ansgar Becker
bae412a80c Remove no longer needed portable compile script 2010-11-26 23:35:12 +00:00
Ansgar Becker
c4cbcd7dd9 Update readme file, shorten it to some "How to compile" readme. Also remove style stuff. Fixes issue #2235. 2010-11-26 23:23:02 +00:00
Ansgar Becker
9e880365ac Closing a query tab when data tab is open leads to passing page index -1. Avoid AVs in that case. See http://www.heidisql.com/forum.php?t=7038 2010-11-26 07:06:45 +00:00
Ansgar Becker
b1effc6ce6 Enable filter input when table editor is active, for the column list. See http://www.heidisql.com/forum.php?t=6988 2010-11-25 07:25:48 +00:00
Ansgar Becker
ffb99d8962 Add right click option to toggle visibility of horizontal scrollbar in SQL log. http://www.heidisql.com/forum.php?t=6984 2010-11-24 23:39:22 +00:00
Ansgar Becker
6f95a796e1 Modify identifier quoting logic:
- Move QuoteIdent() and DeQuoteIdent() out of TMySQLConnection, make them classless
- Remove TMainForm.mask(), instead always use QuoteIdent()
- Introduce a third parameter to QuoteIdent(): "AlwaysQuote" - setting this to false will quote only if required
- Set AlwaysQuote to false for all stuff which drops some code into the query editor, see http://www.heidisql.com/forum.php?t=6986
2010-11-24 23:12:13 +00:00
Ansgar Becker
e4cc29df6b Revert r3608 to fix error in resource compiler: "Error icon.rc 1 15: Allocate failed". Unfixes issue #2238. 2010-11-24 09:52:45 +00:00
Ansgar Becker
15d858c898 Add 256px version to main icon. Fixes issue #2238. 2010-11-24 08:53:54 +00:00
Ansgar Becker
c0ded109b5 User manager form is kept in memory after closing. Later calls need to check the current server version to display the right list of priv names. So, move creation of these lists from Form.OnCreate to Form.OnShow. 2010-11-21 23:21:58 +00:00
Ansgar Becker
a2e20b08f1 Use CREATE USER query for added users, as required since 5.0.2 servers when password is empty. Works around SQL error 1133 (Can't find any matching row in the user table). See http://www.heidisql.com/forum.php?t=6948 2010-11-21 19:21:16 +00:00