Commit Graph

176 Commits

Author SHA1 Message Date
Ansgar Becker
b97629b1e1 Update SynEdit component to latest sources from their master branch 2019-11-10 08:57:55 +01:00
Ansgar Becker
44c7df7501 Remove no longer maintained package files 2019-07-22 07:20:40 +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
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
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
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
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
1d6a415f5f Refactor: rename mysql_structures unit neutrally to dbstructures 2019-06-22 14:26:41 +02:00
Ansgar Becker
5613d66432 Configure madExcept crash handler to show a "send bugreport" button, which posts all details to heidisql.com 2019-05-20 16:43:20 +02: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
7a80ca8b9a Upgrade all package files to Delphi 10.3 2018-12-09 11:31:03 +01:00
Ansgar Becker
54a7930045 Clean up:
* remove Detours package, move code to /source/detours/
* remove Detours code from /source/vcl-styles-utils/delphi-detours-library/, so we have only one version
* remove Vcl.FormsFix.pas, as the bugs I fixed with that are most likely fixed with the move to Delphi 10. See https://www.heidisql.com/forum.php?t=19141 for the original bug report.
* only vcl-styles-utils uses the Detours lib from now on
2018-10-30 16:44:48 +01:00
Ansgar Becker
d169d2d52f Issue #8: fix unstyled size grip on forms without statusbar, with the help of Volker Siebert's SizeGrip: http://flocke.vssd.de/prog/code/pascal/sizegrip/1.2b/ 2018-10-30 15:49:51 +01:00
Ansgar Becker
ebda8ad60e Issue #8: fix broken popup menus on object editors, and give various system dialogs style (task dialog, file dialogs, message dialogs) 2018-10-29 19:43:27 +01:00
Ansgar Becker
93fe336841 Issue #8: Add 39 themes from Redist\Styles\vcl\ directory, and support themes with a new setting in the "General" options tab 2018-10-26 16:52:53 +02:00
Ansgar Becker
9cdcd63145 Issue #213: Assign system or custom font once, to the application, and let all forms inherit that font, so there is no need to call InheritFont() for each form. 2018-10-25 19:24:45 +02:00
Ansgar Becker
5d9dbe20a9 Issue #372: Create Delphi 10.2 packages, and modify manifest file to tell Windows that HeidiSQL supports high DPI settings. 2018-10-22 21:49:51 +02:00
Ansgar Becker
5a8a4af29a Rename helpers unit to apphelpers, to overcome a naming conflict with the FireMonkey unit FMX.Canvas.GPU.Helpers. Closes #102. 2018-01-22 19:48:17 +01:00
Ansgar Becker
ef13e15de6 New attempt to fix menu and buttons flicker on Win10, this time by with the help of Delphi Detours library. See https://www.heidisql.com/forum.php?t=19141 2017-11-01 19:38:29 +00:00
Ansgar Becker
75fecfd3dd MySQL/MariaDB: Implement support for expired passwords. Show a change-password dialog after the very first query of a connection when it returns "Error 1820: You must SET PASSWORD before executing this statement". See http://www.heidisql.com/forum.php?t=17921 2016-06-13 17:59:05 +00:00
Ansgar Becker
fe411be351 * Display session name in caption of all message dialogs. See http://www.heidisql.com/forum.php?t=18606
* Add a custom icon for confirmation dialogs, with a question mark on it, so we don't have to use the "i" icon.
2015-06-14 13:13:45 +00:00
Ansgar Becker
1dcfc8852f Fix compiler warning W1030: "Invalid compiler directive: 'true'". See
* http://blog.spreendigital.de/2014/03/14/w1030_warning_xe5/
* http://www.heidisql.com/forum.php?t=18494
2015-05-25 09:58:58 +00:00
Ansgar Becker
370b4cf212 Rewrite plink.exe process handling: Create our own class TPlink, which needs to be called with a .Connect method and raises an exception when some error occurs. Fixes issue #2902. See also: http://www.heidisql.com/forum.php?t=15224 2014-03-29 06:57:05 +00:00
Ansgar Becker
51b531dbe3 Add Plinkremote unit as a preparation for a better integration of plink.exe into our SSH tunnel.
See
* http://www.delphipraxis.net/70989-komponente-fuer-ssh-verbindung-6.html
* http://www.heidisql.com/forum.php?t=15206
* issue #2902
2014-03-25 09:43:51 +00:00
Ansgar Becker
0a7199a3d2 Display filename with path in query tab hint. Fixes issue #3527. 2014-03-15 06:36:19 +00:00
Ansgar Becker
d9703178c6 Move useful commands from system menu to a "More" button with a drop down menu, and include import + export commands now. Fixes issue #2502. 2014-02-05 09:42:26 +00:00
Ansgar Becker
7e14dcd60a Revert r4652 - causes an AV here on start up, unknown cause. 2013-11-28 07:52:19 +00:00
Ansgar Becker
bd35bebd41 Show session manager with a visible main form in the background. Should prevent HeidiSQL from stealing focus in OnShow, or wherever that happens. See http://www.heidisql.com/forum.php?t=14133 2013-11-28 04:49:14 +00:00
Ansgar Becker
0f3c603c44 Prefer Delphi's Indy library over Synapse for encoding URL parameters. Remove Synapse code, which was meant to help in implementing the HTTP tunnel code which can easily be done with Indy. 2013-11-02 06:23:41 +00:00
Ansgar Becker
6e608f157e Replace out-dated code which does not compile in 64bit mode in helpers.SetWindowSizeGrip. Use a TForm descendant in the new unit "extra_controls". Code parts taken from http://www.delphigroups.info/2/4/326787.html 2013-11-01 14:54:13 +00:00
Ansgar Becker
7319d1b647 Prefer Delphi's various TGraphic descendants over the out-dated GraphicEx library. PNG images even show their transparency now. Removes support for the myriad of exotic image formats listed on http://www.delphi-gems.com/index.php/libs/graphicex-library 2013-11-01 06:07:51 +00:00
Ansgar Becker
0f2590c917 Prefer Delphi's new TZipFile class over mORMot's TZipWrite for creating zipped exports (issue #3354) 2013-10-31 20:19:22 +00:00
Ansgar Becker
6a356fdabf Remove no longer maintained XE packages and build batch files. heidisql.com now builds with a PHP script. 2013-10-31 05:23:25 +00:00
Ansgar Becker
de1892464d Remove include file with entirely unused compiler defines. 2013-10-21 03:48:30 +00:00
Ansgar Becker
317bf5e88e Get code running in both XE + XE5 compilers:
* Conditionally including units does not really work, because of a IDE bug: http://stackoverflow.com/questions/13776195/how-to-conditionally-include-some-units . So, we define a unit alias for System.Actions in XE, which we do not need in XE5.
* Dynamically use the fitting numeric type per compiler for a TUpDown.OnChangingEx event.
2013-10-20 08:29:28 +00:00
Ansgar Becker
cb37bd6dd7 Get madExcept running in Delphi XE5 package 2013-10-19 12:20:03 +00:00
Ansgar Becker
f2616c1564 Create XE5 main package 2013-10-17 04:39:23 +00:00
Ansgar Becker
63e50ce312 Move MainFormOnTaskBar setting again to a point where the main form is visible. Fixes issue #2629 (again) 2013-10-16 04:24:40 +00:00
Ansgar Becker
5c1a0a6e4c Introduce compressed .sql file export. Using SynZip unit from mORMot framework. Fixes issue #3354. 2013-10-07 04:32:20 +00:00
Ansgar Becker
2ea8a821e5 Attempt to fix issue #2640 again (AV on alt-tab when in popup editor), by disabling the completion form in ApplicationDeActivate event. Activate MainFormOnTaskBar again, which fixes issue #2351 (Windows Flip3D feature) and probably also issue #3342 (Alt-tab in Wine) 2013-09-25 04:21:46 +00:00
Ansgar Becker
4593fd1a4c Introduce Win7+ jump items on task button. See http://www.heidisql.com/forum.php?t=12385.
Using JumpList unit from Serhiy Perevoznyk, http://delphi32.blogspot.de/2011/05/adding-windows-7-jump-list-to-delphi.html
2013-09-05 08:33:38 +00:00
Ansgar Becker
44cf6618aa * Remove "Run file" dialog, and use a standard Windows IProgressDialog instead when executing a SQL file. Learned from http://users.skynet.be/oleole/ProgressDialog.htm
* Enhance error handling when "Stop on errors" is activated, by showing an error summary at the end of script execution.
2013-08-21 04:14:37 +00:00
Ansgar Becker
51c27f7a27 * Silence various compiler warnings about non initialized variables.
* Globally turn off platform warnings
2013-07-16 04:45:28 +00:00
Ansgar Becker
4c0516733c Remove MainFormOnTaskBar, revert r3763, to fix issue #2640. Disables support for Windows Flip3D, but who cares. 2013-03-20 21:49:20 +00:00
Ansgar Becker
783a9d146e Issue #557: Override automatic language detection via registry setting "Language". 2012-11-13 22:06:07 +00:00
Ansgar Becker
ca1d94c87b Issue #557: Include gnugettext.pas from https://dxgettext.svn.sourceforge.net/svnroot/dxgettext/trunk/dxgettext/sample/ . And add basic code to all FormCreate events to translate their components in the future. 2012-11-10 14:28:44 +00:00
Ansgar Becker
8ec290a302 Fix synapse usage:
* missing unit search path for synapse in auto-build script
* move unit search path from RELEASE to BASE
* make use of helpers:EncodeURLElementUnicode
2012-10-21 12:32:19 +00:00
Ansgar Becker
583a8350b8 Install Ararat Synapse library (r169 from trunk), as a preparation for HTTP tunnel implementation. See issue #1405. 2012-10-21 12:17:43 +00:00
Ansgar Becker
fea0e8e194 Code cosmetic in initialization code:
* Move TMainForm.ParseCommandLineParameters to helpers:ParseCommandLine
* Modify ParseCommandLine to work without private statics FCmdlineFilenames and FCmdlineConnectionParams
* Move code from helpers:setLocales to dpr file
* Rename TMainForm.Startup to TMainForm.AfterFormCreate
* Destroy AppSettings explicitly in single instance mode
2012-09-16 16:55:53 +00:00