51 Commits

Author SHA1 Message Date
0d9de512cd Remove unit scopes from project settings, prefer fully qualified unit names in uses clauses. Enhance readability and compiler performance. 2022-12-26 17:59:19 +01:00
ed28bcbf6f SQL export: Add popup menu action for copying mysqldump command line 2021-06-25 08:56:18 +02:00
39d7af0abd Code cleanup: outsource generic MainForm.IsWine property to apphelpers.IsWine function 2021-06-24 05:44:14 +02:00
b6c9cc1e02 Simplify some code which checks where user has clicked, using the new PopupComponent() 2021-01-16 18:15:12 +01:00
64626910c0 Use TLinkLabel's for web links on about dialog, making them look more like a link 2020-03-07 18:40:43 +01:00
05c4407b6a Fix non applied font name on some link labels 2019-08-20 21:11:06 +02:00
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
92c8f62b85 High DPI:
* remove ParentFont flag from forms again (introduced in 9cdcd631454f6f9e999893ea89fcf502d994474c 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
694bacaf64 Replace ugly donate menu item with a normal TImage, living on the right edge of the toolbar 2019-06-06 21:24:03 +02:00
4677755497 Issue #8: Convert Coolbar with menu and buttons back to a normal TMainMenu + TToolBar. Fixes empty first level menu items. Removes update and donate buttons from the top right corner. We don't need them. 2018-10-28 10:38:59 +01:00
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
e2aea33588 Issue #213: auto-scale font size within InheritFont() for high dpi settings 2018-10-23 21:33:20 +02:00
d58e30d0eb Add an "Environment" label on the about dialog, showing Windows version, Windows Store package name, or Wine 2018-02-03 16:00:38 +01:00
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
5a3dde10b8 Add context menu on various labels of about dialog, so the user can easily copy application version and others. Closes #82 2018-01-20 17:29:07 +01:00
36c5d90d39 Use unsecured heidisql.com url in donor check if secure one did not work. Closes #65 2018-01-02 18:55:06 +01:00
31dc8f3f97 Use unsecure project web url for donor checks, as the ssl certificate seems not accepted on some Wine systems. 2017-03-05 17:40:11 +00:00
6d04877106 Fix typo 2016-10-08 10:24:20 +00:00
bcfd996dfc Add component name to image link 2015-01-01 18:03:23 +00:00
a966ec7267 Unify help calls in helpers.Help(), and pass sending control for "place" parameter in help url. 2014-10-16 08:02:06 +00:00
9cc5fc6aaf Turn readme.txt into a more comprehensive online help document 2014-10-13 18:49:59 +00:00
35e809ae32 Include 32/64 bit in version info on about dialog. 2013-12-25 07:13:06 +00:00
56097ff655 Use a simple toolbar for upper right extra buttons. Fixes mixed up alignment of images and labels. However, cannot make these buttons blue now. 2013-12-25 06:59:38 +00:00
2a161a7408 Fix visible/hidden images besides menu images. 2013-12-24 13:58:47 +00:00
61202be058 Convert main menu and toolbars from TControlBar to TCoolBar, to be able to place an "Update available" link right aligned on the menu.
* Also, convert the donate button to a second label on the menu, so it's less intrusive than before. See http://www.heidisql.com/forum.php?t=13446
* With the "Update available" label visible all the time, we check for updates also for builds, but only show the update check dialog if the user has activated "Check for builds also" option.
2013-11-09 06:34:09 +00:00
54a297f39b Fix back door introduced in r4523 2013-10-03 04:01:26 +00:00
dd20574b3c Handle click events on donate button in a single procedure 2013-09-28 05:51:29 +00:00
49690324ba List recently active translators in about dialog. Also, read out credits from readme.txt, so I don't have to maintain that list in the TMemo, getting unwanted linefeeds whenever I'm saving it. 2013-09-19 04:26:02 +00:00
ff7ead47bc Issue #3334:
* Decrease connect timeout for donation state check from 30s down to 3s, so especially on application start noone has to wait too long only because heidisql.com is down again.
* Return TThreeStateBoolean in HasDonated(), so we can display an appropriate warning when the HTTP check was unsuccessful
2013-09-17 18:11:15 +00:00
3a6531c965 Issue #3334: Check heidisql.com for the given donator email address, provided in the about dialog. 2013-09-14 04:57:33 +00:00
d7cdd3cd91 Provide a way to enter the donators email address in the about dialog, and hide all donate buttons if a check on heidisql.com succeeded. Fixes issue #3334. 2013-09-13 04:32:28 +00:00
74ca351be6 Add donate button to 3 places:
* main toolbar
* about dialog
* updatecheck dialog
2013-09-11 20:11:25 +00:00
f96288fce9 Translate string variables and literals in .pas files. TODO: translate constants. 2012-11-26 05:44:01 +00:00
509a2702f0 Remove redundant exe description from about dialog. Version is displayed in a separate label. 2012-11-14 20:16:28 +00:00
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
08cdd86c9d Fetch real compile datetime for about box, by examining PE header, not last file modification. Code taken from http://www.michael-puff.de/Programmierung/Delphi/Code-Snippets/GetImageLinkTimeStamp.shtml 2010-11-20 09:05:46 +00:00
4d47af1e9e Code cosmetic:
* Sanitize main unit from unused variables
* Move global variables to public scope
* Bring public vars into some reasonable order
* Move constants to const.inc, unless dependent from some used VCL unit
2010-01-10 17:11:42 +00:00
1a4db545c5 Refactor layout and code of about dialog. 2010-01-10 16:22:53 +00:00
43b010d227 Inject SVN revision into executable's version infos last segment (4.0.0.[r]). Don't modify main.pas any longer, just version.rc by a new console app. 2010-01-10 13:53:52 +00:00
e356cb7ed7 Sanitize all "uses" clauses from unneeded unit references. 2009-12-22 23:19:56 +00:00
02403692ea Put both memos in about dialog into separate tabs on a page control. Fixes issue #1404 2009-10-19 22:49:16 +00:00
d7e3dcb678 Apply bigger font size of appname in about dialog, broken in r1718. 2009-01-04 14:39:28 +00:00
9a52593dc2 Use Vista's Segeo font for all forms by using the SetVistaFonts() in mainform plus the new routine InheritFont() which simply overtakes fontname and size from the mainform to all other forms. 2008-08-29 18:20:14 +00:00
5b0bb48d0a Convert the myriad of redundant menuitems and buttons on the main controlbar + important toolbars in the tabsheets to use TActions. This moves
a) some hundred lines of code from childwin.pas to main.pas
b) redundant hints/captions/shortcuts/events for similar buttons/menuitems to their corresponding TAction in main.dfm .

