Commit Graph

119 Commits

Author SHA1 Message Date
Ansgar Becker
7225c031e4 Delete unsupported packages 2011-02-17 00:36:17 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
cb9572d8d0 Adjust Delphi XE package files with automagic changes, failed to send these in previous commit. 2011-01-01 09:36:42 +00:00
Ansgar Becker
69b8201273 Add Delphi XE packages. 2010-12-29 23:04:18 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
2220fb0a7b Add missing unit search path to GraphicEx library 2010-06-03 23:22:56 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
85ca56299b Missing changed file for/from r2709 2009-11-16 01:05:45 +00:00
Ansgar Becker
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
Ansgar Becker
34f6b888ec Remove unwanted exception plugins like hardware, list of running processes and disassembly. 2009-11-03 20:05:25 +00:00
Ansgar Becker
20405e6ed1 Reintegrate madExcept units, obviously needed to build the exception dialog. 2009-11-03 19:57:03 +00:00
Ansgar Becker
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
Ansgar Becker
3f4e0d5ec6 Activate madshi exception handler in automatic builds. 2009-11-03 00:52:55 +00:00
Ansgar Becker
9aebe487dc Remove dead code 2009-10-30 18:51:45 +00:00
Ansgar Becker
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
Ansgar Becker
a6c58e58c6 Add missing inc files to project's file list 2009-10-28 00:41:27 +00:00
Ansgar Becker
e2674cadb8 Remove no longer used Zeos packages and related stuff 2009-10-28 00:34:52 +00:00
Ansgar Becker
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
Ansgar Becker
cf74617629 Move super package project file to related packages directory. 2009-10-19 22:34:11 +00:00
Ansgar Becker
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
Ansgar Becker
e0796b153f Refactor maintenance dialog:
* Replace checklist box by a virtual tree with checkboxes
* Make "Maintenance" a single tab on a TPageControl, so there may follow other tools (e.g. issue #529)
* Replace button layout by a combobox
* Add "CHECKSUM" operation and various options
2009-09-14 00:09:03 +00:00
Ansgar Becker
d8944ad3eb Add items "Check for updates" and "About" to window menu of session manager. Fixes issue #1296 2009-08-18 20:33:14 +00:00
Ansgar Becker
9f0c70a866 Don't try to, just do it. 2009-08-10 20:21:20 +00:00
Ansgar Becker
bc33729fdd Issue #436: Remove table tab from main tabs, and old field editor. Both were replaced by the new table editor. Doubleclicking a table opens the data tab now. 2009-05-17 16:02:28 +00:00
Ansgar Becker
7f32b33505 Issue #436: Implement a new table editor dialog. Nukes both create + alter table dialogs. 2009-05-12 22:24:09 +00:00
rosenfield.albert
1894ad8847 Format dproj XML for readability. 2009-04-29 15:29:10 +00:00
rosenfield.albert
a8692ac01d Remove code that will never run before the application quits? 2009-03-12 20:24:10 +00:00
rosenfield.albert
9a7a0b64a1 Revert r2316, and move code that's supposed to be run before the main form is visible from FormShow into a new procedure, Startup(). Fixes issue #1041. 2009-03-12 20:00:18 +00:00
Ansgar Becker
f20dad8adb Implement stored routine editor, see issue #420
Todo: make routines visible in the database tab so they can be edited.
2009-02-28 22:57:55 +00:00
Ansgar Becker
6d388db57b Move resource files where they belong 2009-01-13 18:12:08 +00:00
Ansgar Becker
73492eb54d Fix XP theming in auto build mode now the res file is removed ("runtime themes" option was stored in the res file) 2009-01-13 01:03:23 +00:00
Ansgar Becker
ef2610e600 Fix exe versioning in auto build mode. Replaces binary .res file by .rc files and compiles them at build time. 2009-01-13 00:38:52 +00:00