85a579943f
Fix non clickable message "Please use stored routine editor ...", see issue #1048
2009-03-16 21:20:43 +00:00
8c578ae551
Fix issue #1048 : "Bad Tab UI - Procedure routines". Seems that ControlX.Visible is broken if ControlX is placed on an inactive tabsheet. So, we don't hide DataGrid and ListColumns any longer - instead it gets disabled if the user selected a stored routine.
2009-03-15 16:43:32 +00:00
bcf44ff376
Revert r1870, a no longer working fix for VirtualTrees malfunctioning cell focussing. Was gladly fixed in VirtualTree itself. Fixes issue #1052 .
2009-03-14 07:12:14 +00:00
8f74735c52
Avoid main window blinking into view when Cancel is pressed in the session manager. Happens because Application.Run() sets the main form to Visible before the message pump starts and gets to processing WM_QUIT (or whatever).
2009-03-12 20:23:41 +00:00
9a7a0b64a1
Revert r2316, and move code that's supposed to be run before the main form is visible from FormShow into a new procedure, Startup(). Fixes issue #1041 .
2009-03-12 20:00:18 +00:00
1c1c1e8e36
Fix more candidates for issue #858 ("Cannot perform this operation on a closed dataset")
2009-03-12 19:36:44 +00:00
03748ec6eb
Free cached session based datasets (and forms which make use of those) on session disconnect, not on FormClose. Fixes various closed-datasets-AVs after session switching.
2009-03-11 22:07:50 +00:00
d2f67ac673
Fix Issue #1042 : Auto-show of Filter on "Data" tab
2009-03-09 22:46:53 +00:00
8b65a83953
Fix previous commit: Same float format in Query grid as in Data grid
2009-03-09 22:38:38 +00:00
917adf24ce
Fix issue #1012 : Formatting floats and decimals
2009-03-09 20:56:59 +00:00
a877f1ba10
Fix issue #1036 : Switching to a different table while data tab is open sets focus to table tab. Broken in r2293 - seems that TControl.Show not only unhides a hidden control but also brings it to front via TControl.ShowParentControl. Whatever, fixed now by using Visible := True.
2009-03-08 20:55:45 +00:00
9c3f459802
Do an extra autofitting of the size column when a db was expanded. For cases in which the db was selected but not expanded at first.
2009-03-05 20:00:07 +00:00
6b49c31dc0
Bugfix: Clicking 'Retry' in the lost connection dialog caused the session manager to pop up, because FormShow() did a lot of stuff. Move everything from FormShow() to FormCreate().
2009-03-04 19:54:18 +00:00
614b8c4851
Background: An optimal fix would be to programmatically disallow the GUI thread (fx inside event handlers) access to anything that happens over the network (fx executing queries on the database connection objects). There's a lot of that stuff going on in HeidiSQL as is however, so fixing things right is a lot of work. Therefore, this is a quick interim fix.
...
Bugfix: When the connection fails, prevent paint and present a modal dialog until the situation is resolved.
2009-03-04 18:59:25 +00:00
21134ac51e
Bugfix: don't try to FocusGridCol() when there is no new column (a "column lost focus" event).
2009-03-04 18:54:18 +00:00
d4c848649c
Bugfix: regression - accidentally masked exceptions from Reconnect().
2009-03-04 17:11:32 +00:00
07964feb7c
Bugfix: don't use cached data if the connection is gone, as the Delphi TDataSet will croak. Fixes issue #858 .
2009-03-04 14:46:36 +00:00
f4abdbef08
Add a bit more safety around Zeos' inconsistent API.
2009-03-04 14:45:00 +00:00
1d94ad0156
Bugfix: close user manager form when no access to privilege tables.
...
Forms are not closeable with Close() inside FormShow, you must either return -1 in response to a WM_CREATE message, post a WM_CLOSE (seen that fail too though), or just do the check before showing the form.
2009-03-04 14:43:35 +00:00
1f112b6556
someone at MySQL...
...
... would have my balls for breakfast if he/she saw this ;-)
Fulfills rfe #383 .
2009-03-04 12:15:11 +00:00
ff7eee92f3
Avoid using a workaround where none is needed
2009-03-04 07:22:37 +00:00
bbfff2068f
Fix another bug showing up on application close, on slower CPUs and/or in combination with recycled forms. Could also fix issue #1003 (Cancelling connection form crashes HeidiSQL). Should be tested by the reporter.
2009-03-04 00:11:38 +00:00
18d4942066
Fix AV on application close if usermanager was opened (or one of the other recycled dialogs). Nearly sure that this nails issue #1018 - the memory address points to forms.pas.
2009-03-03 23:53:11 +00:00
bf2484a09e
Fix fatal loop on datagrid, broken in r2301
2009-03-03 23:38:58 +00:00
a71210689e
Fix issue #1013 : Refreshing Process-List switches tab instead
2009-03-03 23:09:58 +00:00
0bb025c250
Code cosmetic: Clean up ugly event name
2009-03-03 22:49:36 +00:00
5201b302de
Fix AV on app closing if maintenance dialog was used. Possible candidate for healing issue #1018 "Access violation on closing heidi".
2009-03-02 21:47:35 +00:00
dbb84e6df9
Integrate stored procedures and functions into the GUI flow, so they are visible like tables and editable from everywhere.
...
- FetchDbTableList now makes use of various tables in INFORMATION_SCHEMA if available - the only way of listing stored routines.
- If a routine is selected, Table + Data tab hide their grids and display a corresponding message instead. Seemed the only way to keep the normal flow of clicks, not changing too much click logic.
2009-03-02 21:40:44 +00:00
36c8937abb
Remove feature "Prefer SHOW TABLES for performance reasons" and support for pre 3.23 servers
...
* Leads to unpredictable errors in special cases
* Advantage over SHOW TABLE STATUS is hardly measurable
* Makes integrating stored routines into the database tab complex and unstable for the benefit of nothing
2009-03-01 10:34:39 +00:00
bdd0630a44
Fix issue #1017 : missing disconnect button in toolbar
2009-02-28 23:20:56 +00:00
aeeea43235
Slightly enhance button storm on main toolbar - issue #738 .
2009-02-28 23:16:17 +00:00
f20dad8adb
Implement stored routine editor, see issue #420
...
Todo: make routines visible in the database tab so they can be edited.
2009-02-28 22:57:55 +00:00
42e969cbcd
Fix issue #991 : Termination char ; in SQL log.
2009-02-22 13:50:44 +00:00
f8b34d380a
Fix wording in auto refresh dialog
2009-02-20 07:24:45 +00:00
e009be16f9
Revert r2211 to fix issue #1005 : Update mechanism doesn't restart application
2009-02-18 21:36:04 +00:00
e16ee4b086
Fix sporadic AV while unhiding grid in GridToXYZ actions.
2009-02-16 20:40:49 +00:00
dcecedd5ba
Fix poor performance in GridToXYZ actions on tables with lots of larger text columns: EnsureFullWidth called lots of mini SELECTs. Now, EnsureChunkLoaded is called with FullWidth=True in relevant places. Only already loaded data still has to be completed with EnsureFullWidth - which could be optimized by discarding all loaded data first, but then again this could result in a waste of SELECTs in taller tables.
2009-02-16 20:37:13 +00:00
3d44b6715f
Implement issue #963 : Open session manager without new main window
2009-02-15 20:40:56 +00:00
64fbf61e5b
Do not add empty filter to recent filter list
2009-02-14 09:01:15 +00:00
eae5df8698
Keep grid x + y scroll offset after refresh
2009-02-13 20:57:26 +00:00
f09572174a
Bugfix binary readout in HTML view function. Also, rename it to 'image view' in the GUI, because that's what it is.
2009-02-12 16:40:20 +00:00
6c4be0349c
Bugfix: when 'view as html' was clicked and non-image binary data was encountered, an unchartered code path would be taken and a preview without a usable file extension would be generated. Now, unrecognizable binary content is stuffed in a text file.
...
Fixes issue #938 .
Also, the GUI action should probably be called "image view" rather than "HTML view"?
2009-02-12 15:40:25 +00:00
906208c4af
Enable copying any grid cell to clipboard by activating extended focus option in relevant VirtualTrees and adding a "Copy" menuitem to their context menus. Fixes issue #984 : Add "Copy query" to Process-List table in Host tab/view
2009-02-11 19:53:23 +00:00
4df17e80ab
Use SynMemo.WordAtCursor instead of buggy GetWordAtRowCol. Also fix too early called (Find|Replace)Dialog.Execute.
2009-02-08 21:13:33 +00:00
0d2031e2eb
Silence AV bug in SynEdit
2009-02-08 21:05:16 +00:00
63b8925ca0
Fix bug #973 : Copy/Cut/Paset in Connection (main) window and access violation
2009-02-08 11:24:14 +00:00
3fad896add
Fix too early created function popupmenus. All functions having a version property were disabled. Server version is needed to check availability.
2009-02-07 17:21:28 +00:00
98133e32c0
Try a workaround for bug #894 : HeidiSQL - Exports are allways ending in frozen GUI. Disable the ghosting feature in Vista.
2009-02-07 07:53:22 +00:00
54c7eca938
Fix bug #970 : Auto connect at startup not working any longer. Brings most startup connection logic into a proper order again. Also removes a TTimer workaround on the session manager in autoconnect mode.
2009-02-02 21:45:28 +00:00
40ce19d0b0
Fix handling tables with more than 2^32 rows, see rfe #972
2009-02-02 20:42:27 +00:00