8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:43:03 +01:00
Commit Graph

955 Commits

Author SHA1 Message Date
dimitr
16b1887435 Cleanup. 2010-03-27 11:30:46 +00:00
dimitr
c0ccbacc65 Misc. 2010-03-26 17:35:33 +00:00
dimitr
b3d85f554b Fixed fbudf in the MSVC8 build as well. Untested. 2010-03-26 17:28:17 +00:00
dimitr
ee1ef4d167 Cleanup the MSVC9 build to benefit from the latest changes by Alex:
1) Make remote.lib independent of SUPERSERVER and containing only the protocol and authentication files (needed for both server and client)
2) Drop remote_classic.lib
3) Add the server-only remote files (listener and server.cpp) directly into fbserver.exe and fb_inet_server.exe
4) Make fbembed.dll, fbclient.dll, fbserver.exe and fb_inet_server.exe dependent on remote.lib
5) Explicitly add interface.cpp into fbclient.dll to benefit from the SUPERCLIENT stuff (override the code from remote.lib)
6) Some cleanup in fbclient/fbembed regarding common.lib
7) Add pwd.cpp into fbserver.exe and fb_inet_server.exe

Also, fixed compilation of fbudf.dll. The only easy way to do that was to re-link it (dynamically) with fbclient.dll. To be reconsidered, if required.
2010-03-26 11:45:10 +00:00
dimitr
3b8b6256e8 This should make fbembed to work again and thus fix the boot build.
MSVC9 changes are still incomplete, they will be more global.
2010-03-26 10:57:44 +00:00
hvlad
86051b0896 Fixed bug CORE-2934 : Memory leak in FB2.5 trace plugin.
Updated MSVC project files
2010-03-24 13:13:12 +00:00
dimitr
7f64eab5ad Cleanup. 2010-03-16 11:21:05 +00:00
asfernandes
1c131c507b Ability to build with VS 2008 Express 2010-03-08 15:58:06 +00:00
hvlad
bf319f4387 Make boot build work. After recent changes embedded fails without config file. Hope it will be fixed too. 2010-03-01 09:04:13 +00:00
hvlad
f2955be502 Fixed MSVC9 build after recent changes 2010-03-01 08:18:37 +00:00
hvlad
70df3eb35e Fixed MSVC8 build after recent changes 2010-03-01 08:15:27 +00:00
robocop
73010ed66e Update VC9 project files. 2010-02-16 08:57:02 +00:00
asfernandes
d3c0e1971a 1) Feature CORE-2830 - Window functions: DENSE_RANK, RANK and ROW_NUMBER
2) Fix BLR filter for some procedure verbs
2010-02-14 19:08:22 +00:00
asfernandes
0affd15dc5 Merge OrderedWindowStream into AggregatedStream 2010-02-13 23:55:48 +00:00
asfernandes
c737d6a807 Create ExprNode class hierarchy.
Convert CONCATENATE and aggregate functions to it.

