Commit Graph

980 Commits

Author SHA1 Message Date
Ansgar Becker
0d6cada653 Finalize performance fix from r2278: Discard node data prior to calling EnsureChunkLoaded with FullWidth.
* makes it superflous to call EnsureFullWidth for any previously loaded nodes - significantly faster now
* no need to have a unique key in the selected table any longer
2009-02-16 23:15:49 +00:00
Ansgar Becker
e16ee4b086 Fix sporadic AV while unhiding grid in GridToXYZ actions. 2009-02-16 20:40:49 +00:00
Ansgar Becker
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
Ansgar Becker
26a5713c27 Performance fix: EnsureChunkLoaded should be called in a node, not cell context (which is way too often) 2009-02-16 19:51:33 +00:00
Ansgar Becker
c726dddd4a Fix GridToXYZ actions for query grid - warned about a missing unique key although the query grid does no delayed loading. (Broken in r2236) 2009-02-16 19:22:46 +00:00
Ansgar Becker
3d44b6715f Implement issue #963: Open session manager without new main window 2009-02-15 20:40:56 +00:00
Ansgar Becker
362c327b81 Naming convention: Consequently use "session", not "description", and retitle connections.dfm to "Session manager" 2009-02-15 20:11:14 +00:00
Ansgar Becker
2e1894b7e1 Normalize component names and procedures in session manager 2009-02-15 19:32:40 +00:00
Ansgar Becker
549abf9441 Implement "Save as" action in session manager. See issue #951. Optimizes some redundant code away. 2009-02-15 14:32:58 +00:00
Ansgar Becker
049f709f36 Implement "Yes, overwrite all and don't ask me again about that" button in export to directory, see rfe #880 2009-02-14 13:48:53 +00:00
Ansgar Becker
64fbf61e5b Do not add empty filter to recent filter list 2009-02-14 09:01:15 +00:00
Ansgar Becker
3bf3fd3ea5 Fix disabled apply button after clicking the "also nightly builds please" checkbox. 2009-02-14 08:54:35 +00:00
Ansgar Becker
da6606f9bc Always keep OK button enabled in preferences dialog. Seems to confuse users and lead to wrong bugreports. 2009-02-14 08:51:14 +00:00
Ansgar Becker
eae5df8698 Keep grid x + y scroll offset after refresh 2009-02-13 20:57:26 +00:00
rosenfield.albert
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
rosenfield.albert
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
rosenfield.albert
a59dc8f1c8 Bugfix: text on menu item is wrong. 2009-02-12 15:20:48 +00:00
rosenfield.albert
072280059a Bugfix: Get rid of chinese characters when loading a file into a field. The file is now considered binary data, and will be typecast to whatever character set the column imported into has.
To correctly import files, the user needs to first find out which character set the file is (using eg the unix 'file' utility, or whatever), then change the column charset in the table to match that type, then finally use 'insert files into fields' to insert the file contents.
2009-02-12 15:17:12 +00:00
Ansgar Becker
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
Ansgar Becker
d752a67a59 Fix bug #976: Setting database defaults 2009-02-09 22:54:46 +00:00
Ansgar Becker
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
Ansgar Becker
0d2031e2eb Silence AV bug in SynEdit 2009-02-08 21:05:16 +00:00
Ansgar Becker
63b8925ca0 Fix bug #973: Copy/Cut/Paset in Connection (main) window and access violation 2009-02-08 11:24:14 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
40ce19d0b0 Fix handling tables with more than 2^32 rows, see rfe #972 2009-02-02 20:42:27 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
c824c4033c Fix bug #474: added column doesn't show up when a column filter is active. 2009-01-28 21:20:41 +00:00
Ansgar Becker
4cd1448382 Remove accidently left debug line from previous commit 2009-01-28 20:57:57 +00:00
Ansgar Becker
c7a394748c Fix part of registry key RecentFilters showing up in perspectives menu. 2009-01-28 19:57:19 +00:00
Ansgar Becker
bfa3189188 Set focused node to the first selected one after a refresh action. Not doing this, the focused node somehow "jumps" randomly if the list was sorted. Plus: break early if the list doesn't have multiselection enabled. 2009-01-28 19:49:32 +00:00
Ansgar Becker
7787a70231 Save a detour using procedure a calling procedure b and nothing more. 2009-01-28 19:39:22 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
d7b49cdb1c Fix reselecting nodes after refreshing a virtualtree. Non selected nodes were selected afterwards if the list was non default sorted. Also the focused node "jumps" in these cases, which wants to be fixed somehow. 2009-01-20 22:47:38 +00:00
Ansgar Becker
a795e31a4b Use helper function where applicable 2009-01-20 19:39:52 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
405240a0a2 Fix start position of progressbar for all callers. 2009-01-20 17:58:23 +00:00
Ansgar Becker
327450e9fd Simplify code and remove remaining debug output 2009-01-19 23:53:07 +00:00
Ansgar Becker
1fae914af7 Fix bug #939: rename columnname after sorting on that column > freese the program 2009-01-19 23:19:01 +00:00
Ansgar Becker
9fa0abf460 Fix saving ORDER clause for critical characters in column names 2009-01-19 23:12:51 +00:00
Ansgar Becker
b69c3b7957 Add F2 shortcut to inplace editor for starting the popup text editor. Issue #947. 2009-01-19 19:39:17 +00:00
Ansgar Becker
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
Ansgar Becker
1f6e894ba5 Implement a preference option to limit the size of "Copy as CSV/HTML/XML/SQL" actions. Helps with bug #793: app freezes when 'copy as csv/xml/html' is selected. 2009-01-18 22:32:31 +00:00