21 Commits

Author SHA1 Message Date
b55e71d016 Fix unnecessarily wrapped download link on update-check 2021-05-15 08:37:26 +02:00
6f1726ebf8 Add context menu for copying download link 2021-05-09 12:22:36 +02:00
976dd6b742 Turn release-download button into a link label, displaying a second link to a message dialog with instructions for a portable update. See https://www.heidisql.com/forum.php?t=37843 2021-05-08 17:21:02 +02:00
429d32bb70 Center check-for-updates dialog over underlying owner form. Closes #1181 2020-10-14 19:22:16 +02:00
b225a8762a Center donate button horizontally on update-check dialog 2020-03-07 18:13:41 +01:00
0f38df3a1d Issue #784: set minimum dimensions of update-check dialog, and default screen positioning 2020-02-02 10:58:18 +01:00
19391e0d3f Tweak update check dialog, closes #784
* make dialog resizable
* restore previous dialog size
* use fixed pitch font in build notes
2020-01-30 16:15:42 +01: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
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
80b0d8935a Add "view changelog" button to updatecheck dialog. 2014-11-08 15:07:51 +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
ff09cd4be6 Remove donate button from updatecheck dialog 2013-11-05 04:58:11 +00:00
dd20574b3c Handle click events on donate button in a single procedure 2013-09-28 05:51:29 +00:00
74ca351be6 Add donate button to 3 places:
* main toolbar
* about dialog
* updatecheck dialog
2013-09-11 20:11:25 +00:00
3e2d4371a3 Implement home brown "THttpDownload" class, making use of the Internet_* methods from WinINet unit. Replaces "TDownloadUrl2" class. Fixes single char in user agent. 2012-04-29 06:37:24 +00:00
a43edc883f Implement a new external updater tool, stick that updater.exe as resource to the main executable, release and run it when the user clicks "Download build xyz". The updater itself posts WM_CLOSE messages to all Heidi instances, waits until all instances are gone, and then replaces the .exe with the downloaded one, after having copied a backup file to your temp directory. 2010-02-16 23:58:48 +00:00
8aafc3980f Keep memo with revision logs enabled, even if local executable is up-to-date. Can be useful for reading the changelog at any point. Fixes issue #1452 2009-11-10 22:37:03 +00:00
6f8c67aff7 Make the memo for build infos slightly larger in updatecheck dialog. Put notes from more than only the last revision into it. By passing the revision with "?r=123" to the PHP file, it returns all notes from the current up to the used revision (but never more than 10, as TIniFile seems to have a small maximum line size of 2048 chars. 2008-09-21 22:59:09 +00:00
b584aa5ae4 Introduce automatism for calling the updatecheck dialog. User can set the interval how often this is done in preferences dialog (default interval: 3 days, can be completely disabled). The automatic calling of this dialog should not disturb anyone as it's closed immediately if there are no updates available or if a developer version with an unknown revision is used.
Some GUI controls on the dialog had to be moved around as well as some lines of code so everything works well with the automatic dialog closing.
2008-02-19 19:44:33 +00:00
32a4c08a8b Enhancements and fixes for updatecheck dialog:
- Fix URL opened by btnBuild
- Fetch and display date, revision and note of release/build
- Put the download buttons into separated TGroupBoxes and add a TMemo for Notes above them
- Enable a download button if "download revision" > "current revision". Enables a more exact comparision, especially for releases.
- Remove dodgy "refresh" icon on form.

If you stumble across this compiler notice: "FileAge(File)" is deprecated, while the used overloaded method "FileAge(File, DateTime)" is not. See also: http://groups.google.com/group/borland.public.delphi.rtl.win32/browse_thread/thread/9792bef1ee37a298/75b96783bb4862ee
2008-02-14 20:24:02 +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