Fix some bugs:
- select sum(n) over (order by n2), sum(n) over (), n, n2 from x1;
- select (select 1 from x1 b where list(1, a.n) = 1) from x1 a;
2010-02-13 20:29:29 +00:00
dimitr
87b57f6041 Fixed the MSVC8 build. 2010-01-27 18:32:35 +00:00
dimitr
d55bf3b044 Fixed the MSVC8 build. 2010-01-27 12:45:09 +00:00
dimitr
ffc7494330 Fixed the MSVC8 build. 2010-01-27 10:39:03 +00:00
robocop
94b6451014 Allow QualifiedName to interact with StatusArg. 2010-01-26 07:32:12 +00:00
dimitr
b701c98644 Correction. 2010-01-25 07:46:33 +00:00
dimitr
c5a7d9d3a5 This should fix the MSVC9 build.
I don't insist on copying these changes into other MSVC builds.
2010-01-25 07:32:25 +00:00
dimitr
25780c4aff This should fix the MSVC9 build.
I don't insist on copying these changes into other MSVC builds.
2010-01-25 07:26:44 +00:00
dimitr
52d7d00664 Compile /jrd/pwd.cpp as a remote module, not an engine one. This is logically correct, while looks weird. 2010-01-23 12:01:12 +00:00
dimitr
17fe35effa I don't see any real need in utilities_embed. Its files don't contain any references to the EMBEDDED macro.
The only difference is that it misses GSEC which fbembed doesn't need, but let's leave it up to the linker to eliminate the unused code.
2010-01-23 11:10:48 +00:00
dimitr
ef2ff21730 Fixed the MSVC9 build. 2010-01-23 10:24:14 +00:00
asfernandes
b68658534f Feature CORE-2823 - Support the ORDER BY subclause for current aggregate functions (except LIST) 2010-01-23 03:02:53 +00:00
dimitr
3528b63edc Committed the forgotten project files. 2010-01-15 07:28:38 +00:00
hvlad
645520683b Update MSVC8 build 2010-01-15 07:28:36 +00:00
dimitr
296f0f2d6e Added the missing public entrypoint. 2010-01-06 09:32:21 +00:00
robocop
fb161097df Finally use the same logic to detect ODS capabilities in backup and restore. 2010-01-03 03:45:09 +00:00
asfernandes
9a5ad8b604 Do not pass -RAW to GPRE in the build, to facilitate the analyse of generated files 2010-01-01 18:39:42 +00:00
robocop
43a6cb6d97 Misc. 2009-12-25 10:30:24 +00:00
robocop
820b342aee Put class Attachment in its own files by brute force. 2009-12-25 10:19:45 +00:00
robocop
06a4224d0b Put class Attachment in its own files by brute force. 2009-12-25 09:55:05 +00:00
asfernandes
ac417179e2 Fix MSVC8 build 2009-12-22 14:26:49 +00:00
asfernandes
dd6331f002 Some fixes; Misc. 2009-12-22 00:08:49 +00:00
asfernandes
bc0cfcd584 1) Make it build in Linux; 2) Fix some warnings 2009-12-21 20:55:07 +00:00
dimitr
d7ebfcbd9f Fixed project files. 2009-12-21 17:55:06 +00:00
hvlad
bfeab2cefb Forgotten changes 2009-12-14 11:38:42 +00:00
dimitr
5694dfec64 Misc. 2009-12-11 07:01:52 +00:00
asfernandes
e71e4d1e3e Rename file to match class name 2009-12-10 13:46:22 +00:00
hvlad
3557bbfbb3 Fix MSVC8 build - follow recent MSVC9 changes 2009-12-09 23:05:48 +00:00
dimitr
11495a55fb Refactored the whole RSB stuff into classes. They're inside the /recsrc sub-directory now.
Fixed the layering for WITH LOCK and (partially) ANY/ALL predicates.
Cleaned up the outdated code that never worked (mapping DISTINCT to an index, some VMS remainings).
Wiped out a lot of the pre-ODS11 optimizer logic. Some minor adjustments there.
Re-implemented the full outer join from scratch. This resolves CORE-2678 (full outer join cannot use available indices).
Resolved CORE-2796: DB_KEY is always zero for external tables.
Implemented the core part of the scrollable PSQL cursors. Implementation is still incomplete, but ready for testing.
Some other changes I don't recall at the moment ;-)

