53 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
9f0c70a866 Don't try to, just do it. 2009-08-10 20:21:20 +00:00
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
7f32b33505 Issue #436: Implement a new table editor dialog. Nukes both create + alter table dialogs. 2009-05-12 22:24:09 +00:00
a8692ac01d Remove code that will never run before the application quits? 2009-03-12 20:24:10 +00:00
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
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
6d388db57b Move resource files where they belong 2009-01-13 18:12:08 +00:00
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
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
f1b3f5501f Remove last traces of MDI (issue #513). Merges code, controls and events from childwin into main. 2009-01-01 23:24:36 +00:00
a591edebac Fix bug #714: Impossible to change limit^H^H^H^H^H^H sort order by implementing a fourth button with dropdown menu, enabling the user to save all query elements in one settings. 2008-10-16 23:49:17 +00:00
cc2f93b24e * Add a binary editor to allow editing (var)binary and (tiny|medium|long)blob fields without messing up NULs etc.
* Add a few notes about where AVs seem to randomly occur when GridPost{Insert,Update,Delete} and EnsureDataLoaded invokes the query logic from outside the main thread.

Fixes issue #659 as far as the grids go,  but not for export functions.
2008-09-01 21:46:28 +00:00
d60b1b6f93 Rename 'memoeditor' to 'texteditor', in preparation for inclusion of a binary editor. 2008-09-01 19:47:05 +00:00
e5c43fe823 Add helper library for Vista related GUI fixes. With permission of the author Nathanial Woolls via pm.
See http://www.installationexcellence.com/articles/VistaWithDelphi/ for technical details. No license details out there unfortunately.
2008-08-28 21:46:03 +00:00
8c83507561 Code structure: Seperate editor link from memo editor form, into own unit grideditlinks.pas . All edit links can live here while the used forms will need their own unit + dfm. 2008-08-09 17:52:01 +00:00
6b17b239ba Give the memo editor its own unit + dfm file. Enables us to use the IDE for designing it. 2008-08-07 20:32:01 +00:00
a2f3c7fcbf Try to fix bug #317 "Interface won't restore" by calling ActivateMainform() at startup 2008-06-14 10:24:05 +00:00
d4c32d56d7 Implement a completely new user manager (look + feel + logic):
- Accounts and existing privileges are presented in a pulldown which makes it as easy to use as a toy
- Adding privileges calls the new SelectDBO dialog which is basically a tree like childwins dbtree
- Updating accounts canonicalizes various odd/legacy mechanisms in the MySQL user system
- Fullfills feature request #1547437 (btw)
- Wants to be tested heavily on different servers

A result of a team work. 1000 thanks to rosenfield for the admin friendly logic implementation, tons of fixes and usability ideas.
2008-05-08 20:45:51 +00:00
f64daf6917 New feature: VIEW editor, can create and edit views. Rather a simple dialog with only the most important options on it. The toolbuttons on mainform are partly moved around, that's the reason for the myriad of changes there. 2008-03-19 21:20:28 +00:00
8679b371e3 New feature: Introduce a dialog for editing a server variable which is called on ListVariables (DblClick or Enter). 2008-02-29 22:32:53 +00:00
2f30ee2e68 Simplify updatecheck: Make unit updatedownload superflous by moving relevant code to updatecheck.pas. Resign from displaying a progressbar for the mostly short download time, instead use the existing status label for a textual progress information. 2008-02-27 19:31:58 +00:00
9f23a9b313 Updatecheck: Find a batchfile-solution to replace the running exe with a downloaded build.
TODO: find some sleep command for the batch file, as we sometimes get "access denied" while trying to overwrite the just terminated exe. Seems like taskkill doesn't close all handles itself.
2008-02-23 00:54: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
f085be1ca8 Rename mysql.pas and it's helper file installer_function_list_generator.php so their purpose is more clearer to newbies. 2007-10-23 18:49:14 +00:00
45617ae141 Oops, "accidentally" nuked the application resource file containing the icon, windows file version etc. 2007-10-10 13:03:52 +00:00
0cff1d1dfb * A few more resources files in package dirs.
* Copy delphi11 version of .dpr on top of delphi10 version.
2007-10-10 12:25:01 +00:00
adfac67b1a Nuke now superflous, redundant table features since we have them all gathered in "Advanced properties" dialog:
- Change table engine via popupmenu in ListTables
- Edit comment via same popupmenu + an own dialog

Not keeping the same feature in different corners of the application looks more straight forward. Users will have exactly one point where they can modify all table related properties. Should simplify it in the end, although some users will have to get used to it.
2007-09-24 22:00:43 +00:00
1e08e582e8 Partly fullfill feature wish #1693393 "Selection of charset and engine at creation"
By turning the CREATE DATABASE dialog from an InputQuery into a real form with 2 additional pulldowns:
- character set
- collation

See also: http://www.heidisql.com/forum/viewtopic.php?p=1322#1322
2007-09-17 23:11:39 +00:00
6d8f8e1299 Implement a dialog/mechanism to run a SQL file directly without loading it into the query editor (= memory):
1. When user opens a file which is bigger than LOAD_SIZE (currently 5M), ask what to do
2. User can normally open the file, cancel, or use the new mechanism:
3. Load a chunk of LOAD_SIZE of SQL into memory
4. Split chunk with parseSQL into single queries
5. Run queries and go on with 3.

parseSQL is the bottleneck here, very CPU consuming, as it has to take care of different comment-styles and delimiters. So, the above strategy effected a good compromise regarding overall performance on different tests with worst case SQL files:
- "Wide" table exports with many big sized fields => long lines
- "Narrow" table exports with only one mini-sized field, extended INSERTs => short lines
Especially in the latter case it avoids to cause a hellfire of parseSQL-calls

Still seems to have some memory leaks somewhere.
2007-07-23 20:25:29 +00:00
e1b1f80fa3 Include unit data_sorting in project files. Fixes compiler error about missing "data_sorting.dcu". 2007-07-13 15:13:37 +00:00
79c95bd9fd Move creation of SQLhelp from application startup to a place where it's done on demand.
Move public property keyword to the private context as it is no longer accessed from outside.
2007-07-03 20:22:49 +00:00
c02ae7a711 Move creation of EditUserForm from application startup to a place where it's done on demand. 2007-07-03 19:41:15 +00:00
6de920d8ec Move creation of CopyTableForm from application startup to a place where it's done on demand. 2007-07-03 19:35:09 +00:00
bf73dadbd3 Move creation of printlistForm from application startup to a place where it's done on demand. 2007-07-03 19:31:06 +00:00
fe6d534120 Move creation of loaddataform from application startup to a place where it's done on demand. 2007-07-03 19:26:17 +00:00
3e2517ee6f Move creation of tablecomment from application startup to a place where it's done on demand. 2007-07-03 19:17:54 +00:00
45d617c776 Move creation of tbl_properties_form from application startup to a place where it's done on demand.
Also removes a legacy procedure where that form was called, which is not linked to any control event.
2007-07-03 19:10:45 +00:00
7a80a82f11 Move creation of CreateTableForm from application startup to a place where it's done on demand. 2007-07-03 18:25:25 +00:00
952c2079f5 Don't create form "column_selection" at startup, as it's created on demand. Form creation at demand-time (or JIT) is one way to increase performance. Please change DPR files with caution. 2007-07-03 18:09:18 +00:00
f02cfacf4d Added the file column_selection.pas on D2007 project source. 2007-07-03 17:40:26 +00:00