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
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
0a7199a3d2
Display filename with path in query tab hint. Fixes issue #3527 .
2014-03-15 06:36:19 +00:00
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
7e14dcd60a
Revert r4652 - causes an AV here on start up, unknown cause.
2013-11-28 07:52:19 +00:00
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
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
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
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
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
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
de1892464d
Remove include file with entirely unused compiler defines.
2013-10-21 03:48:30 +00:00
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
cb37bd6dd7
Get madExcept running in Delphi XE5 package
2013-10-19 12:20:03 +00:00
f2616c1564
Create XE5 main package
2013-10-17 04:39:23 +00:00
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
5c1a0a6e4c
Introduce compressed .sql file export. Using SynZip unit from mORMot framework. Fixes issue #3354 .
2013-10-07 04:32:20 +00:00
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
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
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
51c27f7a27
* Silence various compiler warnings about non initialized variables.
...
* Globally turn off platform warnings
2013-07-16 04:45:28 +00:00
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
783a9d146e
Issue #557 : Override automatic language detection via registry setting "Language".
2012-11-13 22:06:07 +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
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
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
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
d87ece9287
Set Application.MainFormOnTaskBar after MainForm.Startup has finished, so we get the application's handle on the task bar as long as MainForm is hidden. Fixes issue #2629 .
2012-09-15 11:28:01 +00:00
90ab0b6cf1
Refactor logic for reading and writing application and session settings:
...
* Introduce TAppSettings, created in dpr file
* Implement read and write methods, and replace callers of GetRegValue and MainReg.WriteInt/... with these
* Optimize read and write methods for avoiding redundant accesses to registry
* Auto-remove stored default settings from registry to avoid registry spam
* Replace synced MainForm.pref* variables with TAppSettings.Read* calls
* Move SetLocales call to dpr file
* Move MainForm.FDirname* variables to appropriate methods in helpers.pas
* Implement TQueryHistory.Create(SessionPath), reading its items within constructor
2012-08-19 10:55:08 +00:00
01ac4b40e3
Introduce new dialog "Synchronize database", see issue #1289 . Complex code behind "Analyze" and "Apply" buttons is missing yet.
2011-08-22 05:57:57 +00:00
c4565ec764
Move SetVistaFont() to helpers unit and remove uVistaFuncs unit
2011-05-27 04:59:37 +00:00
3c11e6c5a8
Introduce a separate dialog for all "copy grid data as .." actions, including the file export. Fixes issue #1499 .
2011-04-28 07:33:49 +00:00
6afafb137f
Enable visible application screen in Windows 7 Flip3D feature. Fixes issue #2351 .
2011-04-09 09:40:50 +00:00
49a97584e6
Code preparation for non-MySQL connections: Extract abstract stuff into a new TDBConnection class, and let TMySQLConnection derive from that. Same with TDBQuery / TMySQLQuery. See issue #1008 .
2011-03-17 23:03:54 +00:00
7225c031e4
Delete unsupported packages
2011-02-17 00:36:17 +00:00
b50659135c
Again, move code for loading libmysql.dll - the right place is now the connection object itself, which loads the library on demand, in SetActive(). This enables the application to start independently of an existent library, raising an error when pressing the connect button. Also, this is a first step towards multi-dbms.
2011-02-17 00:26:53 +00:00
de7ba86e23
Revert r3695 and raise a usable error message much earlier, short after mysql_api.pas has assigned procedures from libmysql.dll . Also, remove procedure names which are no longer present in the current lib.
2011-02-16 21:40:20 +00:00
cb9572d8d0
Adjust Delphi XE package files with automagic changes, failed to send these in previous commit.
2011-01-01 09:36:42 +00:00
69b8201273
Add Delphi XE packages.
2010-12-29 23:04:18 +00:00
f86a72dd36
Attempt to fix some weird effects on tree node selection and refreshing logic. Unhides "Data" tab after creating a new table. Fixes issue #2148 . Details:
...
* Do process OnFocusChanged also while tree db refreshes, just avoid calling actEditObjectExecute.
* Make SelectedTable a property, rename to SelectedDbObj
* Remove calls to debug(), prefer LogSQL with lcDebug parameter
2010-09-15 23:09:43 +00:00
360152740a
Use Cromis.DirectoryWatch class by Iztok Kacin (BSD licensed) to detect external changes on loaded sql files. Fixes issue #1981 .
2010-08-21 11:54:06 +00:00
8c34a9e15a
Session manager: Add checkbox option for users who want to be prompted for username + password rather than saving that to registry. Prompt window itself is called from within TMySQLConnection.SetActive.
2010-07-19 20:06:09 +00:00
0911126e05
Tweak MadExcept settings - fixes issue #2001 :
...
* Do not auto copy report to clipboard and overwrite user's own stuff
* Empty bugreport.txt before saving
* Auto show report, no need to click "Show bug report"
* Exclude threads and memory addresses of no interest
2010-06-09 20:32:23 +00:00
2220fb0a7b
Add missing unit search path to GraphicEx library
2010-06-03 23:22:56 +00:00
5f9129bef2
Implement event editor for MySQL 5.1+ servers. Also, simplify some code around database objects and their editors. Fixes issue #1527
2010-04-08 23:16:40 +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
e045cb3d76
Delphi 2010 has PNG + alpha channel support in TImageList, so we don't need PNGcomponents any longer.
2010-02-08 00:36:17 +00:00
02d29ea976
Implement a home brown find + replace dialog, supporting regular expressions, and using all stuff SynEdit gives us. Add main menu item "Search" next to "Edit". Fixes issue #1069 .
2010-02-01 23:55:44 +00:00
5d7b25d7e9
Add preference option to restrict number of application instances to 1. If the executable is open and called a second time, it's brought to foreground. Plus, if a filename was passed, a new tab is opened. Should fix a part of what is described in issue #1332 .
2010-01-24 00:14:23 +00:00
9f3ecbe47c
Fine tune main package file, so we don't accidentally set weird things like "Typed @ operator" and more.
2010-01-23 21:54:05 +00:00