Commit Graph

57 Commits

Author SHA1 Message Date
Ansgar Becker
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
rosenfield
1bea12d4bf Cosmetic: silence standard output from copy command - errors should still slip through. 2007-10-23 12:58:23 +00:00
rosenfield
2285a32114 Add --clean option to build script, which skips the final build step. 2007-10-22 18:24:19 +00:00
rosenfield
df1efb7ef5 Workaround a Delphi bug: BDS 2006 does not load dependencies for a package anymore. Regression introduced at the same time as "demand loading" feature was added. Dependencies will now only be loaded if LoadLibrary happens to be able to find needed BPLs in system path.
(If the My Documents folder starts breaking or disappearing from system path, we'll have to dump the files in system32 instead.)
2007-10-22 18:00:11 +00:00
rosenfield
4f5108ff1c * Add IdeBplInstall executable to be used from a batch file.
* Add a batch file which installs design-time components.
* Bugfix build_super; going to the end of a batch file to exit it when inside a batch procedure does not work.
* Rename batch scripts so they appear in the directory in the order they are to be used in (1. compile, 2. install ide components, 3. generate installer relevant stuff).
2007-10-22 15:34:17 +00:00
rosenfield
058cd04d97 Add tool to install design-time packages into the Delphi or BDS IDE.
This tool only modifies 'Known Packages', 'Package Cache' and 'ToolForm/Mapping' are left untouched (since it would be a bitch to muck with those).
Seems to work fine in BDS 2006, everything is listed correctly in the tool palette etc.
2007-10-22 15:32:08 +00:00
rosenfield
3a643d03f3 Synchronize build script and package output directories. 2007-10-22 11:14:17 +00:00
rosenfield
07564f217e cosmetic (friendly message for clean phase). 2007-10-10 15:16:08 +00:00
rosenfield
77be08d953 Cosmetic (whitespace). 2007-10-10 15:13:37 +00:00
rosenfield
df7d400648 Follow-up to r1048: also silence delayed expansion enable error(s). 2007-10-10 15:10:34 +00:00
rosenfield
0e889ce90d Remove page feed character from build log output and print a friendly error message when setlocal fails. 2007-10-10 15:01:20 +00:00
rosenfield
5dc8343fde Print version to screen. 2007-10-10 12:50:14 +00:00
rosenfield
af48bf691e * Include some more of the design-time packages.
* Minor cleanup.
2007-10-10 12:39:52 +00:00
rosenfield
c10bbb0c71 The compiler will still bark out warnings and errors in quiet mode, so it is reasonable to set it generally. 2007-10-10 12:33:37 +00:00
rosenfield
0e5876a5b7 Move -N0 into %params%, it is shared anyway. 2007-10-10 12:03:20 +00:00
rosenfield
22daed7044 Move include files to include directory. 2007-10-10 11:46:27 +00:00
rosenfield
50f566cdd1 Automate build, allowing it to find the relevant compiler et cetera by itself. 2007-10-10 11:04:21 +00:00
rosenfield
9e160faa5a * Make sure that command processor extensions are enabled.
* Make sure that delayed environment variable expansion is enabled.
* Make %svndir% more suitable for cleaning via %CD%.
* Use CHDIR a\b\c before svnversion since it's a Unix tool.
* Use FOR instead of EnvPipe (delete EnvPipe executable too).
* Support keyboard input of both quoted and unquoted Delphi bin dir.
2007-10-10 08:18:33 +00:00
rosenfield
b55ff34f10 Recompile. 2007-10-10 06:46:01 +00:00
rosenfield
c783b2e6c2 Print readable error messages when something goes wrong. 2007-10-10 06:45:36 +00:00
Ansgar Becker
98dfb68ce8 Check both %ProgramFiles% and %ProgramFiles(x86)% for existance of Subversion dir to be sure to get the correct directory also in win64. 2007-10-09 18:51:41 +00:00
rosenfield
38dc35a19c Add start and finish time to build log. 2007-10-09 17:51:51 +00:00
rosenfield
faef258246 Add helpful hints. 2007-10-09 17:47:42 +00:00
rosenfield
7cf008540d Clean all binaries. 2007-10-09 17:40:55 +00:00
rosenfield
0ac46f7653 Fix some more path issues, now that it works enough to be testable! 2007-10-09 17:38:30 +00:00
rosenfield
43ee31b563 Ask for appropriate paths if they have not been given nor set. 2007-10-09 17:34:34 +00:00
rosenfield
594e763baf WC versioning info is not critical, so just let the build script continue if something fails. Except for sed. 2007-10-09 17:17:49 +00:00
rosenfield
6da50e020e Stop on failure. 2007-10-09 16:59:38 +00:00
rosenfield
22bb85fc11 Fix broken path handling. 2007-10-09 16:58:13 +00:00
rosenfield
29b951b843 * Add svnversion + envpipe + sed as part of build process, as a quick fix to get WC revision numbers into main.pas. 2007-10-09 16:39:57 +00:00
rosenfield
80c3e4e3fa * Remove ToolTip32 stuff, ntdll can do the same in less lines of code.
* Add feature: cleanse the existing environment variable before applying the new one.
* Flatten the code a bit.
2007-10-09 16:37:51 +00:00
rosenfield
d7060e2da4 Add a copy of GNU sed to the repository. 2007-10-09 13:25:11 +00:00
rosenfield
b03d562796 Another minor fix for the search algo, avoiding adding an extra byte after finding the correct value.. 2007-10-09 10:41:35 +00:00
rosenfield
14729aa3d7 Bugfix the binary search algo. 2007-10-09 10:33:07 +00:00
rosenfield
63a59ff170 If you've been wondering about the most wrong way to set an environment variable (ever), here's a definite candidate ;-). 2007-10-09 04:26:40 +00:00
Ansgar Becker
e5410f177f - Add reasonable opCompress to default client-options
- TMySQLConnection.Query now returns the result if any. Fill RowsAffected and RowsFound at the same time.
- TMySQLConnection.GetRow / GetVar implemented for simple query-logic with minimal overhead.
- Give SetDatabase the chance to reset FDatabase to the prior value by catching a potential exception.
2007-09-20 21:54:51 +00:00
Ansgar Becker
febc6ac04e - Resolve hex and shifted numbers to readable integers
- Switch cardinal parameter to integer to avoid typecasting in callers. Safe, because mysql_num_fields will never return more than 2^31 columns - maximum columncount in MySQL is ~3000.
2007-09-20 21:38:50 +00:00
Ansgar Becker
b1d8ac345f Cleanly name TMySQLServerCapabilities and TMySQLClientOptions, so they tell what they're for. 2007-09-19 21:07:30 +00:00
Ansgar Becker
9b5c32ead1 - Extend TMySQLCapability record
- Implement TMySQLConnectionOptions, replace property "Compressed" by single option.
- Introduce published events for DB aware components
- Add register procedure to enable installation into IDE
- Correctly set Active := False before raising an exeption
- Reset Database property to old value if USE command was not successful
- Introduce QuoteIdent function
- Various half-ready code blocks in TDataset procedures
2007-09-19 21:03:10 +00:00
Ansgar Becker
9481386bdc - Sanitize API from Zeos specifics and unused types
- Clean indentation
2007-09-19 20:53:35 +00:00
Ansgar Becker
0d31432aa9 Various updates for mysqldataset:
- Add property Capabilities to TMySQLConnection which is automatically filled after connect. Can be easily used by client-applications to decide if a feature can be used or not. The client will not need to know the relevant version numbers.
- documentation
- Consistently rename TSQL* types to TMySQL*
- Read ServerVersionStr always "live" by calling GetServerVersionStr as the reader. The version string *can* change after a reconnect.
2007-09-13 23:10:36 +00:00
Ansgar Becker
cf770d4862 First try of creating a lightweight and flexible replacement of ZQuery + ZConnection. Only half implemented yet and far from being production-ready. Mainly the interface to TDataSource and DB aware components are missing. Will need to add some icky pointer stuff. 2007-09-12 23:19:03 +00:00
Ansgar Becker
aa9879ecac Expect compiler_dir and package_dir to be set by command line parameter rather than hardcoding them in the script itself. Helps keeping out appropriately paths from SVN. 2007-09-07 07:52:17 +00:00
Ansgar Becker
91422efb41 Disable building unused designtime packages in autobuild process 2007-09-07 07:37:22 +00:00
Ansgar Becker
e3529376a4 Revert rev 892 as discussed on the devels list.
Although this batch file will mainly be used on a build-server, it should not break something on a developers machine.
2007-09-05 09:50:00 +00:00
Ansgar Becker
9c4bdd4f95 Ensure we're not building with local modifications in source files. 2007-09-04 22:40:42 +00:00
Ansgar Becker
cebf2418f5 Better use /build folder instead of appropriately folders for BPL and DCP output. 2007-09-04 22:38:08 +00:00
rosenfield
7ff13f58d7 Pause waiting for a key after printing usage, in case the build script is launched from a GUI. The window and message would disappear too fast for anyone to see. 2007-09-04 15:40: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
destbr
d7058a76f0 Notes about HeidiSQL Portable Launcher. 2007-08-06 02:05:49 +00:00