Commit Graph

4050 Commits

Author SHA1 Message Date
Ansgar Becker
68994a4e4d Issue #144: make Ctrl+Backspace delete the last word of TEdit and TButtonedEdit in any TExtForm 2019-09-25 17:40:03 +02:00
Ansgar Becker
67967b411f Issue #423: add DataTypeCompatibility=80 to connection string, hopefully healing these "multiple step" errors on MS SQL 2019-09-22 19:35:57 +02:00
Ansgar Becker
4a8e9296a2 Fix broken undo history after applying auto-uppercase. Closes #541. Also support auto-fixing case of known database objects. 2019-09-19 20:10:21 +02:00
Ansgar Becker
acf6d956ff Issue #712: insert Unicode arrow characters in query result tabs and status bar panel, and unify order of x + y 2019-09-17 20:22:48 +02:00
Ansgar Becker
0da8cb79f8 Issue #515: give ReadTextfileChunk a BufferPadding of 1 instead of 10M. With 10 attempts, we get a maximum of 10 Bytes which is more than enough to get a complete character in any multibyte encoding. See https://github.com/HeidiSQL/HeidiSQL/issues/515#issuecomment-527858110 2019-09-17 19:59:46 +02:00
Ansgar Becker
d114ef1adc Add menu item "Open URL" to grid context menu, enabled only if underlying field text is a HTTP URL. Closes #692 2019-09-16 20:37:19 +02:00
Ansgar Becker
a5c4498376 Issue #746: Call SetString with UTF8String instead of String, as advised on https://stackoverflow.com/q/57951463/4110077 . Hopefully nails the decoding issue. 2019-09-16 19:41:47 +02:00
Ansgar Becker
abc9ef16f9 Issue #746: prefer AnsiString over Byte data type for buffering http request result. 2019-09-15 19:08:40 +02:00
Ansgar Becker
56474eaa1b Get schema with the same name as user name in search path. See https://www.heidisql.com/forum.php?t=34558 2019-09-14 15:27:05 +02:00
Ansgar Becker
d6373f2c38 LogSQL: move MainFormCreated flag activation above first wanted debug messages, and include client's time zone offset in log panel 2019-09-13 17:57:11 +02:00
Ansgar Becker
acfc5bc175 Issue #746: log result of donor check in log panel, move http request from FormCreate to AfterFormCreate, and repaint image after show/hide 2019-09-13 17:52:44 +02:00
Ansgar Becker
65873c9a90 Issue #746: Reset http request timeout from 3s to 10s in donor check. Probably some requests take a bit longer on the new webserver. 2019-09-13 06:08:55 +02:00
Ansgar Becker
11f25e01f4 Issue #654: reduce very frequent calls to Application.ProcessMessages while import dialog shows, down from 1 call per command to 1 call per second 2019-09-08 09:41:26 +02:00
Ansgar Becker
7666496177 Prevent file read issues: THttpDownload.SendRequest() now stores the response in a string variable if the passed file name is empty. 2019-08-26 14:00:07 +02:00
Ansgar Becker
e8ba05a1c7 Trim linebreak from right side of detected procedure parameters. See https://www.heidisql.com/forum.php?t=34518 2019-08-26 07:34:14 +02:00
Ansgar Becker
05c4407b6a Fix non applied font name on some link labels 2019-08-20 21:11:06 +02:00
Ansgar Becker
1130ee41a3 Leave explain links disabled when SQL in focused process is empty, and only prepend a "USE dbname" if used database is not empty. Closes #738 2019-08-16 07:13:41 +02:00
Ansgar Becker
8f1fb1cfb0 Fix duplicated parentheses on host sub tabs, broken by previous commit. Closes #739 2019-08-16 06:42:44 +02:00
Ansgar Becker
10c450bfc7 Remove FHostTabCaptions list which had untranslated captions since recently. Use a regular expression instead. Closes #730. 2019-08-15 07:48:55 +02:00
Ansgar Becker
a513e77553 Issue #513: remove minimize and maximize buttons from theme preview dialog 2019-08-13 09:30:30 +02:00
Ansgar Becker
f4d2488998 Try to fix missing schema in row counting query. See https://www.heidisql.com/forum.php?t=34331#p34439 and https://www.heidisql.com/uploads/34439-2-bugreport.txt 2019-08-13 09:12:05 +02:00
Ansgar Becker
ea4fd3a2ba Catch more sorts of exceptions in TMainForm.AnyGridGetText when converting large integers to unix timestamps. Should fix #735 2019-08-13 08:50:05 +02:00
Ansgar Becker
d07d463fc1 Return default net group in TConnectionParameters.GetNetTypeGroup. Raising an exception lets the app die for some reason. Reproduction: click drop-down button on "Database(s)" session setting 2019-08-11 14:18:10 +02:00
Ansgar Becker
f4443066a8 Expect COMMENT 'xxx' clause in index creation code, and store that comment in a new TTableKey.Comment field. Not yet visible per GUI, but at least such indexes are displayed now. Closes #732 2019-08-11 09:45:06 +02:00
Ansgar Becker
9d732a0037 Restore compatibility to SQL Server 2000, when opening a table. See https://www.heidisql.com/forum.php?t=34331 2019-08-09 15:04:45 +02:00
Ansgar Becker
d56784c37a Move MySQL/MariaDB constants from const.inc to dbstructures.pas 2019-08-02 08:50:27 +02:00
Ansgar Becker
6839c827c4 Issue #704: Add basic SSL support for PostgreSQL connections. 2019-07-29 13:40:59 +02:00
Ansgar Becker
b2a3551704 Replace remaining SHOW VARIABLES queries with GetSessionVariable 2019-07-29 12:41:55 +02:00
Ansgar Becker
35e9d88f43 Issue #80: Safely accept empty default value for probably non existing server variable "skip_name_resolve" in user manager. 2019-07-29 08:30:48 +02:00
Ansgar Becker
7b8d6bc535 Introduce TDBConnection.GetSessionVariable, to retrieve the value of one specific variable. Use that to simplify the code in some places. 2019-07-29 08:18:56 +02:00
Ansgar Becker
82241e7a6f Trim SSH host name, and revert some recently accidentally committed debug lines 2019-07-28 12:23:34 +02:00
Ansgar Becker
74961f4c3d Use Library setting for MS SQL as well, and provide available ADO providers in the drop down. Also show a security warning dialog when there is just the old SQLOLEDB provider. Related to #237 2019-07-28 12:18:43 +02:00
Ansgar Becker
33f2bdf505 Tweak help message 2019-07-28 10:56:06 +02:00
Ansgar Becker
7fd551bd72 Give the user a hint to download VC redistributable if PostgreSQL dll fails to assign a procedure. See https://www.heidisql.com/forum.php?t=18580#p34297 2019-07-28 08:57:51 +02:00
Ansgar Becker
5baada08f3 Move library selector up, below the network type selector, so these both define the basic connection type 2019-07-28 08:33:03 +02:00
Ansgar Becker
852ac61347 Activate Library drop down for PostgreSQL connections as well, so we may provide multiple versions in the future. 2019-07-28 08:24:13 +02:00
Ansgar Becker
13fa85e567 Raise error before LoadLibrary is called, when library file does not exist, so the user gets a more reasonable message 2019-07-26 20:48:18 +02:00
Ansgar Becker
53b8f544c2 Remove useless DPI helper panel from tabs in routine editor, table editor and table tools dialog 2019-07-25 07:44:04 +02:00
Ansgar Becker
0d61ece795 Remove useless DPI helper panel from preferences dialog tabs 2019-07-25 07:28:53 +02:00
Ansgar Becker
486543a0fa Remove useless DPI helper panel from session manager tabs 2019-07-24 07:38:23 +02:00
Ansgar Becker
4b84ffa7ef Issue #722: Tweak TMySQLConnection.GetLastErrorMsg so it shows an additional more helpful message what the user could do to solve his SSL connection error 2019-07-23 22:00:12 +02:00
Ansgar Becker
676f4b1e74 Prefer inline code over outsourced one-time used function BestTableName 2019-07-23 17:38:26 +02:00
Ansgar Becker
d76aacb910 Move another old and probably no longer required workaround from MainForm to TExtForm.Create, which shall prevent flicker on Win10 2019-07-23 13:53:46 +02:00
Ansgar Becker
63fdc3e08c Move workaround for broken split buttons after translation into TExtForm.Create, so we have it once and the caller does not need to care about it. See https://sourceforge.net/p/dxgettext/bugs/80/ 2019-07-23 13:36:56 +02:00
Ansgar Becker
28763eaf8b Update gnugettext unit to rev 128 from http://svn.code.sf.net/p/dxgettext/code/trunk/dxgettext/sample/gnugettext.pas 2019-07-23 13:24:26 +02:00
Ansgar Becker
273be37469 Reapply image list fix for extra space besides top items in main menu, after form translation has taken place 2019-07-23 13:22:30 +02:00
Ansgar Becker
db9e76bd78 Move code from TDBObjectEditor.GetDefiners to new TDBConnection.AllUserHostCombinations 2019-07-22 07:44:19 +02:00
Ansgar Becker
0d054a1397 Get back important comment which I had moved to the wrong place and deleted in fcdf323086. The menu space issue still exists with the default Windows style. 2019-07-22 07:30:34 +02:00
Ansgar Becker
71d9ef9011 Same as for TExtForm: translate in TDBObjectEditor.OnCreate, not in all derived editor classed 2019-07-22 07:28:07 +02:00
Ansgar Becker
fcdf323086 Let TExtForm translate all strings on a form, to reduce the code in any FormCreate event 2019-07-21 20:12:13 +02:00