2476 Commits

Author SHA1 Message Date
3824e552fe Rewrite import file dialog: Use a grid for column values, distinct between binary and text files 2011-07-11 06:13:50 +00:00
b1d23cf1ab Disable EXPLAIN link label as long as no process is selected. Fixes issue #2489. 2011-07-06 17:28:02 +00:00
14150b15be Disable move buttons as long as there is no movable column. Fixes issue #2488 2011-07-06 17:19:38 +00:00
42ec97b213 Rename "Process-List" to "Processes" 2011-07-06 05:50:49 +00:00
b169e57fe9 Paint green size bar in database trees 2011-07-03 21:49:26 +00:00
133b2a265c Refactor code for Host subtabs: Remove TVTreeData structure, use TDBQueryList instead. Use same code for most grid events. 2011-07-03 08:44:20 +00:00
752f58ad16 Tree.Parent is in a special case a form, but it could also turn into some panel or whatever in the future. Be more stable when detecting the origin of the tree. 2011-06-27 23:14:07 +00:00
d99fe53f55 Do not force a repaint when logging anything. Probably fixes issue #2410. 2011-06-27 23:12:02 +00:00
afed597cc5 Benefit from cached DBObject.CreateCode, on "insert files" dialog. 2011-06-27 22:58:26 +00:00
00a84b5181 Free object editor previously used by a now disconnected session. Fixes an AV described on http://www.heidisql.com/forum.php?t=8686 2011-06-27 22:16:53 +00:00
0bc9030acd Allow NULL when selecting NULL as default value. See http://www.heidisql.com/forum.php?t=8790 2011-06-27 21:34:53 +00:00
3c725b3d76 Quote collation clause in all places. Fixes issue #2479. Related: issue #1852. 2011-06-27 19:44:07 +00:00
e96fa77cbd Do not cache dialog instances any longer. OnCreate code is mostly very quick, and caching them adds quite some pitfalls into the code. Not to mention 30 lines less code in main.pas now :) 2011-06-26 20:01:42 +00:00
8a2d7a8e6a Code cosmetic: rename private variables beginning with "F". Also, make various public variables private. 2011-06-25 10:02:40 +00:00
dcb1460b5b Do not leave old data grid result displayed when switching to a different table and last filter creates a SQL error. Fixes issue #2476. 2011-06-24 22:28:42 +00:00
2ed5c39916 Do not force quotation when identifier contains underline char. 2011-06-24 22:02:22 +00:00
b53e0c466e FindDBNode cannot find the right node if db tree is refreshing and has no focused node. Pass connection parameter to FindDBNode to fix that. Effect was that after a table structure change, the db tree was broken. Fixes issue #2471. 2011-06-23 10:44:30 +00:00
5a663293e7 Try to fix refresh issue #2471. 2011-06-22 06:14:29 +00:00
16384ccd01 Allow custom portable settings filename as a command line switch. Fixes issue #2469. 2011-06-20 22:05:32 +00:00
83b59a9bde Left trim query split marker to avoid whitespaces in log window. Fixes issue #2460. 2011-06-18 15:24:44 +00:00
cbd847477e Fetch uptime on MS SQL backward compatible. See http://www.heidisql.com/forum.php?t=8147 2011-06-18 05:30:35 +00:00
d15c3ca1ea Do not manually remove line breaks from log lines, as these are not displayed anyway in SingleLineMode. Fixes issue #2460. 2011-06-17 06:04:36 +00:00
f290e42bdf Work around issue #2462 2011-06-17 05:55:39 +00:00
814582aee0 Make _GetFileSize more stable against file-not-found errors, and probably a bit faster. Fixes issue #2459. 2011-06-14 22:17:38 +00:00
a71cbe9a0c Allow displaying additional columns in session list: Host, user and server version. By default all invisible, must be rightclicked to get activated. 2011-06-13 14:37:55 +00:00
98c872909c Support virtual columns in MariaDB 5.2. Fixes issue #2451. 2011-06-10 23:36:38 +00:00
ed577e4482 Detect MariaDB, and use MariaDB icon in session manager, status bar and database tree. 2011-06-10 22:26:13 +00:00
e60539b077 Free some memory after TaskDialog usage 2011-06-10 05:46:25 +00:00
2f23d68e23 Disable platform warning in RunQueryFiles, as there is a platform switch in it. 2011-06-10 05:45:16 +00:00
bb797d5b60 Use an Aero based TaskDialog with command buttons when warning about large files. 2011-06-09 23:31:15 +00:00
fad397b810 Let SetActiveDatabase focus db node also when the current focused node is a table in that db. Ensures that OnFocusChanged is called after dropping tables. Fixes issue #2450. 2011-06-09 21:16:11 +00:00
4ebc63198d Minor: Do not trigger Dbtree.OnFocusChanged when only the focused column changes. 2011-06-09 21:02:58 +00:00
9117667871 Fix usage of non assigned active connection, for moments in which we have no focused tree node. Should fix issue #2453. 2011-06-09 20:49:26 +00:00
6fd6cf4108 Fix empty generated data grid filter when line is not yet full. Fixes issue #2452. 2011-06-09 19:15:17 +00:00
d3ea4111a3 Suppress error dialog when process is already gone. Fixes issue #2362. 2011-06-09 17:24:15 +00:00
c5ac79f647 Fix another bunch of AVs, caused by dbtree without focused node when saving table or view. Probably fixes issue #2444 and maybe also issue #2438. 2011-06-08 20:14:13 +00:00
2fffb9d9b7 Silence EAccessViolations in TWinControl.WMKeyDown. Fixes issue #2439. 2011-06-06 20:00:15 +00:00
db302e6254 Enable SQL help button by default. Fixes issue #2442. 2011-06-06 17:26:36 +00:00
7c1896c196 Repaint server version panel when focused tree node has changed, not from within the OnConnect event. Fixes wrong version display when auto-connecting to multiple servers. See http://www.heidisql.com/forum.php?t=8600 2011-06-05 10:52:42 +00:00
3f58b59983 Add "Disconnect" item to tree context menu. Fixes issue #2345. 2011-06-05 10:23:58 +00:00
310c3f546a Fix a bunch of access violations, caused by 0 active connections. Invalidate various trees in that case, and fix the code in their BeforePaint events. 2011-06-05 10:20:02 +00:00
98bae018a2 Try another Wine fix for updating grid columns, issue #2405. 2011-06-03 22:33:21 +00:00
0e01d00aa9 Do not wrap column header initialization in Begin/EndUpdate. Reverts r3818 and probably fixes issue #2405. 2011-06-03 16:33:41 +00:00
834f1319c1 Call run dialog when dropping large files or clicking file open drop down menu. Fixes issue #2436. 2011-06-01 22:36:50 +00:00
7e4daded87 Fix TMySQLConnection.Ping in situations when FActive is already false, like a detected disconnect when hovering over server status panel. Most probably fixes what's described here: http://www.heidisql.com/forum.php?t=8499 2011-06-01 22:18:02 +00:00
5571c5851a Refactor parts of completion proposal:
* Don't use broken Proposal.PreviousToken, rely on regexp
* Documentation updates
Fixes issue #2432
2011-05-31 20:20:37 +00:00
6f2d7d9656 Suppress repaints while closing query tab. Reverts an uncritical part of r3051. 2011-05-30 20:06:51 +00:00
c8cfc39c99 Avoid AVs by referring to DBObject.Connection instead of MainForm.ActiveConnection, which is nil for milliseconds when the tree focused node changes. Fixes issue #2418. 2011-05-30 17:21:25 +00:00
0c16da99ea Follow up on r3745 2011-05-29 23:07:58 +00:00
8f4c2da963 Popup once for all selected files in OpenFileDialog, not once per file. Remove "yes to all" and "no to all" buttons again, and fixes non-loading files. See issue #2265. 2011-05-29 22:52:58 +00:00