Commit Graph

174 Commits

Author SHA1 Message Date
Francisco Ernesto Teixeira
c0e34dc414 VirtualTrees: Fix "F2040 Seek error" for D2007 2007-08-17 15:49:53 +00:00
Ansgar Becker
8b454b9940 Add instructions for installing VirtualTreeView 2007-08-15 20:29:43 +00:00
Ansgar Becker
6f4df588ca Add projectgroups for VirtualTreeView / Delphi 10 + 11 for easier startup. 2007-08-15 20:09:48 +00:00
Ansgar Becker
84e72a5569 Add missing Delphi 10 packages for VirtualTreeView and add those to the superpackage. 2007-08-15 20:00:13 +00:00
Ansgar Becker
eb501459cb Revert renaming files from rev 805 to fix the D10 compiler message "F2040 seek error in virtualtrees.dcp". 2007-08-15 19:54:19 +00:00
Ansgar Becker
3692c53a16 Switch from TListView to TVirtualStringTree (VST) for ListVariables.
This is the first VST and therefore some base procedures are added which can be reused for most other coming VT's:
- vstGetNodeDataSize
- vstGetText
- vstGetImageIndex
- vstHeaderClick
- vstCompareNodes
All these procedures should normally get linked to other VST's. Only the OnInitNode procedure cannot be reused, as it contains references to the data of the VST's nodes.

I hope the billions of options in this VST object make sense.

Left for later:
printlist.pas cannot process this list without changes. I will rewrite that as soon as all 5 lists are switched to VST.
2007-08-14 22:33:17 +00:00
Francisco Ernesto Teixeira
6a68686dce Compiler Detection include file for D2007 2007-08-14 20:24:31 +00:00
Ansgar Becker
0be3dff4cc Adjust filenames for Delphi 10 package of VirtualTreeView.
Left for later:
- Creating .bdsproj files for both packages VirtualTrees.dpk and VirtualTreesD.dpk .
- Adding these bdsproj files to the D10 superpackage
2007-08-13 23:32:56 +00:00
Ansgar Becker
b015b87fcb Fix confusion with TYPE/ENGINE in CREATE TABLE statements. On target versions below 4.1.2 we now use "TYPE", "ENGINE" on all other versions.
Was discussed here:
http://www.heidisql.com/forum/viewtopic.php?p=1226#1226
2007-08-13 23:25:20 +00:00
Ansgar Becker
c98802dc37 * Add search path to source-directory so the compiler finds the compilers.inc
* Redo the workaround for the mentioned Delphi issue for a DCP file...
2007-08-13 23:13:30 +00:00
Ansgar Becker
82c4e74418 Add VirtualTreeview's D11 project to D11 superpackage 2007-08-13 23:04:48 +00:00
Ansgar Becker
dc9727d973 Add Delphi 11 package for VirtualTrees. Includes only as much as needed: dproj- and dpk files. Popups about creating *.res files at first time build can be safely ignored. 2007-08-13 22:53:26 +00:00
Ansgar Becker
1298c798fc Followup to workaround from previous commit 2007-08-13 22:46:27 +00:00
Ansgar Becker
cff1ec37fc Rename VirtualTrees.dcr as a workaround for Delphi 2007 compiler error: "Remove VirtualTrees. Unit(s) VirtualTrees were found in required package VirtualTrees"
http://qc.codegear.com/wc/qcmain.aspx?d=44404
2007-08-13 22:36:59 +00:00
Ansgar Becker
d51c366c77 Adjust paths from previous commit. 2007-08-13 21:32:11 +00:00
Ansgar Becker
855cdc0600 Move D10 package to subdirectory as in all other components. 2007-08-13 21:26:25 +00:00
Ansgar Becker
307b54999c Rename package directory to match the existing directory structure of all other components. 2007-08-13 21:24:45 +00:00
Ansgar Becker
c6630434fa Strip C Builder and packages for Delphi versions we don't use or support. 2007-08-13 21:15:18 +00:00
Ansgar Becker
9c897a5881 Add component: VirtualTreeView 4.5.2
License: GNU Lesser Public License.

This version is checked in as downloaded from http://www.soft-gems.net/supplement/download.php?ID=35. No adjustments / fixes on the packages yet.

Instead of adding the files I could have just added an external SVN link to svn://www.soft-gems.net/library/VirtualTreeview . But the files in that repository have some unsolved issues which would lead to compiler errors if we use them without changes. Especially the D2007 package does not compile without changes. We would not be able to commit those changes unless we have write access to their repo. I contacted the author Mike Lischke and we agreed that we always will take care of using the latest sources. Later updates should not cause big problems if we don't make big changes to the original files.

