Commit Graph

3158 Commits

Author SHA1 Message Date
Ansgar Becker
7147b1dbba Check only for visibility of member form in updater, so hidden dialogs are counted as successfully closed. Fixes issue #2217. 2011-05-10 22:45:07 +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
Ansgar Becker
03fe3bd0e7 Fix another minor bug when loading previously used CSV control characters. 2011-05-01 05:24:53 +00:00
Ansgar Becker
0f76a73fc5 Tweak list of recently used files:
* Only add if OK was clicked
* Add check mark to selected filename
* Limit list to 10 items
* Bring some procedures into the right order
2011-04-30 06:41:47 +00:00
Ansgar Becker
5fe4b3bbc6 Display actually used control characters even if they cannot be changed, so the user sees exactly what's happening. 2011-04-30 06:06:52 +00:00
Ansgar Becker
bf32478302 Display number of rows (selected + all), to help the user deciding. 2011-04-30 05:21:45 +00:00
Ansgar Becker
52c57c84e3 Fix follow up problems introduced in r3795: DROP DEFAULT on renamed column took the old column name, and the old table name is used also when it was renamed. Revert r3795, move DROP DEFAULT clauses before the main ALTER query, and introduce a .OldDataType property on TTableColumn to check if that can have a default value. 2011-04-30 05:07:50 +00:00
Ansgar Becker
1e6c79372e Excel tweak, see http://www.heidisql.com/forum.php?t=8226 2011-04-30 04:44:32 +00:00
Ansgar Becker
b4a5a91572 Definer column not available in 5.0.16 and earlier. Fixes issue #2394. 2011-04-28 18:09:33 +00:00
Ansgar Becker
3c11e6c5a8 Introduce a separate dialog for all "copy grid data as .." actions, including the file export. Fixes issue #1499. 2011-04-28 07:33:49 +00:00
Ansgar Becker
90a7cd1941 Drop default value *after* data type was altered, to avoid "can't have a default value". Fixes issue #2361. 2011-04-23 08:05:14 +00:00
Ansgar Becker
b9b981ab39 Do not break column names with spaces with WordWrap(). Fixes issue #2390. 2011-04-22 08:01:53 +00:00
Ansgar Becker
40290e4ef8 Create new data grid result object each time, so it's of the right vendor type. Fixes an access violation when switching to a table in another connection. See http://www.heidisql.com/forum.php?t=8306 2011-04-22 06:44:23 +00:00
Ansgar Becker
1021dc3888 Create critical section variable earlier, before the first call to LogSQL(). See http://www.heidisql.com/forum.php?t=7757 2011-04-21 17:38:03 +00:00
Ansgar Becker
b7cec30bd3 Exceptions are caught in TMySQLConnection.GetAllDatabases, no need to catch them again in TMainForm.DBtreeInitChildren. Also, log an error message if both SHOW DATABASES and the alternative did not work. 2011-04-20 19:03:13 +00:00
Ansgar Becker
eadc009e27 Reinitialize session node after creating a new database. See http://www.heidisql.com/forum.php?t=8311 2011-04-20 18:53:40 +00:00
Ansgar Becker
007ae9ced5 Do not try to access first character if identifier is empty. Fixes issue #2386. 2011-04-20 16:51:39 +00:00
Ansgar Becker
cb0e54068c Remove redundant functions IsMSSQL and IsMySQL. 2011-04-19 23:07:52 +00:00
Ansgar Becker
8e253e40fb Fix ignored preference option for restricted number of query results. Also, remove unused, redundant list of results from query thread. 2011-04-19 23:02:51 +00:00
Ansgar Becker
92f9ff0364 LogSQL needs to do stuff in the main thread, to avoid various access violations in SynEdit. Fixes issue #2358. 2011-04-19 22:38:46 +00:00
Ansgar Becker
3272430c40 Code cosmetic: Merge the few lines from TrimSQLlog into LogSQL 2011-04-19 22:09:16 +00:00
Ansgar Becker
19fbcfc372 Call mysql_thread_init and mysql_thread_end when applying the thread lock. Fixes issue #2375. 2011-04-18 23:21:26 +00:00
Ansgar Becker
f858b2b7a5 Remove effectively unused lock thread 2011-04-18 23:07:31 +00:00
Ansgar Becker
1bc016b3a0 Wrap only queries in LockedByThread state, so all synchronized calls to BeforeQuery, AfterQuery and BatchFinished are free to fire queries. Fixes issue #2329. 2011-04-18 22:50:36 +00:00
Ansgar Becker
c31c809387 Release connection before doing stuff in BatchFinished, to fix non working query profile. See http://www.heidisql.com/forum.php?t=8285 2011-04-18 16:51:06 +00:00
Ansgar Becker
c8b25c75fa Bind session parameter object to session manager list nodes, to be able to show the right vendor icon in that list. 2011-04-17 23:21:05 +00:00
Ansgar Becker
9d630b50fc Use default path to plink.exe when creating a new session. Fixes issue #2303. 2011-04-17 09:15:21 +00:00
Ansgar Becker
14d21a9925 Exclude text and blob columns for ALTER col DROP DEFAULT query. Fixes issue #2361. 2011-04-17 08:50:31 +00:00
Ansgar Becker
77c5b3e219 Fix window placement problems due to multi monitor setup and restored minimized window state. Fixes issue #2372. See also http://www.heidisql.com/forum.php?t=8126 2011-04-16 16:34:59 +00:00
Ansgar Becker
f831bf3103 Display percent of processed objects on table tools dialog, and show progress bar. 2011-04-16 06:41:54 +00:00
Ansgar Becker
30498b99f0 Fix quoting for MS SQL mode. 2011-04-16 05:38:38 +00:00