19 Commits

Author SHA1 Message Date
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
ce0956bf8f Drop dialog for selecting databases to display. As discussed it has no performance problem any longer to handle more than 50 dbs. 2007-07-03 05:53:29 +00:00
3c8f123a81 Move *.pas, *.dfm and *.inc files from root directory to a new "source" subdirectory. Leaving just the readme in the root to give all newbies a very clear and unique starting point. 2007-06-28 20:00:04 +00:00
bffc0206f2 Organize repository into standard trunk/branches/tags structure. 2007-06-26 11:26:18 +00:00