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
a144466e71
Experimental: query exact row count from tables and views, in data tab and table tools
2021-06-03 09:27:13 +02:00
193c07a65e
Code cosmetic: shorten reference to mainform handle
2021-06-03 08:36:14 +02:00
dd38ba4f6f
Code cosmetic: rename implodestr() to Implode()
2021-06-03 08:32:06 +02:00
e4addf6b15
Fix duplicated variable assignment
2021-06-03 08:19:22 +02:00
fcfb6ea140
Modify TQueryTab.LoadContents so it only catches crashes in ReadTextfile(), and let the remaining unsuspicious code run without catching a crash. This way we should get an exact crash report here: https://www.heidisql.com/forum.php?t=37945#p37957
2021-06-03 08:16:05 +02:00
32c545213e
Bump version for v11.3 release
11.3
2021-05-30 07:35:35 +02:00
0acf6bbc41
Move menu items for previous and next tab from Tools to Go-To main menu
2021-05-29 12:21:34 +02:00
0c6d20640a
Minor optimization in TDBObject.GetTableColumns, where quite a few EListError crashes happen: Duplicates not allowed
2021-05-27 21:02:22 +02:00
c1015a56cf
Update plink executables to v0.75. Closes #1377
2021-05-25 21:00:22 +02:00
869993e45d
Fix unusable search/replace dialog in views and procedures. Closes #1376
2021-05-24 14:17:34 +02:00
07e1786d46
* fix wrong substring offset in TForeignKey.SQLCode
...
* fix TForeignKey.ReferenceTableObj with dots in database name
* use the fixed TForeignKey.ReferenceTableObj instead of .ReferenceTable in two places
Closes #1364
2021-05-23 09:25:08 +02:00
bee6acab7b
Issue #1375 : Leave EXPLAIN menu items enabled for SQLite as well.
2021-05-22 13:56:11 +02:00
193cba67f4
Support EXPLAIN query on PostgreSQL, and fix wrong menu item state in some cases. Closes #1375
2021-05-22 13:50:21 +02:00
1f5d5b8d00
Update VirtualTrees component code to release v7.5.0 . Might change something with horizontal scrollbars ( #355 )
2021-05-21 20:40:20 +02:00
a26bfbb121
Install VC redistributable for x64 or x86, blowing up the installer to 45MB. Using a command line taken from https://gist.github.com/mistic100/1fb61107eedd48cb0011 , but without the code for version comparing, as I can't find the right GUIDs for v14.28.29914.00 . Closes #1296
2021-05-21 20:08:01 +02:00
b5449c055d
Table tools: auto-fit column widths with each result grid update, and show execution time in main status bar
2021-05-20 22:34:16 +02:00
499a6c3064
Unhide public schema on Redshift. See https://www.heidisql.com/forum.php?t=37911
2021-05-17 15:00:21 +02:00
e7c4035869
Remove experimental flag from SQLite network type
2021-05-15 08:51:52 +02:00
7883fd5baa
Fix non-loaded previously used search and replace text in drop-down
2021-05-15 08:49:10 +02:00
b55e71d016
Fix unnecessarily wrapped download link on update-check
2021-05-15 08:37:26 +02:00
b6223d25bc
Issue #135 : leave unfinished Clickhouse support away from the master branch, for the next release
2021-05-15 08:29:40 +02:00
4fc2063449
Fix crash after encountering unsupported NetType session setting. And don't ask the user to report that as a bug, in the prior error dialog.
2021-05-15 08:25:40 +02:00
e0d3563c43
Issue #136 : support read-only grid text editor in search/replace dialog, when query result is non editable
2021-05-13 11:13:52 +02:00
cdc8481471
First attempt to manipulate the CREATE table code in SQL exports when source is a MySQL server and target is MariaDB. This just removes the incompatible "COLLATE xyz" clause from virtual varchar columns.
2021-05-12 18:16:21 +02:00
549cb86d75
Move responsibility for lowercasing hex content from the caller to the implementation, so we get the same display everywhere, including grid exports
2021-05-12 15:48:38 +02:00
6f1726ebf8
Add context menu for copying download link
2021-05-09 12:22:36 +02:00
976dd6b742
Turn release-download button into a link label, displaying a second link to a message dialog with instructions for a portable update. See https://www.heidisql.com/forum.php?t=37843
2021-05-08 17:21:02 +02:00
c5d95c1ce2
Modify release-download-button, so it points to the portable download link if the running version is a portable
2021-05-08 09:27:15 +02:00
940bbb7470
Fix logged queries duration in "one go" mode. See https://www.heidisql.com/forum.php?t=37878
2021-05-07 08:19:07 +02:00
25bfa58937
Detect pressed shift key before prompting for filter value. Closes #588
2021-05-06 08:00:13 +02:00
1fac5d7eb6
Issue #821 : don't stack prompts to reload a loaded SQL file after multiple external changes
2021-05-06 07:37:43 +02:00
b62a743a4e
Issue #136 : add context menu with some edit actions to text editor
2021-05-03 08:44:00 +02:00
04d1422f34
Quote database name separately from table name in foreign key generation. Closes #1364
2021-05-02 22:06:56 +02:00
4600ba376f
Increase maximum pixel width of status bar panels slightly, so these better fit with a larger font size. Closes #1356
2021-05-02 16:40:58 +02:00
65cf4a5820
Introduce an auto-quoting mode in TDBConnection.EscapeString, and use that to get rid of quotes around hex values and integers in quick filters
2021-05-01 07:35:56 +02:00
b271107dad
Add new preference option for displaying hexadecimal content in lowercase
2021-04-23 15:45:39 +02:00
21f8d7836e
Create "Editor commands" menu in "Query" main menu, and populate it with all available editor commands from SynEditKeyCmds
2021-04-22 08:41:38 +02:00
e3de5e0f90
Fix crash happening when using un/comment action. Closes #1359
2021-04-19 21:06:00 +02:00
6468fd85ff
Issue #1357 : include column names in "copy as" submenu export actions by default
2021-04-18 17:35:26 +02:00
d95ee1ab7b
Validate state of TActions after connecting and once in FormShow event. Closes #1319
2021-04-17 09:23:41 +02:00
38e5409dbe
Create OnChange event for TQueryTab.Memo in TMainForm, replacing OnStatusChange and TQueryTab.MemoOnChange events. OnStatusChange only fires when setting Memo.Modified, so the line/char status bar panel was not updated in many cases. Likely also affected the "run" button: issue #1319
2021-04-15 09:01:38 +02:00
75492fc553
Restore/keep cursor position in filter editor after refresh
2021-04-15 08:08:04 +02:00