TVirtualStringTree shall be a perfect replacement for our standard TListView and its descendent TSortListView.
2007-08-13 19:18:28 +00:00
Francisco Ernesto Teixeira
b7cdd2b4cd Foreign Key support on ExportSQL: fixSQL for ANSI SQL compatibility 2007-08-09 17:44:23 +00:00
Francisco Ernesto Teixeira
5d62871cb4 Foreign Key support on ExportSQL, prevents errors on dump import. 2007-08-08 16:31:25 +00:00
Ansgar Becker
edb7fb0da8 Turn the query progress window not to be "always on top". It is already modal as set by the callers so that ensures no internal windows can cover this window.
I see no obvious reason why this status window should cover windows of other applications. And it can be annoying if you have a slow query running and want to work with other applications in the meantime. I asked the original developer for the initial reason for that change, but got no reply yet. Likely I won't get an answer ever.
2007-08-06 20:18:46 +00:00
destbr
d7058a76f0 Notes about HeidiSQL Portable Launcher. 2007-08-06 02:05:49 +00:00
destbr
cca6beb92b Added a file remotely 2007-08-05 16:53:22 +00:00
destbr
36238359a1 Added a file remotely 2007-08-05 16:53:01 +00:00
destbr
6ca0ba4f12 Added a file remotely 2007-08-05 16:51:49 +00:00
Ansgar Becker
79c7234f67 Make code for setting icon indexes at key-columns more compact and stable: Do the loop over the ListItems *outside* the IFs, not the IFs first and for each IF a redundant loop.
Fixes a bug in applying the iconindex for a column which is part of a fulltext key (was always shown as normal index).
2007-08-03 18:42:11 +00:00
Ansgar Becker
de5d74f295 Use new image index constants in all relevant places. 2007-08-03 17:44:57 +00:00
Ansgar Becker
618d34ec3d Convert ComboboxKeys on the index-editor from a standard TCombobox to a TComboboxEx. Avoids/removes hackish code for drawing icons on items.
Also create some imageindexes constants to const.inc where they will be useful for other units.
2007-08-02 22:26:02 +00:00
Ansgar Becker
d96cf89849 Remove unused form-variable. 2007-08-02 21:29:14 +00:00
Ansgar Becker
74f056b708 Optimize updating indexes: Do the ALTER TABLE query in one go, not in one per changed or new index. So the server only has to rebuild the index file once. Especially changes on big tables with big fulltext indexes benefit from this optimization.
Also ensure the window stays open if any SQL error occurs on applying changes to the indexes, so the user doesn't has to check all changes again in that case, just fix the incorrect option and click OK again.
2007-08-02 21:22:45 +00:00
Ansgar Becker
e12f65b55b Followup / fix for rev 768: Ensure snippet menu doesn't contain a deleted file any longer. 2007-08-01 21:27:39 +00:00
Ansgar Becker
732114b675 Optimize code for enabling/disabling menuitems in Table tab 2007-08-01 21:21:21 +00:00
Ansgar Becker
b7e16074ab Followup / fix for rev 749: Disable menuitem "Rename column" if no item is selected. 2007-08-01 21:16:35 +00:00
Ansgar Becker
fa11cf2fb6 New feature: Allow the user to select and delete multiple fields in listColumns. Just like in listTables where we allow to drop multiple tables. 2007-08-01 20:43:48 +00:00
Ansgar Becker
a03d3cd2a7 GUI optimization: Avoid call to ShowTableProperties after dropping a field by using an "on exception skip code" logic. The exception ensures that the listItem of the dropped field is not deleted if any error occurs. Also makes sure the next available field is focused after successful dropping. 2007-08-01 18:52:43 +00:00
Ansgar Becker
2c726b4a5b Fix bug #1536481 "SHOW FULL PROCESSLIST on mysql v4 server messes Zeos up".
See discussion: https://sourceforge.net/tracker/?func=detail&atid=832347&aid=1536481&group_id=164593
2007-08-01 18:11:13 +00:00
Ansgar Becker
d64cc11e37 Automatic changes by Delphi 11:
* Fix paths to rtl.dcp and vcl.dcp
* Adds missing references to packages in HeidiComponents.dproj (followup to rev 751)
* Drop paths to DCP files which are already specified in search paths
2007-07-29 08:56:34 +00:00
Ansgar Becker
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
Ansgar Becker
cd8e361c7c Sanitize USE clauses from unused units 2007-07-28 12:05:35 +00:00
Ansgar Becker
6a4a5cc1ad Followup to rev 770: Fix declaration of TButton and TabOrder property automatically added by IDE. 2007-07-28 06:50:48 +00:00
Ansgar Becker
1f33030188 Replace ugly bitmap button by a TButton 2007-07-28 06:36:12 +00:00
Ansgar Becker
fd9952a571 Update Delphi 11 compiler file:
* add missing unit datasorting
* nuke dropped unit selectsomedatabases
2007-07-27 22:50:23 +00:00
Ansgar Becker
c94cde0682 Add a popupmenu to queryhelpers which contains 2 items with shortcuts:
+ Delete [Del] (Deletes a snippetfile)
  + Help [F1] (Calls SQL help for selected keyword or function)
2007-07-27 22:36:19 +00:00
rosenfield
cc3fe79ecb Bugfix: GetCatalogAndNamePattern() is called to ensure that the schema name is carried to the LCatalog variable in case the database name is stored in the schema variable, but later the Catalog (no L) variable is used instead.
Fixes issue #1732734.
2007-07-27 15:09:18 +00:00
rosenfield
2866e00f59 Change defaults for HandleErrors and DisplayErrors to FALSE. The other way around causes way too many bugs. 2007-07-27 14:46:38 +00:00
rosenfield
f18cf13097 Bugfix: EnsureActiveDatabase() is a helper function, it shouldn't gobble up exceptions.
(There we go with that default "HandleErrors = true" thing again...)
2007-07-27 14:36:16 +00:00
rosenfield
17fc590309 Bugfix: If snippets list is active and a new snippet is saved, refresh the list. 2007-07-27 11:47:07 +00:00
rosenfield
5ae56fe00c Code cleanup; use hideExt instead of extra Copy(). 2007-07-27 11:23:24 +00:00
rosenfield
37a5951835 * Add version of GetFilesFromDir() that hides file extensions.
* Change SQL snippet menus and lists to hide the .sql extension.
2007-07-27 11:10:20 +00:00