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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
154272d9b3
Move one constant out of const.inc into TAppSettings structure
2020-08-07 08:33:24 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
f2af43f1e0
Fix all 11 compiler hints and 5 warnings
2020-08-06 13:49:32 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
76aaf87216
Prevent access violation in DBTree.GetImageIndex, with no connection on connection root node
2020-08-05 08:30:04 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
f2f7bdaf5f
Grid export: escape special characters in LaTeX output
2020-08-03 06:42:19 +02:00
Ansgar Becker
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
Ansgar Becker
eb75818ea9
Prefer string constants from TTableKey over hardcoded literals
2020-08-01 19:20:26 +02:00
Ansgar Becker
6f4f105826
Overwrite data filter with newly generated one by click on "Apply filter". Closes #829
2020-07-29 07:36:36 +02:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
86f24568b6
Report major and minor Windows version in statistics call
2020-07-22 08:50:25 +02:00
Ansgar Becker
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
Ansgar Becker
6c8c6a0204
Limit number of rows per extended INSERT to 1000 in CSV import dialog. Closes #326
2020-07-19 11:04:50 +02:00
Ansgar Becker
435d47a7fa
Use different characters as sorting arrow on Wine. See #1090
2020-07-17 17:29:13 +02:00
Ansgar Becker
0cd90e839d
Decrease minimum height constraint for session manager by 20px, so buttons move lower again on Wine. Closes #1089 . Broken in commit:a3cf8b3c927428ec33a0b1096188bc08f695b6c8 for #1074 .
2020-07-17 17:03:59 +02:00
Ansgar Becker
bcce290a57
Issue #937 : * disable the call to Tree.SetFocus in TBaseVirtualTree.DoEndEdit, which ends the grid editor when tabbed into a new cell. See de863b4417
...
* reveal exception messages happening in the main control's WindowProc to the SQL log panel
2020-07-17 07:47:52 +02:00
Ansgar Becker
9abdbb5993
Issue #629 : do not limit the second column in the query helpers box to a width of 100 pixels
2020-07-13 15:03:33 +02:00
Ansgar Becker
04e475ad68
Handle postponed log lines as long as main window was not fully created, and display them later. This reveals very early log messages, good for debugging.
2020-07-11 09:23:19 +02:00
Ansgar Becker
2a15347f1f
Issue #1065 : exchange icons for "is null" and "is not null" quick filters, and fix empty "remove filter" caption
2020-07-10 07:13:36 +02:00
Ansgar Becker
37aba17e8b
Provide UTC versions of most date/time menu items, in "Insert value" grid context menu. Closes #936
2020-07-08 18:39:33 +02:00
Ansgar Becker
04e7334bd0
Issue #906 : disable animation for resizing columns per doubleclick, and activate Header.PopupMenu for some trees missing this menu
2020-07-08 10:35:48 +02:00
Ansgar Becker
955ba58a66
Issue #350 : use various SQLite queries as working replacements in ProxySQL mode, to get the Table and Data tabs working
2020-07-07 11:28:29 +02:00
Ansgar Becker
9c1a78b755
Provide columns of selected table in completion proposal of query editors, but only if left side strings don't dictate a different table. Closes #9 .
2020-07-06 22:38:46 +02:00
Ansgar Becker
5db4638bb1
Rename "IS NULL" and "IS NOT NULL" quick filter actions, so they don't prompt the user for an unused value. Closes #1065
2020-07-06 22:17:47 +02:00
Ansgar Becker
d8b99a4ff2
Issue #350 :
...
* mark ProxySQL network type as experimental
* use TComboboxEx for network types, with icons and ProxySQL sorted after the regular MySQL types
* more exact network type name for IsMySQL
2020-07-06 18:14:00 +02:00
Ansgar Becker
bcc72252a5
Activate hoAutoResizeInclCaption option on all VirtualTree headers, so auto-resizing per double click takes the column captions into account. Closes #906
2020-07-05 12:13:48 +02:00