Ansgar Becker
63212600ed
Issue #515 : Handle encoding errors in apphelpers.ReadTextfileChunk according to how Delphi 10.3 raises exceptions. And probably fix the issue by increasing the new chunk size by 1M instead of only 4B.
2019-04-14 19:44:59 +02:00
Ansgar Becker
141c348a5d
Issue #521 : add -ssh and -v arguments again to plink.exe command, as proposed in https://github.com/HeidiSQL/HeidiSQL/issues/521#issuecomment-482897896
2019-04-14 14:05:21 +02:00
Ansgar Becker
406ab56060
Attempt to fully support UTF8 encoding without BOM, as TEncoding.UTF8 has a non-empty preamble/bom. See https://forums.embarcadero.com/thread.jspa?threadID=112112 . Probably related to encoding issue #515
2019-04-13 10:52:41 +02:00
Ansgar Becker
a2ef1aeccd
Issue #140 : Store application process id in each tabs.ini section, and don't restore tabs from other running processes. If the process no longer runs, restore such tab sections again, so nothing gets lost with multiple running application instances.
2019-04-13 10:43:52 +02:00
Ansgar Becker
e9cc528632
Issue #140 :
...
* store tab setup when application exits, as the TimerStoreTabs interval may not yet be reached
* remember startup value of asRestoreTabs option, which may change while the application runs, which in turn may cause problems when RestoreTabs wasn't called
2019-04-13 09:32:58 +02:00
Ansgar Becker
f5734fece1
Issue #521 : use -batch instead of -ssh parameter for plink, to prevent creating a shell and to reduce interactive prompts
2019-04-13 08:38:35 +02:00
Ansgar Becker
e40210b1b5
Issue #140 : Move code for all remaining common directory paths settings to TAppSettings (UserAppData, UserDocuments, Snippets)
2019-04-11 21:47:54 +02:00
Ansgar Becker
32845094d9
Issue #140 : Use local tabs.ini and Backups directory in portable mode
2019-04-11 21:21:47 +02:00
Ansgar Becker
a6d372cd38
Issue #140 : Avoid writing the tabs.ini file through WriteString if nothing was effectively changed
2019-04-10 16:51:45 +02:00
Ansgar Becker
af5daca38c
Issue #140 : Add some more missing translation strings. Shame on me, I am always forgetting these.
2019-04-10 15:06:52 +02:00
Ansgar Becker
f4c1503051
Issue #140 : remove a tab section from tabs.ini within RestoreTabs(), if its file does not exist
2019-04-10 12:41:16 +02:00
Ansgar Becker
430ea3bde6
Issue #140 : make auto-backup/restore feature stable against running multiple application instances:
...
* use unique date/time with milliseconds as ini sections
* open ini file for each read + write, separately, don't keep it open all the time
2019-04-10 12:19:40 +02:00
Ansgar Becker
f43c37a65f
Issue #140 :
...
* fix: very last tab backup was not yet done
* tell user about activated auto-restore feature in very last question dialog for saving tab
* add missing translation strings
2019-04-08 20:51:27 +02:00
Ansgar Becker
561a0edc7f
Issue #140 : Do not auto backup unsaved tab contents if it's larger than 10MB
2019-04-07 13:47:37 +02:00
Ansgar Becker
30694567e5
Issue #140 : Auto-backup unsaved query tab contents to C:\Users\<username>\AppData\Roaming\HeidiSQL\Backups\*.sql, and tab setup in C:\Users\<username>\AppData\Roaming\HeidiSQL\tabs.ini
2019-04-07 13:14:33 +02:00
Ansgar Becker
e56371e9a8
Put a new filter box above query helpers tree, for quickly finding snippet or function
2019-04-07 11:13:47 +02:00
Ansgar Becker
2db3fffa71
Support selecting wrong cased columns in MariaDB 10.4, so the user manager shows up. Closes #599 .
2019-04-04 20:35:44 +02:00
Ansgar Becker
6fb9bb6657
Issue #360 : remove no longer used translation string, and add a new one, for the new background color label
2019-03-30 09:57:07 +01:00
Ansgar Becker
07afefc726
Move tree background color setting from File menu to the Advanced tab of the session manager. Closes #360
2019-03-30 09:52:08 +01:00
Ansgar Becker
1f30684745
Silence EAccessViolation in PQfinish() of 32bit libpq.dll . Closes #37
2019-03-30 09:26:28 +01:00
Ansgar Becker
dacc1d7c99
Issue #577 : skip informational error output from new plink version
2019-03-28 20:04:59 +01:00
Ansgar Becker
aa649af23a
Show full filter in data tab's recent filter drop down, make it higher to show more items, plus optimize incremental searching when it has focus. See https://stackoverflow.com/questions/37477244/tcombobox-autocloseup-property-what-does-it-do
2019-03-28 17:06:08 +01:00
Ansgar Becker
1ef13788f4
Pause after compiling resources, so user has a chance to read the (error) output
2019-03-18 21:50:55 +01:00
Ansgar Becker
5aafc46fca
Sort encoding names in CSV import dialog alphabetically. Closes #579 .
2019-03-18 20:22:52 +01:00
Ansgar Becker
0fb341bb88
Issue #140 : add "Files" tab to preferences dialog, move "Prompt for file save" checkbox there, and introduce two new checkboxes for restoring opened and unsaved query tab contents (both new yet without functionality in their back)
2019-03-17 11:57:09 +01:00
Ansgar Becker
3975db0a1c
Simplify language selector populating: extract potentially existing lang name from long string, rather than holding a complex list
2019-03-17 09:06:48 +01:00
Ansgar Becker
c0dcc87666
Reveal yet hidden languages in language selector on preferences dialog. Reveals hr_HR Croatian, which was present on Transifex but missing in hardcoded language list from dxgettext/languagecodes.pas
2019-03-17 08:45:17 +01:00
Ansgar Becker
d5fe0ebd0d
Add missing zh_CN "Chinese (China)" to language selector. Closes #498 .
2019-03-15 19:48:00 +01:00
Ansgar Becker
4dcedf61b9
Issue #498 : Update gettext unit to r124 from https://sourceforge.net/p/dxgettext/code/HEAD/tree/trunk/dxgettext/sample/gnugettext.pas
2019-03-15 07:55:59 +01:00
Ansgar Becker
dace95b10d
Issue #433 : Additional line break after SQL export comments for skipping data
2019-03-15 07:44:32 +01:00
Ansgar Becker
7780904fbd
Issue #498 : Display current locale abbreviation in "Auto detect" item of language selector
2019-03-14 21:11:24 +01:00
Ansgar Becker
d2a795655b
Prevent sporadic crash on startup
2019-03-14 20:22:50 +01:00
Ansgar Becker
f8acaa7af3
Protect from crash when pressing ctrl+tab before main form is displayed. Closes #574
2019-03-14 20:21:07 +01:00
Ansgar Becker
d6dc4cde2e
Support spaces in definer of a view. Closes #571 .
2019-03-14 20:06:17 +01:00
Ansgar Becker
16afa3cafb
Don't export data of FEDERATED tables, just like MRG_MyISAM. Closes #433 .
2019-03-14 07:57:56 +01:00
Ansgar Becker
6107bc973c
Fix still disabled union text input on table designer, when engine MRG_MyISAM is selected
2019-03-14 07:50:32 +01:00
Ansgar Becker
0ef9b64947
Make preferences dialog resizable, and store/restore its dimensions for the next time it opens
2019-03-10 14:18:22 +01:00
Ansgar Becker
7ae15992f9
Issue #196 : Prefer to take comment from SHOW TABLE STATUS result, to support single quotes without including some "compression" option on TokuDB
2019-03-10 08:08:51 +01:00
Ansgar Becker
098c526b15
If previous word is preceded by a dot, it is most probably a table, column or some alias, so do not uppercase it then. Closes #494
2019-03-09 08:40:48 +01:00
Ansgar Becker
d6c35d9474
Implement TPGConnection.SetCharacterSet to get a persistent utf-8 setting. Closes issue #22 .
2019-03-07 12:19:59 +01:00
Ansgar Becker
880fdb47ad
Catch all kinds of exceptions when connecting to MSSQL did not work, not just EOleException. Seems the thrown exception changed, probably when switching OLEDB driver. Closes #517 .
2019-03-07 10:03:05 +01:00
Ansgar Becker
187fd51126
Issue #553 : Add registry hack for enabling (yet ugly) toolbar captions
2019-03-02 20:19:59 +01:00
Ansgar Becker
bfcb7c2c74
Increase height of nodes in VirtualTree's even more, after having done that for #468 . Closes #557 .
2019-03-02 19:47:01 +01:00
Ansgar Becker
548553e366
Issue #548 : Revert a line from 651b485af3 which lead to loading entire BLOB contents into the grid, instead of the first 256 bytes only.
2019-03-02 19:30:36 +01:00
Ansgar Becker
107a933eeb
Remove semicolon from last case block, so the "else" after it is not counted as a default block. Closes #543
2019-02-20 19:26:56 +01:00
Ansgar Becker
97d798f337
Remove right anchor from "File" label in grid export dialog. Fixes disappearing label when resizing the dialog.
2019-02-20 06:38:19 +01:00
Ansgar Becker
c6971c66bb
Call PQfinish() when PostgreSQL connection failed to initialize. Closes #544 .
2019-02-19 19:26:42 +01:00
Ansgar Becker
638b5e562a
Issue #516 : Display MemSQL icon and name for those sessions
2019-02-16 10:16:47 +01:00
Ansgar Becker
8cf93ab910
Issue #516 : Silence error when retrieving unavailable (and non-vital) "Row_format" column from SHOW TABLE STATUS on MemSQL server
2019-02-16 10:02:31 +01:00
Ansgar Becker
0f6b3ff695
Make column selection dialog more crash safe against clicks between items. Closes #534 .
2019-02-10 14:28:19 +01:00