27 Commits

Author SHA1 Message Date
073716aaf1 Add VirtualTreeView source code path to debug source directories. 2007-09-11 18:20:40 +00:00
38b3c93209 Enable checks. See r904. 2007-09-11 17:18:46 +00:00
c2f5e22a3f Enable safe compiler optimizations. 2007-09-11 17:10:07 +00:00
66bddc4db7 When viewing changes from this revision, be sure to set "ignore whitespace", since Delphi has converted a number of spaces into tabs in project files.
* Move binary resource files into "resources" subfolder.
* Get rid of recently introduced source folders in project search paths.
* Get rid of yet another compilers.inc.
* Get rid of a couple of empty (aside from application main icon and a version=1.0.0.0 string) .res files, and instruct svn to ignore these.
* Build projects as 'debug' per default. (todo: add source folder to 'debug search path' for various projects.)
2007-08-21 17:30:23 +00:00
53417c3336 Fix Delphi 10 packages:
- "VirtualTrees.dcu not found"
- "VirtualTrees.res not found"
- Set output dir for DCU's to ../../build like in D11 package
2007-08-20 20:49:38 +00:00
e1101b1c2f Fix compiler error "VirtualTrees.res not found" in Delphi 11 package. 2007-08-17 19:43:57 +00:00
4d78f06023 D2007: Fix "VirtualTrees.dcu" not found on compile. 2007-08-17 16:58:45 +00:00
f297580849 Disable redundant "Runtime themes" option in Delphi 11 project file as we already have a heidisql.exe.manifest which does the same job, regardless of the used BDS version. 2007-07-29 08:38:06 +00:00
fd9952a571 Update Delphi 11 compiler file:
* add missing unit datasorting
* nuke dropped unit selectsomedatabases
2007-07-27 22:50:23 +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
6258dc8ddb Enabled runtime themes on application project options for D2007. 2007-07-03 18:04:49 +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
0e4b45784d Implement a button/dialog for selecting which columns shall be loaded into the datagrid. 2007-06-26 19:12:17 +00:00
66dc24bd2f Move the HeidiSQL .bdsgroup and .groupproj files into a different folder, since they're conceptually different from all the other .bdsgroup and .groupproj containers. 2007-06-26 12:04:50 +00:00
bffc0206f2 Organize repository into standard trunk/branches/tags structure. 2007-06-26 11:26:18 +00:00