Commit Graph

5259 Commits

Author SHA1 Message Date
Ansgar Becker
0bffd5dadd Make installer script ready for Inno Setup 6 2019-08-20 20:33:54 +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
247a84b11e Make download hint translatable 2019-07-28 08:59:17 +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
ae95c2f14a Provide additional libmysql library version v6.1.11. Closes issue #722 2019-07-23 18:43:05 +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
44c7df7501 Remove no longer maintained package files 2019-07-22 07:20:40 +02:00
Ansgar Becker
317ec72f85 Closed Open Collective account 2019-07-22 07:19:21 +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
Ansgar Becker
88a9e53f0d Remove remainders of DPI related code, and move TExtForm.AddSizeGrip procedure to property .HasSizeGrip. Uses TSizeGripXP instead of TSizeGripThemed, as this looks quite the same. 2019-07-21 19:44:05 +02:00
Ansgar Becker
cfe412e12c Update code from vcl-styles-utils to current master branch from April 03 2019. Disables LegacyIFEND compiler flag so Vcl.Styles.FontAwesome.pas compiles without modification. 2019-07-21 08:17:37 +02:00
Ansgar Becker
fbdddaa765 Collect custom session background colors via OnGetColors event of TColorBox, do not mix it in the code for refreshing the session tree. Also refresh custom colors each time a session is focused, so it has new colors. 2019-07-20 17:29:22 +02:00
Ansgar Becker
c31cae2060 Giving up on high DPI readiness - remove tweaks which mostly don't work as expected, and even differently on various computers. Instead, let Windows blur fonts. 2019-07-18 20:53:53 +02:00
Ansgar Becker
2ebbdc6ba3 Issue #718: Fonts may still be too large because the monitor on which a form is created has DPI > 100%. Calculate DpiScaleFactor based on that first monitor. See https://www.heidisql.com/forum.php?t=34230 2019-07-18 19:08:32 +02:00
Ansgar Becker
6a75e8c404 Issue #718: Fonts may be too large because they get scaled before the window gets moved to the wanted screen. So, this moves the code for scaling fonts to FormShow, so we can scale fonts according to the screen's DPI setting. 2019-07-18 07:52:59 +02:00
Ansgar Becker
70c79b33c5 High DPI: Scale up font size when applying font to query editors and result grids
Todo: mouse wheel zooming seems broken on dpi > 100%
2019-07-17 22:15:38 +02:00
Ansgar Becker
92c8f62b85 High DPI:
* remove ParentFont flag from forms again (introduced in 9cdcd63145 for #213). This just inherits from default Windows settings.
* instead, scale font size in InheritFont(), and move that to the new TExtForm class
* mark app with PerMonitorV2 support
2019-07-17 21:59:18 +02:00
Ansgar Becker
2dfb11879d Make search for libraries case insensitive. Closes #716 2019-07-17 07:02:56 +02:00
Daniel Zazula
beaa7ce93a Changed 10.2 GroupProj to point to the 10.2 packages instead of XE5 ones 2019-07-16 19:46:32 +02:00
Daniel Zazula
0df1c47a30 Changed 10.3 GroupProj to point to the 10.3 packages instead of XE5 ones 2019-07-16 19:46:32 +02:00