Commit Graph

3158 Commits

Author SHA1 Message Date
Ansgar Becker
37d02ea3bd Activate ShowHint property on main form, and especially let the toolbars inherit this property, so they show the quite useful tooltips again. 2013-12-03 05:59:23 +00:00
Ansgar Becker
fe6b38c7c1 Issue #2398: Make "Get full table status" a session setting (was global before), so users can switch that off in specific sessions only. 2013-12-02 05:45:47 +00:00
Ansgar Becker
0d3f65f68b Use the right connection when processing tree node object. Fixes issue #3447. 2013-11-28 18:57:09 +00:00
Ansgar Becker
7e14dcd60a Revert r4652 - causes an AV here on start up, unknown cause. 2013-11-28 07:52:19 +00:00
Ansgar Becker
bd35bebd41 Show session manager with a visible main form in the background. Should prevent HeidiSQL from stealing focus in OnShow, or wherever that happens. See http://www.heidisql.com/forum.php?t=14133 2013-11-28 04:49:14 +00:00
Ansgar Becker
e00259f0be Add forgotten VIEWs in the performance optimized IS.TABLES query of TMySQLConnection.FetchDbObjects() 2013-11-27 17:17:50 +00:00
Ansgar Becker
6aaf971802 Add preference option "Get full table status". When disabled, HeidiSQL now fetches tables per information_schema.TABLES instead of SHOW TABLE STAUS. Without rows, data length and all other properties which take longer to load. Fixes issue #2398. 2013-11-27 05:58:16 +00:00
Ansgar Becker
d64662d17f Add fallback "DELETE FROM..." to CSV import dialog's option "truncate table", and even catch errors for both and show an error dialog in the end when both alternatives gave an error. Fixes issue #3339. 2013-11-26 05:37:04 +00:00
Ansgar Becker
4b15eeb99c Gracefully allow superfluous WHERE from user input in data filter. Fixes issue #3302. 2013-11-24 05:25:43 +00:00
Ansgar Becker
c72013a448 Do not trigger useless query tab file deletion messages from outside. These get triggered often when a file was *modified* only, which leads to two successive messages "Close tab?" and "Reload file?". So, ignore file deletions from now on. Fixes issue #2948. 2013-11-23 06:17:26 +00:00
Ansgar Becker
3d76693340 Experimental: Remove TDBConnection.OnDBObjectsCleared, which was used to implicitly refresh db items and tree nodes after items were cleared somewhere. Callers already did a refresh in some cases, which lead to duplicated "SHOW xyz FROM db" blocks. This again caused the "Database" tab to forget its scroll position within refreshes. Should fix issue #3409. 2013-11-23 05:47:49 +00:00
Ansgar Becker
67844e8426 Fix non-working "Replace all" button, due to its wrong ModalResult property (mrClose). See http://www.heidisql.com/forum.php?t=14064 2013-11-21 20:05:57 +00:00
Ansgar Becker
246c2f895a TStringList.Duplicates=dupIgnore does not seem to work as intended. Instead. check existence of item in list manually before adding a new one. Fixes multiple calls to GetDBObjects for the same database, after bulk editing. 2013-11-21 05:41:35 +00:00
Ansgar Becker
e832f984f2 Turn "Drop" confirmation dialogs into custom critical types, so we can set focus to the Cancel button. See http://www.heidisql.com/forum.php?t=14042 2013-11-20 20:52:35 +00:00
Ansgar Becker
ef761a897f Append parameter names for procedures and functions in completion proposal 2013-11-20 05:14:34 +00:00
Ansgar Becker
b3419b3186 Remove hotkey from "Connect to" menu items before using their captions as registry keys. See http://www.heidisql.com/forum.php?t=14032 2013-11-18 18:15:09 +00:00
Ansgar Becker
cb85bcfc92 Prefer ShowMessage over ErrorDialog in AppSettings.Destroy, to work around an access violation when catching a yet unknown access violation. See http://www.heidisql.com/forum.php?t=14001 2013-11-17 05:39:22 +00:00
Ansgar Becker
5ec3afa53c Remove buggy and not really helpful parameter completion proposal. Fixes issue #2641. 2013-11-16 07:32:26 +00:00
Ansgar Becker
89fc8c5a5e Detect unsigned flag of procedure return value. Fixes issue #3337. Also, include probable existing charset and collate values for return type. 2013-11-16 07:10:36 +00:00
Ansgar Becker
4adacaac28 Verify size of downloaded build update to see if it was somehow corrupted during the download. Fixes issue #3386. 2013-11-16 06:44:08 +00:00
Ansgar Becker
f7d56c3c96 Use the right drag'n drop mouse tooltip when moving a session elsewhere, in the session manager. Fixes issue #3394 2013-11-16 06:17:49 +00:00
Ansgar Becker
4bb8b598d6 Make blue labels in menu underlined when mouse hovers. 2013-11-15 05:52:02 +00:00
Ansgar Becker
ac607aa9d7 Include bits (32/64) in statistics call 2013-11-15 05:43:42 +00:00
Ansgar Becker
69f5503af3 Raise NodeDataSize of data and query grids from 4 bytes (PCardinal) to 8 bytes (PInt64), so TBaseVirtualTree.InsertNode does not barf in 64bit mode with a "Cannot set initial user data because there is not enough user data space allocated.". Fixes issue #3429. 2013-11-14 21:15:39 +00:00
Ansgar Becker
cef55b00bb Log debug message with NodeDataSize and current size of Pointer, for finding out the cause of what's reported on http://www.heidisql.com/forum.php?t=13962#p13983 2013-11-14 06:00:29 +00:00
Ansgar Becker
fbb89d54ac TJumpList still seems to randomly produce access violations, not only on Wine. Silence these by wrapping relevant code in a try/except block. Fixes issue #3428. 2013-11-14 05:35:52 +00:00
Ansgar Becker
633a01c3f3 Avoid usage of TJumpList on Wine, to work around various errors. Fixes issue #3426. See also http://www.heidisql.com/forum.php?t=13339 2013-11-13 21:03:02 +00:00
Ansgar Becker
68c2b5bc40 Attempt to fix another 64bit-only access violation. See http://www.heidisql.com/forum.php?t=13962 2013-11-13 20:28:24 +00:00
Ansgar Becker
c8e5121b66 Attempt to fix an 64bit-only access violation 2013-11-13 18:48:55 +00:00
Ansgar Becker
59dbff06a2 Introduce 64bit builds and 32/64 bit mixed installer 2013-11-13 05:38:44 +00:00
Ansgar Becker
992ac90012 Set position property of main form from poDefaultPosOnly to poDesigned, with which we are able to set the left + top coordinates in OnCreate.
See http://www.heidisql.com/forum.php?t=13944 and http://www.heidisql.com/forum.php?t=13858
2013-11-12 19:09:12 +00:00
Ansgar Becker
155a9433c8 Remove hot keys from root items in main menu. Fixes issue #3420. 2013-11-10 15:13:51 +00:00
Ansgar Becker
af7ea3708e Use FreeAndNil() to reset global variables for dialogs we need in TMainform.SetupSynEditors(). Finally fixes a bunch of access violations in SetupSynEditors, due to referencing already free'd variables. Fixes issue #3414. 2013-11-10 10:03:17 +00:00
Ansgar Becker
c0e57fdea6 * Fix issue #3417: Use applicable default value of 0 instead of -1 for TCoolBand.Index
* Remove debug output
2013-11-09 12:16:40 +00:00
Ansgar Becker
3131bf3850 Temporarily silence fatal access violation at startup, caused when applying CoolBand.Index. See issue #3417. 2013-11-09 10:54:11 +00:00
Ansgar Becker
d26f78b4fd Add "Show only favorites" to the context menu items of "Tree style options". 2013-11-09 07:19:38 +00:00
Ansgar Becker
61202be058 Convert main menu and toolbars from TControlBar to TCoolBar, to be able to place an "Update available" link right aligned on the menu.
* Also, convert the donate button to a second label on the menu, so it's less intrusive than before. See http://www.heidisql.com/forum.php?t=13446
* With the "Update available" label visible all the time, we check for updates also for builds, but only show the update check dialog if the user has activated "Check for builds also" option.
2013-11-09 06:34:09 +00:00
Ansgar Becker
02504106f0 Avoid running into access violation when accessing any host tab result when user pressed disconnect button. Fixes issue #3416. 2013-11-09 05:22:28 +00:00
Ansgar Becker
ff09cd4be6 Remove donate button from updatecheck dialog 2013-11-05 04:58:11 +00:00
Ansgar Becker
3dba742f2d Remove unused variable 2013-11-04 17:25:25 +00:00
Ansgar Becker
48ebd1e97a Introduce my own implementation of EncodeURLParam(), as TIdUri.EncodeParams does not encode + sign, and more. 2013-11-04 17:24:43 +00:00
Ansgar Becker
bf90f6664d Quote plink.exe path and file in SSH tunnel preparation, so spaces in the path do not break the CreateProcess call. See http://www.heidisql.com/forum.php?t=13794 2013-11-04 05:22:28 +00:00
Ansgar Becker
35b0c28fb3 Avoid server preselection to avoid unwanted connects. Fixes issue #3411. 2013-11-04 05:08:52 +00:00
Ansgar Becker
892d7a306a Remove some unused variables, which did not show up as I had disabled compiler hints. 2013-11-03 14:27:53 +00:00
Ansgar Becker
09c062af93 Remove some useless code from TMainForm.AnyGridGetHint, which checked whether the celltext was shortened. In fact the OnGetHint event is fired only if the text was shortened. 2013-11-03 14:23:30 +00:00
Ansgar Becker
beb0cf85b5 Same as in r4584: Select full row in table tools tree. 2013-11-03 13:36:33 +00:00
Ansgar Becker
7d67fd4bc0 Revert r4599 and fix a glitch in Tconnform.btnNewClick. Fixes issue #3408 , this time effectively. 2013-11-03 13:21:00 +00:00
Ansgar Becker
d7f74a4dc2 Include missing unit to silence compiler hint: "H2443 Inline function 'SmallPointToPoint' has not been expanded because unit 'System.Types' is not specified in USES list" 2013-11-02 07:07:17 +00:00
Ansgar Becker
c446229b8d Fix quick filters, broken with formatted numbers 2013-11-02 07:02:28 +00:00
Ansgar Becker
0f3c603c44 Prefer Delphi's Indy library over Synapse for encoding URL parameters. Remove Synapse code, which was meant to help in implementing the HTTP tunnel code which can easily be done with Indy. 2013-11-02 06:23:41 +00:00