170 Commits

Author SHA1 Message Date
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
be23aac551 Fix bug #968: Processlist screen is not refreshed properly. The VT.OnChange event gets fired for non focused as well as for focused nodes. User OnFocusChanged() instead. 2009-02-01 09:16:29 +00:00
9e62d5ca02 Work around bug #965: paste text in find or search dialog. Ctrl+C/V/X does just nothing now if a search/replace dialog is open. Looks like the dialogs don't show up as Mainform.ActiveControl so it's impossible to handle it. Even a Windows message WM_CUT onto the dialogs handle has no effect here. 2009-01-30 20:00:31 +00:00
c824c4033c Fix bug #474: added column doesn't show up when a column filter is active. 2009-01-28 21:20:41 +00:00
4cd1448382 Remove accidently left debug line from previous commit 2009-01-28 20:57:57 +00:00
c7a394748c Fix part of registry key RecentFilters showing up in perspectives menu. 2009-01-28 19:57:19 +00:00
7787a70231 Save a detour using procedure a calling procedure b and nothing more. 2009-01-28 19:39:22 +00:00
e791339e86 Try a pragmatic workaround for bug #761 (Large tables crash TVirtualTree) and bug #950 (Decrease memory usage for grid results). Makes the data grid hard limited to a maximum of 100,000 rows/nodes (means ~6M memory consumption just for the tree nodes). It seems reasonable to do this as on large tables you normally create a filter to find specific rows rather than scrolling and looking the rows up by hand. The grid is now able again to display superlarge tables without losing too much memory for data of few interest. However, I hope there's no complaint the other way around for why we don't display all rows instead. 2009-01-27 19:32:20 +00:00
24b1ca16a9 Avoid one of the SELECT COUNT(*) on selected table just for statistics purposes. Use the SHOW TABLE STATUS result instead - and tell the user that this is not an exact value for InnodDB tables. Especially useful for large and "slow" InnoDB tables, see issue #940. 2009-01-25 23:13:04 +00:00
f149540906 Add combobox containing recent filters to above filter memo. rfe #637: Reintroduce filter history drop down. 2009-01-25 14:21:54 +00:00
d4368bc33b Fulfill rfe #637: Reintroduce filter history drop down. Integrated as submenu of the existing context menu in filter memo. 2009-01-25 10:35:51 +00:00
23e2741e4a Fix bug #959: Insert Date/Time and access violation. Also enable date/time menuitems for non date fields. Don't see a reason why date pasting should not be valid for text columns. 2009-01-22 20:03:47 +00:00
a795e31a4b Use helper function where applicable 2009-01-20 19:39:52 +00:00
239ab468e5 Use the new progress bar in the very bottom status bar as a replacement for the SQL execution progress bar. Looks nicer, more compact and avoids moving the querygrid down at runtime. 2009-01-20 19:26:11 +00:00
3a52febc38 Fix the part of bug #938 which causes an empty WHERE clause. If CheckUniqueKeyClause returns false, EnsureFullWidth can never succeed. This fix only makes sure that the user gets an informative error popup instead of the above mentioned SQL error. 2009-01-20 19:14:28 +00:00
327450e9fd Simplify code and remove remaining debug output 2009-01-19 23:53:07 +00:00
1fae914af7 Fix bug #939: rename columnname after sorting on that column > freese the program 2009-01-19 23:19:01 +00:00
7946e8fce9 Display progress in GridToXYZ by putting a progessbar in a new panel of the status bar. Should be used for other time consuming loops as well. Related to bug #793: app freezes when 'copy as csv/xml/html' is selected 2009-01-18 23:07:46 +00:00
a1f5bd2940 Fix bug #931: Access violation when deleting many or all rows in datagrid 2009-01-18 18:43:10 +00:00
4a03be7178 Implement copy, cut, paste and select all actions by hand instead of using standard TActions which are not compatible to VirtualTree, SynEdit. All actions are always enabled now. If they fail to do what the user might expect it spits out an error sound. Probably ValidateControls() is a good place to enable/disable these actions. Fixes bug #867: Copy menu item disabled in grid popupmenu. 2009-01-18 15:46:33 +00:00
a519afb36c Fix bug #945: HTML view and Access violation 2009-01-18 09:19:58 +00:00
a5cf99deb1 Fix bug #944: List index out of bounds in query helpers 2009-01-16 23:35:44 +00:00
34c0cf73f8 Keep selection in host subtabs on refresh 2009-01-16 00:18:23 +00:00
100909bdcf Remove useless feature "Edit selection" in SQL log 2009-01-15 23:51:58 +00:00
4549725e99 Move filter box in host subtabs to bottom. Use a single one instead of one per tab. Display search results in a label right besides. Enables this filter feature for the command stats tab, where it was not available previously. 2009-01-15 23:46:58 +00:00
983fda3687 Invalidate list contents on disconnect so they get refreshed the next time they are activated and painted. 2009-01-15 23:08:34 +00:00
d150d7096d Make sub tabs Status, Processlist and Command-Stats refresh themself on demand, like in r2213. Removes SHOW STATUS from startup actions. Also release interlocked routines and shared data between these 3 tabs. 2009-01-15 22:58:00 +00:00
d905f69e10 * Fix the various refresh menu items to use the one and only refresh TAction.
* Move the auto refresh items to main menu (Tools) so it is usable in all places now, including the Data tab (which makes it working similar to tail -f).
2009-01-14 21:30:06 +00:00
6998a88ac8 Change ListVariables to be updated on demand, when it gets painted or refreshed. Removes SHOW VARIABLES from startup queries. 2009-01-14 20:38:10 +00:00
150c7ba1b2 Fix bug #941: Runtime error on "Replace" 2009-01-14 18:19:52 +00:00
18a4f9b70b Suppress automatic connection dialog and close main form if update is in progress. 2009-01-13 19:28:39 +00:00
c57a3a8900 Remove legacy, unused TTimer component 2009-01-13 18:17:40 +00:00
cd9dc5cd48 Fix reconnection logic: restore active database, connected timer and server uptime in statusbar 2009-01-05 20:52:59 +00:00
a3902ce6ba Repeat what I tried in r2184: Squeeze statusbar to the very bottom. 2009-01-05 19:48:05 +00:00
af7e11e9e5 Fix comment 2009-01-05 18:35:25 +00:00
98bb9c07f4 More compact and informative connect / disconnect messages in log 2009-01-05 18:28:28 +00:00
925f42ffc7 Fix old query result from disconnected session being displayed as Node|Node|... 2009-01-05 18:09:49 +00:00
e8ee48635e Do file logging to correct filename after connecting a different server. 2009-01-04 22:10:49 +00:00
e6cb169193 Avoid unusable main form after failed session connect. Keep the old connection alive until it is verified that the new one is available. Moves code out of PerformConnect to DoAfterConnect.
Todo: Fix reconnection logic, see bug #858
2009-01-04 21:59:36 +00:00
58c034ded8 Add session menu items to main menu, submenu of "File" : "Connect to" 2009-01-04 15:54:07 +00:00
7ce39e4e58 Disable Zeos' disconnect message and create a nicer one in main.pas 2009-01-04 14:49:55 +00:00
bd797adebf Fulfill rfe #524: Ctrl+tab navigation 2009-01-04 14:34:57 +00:00
57efab6097 Implement connecting to a different session per connections pulldown menu. 2009-01-04 12:18:16 +00:00