Commit Graph

4274 Commits

Author SHA1 Message Date
Ansgar Becker
0bb33d8907 Add "Yes to all" and "No to all" buttons to the popup dialog which asks for running instead of loading a query file. Fixes issue #2265 2011-05-29 15:56:34 +00:00
Ansgar Becker
2e3c71e443 Disable "Remove index" button after click on "clear". See http://www.heidisql.com/forum.php?t=8610 2011-05-29 15:26:58 +00:00
Ansgar Becker
f94df22986 Support half written column names after "table." in completion proposal. Fixes issue #2429. 2011-05-29 10:45:17 +00:00
Ansgar Becker
18c018aabe Batch query list uses 1-based left and right offset, which needs to be considered when comparing to the 0-based caret position. Fixes issue #2427. 2011-05-28 21:38:23 +00:00
Ansgar Becker
0b49dfc4b8 Accidentally forgotten files for r3849 2011-05-28 21:25:56 +00:00
Ansgar Becker
a329844e9f Use hex style in WHERE clause and column values of grid updates. Fixes issue #2183. Also, raise warning when 0 rows were affected by UPDATE, INSERT or DELETE action. 2011-05-28 21:20:19 +00:00
Ansgar Becker
42c29f7655 Catch exception when grid export file cannot be created. Fixes issue #2325. 2011-05-28 07:40:44 +00:00
Ansgar Becker
5e1d4645d2 Remove unused global constants 2011-05-27 20:16:04 +00:00
Ansgar Becker
829696cc77 Remove accidentally committed changes from previous commit. 2011-05-27 19:57:26 +00:00
Ansgar Becker
8d38175c7a Use blended icons for unvisited databases again, and activate full row selection in db tree to have a nicer selected icon and because it looks useful. 2011-05-27 19:55:26 +00:00
Ansgar Becker
80634bd952 Avoid calling Mainform.ActiveDatabase when we have TDBObject.Connection.Database. Probably fixes issue #2418. 2011-05-27 17:37:18 +00:00
Ansgar Becker
ad9aba3549 Remove SetVistaFont(), move code to the only caller of it in TMainForm.FormCreate. 2011-05-27 05:10:40 +00:00
Ansgar Becker
c4565ec764 Move SetVistaFont() to helpers unit and remove uVistaFuncs unit 2011-05-27 04:59:37 +00:00
Ansgar Becker
2d548b5ef6 Introduce some wrapper functions for message and error dialogs in order to have less code and to avoid hidden titles on Windows XP. Fixes issue #2425. 2011-05-27 04:48:21 +00:00
Ansgar Becker
478c0306c7 Use modern TaskMessageDlg as a replacement for MessageDlg where appropriate. 2011-05-26 06:08:19 +00:00
Ansgar Becker
def104bb9d Some more safety against possible access violation in StatusBarDrawPanel. Fixes issue #2418 2011-05-26 04:52:14 +00:00
Ansgar Becker
96baa670c8 Fix detection of table name on MSSQL / data grid. Enables grid editing again. 2011-05-23 20:25:59 +00:00
Ansgar Becker
91e5f25bb0 Fix multiple files loaded into the same tab. 2011-05-23 05:13:12 +00:00
Ansgar Becker
6ec5a3ed2a Move code in TMainForm.QueryLoad to TQueryTab.LoadContents, and move out code for finding first empty tab. Background file watching did load a modified file into the wrong query tab before. Fixes issue #2416. 2011-05-22 07:23:29 +00:00
Ansgar Becker
b89e6c8473 Use save instead of save as action for the disk button on the main toolbar. Fixes issue #2422 2011-05-21 13:45:01 +00:00
Ansgar Becker
3e4836839b Allow ANSI quotes in VIEW code. Fixes issue #2419 2011-05-19 22:06:28 +00:00
Ansgar Becker
137528d561 Clear database list on disconnect, avoiding AVs when disconnecting two connections rapidly. Fixes issue #2420. 2011-05-19 17:58:40 +00:00
Ansgar Becker
ca283aee1d Try to fix situations when the database tab gets repainted with no active connection. Fixes issue #2417. 2011-05-18 05:48:50 +00:00
Ansgar Becker
c4f06b692a Use current tab for loading sql file, not the first empty tab. Fixes issue #2416. 2011-05-18 05:22:38 +00:00
Ansgar Becker
592b2d98b0 Disable save button if 0 columns. Fixes issue #2411. 2011-05-14 13:55:27 +00:00
Ansgar Becker
2c9e2edc9d Create users list after querying mysql.user, so when that query returns an error, a later check for existence of the user list can decide to close the user manager. Fixes issue #2414 2011-05-14 05:36:38 +00:00
Ansgar Becker
52bfc62253 Fix access violations caused by query helpers columns node, accessing selected tree node when nothing is selected. See http://www.heidisql.com/forum.php?t=8512 2011-05-12 17:59:50 +00:00
Ansgar Becker
a1794622da Unset close button as default one. See http://www.heidisql.com/forum.php?t=8509 2011-05-12 17:41:54 +00:00
Ansgar Becker
41e6f2d8e3 Quote auto completed identifiers with backticks if they contain critical chars. Fixes issue #2310. 2011-05-11 19:02:32 +00:00
Ansgar Becker
8be25481c6 Check if connection is valid when drawing on status bar. Seems to be a common place for access violations. Related to issue #2409. 2011-05-11 05:18:21 +00:00
Ansgar Becker
3b91279777 Introduce support for BIT fields in grids and export output. See issue #766 and http://www.heidisql.com/forum.php?t=8462 2011-05-10 05:15:59 +00:00
Ansgar Becker
b49798fee4 Connection object may have been destroyed when accessing Mainform.ActiveDatabase. Fixes issue #2407. 2011-05-08 06:00:22 +00:00
Ansgar Becker
57b306c2ce Stop at = char when detecting table name. Fixes issue #2406. 2011-05-08 05:55:49 +00:00
Ansgar Becker
c3b2debdbd Disable tooltips in any Virtual Tree instance if running on Wine, as they prevent clicks on clipped nodes. Fixes issue #2404. 2011-05-07 05:38:20 +00:00
Ansgar Becker
e070c539ce Force repainting column header in data grid. Fixes issue #2405. 2011-05-07 04:55:00 +00:00
Ansgar Becker
ccb002b6c7 Add right click feature "un/comment". Fixes issue #2364. 2011-05-05 22:18:49 +00:00
Ansgar Becker
64974c3118 Fix potential division by zero exception 2011-05-05 19:11:57 +00:00
Ansgar Becker
624863d5e1 Store and restore state of multi queries option. Fixes issue #2384. 2011-05-05 17:19:22 +00:00
Ansgar Becker
96077f1820 Broken in r3735: Getting row count of table via SELECT COUNT(*). Do it per SHOW TABLE STATUS again. Fixes issue #2402. 2011-05-05 17:09:09 +00:00
Ansgar Becker
b05558ed7d Include parentheses also if no parameter is passed to a routine call. Fixes issue #2401. 2011-05-05 17:02:19 +00:00
Ansgar Becker
97c4ba2cc0 Use semicolon separator for Excel if system decimal separator is comma. See http://www.heidisql.com/forum.php?t=8226 2011-05-03 05:26:17 +00:00
Ansgar Becker
9c2788e3d8 Force focus on query editor after code completion is done. Broken either in SynEdit or Ultramon, or even both. Fixes issue #2396. 2011-05-02 19:01:42 +00:00
Ansgar Becker
8b053ac80b Insert selected file to recent list only in file mode, not also in copy mode. Also, move that code from FormDestroy to btnOKClick, as it accesses a file list and the dialog instance could also be reused after pressing ok. 2011-05-01 22:27:43 +00:00
Ansgar Becker
a998311d1a Display number of selected grid rows in status bar. 2011-05-01 22:15:39 +00:00
Ansgar Becker
5064ba010e Set the right encoding in HTML and XML output, now that the user can select his preferred encoding. 2011-05-01 21:48:21 +00:00
Ansgar Becker
1080a1f850 Auto-select format by file extension, also when picking a recently used file and file open dialog was in "All files" mode. 2011-05-01 10:33:21 +00:00
Ansgar Becker
08d5d4fa9e Apply newer font hack to export dialog 2011-05-01 06:13:34 +00:00
Ansgar Becker
63922c3325 Forgot to make column lengths public in previous commit. 2011-05-01 06:03:12 +00:00
Ansgar Becker
de4f951b68 Display size of rows to export in "Row selection" radio buttons. 2011-05-01 05:58:55 +00:00
Ansgar Becker
e0f72be96f Add some more common CSV control characters to the drop down menu. 2011-05-01 05:36:07 +00:00