WARNING! The engine may be unstable. Please email me about any issues found.
2009-12-09 18:45:44 +00:00
hvlad
5964eec979 Don't use with x64 build Win32 targets 2009-12-06 09:49:58 +00:00
asfernandes
bcf04ac222 Cleanup 2009-12-05 20:10:59 +00:00
asfernandes
7a78601ef2 1) Use metadata character set in DSQL cache
2) Make exceptions in metadata charset and convert them to the client charset - this should fix CORE-2431
3) Support for "internal" (engine) DSQL statements and use in COMMENT ON
2009-12-05 14:21:52 +00:00
robocop
ecd01da22d Goodbye gdef. 2009-12-04 10:05:41 +00:00
robocop
8f5c30f4a0 Copy the new conf file. 2009-11-30 09:47:19 +00:00
asfernandes
388405dccd Fix MSVC8 build 2009-11-16 12:09:06 +00:00
robocop
6ee0363c03 Put the correct information for UAC in VC9. 2009-11-15 09:42:37 +00:00
robocop
6d3860411c Take Alex' changes to VC9. 2009-11-14 09:22:15 +00:00
asfernandes
5e14c00030 Added DllNoEmbedManifest.vsprops to udr_engine of MSVC9 2009-11-13 00:51:36 +00:00
robocop
cf7d574e48 Remove the manifest files not needed by VC9. 2009-11-09 12:34:58 +00:00
robocop
8b9c37a107 Get rid of references to the manifest files not needed by VC9. 2009-11-09 12:29:10 +00:00
robocop
2a450b01df Follow the VC8 settings. 2009-11-06 10:43:58 +00:00
robocop
55d9d20045 Follow the VC8 settings. 2009-11-06 08:53:39 +00:00
hvlad
8b7372b1f3 Follow Claudio's changes in MSVC8 build 2009-11-05 22:16:35 +00:00
robocop
08a33d50cc Unfortunately several of these are intertwined:
CORE-462 	 New option in addition to -V switch to specify a custom verbose interval
CORE-2540 	 Utilities need a more coherent way to show help and version
CORE-2541 	 Too many hardcoded messages in nbackup
CORE-2542 	 qli and nbackup accept arbitrary input after the first letter of an option
CORE-2543 	 nbackup may hide the real cause of failure
CORE-2545	 Lack of several validations in gbak
CORE-2547 	 Utilities need to honor their minimum number of characters to recognize an option
CORE-2565 	 Many hardcoded messages in Trace Manager
Moving functions that don't depend on preprocessing to iutils.cpp in isql is the only alien change here.
2009-11-05 09:03:41 +00:00
asfernandes
79e9320875 Refactor aggregate handling into AggregateRsb class 2009-10-31 19:03:30 +00:00
asfernandes
58d959e624 I believe the manifest should not be here too, as it's a library. To be reviewed by Dmitry/Vlad. 2009-10-31 00:58:31 +00:00
dimitr
ba2a1f11eb Added DllNoEmbedManifest rule to the UDR engine library. 2009-10-30 10:04:29 +00:00
dimitr
40e01140ee Fixed the manifest conflict that VC8 ignores but VC8 SP1 takes into account.
This is expected to resolve CORE-2711.
2009-10-30 09:42:30 +00:00
dimitr
da4f0f5229 Committed the forgotten files. 2009-10-30 08:03:34 +00:00
dimitr
402c981002 Fixed MSVC9 build. 2009-10-22 07:07:13 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
hvlad
d9cd70fa09 Restore lost argument of findstr 2009-10-06 10:57:54 +00:00
paul_reeves
819fbe383f Use findstr instead of find, thus removing the namespace clash with posix find and removing the need to parse the file with type prior to deleting the tag. 2009-10-06 06:00:37 +00:00
hvlad
8b8d28f653 I was wrong : instreg also requires administrative privileges. 2009-10-05 21:04:47 +00:00
hvlad
7072c245cd Missed content. Seems VS IDE doing some dirty tricks with open files 2009-10-05 15:53:55 +00:00
hvlad
b080f4bcae Mark instclient and instsvc with "requireAdministrator" execution level as its really requires administrative privileges. Note, instreg not requires such privileges. 2009-10-05 13:22:45 +00:00
hvlad
6e6b849359 Mark all executable's with "asInvoker" execution level. It avoid virtualization in Vista and Windows 7 2009-10-05 13:21:14 +00:00
hvlad
8f53ff6497 Manifests and property sheet for VSVC8 2009-10-05 13:19:39 +00:00
hvlad
37166ccc3d Avoid file name printed by "find" at the first line. I.e. avoid
---------- ...\BUILDS\INSTALL\MISC\FIREBIRD.CONF.IN

