4432 Commits

Author SHA1 Message Date
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
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
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
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
d8cf039d98 Emergency fix: Turn asLibrary again into a session based setting. Broken in commit b22c3fd81549edba525e526cb6429aad2fa1faf3. Closes #1199 2020-10-27 08:39:04 +01:00
b22c3fd815 Dynamic default value for library session setting, depending on its network type. Closes #1010 2020-10-26 20:02:12 +01:00
5b83719a5c Issue #807: forgotten file for previous commit 2020-10-26 19:59:24 +01:00
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
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
d970b2e809 Sort collations alphabetically, in drop-down of column editor in table designer. Closes #828 2020-10-22 12:06:48 +02:00
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
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
429d32bb70 Center check-for-updates dialog over underlying owner form. Closes #1181 2020-10-14 19:22:16 +02:00
c4dbdfe948 Enable loading SQLite extensions. Closes #1186 2020-10-12 21:03:22 +02:00
de97595bfb MSSQL: Cast TEXT fields to NVARCHAR before applying LEFT() function. Fixes issue #1136 2020-10-11 13:56:19 +02:00
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
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
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
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
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
e8248c4177 Fix LEFT() clause in data grid with NTEXT column on MSSQL. Closes #1136. 2020-08-22 08:00:28 +02:00
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
3493cf59b9 Issue #1132: Include "SQL delimiter" item in new Query main menu 2020-08-19 08:16:50 +02:00
6fc00c6da9 Enable "drop" context menu item for SQLite tables. Broken in 843e462a8a22bb335379c53306e6676637c520e4. Closes #1133 2020-08-19 08:13:34 +02:00
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
5c14ab4f23 Issue #1132: Add basic support for code folding in SQL editors, using #region/#endregion markers 2020-08-16 13:00:31 +02:00
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
7a28e6f01a Enable view editor if SHOW INDEXES command returned an error. Closes #1130 2020-08-14 08:39:02 +02:00
557a0acaf7 Unquote table name when retrieving via 123::regclass result. Closes #1124 2020-08-13 06:57:37 +02:00
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
cd29cd244e Sort session path + names alphabetically, in menus with no header sort logic. Closes #1119 2020-08-10 21:23:37 +02:00
d577b06fe8 In grid updates and deletes, support key column values with international characters using MSSQL's "N" prefix. Closes #1115 2020-08-09 08:22:15 +02:00
c33624aa12 Respect user's plink timeout setting when plink takes longer than 2s after the first text output. Closes #1114 2020-08-09 07:52:38 +02:00
154272d9b3 Move one constant out of const.inc into TAppSettings structure 2020-08-07 08:33:24 +02:00
a34e2ab690 Set "0" as default port for new MSSQL TCP/IP connections, which leaves the port away from the connection string, enabling auto-detection. See https://www.heidisql.com/forum.php?t=34256#p36709 2020-08-07 07:23:07 +02:00
ad706f5519 Issue #1114: send Enter after plink anti-spoof output "Access granted. Press Return to begin session" 2020-08-06 16:46:30 +02:00
f2af43f1e0 Fix all 11 compiler hints and 5 warnings 2020-08-06 13:49:32 +02:00
10b6ea9e00 Update vcl-styles-utils project sources to current master branch. Among other things, this fixes the myriads of compiler hint H2443 in Vcl.Styles.UxTheme 2020-08-06 13:19:21 +02:00
983efa2b3b Issue #937 and #1107:
* be sure ActiveGridEditor is nil before and after editing, and check for that nil value
* in TBaseGridEditorLink.Destroy constructor, call its parent at the end, not at the beginning, so some members stay accessible until the end
* prefer to check with Tree.CanEdit
* change the way how editing starts in a tabbed cell
2020-08-05 08:42:37 +02:00
76aaf87216 Prevent access violation in DBTree.GetImageIndex, with no connection on connection root node 2020-08-05 08:30:04 +02:00
056da2a37d Format decimal point with milliseconds in date/time values in locale format for Excel. Closes #922 2020-08-03 13:28:21 +02:00
1529b32a2d Issue #1111: Add two safety checks in TAppSettings.GetSessionNames, trying to blindly fix some endless recursion happening on user nami0309's system when starting HeidiSQL 2020-08-03 12:07:41 +02:00
f2f7bdaf5f Grid export: escape special characters in LaTeX output 2020-08-03 06:42:19 +02:00
8a7ac4758c Issue #618:
* fix size of sort arrows with larger custom grid font size
* fix vertical text position of column header with large font
2020-08-02 08:22:50 +02:00
eb75818ea9 Prefer string constants from TTableKey over hardcoded literals 2020-08-01 19:20:26 +02:00
6f4f105826 Overwrite data filter with newly generated one by click on "Apply filter". Closes #829 2020-07-29 07:36:36 +02:00
5d1695c445 Extract contents for MySqlFunctions array out of MariaDB 10.5 help tables. Leave original function sorting by category, don't sort by their name. 2020-07-27 18:23:52 +02:00
dc8526996c Fix version detection in TConnectionParameters.IsMySQL, don't expect the word "mysql" in version or version_comment variable. Ensures we detect CURRENT_TIMESTAMP default value in TDBConnection.IsTextDefault correctly (among other things). Closes #1099 2020-07-24 07:25:18 +02:00
86f24568b6 Report major and minor Windows version in statistics call 2020-07-22 08:50:25 +02:00
8e2de8c1f0 Grid export: No longer force ANSI encoding for Excel output, but silently insert a BOM. Normally, TEncoding.UTF8 has that BOM, but TStringStream does not write that for some reason (bug in VCL?). Closes #1077 2020-07-20 18:40:14 +02:00