860 Commits

Author SHA1 Message Date
a998311d1a Display number of selected grid rows in status bar. 2011-05-01 22:15:39 +00:00
3c11e6c5a8 Introduce a separate dialog for all "copy grid data as .." actions, including the file export. Fixes issue #1499. 2011-04-28 07:33:49 +00:00
b9b981ab39 Do not break column names with spaces with WordWrap(). Fixes issue #2390. 2011-04-22 08:01:53 +00:00
40290e4ef8 Create new data grid result object each time, so it's of the right vendor type. Fixes an access violation when switching to a table in another connection. See http://www.heidisql.com/forum.php?t=8306 2011-04-22 06:44:23 +00:00
1021dc3888 Create critical section variable earlier, before the first call to LogSQL(). See http://www.heidisql.com/forum.php?t=7757 2011-04-21 17:38:03 +00:00
b7cec30bd3 Exceptions are caught in TMySQLConnection.GetAllDatabases, no need to catch them again in TMainForm.DBtreeInitChildren. Also, log an error message if both SHOW DATABASES and the alternative did not work. 2011-04-20 19:03:13 +00:00
eadc009e27 Reinitialize session node after creating a new database. See http://www.heidisql.com/forum.php?t=8311 2011-04-20 18:53:40 +00:00
cb0e54068c Remove redundant functions IsMSSQL and IsMySQL. 2011-04-19 23:07:52 +00:00
8e253e40fb Fix ignored preference option for restricted number of query results. Also, remove unused, redundant list of results from query thread. 2011-04-19 23:02:51 +00:00
92f9ff0364 LogSQL needs to do stuff in the main thread, to avoid various access violations in SynEdit. Fixes issue #2358. 2011-04-19 22:38:46 +00:00
3272430c40 Code cosmetic: Merge the few lines from TrimSQLlog into LogSQL 2011-04-19 22:09:16 +00:00
c8b25c75fa Bind session parameter object to session manager list nodes, to be able to show the right vendor icon in that list. 2011-04-17 23:21:05 +00:00
77c5b3e219 Fix window placement problems due to multi monitor setup and restored minimized window state. Fixes issue #2372. See also http://www.heidisql.com/forum.php?t=8126 2011-04-16 16:34:59 +00:00
6e6508490a Remove unused variable 2011-04-13 20:13:26 +00:00
dcaacaebef Quote identifier in filter dummy SQL connection-independently. 2011-04-13 20:12:48 +00:00
e024c282d3 Think disabling Vistas ghosting feature worked around problems caused by single-threading. Remove it. 2011-04-13 20:10:33 +00:00
6bee759971 No need to check server version on each key pressing. Also this is obviously causing a call to ActiveConnection when at some points this is not set. Fixes issue #2376. 2011-04-13 20:07:37 +00:00
2160643759 Killing multiple processes raised and stopped at the first missing one. Loop on unless user presses "Abort" on the error dialog. Fixes issue #2362. I should also give the execute query action such a logic, replacing the "Stop on errors" flag. 2011-04-10 20:17:30 +00:00
e43d115641 Update cached objects only for current and expanded database nodes when refreshing. No need to do that also for all previously selected databases. See http://www.heidisql.com/forum.php?t=6773 2011-04-09 06:37:43 +00:00
17a62c020c We have TDBConnection.DequoteIdent. No need to include WideStrUtils unit for that purpose. 2011-04-09 05:52:21 +00:00
56ca6c75d9 Fix disabled run query button in certain cases. See http://www.heidisql.com/forum.php?t=7886 2011-04-07 21:46:24 +00:00
2e44387eb2 Remove seconds from uptime and connected time in status bar. Should fix flickering finally. See http://www.heidisql.com/forum.php?t=7977 2011-04-06 19:59:36 +00:00
4d9f038c16 Use vendor image as server node icon 2011-04-06 19:08:18 +00:00
ea41508884 Decrease the myriad of calls to StatusBarDrawPanel to a minimum. Avoid calling StatusBar.Repaint which always repaints all panels, leading to quite a lot code to execute. Server version/vendor now gets only refreshed after having connected and on a connection switch. Should fix issue #2304 and calm down idle times. 2011-04-05 22:19:40 +00:00
65e762c720 Support empty table action on MS SQL. 2011-04-04 20:14:22 +00:00
a8baf72e77 Support table column names in completion proposal for MS SQL. 2011-04-04 19:02:41 +00:00
cad400db1e Try to fix a further randomly occurring access violation, probably in conjunction with threads. See http://www.heidisql.com/forum.php?t=8096 2011-04-04 17:09:43 +00:00
049e4bb526 Group network types in fewer dbms names, to have less code. Also, support other MS SQL network types: tcp/ip, spx/ipx, vines and rpc. 2011-04-04 06:12:56 +00:00
3bfc4d0ffb Try to fix a rarely occurring access violation 2011-04-01 17:33:22 +00:00
705393a36c Try to fix some randomly occurring access violation in TMainForm.StatusBarDrawPanel, when accessing the current connection. Fixes issue #2304. Instead of the lock/computer icon, draw a vendor specific icon instead. 2011-03-31 21:37:59 +00:00
fb20c8e75f Fix offset portion in LIMIT clause, at least for MySQL. 2011-03-30 05:37:52 +00:00
4fbf2c23dd Introduce experimental MS SQL support 2011-03-29 23:20:21 +00:00
a9f1f076b0 Fix two minor compiler warnings. 2011-03-17 23:07:02 +00:00
49a97584e6 Code preparation for non-MySQL connections: Extract abstract stuff into a new TDBConnection class, and let TMySQLConnection derive from that. Same with TDBQuery / TMySQLQuery. See issue #1008. 2011-03-17 23:03:54 +00:00
a44e2308db Enhance quick filter menu items: Support cell values from multiple selected rows. Fixes issue #2341. 2011-03-12 14:11:20 +00:00
45d4bcc5f7 Try to fix AV on tab closing, this time by avoiding calls to TControl.ClientToScreen respectively ScreenToClient, which I both suspect to be buggy. Fixes issue #1935. 2011-03-03 20:25:16 +00:00
6cd32759e3 Query threads are set to FreeOnTerminate, so there is no need to free them manually. Fixes an access violation. 2011-03-01 23:10:54 +00:00
922eca3080 Code cosmetic - avoid calling Exit when we have the chance to jump to Except instead. 2011-03-01 22:39:09 +00:00
294061030e Now that user queries do not block the GUI, you can switch to another main tab. Add some safety code when detecting the right tab for a thread. 2011-03-01 22:35:46 +00:00
4d90a5901e Implement threaded execution of user queries, using a TThread descendant class. Fixes the most starred issue #1509. However, later clicks which fire some parallel query are a problem now, as the server kills the connection when you do that. In some cases there should popup the "Commands out of sync" error. 2011-03-01 22:32:55 +00:00
b50659135c Again, move code for loading libmysql.dll - the right place is now the connection object itself, which loads the library on demand, in SetActive(). This enables the application to start independently of an existent library, raising an error when pressing the connect button. Also, this is a first step towards multi-dbms. 2011-02-17 00:26:53 +00:00
d539284477 Fix crash when there is no ActiveConnection. See http://www.heidisql.com/forum.php?t=7749 2011-02-09 09:27:38 +00:00
8d9539e10f Indicate SSL enabled connection, via lock icon in status bar, logging line at connection time, and line in connection info popup. See http://www.heidisql.com/forum.php?t=7739 2011-02-09 07:07:44 +00:00
adab28c336 Avoid exception when starting cell editor for a cell which is partly out of sight horizontally. VT calls ScrollIntoView in .DoEdit, and fires the OnScroll event, which tells MainForm to end editing. Ends up in the OnNewText procedure which has no node to handle in that case. So, only end editing for vertical scrolling for now. 2011-02-08 22:52:27 +00:00
17baa6bf03 Let QueryLoad() create a new query tab if required, so the caller is not responsible to close it in cases where the file is directly executed, not loaded. Also, check if some existing query tab is empty and can be used for the file. Fixes a part of issue #2265. 2011-02-06 14:16:09 +00:00
b78fb92636 Display session manager when disconnecting from last server. Fixes issue #2282. 2011-02-03 22:52:24 +00:00
57ad933c64 Limit batch query package to a maximum of 50 queries, to avoid connection errors. See issue #2272. 2011-01-29 06:52:21 +00:00
44bcd31635 Add a "Cancel" button to the main toolbar, so users are able to stop long running query grid sort operations. See http://www.heidisql.com/forum.php?t=7674 2011-01-29 06:45:49 +00:00
4252ea8951 Fix decreasing size of compared packet size, caused by loop variable. 2011-01-21 21:51:30 +00:00
6b1a5195c8 Implement multi statements in one go for query tab, to speed up large scripts with many single queries, e.g. INSERTs from a non-optimized SQL dump. Fixes issue #2272. 2011-01-21 21:41:38 +00:00