in resulting firebird.conf
2009-10-02 08:46:03 +00:00
paul_reeves
258a4727c8 Make the best of a bad situation. Using find /V will get messy if we have to strip several markers. 2009-09-25 13:38:46 +00:00
robocop
9c4f12ce92 Put an indication that we need further processing in Windows (using sed, probably). 2009-09-24 09:06:25 +00:00
robocop
b560250f34 make_all fails silently after the canonical config file was renamed. 2009-09-24 06:31:23 +00:00
hvlad
f8c417adb3 Improvement CORE-2619 : Make memory and other statistics to work with 64-bit values.
Part (b) add perf64 API into client and use perf64 API in utilities
2009-09-09 10:28:26 +00:00
dimitr
20ad6edd48 Fixed MSVC9 build. 2009-09-01 14:31:30 +00:00
hvlad
251f85740f Fixed MSVC8 build 2009-09-01 10:02:29 +00:00
asfernandes
e5367cdbb0 Redo fbintl dependency change removing the noise in Firebird2.sln 2009-08-31 15:52:14 +00:00
skidder
aca5a83a46 Fixed CORE-2609: Update support for Windows 98/ME and NT4.0 2009-08-30 19:00:46 +00:00
asfernandes
4171c16988 Some things discussed with Dmitry and Claudio - rename the new function to fb_print_blr, use ULONG parameter for blr_length and return int 2009-08-03 15:52:48 +00:00
asfernandes
4759973045 Fixed CORE-2576 - Server may crash parsing wrong or truncated BLR
Full rebuild required - CMP_compile2 prototype changed
2009-08-02 04:10:07 +00:00
robocop
6f1f881b3c Follow Dmitry's cleanup. 2009-07-14 09:08:54 +00:00
dimitr
2a40de7928 Cleanup. 2009-07-14 05:31:05 +00:00
robocop
e0d508a3e8 Fix the MSVC builds after Dmitry's cleanup. 2009-07-14 04:20:44 +00:00
dimitr
6c32677de9 Updated the MSVC9 build. 2009-06-30 12:29:58 +00:00
hvlad
87ab770619 New feature 2524 : Command line utility to work with Trace Service
Project file for VC8
2009-06-24 13:07:37 +00:00
asfernandes
46ac36e36c Make the VC++ Express build not show a popup everytime setenv.bat is called - one time is enough 2009-06-17 15:37:28 +00:00
robocop
f6d8c884a3 Remove unneeded reference to isc_ipc, since this file is not needed to build gpre_boot. 2009-06-11 08:15:23 +00:00
dimitr
3d97f98ce5 Fixed the MSVC8 build. 2009-05-26 06:34:28 +00:00
dimitr
048134b218 Fixed the MSVC71 build. 2009-05-25 20:50:46 +00:00
dimitr
f79eed50be Fixed the MSVC71 build. 2009-05-25 20:45:44 +00:00
hvlad
84c99f5910 Fix MSVC8 build 2009-05-25 08:53:31 +00:00
robocop
e82f0c3558 Fix the VC9 project files. 2009-05-23 06:58:28 +00:00
asfernandes
6041bd8c9e Fix MSVC8 build 2009-05-20 15:21:15 +00:00
dimitr
0eeb76c525 Fix the MSVC8 build. 2009-05-08 08:53:42 +00:00
dimitr
78c52b5000 Fix the MSVC9 build. 2009-05-08 08:52:39 +00:00
dimitr
61a8eb9f10 Fixed the MSVC8 build. 2009-04-21 06:16:57 +00:00
dimitr
6987e20668 Fixed the MSVC8 build. 2009-04-21 06:10:26 +00:00
robocop
38891c5f14 Fix the Windows build by brute force after Alex's changes. 2009-04-17 14:37:30 +00:00
robocop
6780b8c31e Comments. 2009-04-17 14:10:11 +00:00
paul_reeves
516476f941 Add files missing from install
Misc.
2009-04-08 15:00:20 +00:00
dimitr
60aff0ab6a Sync with VC8. 2009-04-06 08:10:33 +00:00
hvlad
bd0b03fe03 Reflect changed path of isc_file.cpp. Add version info. 2009-04-06 07:56:55 +00:00
asfernandes
da1eaae928 1) Improvement CORE-2404 - Match database names using correct INTL and platform rules for trace
2) Small INTL refactoration
2009-04-04 22:38:56 +00:00
dimitr
0edba46399 Cleaned up the unused ALL routines, the only remainings from the old allocator code. 2009-04-01 11:44:43 +00:00
dimitr
9098f85d1b Cleaned up the unused ALL routines, the only remainings from the old allocator code. 2009-04-01 11:37:43 +00:00
robocop
0d66984cc0 Follow VC8's minor change. 2009-04-01 10:52:04 +00:00
asfernandes
563f28a89b Remove obsolete project 2009-03-28 19:05:53 +00:00
dimitr
1684ccae14 Fixed the VC9 build. 2009-03-27 11:22:20 +00:00
asfernandes
38ac4ab183 Use SIMILAR TO regexp (with sed syntax for replacements) for trace config 2009-03-26 16:33:21 +00:00
roman-simakov
1a4949891b Refactored NBackup subsystem.
1) Fixed CORE-1696 - "Deadlock in LM by using nbackup utility" with priority rating of lock requesting for LCK_backup_database and LCK_bdb.
2) A lot of stability fixes were made.
3) The key thing is using new GlobalRWLock for removing LCK_set_owner_handle function and speed up performance.
4) The code is still ready for using both in shared cache architecture and in claster architecture.
2009-03-17 07:39:55 +00:00
hvlad
8c4cf6a81d Update MSVC9 build 2009-03-12 08:37:59 +00:00
hvlad
020a65c9a8 Add new log writer for trace plugin.
Remove not used FileObject.
2009-03-12 08:21:07 +00:00
robocop
4ffeaea47a Expose frac() in ib_udf but only as udf_frac to not clash with a possible native implementation. 2009-03-05 06:38:43 +00:00
skidder
086875af9f Maintaining VC7 build manually is too labor intensive and leads to strange engine bugs.
Instead re-generate MSVC7 build files from MSVC8 using VSPC utility:
http://sourceforge.net/projects/vspc

