131 Commits

Author SHA1 Message Date
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
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
882a2b9995 Old unicode unit no longer compiles here. Anyway, the new Utf8ToWideString() seems to solve what issue #1328 says in the same way. 2010-01-06 00:24:09 +00:00
7d401ffde8 Upgrade to Delphi 2010:
* Removes TNT Unicode controls, which are no longer required. All VCL controls now have native Unicode support.
* Remove Delphi 11 packages, otherwise we would either need to keep TNT or break Unicode
* PngComponents update from Uwe Raabe on http://cc.embarcadero.com/Item/26127
* Adjust auto build process
* Since Delphi 2009, Strings are now UnicodeStrings, not AnsiStrings any longer. Fix a bunch of compiler errors which came along with this change.
TODO: Project should compile but give tons of compiler warnings.
2010-01-05 23:14:33 +00:00
684983b57b Remove "perspectives" feature, to make data browsing less annoying. Restore old behavior where just the last set filter/columns/sorting was remembered. Fixes issue #822. 2009-12-24 11:39:20 +00:00
b4cca2ea1f Implement handling of triggers as separate database objects, on the same level as tables, routines and views. Means we have a trigger editor frame, a new icon and various code extensions. Fixes issue #806. 2009-12-11 16:07:59 +00:00
712dd7ef5c Reactivate real exception box in MadExcept. Should only appear now in unpredictable errors, not in SQL privilege errors. Related to issue #1443. 2009-11-22 18:20:12 +00:00
6491160c99 Remove progress form for "Insert files" dialog. Instead, use the universal progress bar on main form's status bar and integrate existing code into the dialog's unit. 2009-11-21 17:22:40 +00:00
83a8df4f64 Keep release version number also in builds, instead of x.y. Can help to identify the right version one is using and looks less ugly in all places. Fixes issue #1372. 2009-11-17 00:30:00 +00:00
ef5fbe225a Rewrite export to SQL dialog and code. Integrate that into the table tools dialog, let it use the nice checkbox tree and make exporting lighting fast.
* Fixes issue #886 (broken CREATE TABLE)
* Fixes issue #608 (full backup)
* Fixes issue #281 (export views)
* Fixes issue #307 (header in directory mode)
2009-11-16 01:24:49 +00:00
85ca56299b Missing changed file for/from r2709 2009-11-16 01:05:45 +00:00
72e1cd6fea Adjust exception handler box:
* Remove mail button, bug reports should be posted to the tracker
* Don't display the big dialog with collapsed bug report, but a normal message box with a "details" button for creating the bug report
Fixes issue #1443
2009-11-05 20:56:13 +00:00
34f6b888ec Remove unwanted exception plugins like hardware, list of running processes and disassembly. 2009-11-03 20:05:25 +00:00
20405e6ed1 Reintegrate madExcept units, obviously needed to build the exception dialog. 2009-11-03 19:57:03 +00:00
0391dac97b Revert parts of r2704 - no need to include madExcept units in compile process, everything's done by the patcher (hope so). 2009-11-03 19:49:15 +00:00
3f4e0d5ec6 Activate madshi exception handler in automatic builds. 2009-11-03 00:52:55 +00:00
9aebe487dc Remove dead code 2009-10-30 18:51:45 +00:00
8354c106ca Try to fix broken characters in SHOW CREATE TABLE result by using UTF8StringToWideString(). Fixes issue #1328. 2009-10-28 01:16:29 +00:00
a6c58e58c6 Add missing inc files to project's file list 2009-10-28 00:41:27 +00:00
e2674cadb8 Remove no longer used Zeos packages and related stuff 2009-10-28 00:34:52 +00:00
12a8e2ebc5 Implement a more lightweight connection layer, consisting of 2 units in source directory. Breaks threading and window to window communication, which should be reimplemented later. 2009-10-28 00:08:49 +00:00
cf74617629 Move super package project file to related packages directory. 2009-10-19 22:34:11 +00:00
aaa02877a2 Cosmetic in project files:
* Move const.inc and compilers.inc back to main source directory
* Move remaining few lines of code from heidicomp.pas to helpers.pas
* Remove components/compilerdetection and components/heidisql
* Remove remainders of EDBImage component, unused since Aug 08.
2009-10-19 22:13:04 +00:00