971 Commits

Author SHA1 Message Date
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
64fbf61e5b Do not add empty filter to recent filter list 2009-02-14 09:01:15 +00:00
3bf3fd3ea5 Fix disabled apply button after clicking the "also nightly builds please" checkbox. 2009-02-14 08:54:35 +00:00
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
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
a59dc8f1c8 Bugfix: text on menu item is wrong. 2009-02-12 15:20:48 +00:00
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
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
d752a67a59 Fix bug #976: Setting database defaults 2009-02-09 22:54:46 +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
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
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
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
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
405240a0a2 Fix start position of progressbar for all callers. 2009-01-20 17:58:23 +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
9fa0abf460 Fix saving ORDER clause for critical characters in column names 2009-01-19 23:12:51 +00:00
b69c3b7957 Add F2 shortcut to inplace editor for starting the popup text editor. Issue #947. 2009-01-19 19:39:17 +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
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
a1f5bd2940 Fix bug #931: Access violation when deleting many or all rows in datagrid 2009-01-18 18:43:10 +00:00
1629251475 Add homebrown icon for "Select all" action 2009-01-18 16:07:27 +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
8ae7171e95 Fix broken Esc shortcut to cancel editing nodes. Was assigned to disabling auto refresh in r2214. Now changed to Shift+Ctrl+F5. 2009-01-18 10:05:54 +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
e1402e48e6 Don't assume there were changes for a changed and then reverted grid cell content 2009-01-16 23:25:10 +00:00
34c0cf73f8 Keep selection in host subtabs on refresh 2009-01-16 00:18:23 +00:00
e13de2cb5f Move auto refresh item in main menu higher, below the Refresh item 2009-01-15 23:57:02 +00:00