Commit Graph

4451 Commits

Author SHA1 Message Date
Ansgar Becker
bb8b11fc55 Issue #1232: fix wrong tab caption used when rename-tab action triggered through its shortcut 2020-11-24 18:28:19 +01:00
Ansgar Becker
dcd43bc843 Enable MYSQL_OPT_LOCAL_INFILE, seems still required on some systems for importing local CSV files 2020-11-23 17:53:09 +01:00
Ansgar Becker
42dc993743 Losen sql_mode during CSV import via client parser, to prevent integer columns from errors due to empty strings (see pm from Holger) 2020-11-23 17:44:24 +01:00
Ansgar Becker
bcd2f4d8c8 Issue #1232: suggest query tab caption as default filename in save-dialog 2020-11-21 19:15:21 +01:00
Ansgar Becker
c878311b8b Fix grid search/replace with scope=selection. Closes #1233 2020-11-21 14:16:47 +01:00
Ansgar Becker
2f9dc90b0e Add context menu item for renaming query tabs. Closes #1232 2020-11-21 13:08:46 +01:00
Ansgar Becker
b9b5976413 Fix slow data exports of large MS SQL tables, by introducing ORDER BY .. OFFSET .. FETCH clauses in SELECT's. Reduces the chunks to ~10000 rows. Larger results seem to take more time for iterating through rows. Closes #343 2020-11-20 14:51:25 +01:00
Ansgar Becker
fc9320b8cd Remove old workaround for exporting between MySQL 4 and 5, where the TYPE/ENGINE clause is incompatible between source and target server. This breaks exporting identifiers with these keywords in them. Closes #1222 2020-11-17 17:51:54 +01:00
Ansgar Becker
033041c2c5 Issue #1077: add UTF-8 BOM in Excel output only in file-mode, not in copy-mode. See https://www.heidisql.com/forum.php?t=37190 2020-11-15 12:16:52 +01:00
Ansgar Becker
c61b8968c9 Issue #1191: fix dynamically created export actions not visible in shortcut assigner 2020-11-14 17:54:35 +01:00
Ansgar Becker
ed7a8cd2c8 Restore main window if minimized to taskbar. IsWindowVisible is also true when window is minimized. Closes #1207 2020-11-14 17:36:43 +01:00
Ansgar Becker
95713939ca Set reasonable initial directory in session manager's file selectors 2020-11-14 17:19:24 +01:00
Ansgar Becker
57c12c2c6b Fix crash in file import, when file was deleted after adding it to the list 2020-11-14 16:10:34 +01:00
Ansgar Becker
787f33014a Issue #1191: convert "Copy rows" context menu item to a submenu, and provide all export formats, with icons 2020-11-14 13:54:58 +01:00
Ansgar Becker
e04d0ee783 Issue #1215: modify original url variable so error messages show the right one 2020-11-13 17:19:17 +01:00
Ansgar Becker
7fe1a58a8e Fix integer instead of string message part. Closes #1215 2020-11-11 22:28:45 +01:00
Ansgar Becker
bae514d147 Issue #1209: move https=>http fallback to THttpDownload.SendRequest(), so the update check benefits from that 2020-11-11 20:05:41 +01:00
Ansgar Becker
1f5f36f4e9 Tab restoring: simplify check for keyword in ProcessExists(), don't throw a regular expression at it 2020-11-10 07:19:53 +01:00
Ansgar Becker
66c50ce792 Tab restoring: avoid restoring tab file only if the owner is a *HeidiSQL* process. Fixes non-restored tabs when an old Heidi process id is re-assigned to another application. Happened here at least one time. 2020-11-09 18:08:06 +01:00
Ansgar Becker
5e30ed14af In the data sorting dialog, make sure we work on a copy of the currently used list with sorted columns, not on the original. Closes #849 2020-11-01 17:07:15 +01:00
Ansgar Becker
3e7ed86f9b Remove default text from column when changing data type to one that does not support a default text. See https://www.heidisql.com/forum.php?t=37142 2020-11-01 11:40:41 +01:00
Ansgar Becker
1585e0dfa3 Allow free typing in collation drop-down for collations in a column. Set to empty string if user typed a non existent item. See https://www.heidisql.com/forum.php?t=37117 2020-10-29 21:12:25 +01:00
Ansgar Becker
0b9facd7ec Make connection properties dialog available through a new context menu item in the database tree. The click event on the status bar panel can likely not be found by many users. 2020-10-28 17:46:03 +01:00
Ansgar Becker
d8cf039d98 Emergency fix: Turn asLibrary again into a session based setting. Broken in commit b22c3fd815. Closes #1199 2020-10-27 08:39:04 +01:00
Ansgar Becker
b22c3fd815 Dynamic default value for library session setting, depending on its network type. Closes #1010 2020-10-26 20:02:12 +01:00
Ansgar Becker
5b83719a5c Issue #807: forgotten file for previous commit 2020-10-26 19:59:24 +01:00
Ansgar Becker
26869dc27a Issue #807: add SQL editor in "Find on server" dialog, to support complex comparisons e.g. on binary values without quotes "=0xaa00" 2020-10-24 18:13:40 +02:00
Ansgar Becker
349045066f Set SQL_NOTES to 0 in SQL export, to silence warnings due to unsupported "ALTER TABLE .. DISABLE/ENABLE KEYS" on InnoDB tables. Closes #756 2020-10-22 12:28:31 +02:00
Ansgar Becker
d970b2e809 Sort collations alphabetically, in drop-down of column editor in table designer. Closes #828 2020-10-22 12:06:48 +02:00
Ansgar Becker
f8e4b35a7f Make "USE xyz" query dependent on the target server system, when exporting data to another server. Fixes incompatible SQL for PostgreSQL, and most probably for SQLite. See https://www.heidisql.com/forum.php?t=36231 2020-10-15 18:50:27 +02:00
Ansgar Becker
76555bd417 Adjust position of SQL help dialog if it shows up on a no longer plugged in monitor 2020-10-14 19:28:33 +02:00
Ansgar Becker
429d32bb70 Center check-for-updates dialog over underlying owner form. Closes #1181 2020-10-14 19:22:16 +02:00
Ansgar Becker
c4dbdfe948 Enable loading SQLite extensions. Closes #1186 2020-10-12 21:03:22 +02:00
Ansgar Becker
de97595bfb MSSQL: Cast TEXT fields to NVARCHAR before applying LEFT() function. Fixes issue #1136 2020-10-11 13:56:19 +02:00
Ansgar Becker
8a419a3c04 Attempt to fix issue #695 by removing the redraw message from the base grid editor constructor 2020-09-28 16:56:23 +02:00
Ansgar Becker
8fee0f4fda Remove auto-stored section of closed tab only if section belongs to the current app instance. See https://www.heidisql.com/forum.php?t=36922 2020-09-22 08:06:38 +02:00
Ansgar Becker
7f0e8188ca More contrast for background color of selected grid rows. See https://www.heidisql.com/forum.php?t=36889 2020-09-08 16:30:30 +02:00
Ansgar Becker
a0fa16f363 Issue #760: add an appropriate error message when trying to change the case of a session name only 2020-08-28 07:57:52 +02:00
Ansgar Becker
bd8a8ffeba Auto-generate data grid filter on "Apply filter" click only if filter box is empty. See https://www.heidisql.com/forum.php?t=36844 and issue #829 2020-08-26 15:48:20 +02:00
Ansgar Becker
e8248c4177 Fix LEFT() clause in data grid with NTEXT column on MSSQL. Closes #1136. 2020-08-22 08:00:28 +02:00
Ansgar Becker
1254575f28 Issue #1133: enable "drop" context menu item for databases again, at least in non-SQLite mode 2020-08-19 15:23:10 +02:00
Ansgar Becker
3493cf59b9 Issue #1132: Include "SQL delimiter" item in new Query main menu 2020-08-19 08:16:50 +02:00
Ansgar Becker
6fc00c6da9 Enable "drop" context menu item for SQLite tables. Broken in 843e462a8a. Closes #1133 2020-08-19 08:13:34 +02:00
Ansgar Becker
16115576cc Add new "Query" main menu, and put most of the SQL relevant actions there, including a submenu with some new code folding actions. Closes #1132 2020-08-17 17:50:14 +02:00
Ansgar Becker
5c14ab4f23 Issue #1132: Add basic support for code folding in SQL editors, using #region/#endregion markers 2020-08-16 13:00:31 +02:00
Ansgar Becker
7b0f1e8eff Accessing SelectedTableColumns by grid column index is wrong, since the user can deselect columns. Fix 3 places where this was done wrong. 2020-08-14 15:57:47 +02:00
Ansgar Becker
7a28e6f01a Enable view editor if SHOW INDEXES command returned an error. Closes #1130 2020-08-14 08:39:02 +02:00
Ansgar Becker
557a0acaf7 Unquote table name when retrieving via 123::regclass result. Closes #1124 2020-08-13 06:57:37 +02:00
Ansgar Becker
6e3b811233 Use TTableColumn.CastAsText in SELECT query for data tab, when applying LEFT() on large column. Closes #1122 2020-08-11 19:35:23 +02:00
Ansgar Becker
cd29cd244e Sort session path + names alphabetically, in menus with no header sort logic. Closes #1119 2020-08-10 21:23:37 +02:00