4385 Commits

Author SHA1 Message Date
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
6c8c6a0204 Limit number of rows per extended INSERT to 1000 in CSV import dialog. Closes #326 2020-07-19 11:04:50 +02:00
435d47a7fa Use different characters as sorting arrow on Wine. See #1090 2020-07-17 17:29:13 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
1e71f3a41e Issue ##957: give labels on session manager more horizontal space, for longer translations 2020-07-05 11:25:42 +02:00
2c47ef1b53 Issue #350: support displaying server uptime of ProxySQL Admin servers 2020-07-04 19:11:29 +02:00
193b22ba16 Issue #350: introduce basic support for connecting to ProxySQL Admin servers, via new network type 2020-07-04 18:32:46 +02:00
1985cd1e1c Issue #618: use the same new sorting icons on the query grids as well 2020-07-04 12:56:51 +02:00
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
8b548862de Prefer String.IsEmpty over self-baken IsEmpty(String) 2020-07-04 08:12:17 +02:00
1484f4d464 Follow code convention for names of private fields in user manager code 2020-07-04 08:09:22 +02:00
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
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
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
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
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
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
f65aed0d3a Issue #618: exchange sort arrows on data grid headers 2020-06-29 14:50:38 +02:00
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
f47c15a6b7 Make sorting arrows clearer. Closes #618 2020-06-28 13:10:34 +02:00
3b7cdf1583 Fix wrong row index used in TSQLiteQuery.Col and TSQLiteQuery.IsNull. Fixes loading more rows after first page on large SQLite tables. Closes #1053 2020-06-27 18:59:04 +02:00
561bba95d0 Leave numeric precision and scale away from DOUBLE column detection if either of them is empty. Closes #953 2020-06-27 18:33:10 +02:00
9d95fc010c Fix alias of PostgreSQL column type TIMESTAMPTZ with missing space. Closes #1071 2020-06-27 16:27:15 +02:00
ea68cddb24 Use different sets of characters not requiring quotes, per connection type. Use that to force quotes around columns with uppercase characters in PostgreSQL. Closes #1072. 2020-06-27 16:10:30 +02:00
b4926f3f57 Convert TSynHotKey's to standard VCL THotKey's. And finally remove code extension in SynEditMiscClasses which I accidentally overwrote on updates several times. 2020-06-27 10:15:45 +02:00
c113ff6ec7 Use ValidateNode to initialize all column nodes early, so they keep their FColumn data after click on Remove button. Closes #245 2020-06-25 23:22:35 +02:00
a3cf8b3c92 Set minimum window height of session manager. Closes #1074 2020-06-25 07:15:38 +02:00
08f0cbdb4f Remove download link for plink in SSH tunnel tab, and provide plink.exe v0.73 through the installer 2020-06-24 17:22:43 +02:00
1981afdf3b Issue #120: Allow unsupported ADODB providers per registry hack 2020-06-24 07:30:43 +02:00
c7c07aab92 Issue #350: change startup queries for MySQL:
* SELECT NOW() => SELECT CURRENT_TIMESTAMP, which should be working for ProxySQL, as well as downward for MySQL 4.1
* SHOW STATUS => just see if that runs and show errors in the console, the only vital variable we use here is FServerUptime
2020-06-17 16:48:23 +02:00
9ffae88c5d Issue #350: make detection of "proxy admin module" more exact 2020-06-17 15:16:14 +02:00
3d27baf1c3 Issue #350: move first call to Connection.GetThreadId to DoAfterConnect, where we have the ServerVersion string, which in turn we can use for disabling SELECT CONNECTION_ID() 2020-06-17 14:59:13 +02:00
1ec2b439a1 Issue #444: get quick filter items in "More values" working again without crash 2020-06-14 07:58:17 +02:00
e3f8b1a5b1 Play "Error" sound when executed file(s) had errors. See https://www.heidisql.com/forum.php?t=12800
Also, cancel execution of further files when user presses the cancel button
2020-06-13 11:15:08 +02:00
9fdbfe919e Add informative message in log panel after running SQL files, and play a short "OK" sound. This should probably be an "Error" sound when the file(s) had errors. See https://www.heidisql.com/forum.php?t=12800 2020-06-13 10:42:47 +02:00
0c55993fe1 Issue #338: reuse progress animation dialog when running multiple SQL files, and fix several focus stealing issues 2020-06-11 12:42:51 +02:00