2537e592ec
Quote column names for quick filter, when column name matches an SQL function name. Closes #1398
2021-10-23 15:45:37 +02:00
e8d6eed8a5
Don't clear variable from --description cli parameter. Broken since c8b25c75fa875ffdc1de4c7c8d52c2f30e1499fd. Closes #1295
2021-10-23 09:29:00 +02:00
5ee7ce00c6
Create "copy with tabs to spaces" action, and place it in Edit menu. Closes #1285
2021-10-23 09:08:05 +02:00
325ceedaf9
Create editor commands for moving line up/down. See https://www.heidisql.com/forum.php?t=18926
2021-10-20 07:45:32 +02:00
38510bd030
Activate auto-suggest option "Find matches in middle of entered text" by default.
2021-10-19 06:47:58 +02:00
c23e5d3731
Fix generating mysqldump cli argument --databases with --tab
2021-10-17 11:50:58 +02:00
535940872f
SQL export: don't generate ALTER TABLE..DISABLE/ENABLE KEYS for InnoDB tables, which don't support that, generating a notice instead. Closes #1185
2021-10-17 11:46:36 +02:00
eb6386f218
Prefer query left to the current one, if current one contains no text. Closes #603
2021-10-17 08:34:38 +02:00
54c327d1df
Reset SynHighlighterSQL's MySQLFunctions list back to the official version, now that we extend this list with the new ini files
2021-10-13 09:36:05 +02:00
70912e15b3
Overwrite SynEdit's predefined FunctionNames list with those from our ini file
2021-10-13 08:00:38 +02:00
fd8016e0d6
Fix crash when helpers tree "SQL functions is expanded and shows some nodes, after user has disconnected
2021-10-12 19:53:14 +02:00
9baeb9f018
Outsource large list of MySQL functions into separate .ini files, one per server type. Todo: definitions for SQLite and Interbase.
2021-10-11 21:32:55 +02:00
fc60303a58
Issue #1457 : fix missing SET TIME_ZONE.. on export target server
2021-10-08 07:21:12 +02:00
89f1f7f5fa
Issue #1453 : support UINT columns in SQLite mode
2021-10-06 18:59:53 +02:00
36f8d5794b
Prefer IdentifierEquals() to compare names of two tables in TDBObject.IsSameAs(), for potentially case insensitive comparison when lower_case_table_names is 1. Fixes "Table x not found in tree" after creating a table with upper case letters on Windows servers. See https://www.heidisql.com/forum.php?t=38150
2021-10-03 17:15:33 +02:00
38c3a82380
Prefer SUBSTRING() over SUBSTR() in Postgres mode, to restore Redshift compatibility. See https://www.heidisql.com/forum.php?t=38326 and issue #1259
2021-09-22 07:12:46 +02:00
04e8d683b4
Escape single quotes and backslash in all PostgreSQL connection string values, including password. Closes #1417
2021-07-24 08:55:15 +02:00
475e191a59
Issue #1169 : get basic connection to local Interbase setup running
2021-07-18 12:33:37 +02:00
7194aa05fb
Issue #1169 : basic skeleton for Interbase connections, including two network types TCP/IP and Local, as well as two drivers IB and FB
2021-06-28 21:22:47 +02:00
a469d89227
Issue #1169 : give items in TDBDatatypeIndex a different prefix (dt => dbdt), to fix a conflict with those from Delphi's database components
2021-06-26 17:44:50 +02:00
b86efe871d
No longer disable SSH tunnel on Windows 10 S. This removes the no longer required support for Win10S if used in the Windows Store.
2021-06-26 09:15:12 +02:00
ed28bcbf6f
SQL export: Add popup menu action for copying mysqldump command line
2021-06-25 08:56:18 +02:00
ee69a049fd
Set TIME_ZONE system variable for reading as well, not only for the export output. See https://www.heidisql.com/forum.php?t=38078
2021-06-25 07:38:52 +02:00
6de3817472
Fix removed custom color from query gutter after zoom. Closes #1392
2021-06-24 10:39:53 +02:00
210cfbaa8f
Code cleanup: outsource generation of mysql command line arguments into TConnectionParameters.GetExternalCliArguments
2021-06-24 06:57:20 +02:00
39d7af0abd
Code cleanup: outsource generic MainForm.IsWine property to apphelpers.IsWine function
2021-06-24 05:44:14 +02:00
2ea193992c
Reset timezone in SQL exports to zero offset, to be independent from local date/times. See https://www.heidisql.com/forum.php?t=38078
2021-06-23 21:21:39 +02:00
8d949575cd
Issue #932 : fix crash with new color setting when switching from query tab to data tab
2021-06-23 08:37:31 +02:00
ff9c467f8c
Issue #932 : use background color of active session for query gutter
2021-06-22 21:13:06 +02:00
cb1024b048
Fix more potential theme related EAccessViolation's, due to Action:=caFree in OnClose event of modal forms. Their caller now frees these modal forms. In non-modal forms, keep caFree in OnClose but remove existing OnDestroy events, moving code to OnClose instead.
...
https://www.heidisql.com/forum.php?t=38043
https://stackoverflow.com/questions/2075405/how-to-close-non-modal-form-in-delphi
2021-06-22 20:37:34 +02:00
963085463d
Issue #932 : use session background color for query result tabs, so it's clear to which connection they belong
2021-06-22 16:06:14 +02:00
c634dcf06e
Attempt to fix theme related crashes through OnClose event of dialogs with caFree. See https://www.heidisql.com/forum.php?t=38043
2021-06-21 20:53:26 +02:00
724c43256d
Query tabs: prefer setting width and height of a new query tab memo like the current tab
2021-06-20 08:38:42 +02:00
a78075681c
Fix two compiler warnings
2021-06-17 08:53:55 +02:00
ac66de31bb
Support filenames with accented chars in text file import dialog. Closes #1387
2021-06-15 07:46:58 +02:00
4c959ded83
Silence a harmless access violation in ApplicationDeActivate, triggered by changing the VCL style
2021-06-14 20:08:47 +02:00
22d7da3ff8
Performance: call RefreshBackgroundColors only during RefreshSessions and btnSaveClick, not in ListSessionsFocusChanged
2021-06-13 12:11:08 +02:00
28d25e3334
Revert a144466e7137f1c33c39c231dbeb4cd98dfc4ffa : query exact row count from tables and views. See https://www.heidisql.com/forum.php?t=37983
2021-06-10 07:42:50 +02:00
19677fa7f0
Let a second version of EscapeString decide itself whether to quote a string, based on the given datatype. Closes #1386
2021-06-09 20:10:00 +02:00
7b0705df28
Disable build update button for 32bit version, so I only have to provide 64bit builds (while still supporting releases in 32 bit)
2021-06-06 17:24:36 +02:00
9eb37d0a02
Catch some potential file related exceptions in text file import. See https://www.heidisql.com/forum.php?t=37974
2021-06-06 08:26:12 +02:00
86d2c5b07c
Fix nonsense text in filter box and memo of new query tabs
2021-06-05 15:07:34 +02:00
2b29b51aaf
Performance: Let TMainForm.RefreshHelperNode update only the active tab, not all open tabs. Do further calls to RefreshHelperNode when active tab gets switched. See https://www.heidisql.com/forum.php?t=37961
2021-06-05 14:58:18 +02:00
a241b6920d
Issue #710 : add menu item for closing query tabs to the right of the mouse click coordinates
2021-06-05 08:43:47 +02:00
68bfd31289
Issue #710 : add menu items for closing all query tabs
2021-06-05 08:15:25 +02:00
bfdac309c0
Remove closing PHP tag from export as PHP array
...
From the PHP manual[1]:
> The closing tag of a PHP block at the end of a file is optional, and in some
> cases omitting it is helpful when using include or require, so unwanted
> whitespace will not occur at the end of files, and you will still be able to
> add headers to the response later. It is also handy if you use output
> buffering, and would not like to see added unwanted whitespace at the end of
> the parts generated by the included files.
1: https://www.php.net/manual/en/language.basic-syntax.instruction-separation.php#example-41
2021-06-05 07:40:54 +02:00
68b3bfa556
Refactor: move TMainForm.QueryTabActive to TQueryTabList.HasActiveTab
2021-06-05 07:38:09 +02:00
bf31dfc7d7
Refactor: merge both overloaded TQueryTabList.TabByControl methods into a generic one, which accepts any TWinControl descendant
2021-06-04 14:30:43 +02:00
87db1a162d
Move some more query tab related code out of TMainForm into TQueryTabs
2021-06-04 09:03:47 +02:00
db0affdfe1
Loading an sql file does not activate its tab, e.g. when loading multiple files. Fix crash happening when active tab is not a query tab in such cases. See https://www.heidisql.com/forum.php?t=37945#p37959
2021-06-04 08:01:46 +02:00