Commit Graph

4274 Commits

Author SHA1 Message Date
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
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
Ansgar Becker
92fb291c9f Add "Multi column filter" item to "Go to" menu. Closes #681. Also, "Switch between query/results" now switches between filter and grid in Data tab. 2019-07-14 19:46:54 +02:00
Ansgar Becker
0a1299ddeb Add "Switch to query/results" item to "Go to" menu. Closes #698 2019-07-14 19:27:15 +02:00
Ansgar Becker
df6a566ee6 Revert a part of 1c76c2ecc0, which disabled the port input for MS SQL / TCP connections if the host is a named instance. According to #714 you can still use the port for named instances. Closes #714. 2019-07-14 17:38:16 +02:00
Ansgar Becker
e4423c76a3 Issue #513: add a theme preview dialog, which loads the selected theme png file from heidisql.com 2019-07-13 15:59:43 +02:00
Ansgar Becker
0a31363fe9 Append system error message to error dialog popping up when tabs.ini is not writable. See https://www.heidisql.com/forum.php?t=34044 2019-07-12 18:25:38 +02:00
Ansgar Becker
36ae8f26b6 Issue #360: add unique session colors only to the background color selector, and label them "Custom color". See https://www.heidisql.com/forum.php?t=34168#p34194 2019-07-12 18:23:07 +02:00
Ansgar Becker
7f214ed4ef Add custom colors from sessions to background color selector. See https://www.heidisql.com/forum.php?t=34168 2019-07-11 21:38:03 +02:00
Ansgar Becker
2930df7f24 Issue #677: select first available library if default or configured one is not available. 2019-07-10 22:05:47 +02:00
Ansgar Becker
aa2ee9fd8f Restore tabs feature crashes often on old XP systems, so we activate it by default only on Vista and newer. See https://www.heidisql.com/forum.php?t=34044 2019-07-10 16:25:25 +02:00
Ansgar Becker
65102121bc Disable tab restore/store when tabs.ini is not writable. See https://www.heidisql.com/forum.php?t=34044#p34148 2019-07-10 11:46:19 +02:00
Ansgar Becker
fae11b70aa Silence reoccurring error dialogues due to non-writable portable_settings.txt, by introducing a portable-read-only mode as soon as an update to that file fails 2019-07-10 11:05:12 +02:00
Ansgar Becker
a249753683 Make mysql_fetch_field() available. Helps in debugging #697. 2019-07-08 20:25:42 +02:00
Ansgar Becker
2a91a13b42 Issue #677:
* drop workaround for application crash on WinXP, when loading newer libmariadb (see #79)
* raise TDbLib's own exception instead of baking an own one with less details. Probably helps in debugging: https://www.heidisql.com/forum.php?t=34044
* rename EDatabaseError to EDbError, to overcome naming conflict in DB unit
* load libpq.dll always with path, which should anyway work better than without it. See http://www.heidisql.com/forum.php?t=22514
2019-07-08 20:23:05 +02:00
Ansgar Becker
4f9613b05c High DPI: fix growing window dimensions on each opening. Related to #378 2019-07-07 21:22:19 +02:00
Ansgar Becker
535336850a Fix wrong calculated height and width of tool buttons after DPI change / move between monitors. Closes #446 2019-07-07 09:42:14 +02:00
Ansgar Becker
2c5d6eb49a High DPI: fix wrong height of status bar, by not setting it to what GetTextHeight returns. Maybe also related to #483. 2019-07-06 16:03:40 +02:00
Ansgar Becker
e804db8fcc Issue #677: provide a new library combobox in MySQL mode, for selecting any of the libmysql/mariadb.dll files from the application directory 2019-07-05 06:44:10 +02:00