Commit Graph

4402 Commits

Author SHA1 Message Date
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
Ansgar Becker
c82abf85d9 Issue ##957: give labels on preferences dialog more horizontal space, for longer translations, synchronize space over all tabs, and fix some tab orders 2020-07-05 11:49:34 +02:00
Ansgar Becker
1e71f3a41e Issue ##957: give labels on session manager more horizontal space, for longer translations 2020-07-05 11:25:42 +02:00
Ansgar Becker
2c47ef1b53 Issue #350: support displaying server uptime of ProxySQL Admin servers 2020-07-04 19:11:29 +02:00
Ansgar Becker
193b22ba16 Issue #350: introduce basic support for connecting to ProxySQL Admin servers, via new network type 2020-07-04 18:32:46 +02:00
Ansgar Becker
1985cd1e1c Issue #618: use the same new sorting icons on the query grids as well 2020-07-04 12:56:51 +02:00
Ansgar Becker
4c60093a06 Issue #1081: apply quirk for missing IDENTIFIED BY PASSWORD clause to MySQL 5.7.6+ only (MariaDB still includes it). Will still be an issue for newer MySQL versions. 2020-07-04 08:44:08 +02:00
Ansgar Becker
8b548862de Prefer String.IsEmpty over self-baken IsEmpty(String) 2020-07-04 08:12:17 +02:00
Ansgar Becker
1484f4d464 Follow code convention for names of private fields in user manager code 2020-07-04 08:09:22 +02:00
Ansgar Becker
b3bdbf25f1 Wrap numeric values in LaTeX export with $. See https://www.heidisql.com/forum.php?t=36530 2020-07-03 19:51:27 +02:00
Ansgar Becker
f13ddfc5dd Allow underscores in IP address wildcards of users, in conjunction with --skip-name-resolve on the server. Closes #1080 2020-07-03 12:12:03 +02:00
Ansgar Becker
bca89ec2f3 Issue #350: Roll back modifications I made for supporting ProxySQL Admin interface. There would be too many more issues. 2020-07-02 20:06:07 +02:00
Ansgar Becker
7abc1d1f67 Prefer ILIKE over LIKE operator on PostgreSQL servers, for auto-generated queries, to overcome errors with double columns. See https://www.heidisql.com/forum.php?t=36500 2020-07-02 14:00:36 +02:00
Ansgar Becker
a7f9635c39 Issue #618: subscript characters don't display with all fonts, so better use the working superscript chars and move them around 2020-06-30 09:04:52 +02:00
Ansgar Becker
cde036bb8c Issue #618: get sort number nearer to its arrow, and place it right, not left besides the arrow 2020-06-29 22:11:53 +02:00
Ansgar Becker
f65aed0d3a Issue #618: exchange sort arrows on data grid headers 2020-06-29 14:50:38 +02:00
Ansgar Becker
1d2fb54a14 Issue #618: implement an owner-draw approach for column headers in data grid, and paint sort icons as text, including a superscript number of its index 2020-06-29 08:08:10 +02:00