This change
a) avoids several inconsistent captions like described in issue #595
b) makes it easier to have toolbars on the mainform which are controlled by childform.
2008-07-01 18:59:07 +00:00
c1128f29bb Make ButtonCloseClick procedure in "About" window superflous 2008-06-15 17:54:34 +00:00
074f160575 Adjust controls in "About" box:
- Remove the "Donate" button and add a more eye catching "Make donation by Paypal" logo below the MySQL logo
- Rename "Support forum" to what it is: a "User to user forum"
- Add a "Check for updates..." button right besides the version infos which basically calls the updatecheck dialog.
2008-05-13 18:29:30 +00:00
54de398a1c Bugfix: Avoid scroll by removing blank line outside visible area in Authors text box. 2008-05-05 17:23:50 +00:00
638b69ea85 Add feature 1769207 "Automatic Software Update":
Implements a simple dialog which tells the user if there is some new release or nightly build available. Parses http://www.heidisql.com/updatecheck.php as a .ini file. Download buttons just start the webbrowser currently.
Todo: Automatic invocation of this dialog at regular intervals (for example once a week)
Todo: Automatic download + update + restart
2008-02-10 23:29:39 +00:00
0cc2bd5f7f Get rid of deprecated and platform symbols. 2007-11-09 12:14:25 +00:00
d315e45885 Nuke various never called procedures and functions. Just readd them if you want to use them somewhere, especially the helpers-functions. 2007-09-26 23:13:18 +00:00