This produces working build.
2009-03-04 02:48:18 +00:00
skidder
cb77c1122e More fixes for VS2003 build 2009-03-02 08:56:44 +00:00
skidder
9ebebcb0b5 Update VS2003 build 2009-03-02 04:03:52 +00:00
hvlad
a32a89b5ab Update boot build 2009-02-09 11:13:34 +00:00
dimitr
e11744d4df Fixed MSVC9 build. 2009-02-08 16:09:19 +00:00
hvlad
fbeb005108 Move DLL instance variable into separate file. It would be much better to make it member of Config class but currently it is not desirable due to big amount of related changes of build process. 2009-02-08 15:40:05 +00:00
hvlad
75d6997929 Update MSVC9 build. Thanks to Fikret 2009-02-04 18:08:49 +00:00
hvlad
1387baad28 Cleanup 2009-02-04 13:18:52 +00:00
hvlad
bea4b5a3f2 Remove obsolete plugin_manager from MSVC8 builds 2009-02-04 12:10:37 +00:00
hvlad
619c0fa03f Add forgotten project files, sorry for inconvenience 2009-02-02 08:30:17 +00:00
hvlad
23c4c388a4 Trace services adjustement for build system. MSVC8 only, sorry. 2009-02-01 22:14:18 +00:00
dimitr
81b6a074a1 Fixed the MSVC8 build. 2008-12-31 11:45:45 +00:00
dimitr
4898518549 More complete file copying code. 2008-12-31 09:43:46 +00:00
dimitr
87362e83f9 Misc. 2008-12-31 07:51:40 +00:00
robocop
0f1cafb729 Cleanup: gpre_boot doesn't need additional languages. 2008-12-27 08:37:25 +00:00
dimitr
9b682b194e Sync with MSVC8 changes. 2008-12-18 10:48:55 +00:00
hvlad
83ec221c08 Improvement CORE-2243 : Make Firebird distribution on Windows easier.
Don't embedd manifest into fbintl.dll, fbudf.dll, ib_udf.dll and ib_util.dll.
2008-12-16 11:29:21 +00:00
asfernandes
41b4b3ab8d Fixed CORE-2227 - Problem with column names with Accents and triggers.
Thanks to Alex for makefile fixes!
2008-12-08 23:45:23 +00:00
asfernandes
80b6e0d3e3 Fix nbackup build (msvc8) 2008-11-22 13:40:48 +00:00
asfernandes
a44fe8b249 Fixed MSVC8 build 2008-11-21 14:18:03 +00:00
dimitr
f3c79dc9ee Fixed the Windows build (VC2008 only, sorry guys) after Alex's changes. 2008-11-21 10:26:52 +00:00
dimitr
43d8786984 Double the stack size for x64. Our clever runtime recursion limits were not tuned for 64-bit pointers. 2008-11-01 12:59:22 +00:00
robocop
d14d746f15 Linker warning:
/OPT:WIN98 is no longer supported;  ignored
2008-09-12 11:29:59 +00:00
dimitr
d3c5f713bd Fixed Windows build. 2008-09-11 10:48:12 +00:00
robocop
521d215225 I became tired of the many warnings in btyacc (really ugly code) and decided to solve or hide most of them. 2008-09-05 08:47:48 +00:00
dimitr
6cc0ca22ea Sync with the recent commits. 2008-09-02 14:55:25 +00:00
dimitr
49beb06de4 More MSVC9 specifics (missed in the prior commit). 2008-09-02 14:52:33 +00:00
dimitr
c1c9ea5d1e More MSVC9 specifics (missed in the prior commit). 2008-09-02 14:46:35 +00:00
dimitr
8116261a2e Final changes to drop the MSVC6 support and add the MSVC9 one.
Please note that VC9 Express is not supported yet, as I cannot validate its version output.
2008-09-02 08:52:09 +00:00
dimitr
bc8d392865 Cleanup. We don't support MSVC6 anymore. 2008-09-02 08:39:33 +00:00
dimitr
37c6efa01a ICU solution/project files for MSVC9. 2008-09-02 08:36:06 +00:00
dimitr
1d535b5b76 Solution/project files for MSVC9. 2008-09-02 07:50:56 +00:00
hvlad
dfcddca5fe Make gdef, qli and fbrmclib compilable again (after removal of iberr.cpp) 2008-08-28 09:02:59 +00:00
robocop
e5558467a1 Finish cleanup (header files). 2008-08-28 05:49:57 +00:00