Commit Graph

65 Commits

Author SHA1 Message Date
rosenfield
3a643d03f3 Synchronize build script and package output directories. 2007-10-22 11:14:17 +00:00
Ansgar Becker
bd53f04693 Delete packages from components and heidisql we don't support. 2007-10-10 22:21:41 +00:00
Francisco Ernesto Teixeira
b3a9fc8c03 Update the include files reference for Delphi 2007 components. 2007-10-10 12:33:04 +00:00
rosenfield
b4f269ee57 Remove more empty resource files, not sure why the build process suddenly complain about these.. 2007-10-10 12:20:23 +00:00
rosenfield
e31bbf685d Remove resource files from package directories. 2007-10-10 12:08:58 +00:00
rosenfield
22daed7044 Move include files to include directory. 2007-10-10 11:46:27 +00:00
rosenfield
ea32099c2b * Make the build script work on Delphi 10.
* Make the developer readme easier to update.
* Do the weird LIBSUFFIX thing on Delphi 10 too (?).

Untested.
2007-10-09 17:26:21 +00:00
rosenfield
1581c55cea Pipe calls to InternalRefresh through the query thread. 2007-10-08 17:16:38 +00:00
rosenfield
35c422ce1b Follow-up to r992: One last place where MaxRows is set to 0. 2007-10-08 16:42:32 +00:00
rosenfield
0f7015bf61 * Allow calls to TZMySQLResultSet.Next() to succeed in the case of queries without result data. The FQueryHandle retrieved from libmysql is null in these cases, so it seemed appropriate that the driver also returned null for FetchRow() when given such a handle. That seems to be what TZMySQLResultSet.Next() checks for, too.
* Allow TZMySQLResultSet.Open() to succeed in the event of a query which yields no results.

With these last fixes in place, you can experiment with removing the two exceptions that the zeos mysql driver itself throws when asked to run eg Open() but no results are returned.
2007-10-05 18:36:05 +00:00
rosenfield
ea89447fa6 Avoid an access violation within a for loop which got run once even when there were 0 columns in a result. 2007-10-05 18:03:11 +00:00
rosenfield
ee353d15cc * Checking for MaxRows (guess: max rows to load) != 0 before checking whether the requested row is out of range seems unreasonable, since asking for a maximum of 0 rows is not uncommon. Change the default value to -1, and change the checks to look for -1, allowing for MaxRows := 0.
* There seems to be disagreement between drivers on whether to check for Row > MaxRows or Row >= MaxRows.  Guessing that it's a typo, change to the most common variant (Row >= MaxRows, meaning that the row numbers given to MoveAbsolute, MoveRelative, Next, Fetch etc are 0-based).
2007-10-05 17:59:32 +00:00
rosenfield
134c70fc8d Part of r985 which I forgot to commit. See log message for that revision. 2007-10-04 17:30:06 +00:00
Francisco Ernesto Teixeira
a8809f4975 SQL Process: handling of DELIMITER to mimic mysql CLI 2007-09-25 02:05:38 +00:00
rosenfield
c2f5e22a3f Enable safe compiler optimizations. 2007-09-11 17:10:07 +00:00
rosenfield
2e1ff085f1 Disable usage of Delphi debug DCUs. 2007-09-11 16:57:52 +00:00
rosenfield
d1f1d0fb5c Enable checks and debug information.
Range and overflow checking can be turned off when building a release exe to improve performance slightly.

Debugging options can be turned off when building a release exe to reduce the executable file size.
2007-09-11 16:49:44 +00:00
rosenfield
44198bcfa1 Re-implement r775 in a way which does not break Zeos' row buffer mechanism. Fixes issue #1789215. 2007-09-10 17:25:23 +00:00
Ansgar Becker
2d20176554 Convert last TSortListView to standard TListView, so we can nuke TSortListView completely from our components list.
The ListView in tbl_properties won't support sorting by columnclicking any longer, but that was useless with such a small amount of items anyway.

Further finetuning of list:
- Disable column-click
- Avoid animation on columns + items creation
- Autosize columns correctly
- Refactor WITH .. DO statements
2007-09-05 09:03:08 +00:00
Ansgar Becker
87352ed697 Follow up to rev 888: Get D10 package running again. 2007-09-04 15:32:19 +00:00
Ansgar Becker
1c6dc32f53 Add build command script. Will be helpful for creating nightly builds. Adjustments of the project files included to get the build script running without errors with D10 + D11 packages. 2007-09-04 15:24:03 +00:00
Ansgar Becker
3ad1b57608 Followup to rev 827, Delphi 2007:
- add search paths to "resources" and "compilerdetection"
- "debug"-defines
- adjust path to VirtualTreesD.dcr
2007-08-21 22:03:23 +00:00
rosenfield
1590078e75 Bugfix: Add unknown data types from mysql-5.0.48.tar.gz/include/mysql_com.h. Fixes issue #1755422. 2007-08-21 20:23:33 +00:00
rosenfield
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
Ansgar Becker
b54a122fe6 Fix bug #1757524 "Exporting rather slow when processing large BLOBs" by making use of mysql_real_escape_string() . 2007-08-21 16:47:28 +00:00
Ansgar Becker
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
Francisco Ernesto Teixeira
c0e34dc414 VirtualTrees: Fix "F2040 Seek error" for D2007 2007-08-17 15:49:53 +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
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
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
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
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
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
Ansgar Becker
9e26d96887 Add dependent project references to D11 package of HeidiComponents. Avoids warning about automatic addition at first time building. 2007-07-18 19:06:04 +00:00
Francisco Ernesto Teixeira
ba0aa73e1b Changes on HeidiComponents package for D2007:
- Add dbrtl;
- Project Options, Directories/Conditionals:
  Build Configuration: Release
  Search path: ..\..\..\zeosdbo\build
  Build Configuration: Debug
  Search path: ..\..\..\zeosdbo\build
2007-07-03 17:51:15 +00:00
rosenfield
c79febe7b4 Defer execution of TDataSet Post() and ExecSQL() to background thread. 2007-06-30 00:25:11 +00:00
Ansgar Becker
d6eacddc40 Followup to recent file movements to /source 2007-06-28 22:44:00 +00:00
rosenfield
4183af3ec7 * Bugfix: Zeos croaked on 32-bit integer values.
* Bugfix: Don't special case based on length of integer fields, the server doesn't care anyway.
* Make ConvertMySQLHandleToSQLType() more readable.
2007-06-28 12:19:38 +00:00
rosenfield
a4889d64d4 Fix the same IProviderSupport / deprecated problem that r647 fixed, but in a prettier way. 2007-06-27 21:31:52 +00:00