8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 05:23:02 +01:00
Commit Graph

300 Commits

Author SHA1 Message Date
alexpeshkoff
1932c8f4e7 added switch -trusted to most of firebird utilities 2007-04-07 08:47:58 +00:00
robocop
93fd88772a Get rid of the $ symbol in var names. 2007-04-01 13:04:13 +00:00
robocop
df9303f869 Commit changes on behalf of Stephen Boyd to support RM/Cobol. At least for me, I needed a full rebuild to avoid gpre crashing in the boot phase. 2007-03-29 07:16:16 +00:00
robocop
81145566a8 More IB->FB changes. 2007-02-11 09:31:45 +00:00
robocop
2237b9c55a Misc. 2007-02-11 09:23:32 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
robocop
6ab34bd394 Patch by Stephen Boyd: he found a small bug in the RM/Cobol support in GPRE he did months ago. It wasn't generating the code for EVENT INIT and EVENT WAIT statements properly. 2007-02-03 10:40:15 +00:00
asfernandes
40698ea38c Misc 2006-11-11 02:47:08 +00:00
robocop
3b1a4a0dbe Commit source changes by Stephen Boyd to support RM Cobol.
COBOL support (rmc) and additional interface library (fbrmclib).
2006-11-10 07:52:52 +00:00
robocop
f40512506b Commit source changes by Stephen Boyd to support RM Cobol. 2006-11-10 07:50:13 +00:00
robocop
8e7e781e5f Partial commit with some cleanup and more constants. 2006-10-10 06:41:36 +00:00
robocop
af8ecc26ca Solve three problems with arrays:
- Don't allow to apply scalar/subscript syntax to fields that aren't array.
- Detect if we get corrupt database containing array with more than 16 dimensions.
- Reject attempt to subscript array with more than 16 dimensions and thus fix the buffer overrun.
2006-09-10 09:05:40 +00:00
dimitr
869d92f034 Let's not rely on ISC_STATUS being always long. This is false for Win64. 2006-07-24 14:41:10 +00:00
dimitr
6b6ba903e4 Forward declaration of enums is not allowed in the C++ language, even although being supported by MSVC.
This commit should fix GCC compilation problems.
2006-07-21 07:53:18 +00:00
asfernandes
ea0435247a Misc 2006-07-18 02:45:35 +00:00
dimitr
c68587fe66 1. Virtual tables
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +00:00
asfernandes
5a4862f17f Misc 2006-07-02 22:42:12 +00:00
robocop
2fbc33febb We had to bring new force to the project (Michal Kubecek) to remember us that fopen() returns NULL on failure. After his fix, I found more cases that we overlooked for years. 2006-07-01 08:53:50 +00:00
alexpeshkoff
0f7cbececb applied Damyan's patch for gcc 4.0.1 2006-06-23 08:33:33 +00:00
robocop
541fe6c579 It seems that all of Jim's hand-made parsers have had the same bug for 20 years in compilers that treat the "char" type as signed byte internally: they get random character attributes because they apply negative indices (obviously out of bounds) to the array of char attributes for any char value greater than 127. And all of them do their work in slightly but almost equal way... tell me about code redundance! This without losing time fixing unused stuff like jrd/jlx.c. 2006-06-08 05:15:37 +00:00
dimitr
7cc12e8489 1) Reworked memory management in SORT. Now we're pools aware there.
2) Reworked error handling in SORT and its callers.
3) Replaced DLS+SortMem with the generic TempSpace class.
4) Replaced GDS temp file management with the TempFile class.
5) Various cleanup.
2006-05-31 08:53:00 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
robocop
ebe0a75026 Simplification. 2006-05-04 00:02:58 +00:00
robocop
07f4bed382 I don't want another "interprete", so I rename "defered" to "deferred". 2006-05-02 00:04:12 +00:00
alexpeshkoff
2c7a5997cd fixed gcc warning(s) 2006-01-18 11:54:00 +00:00
robocop
4f5cb7e3f6 Misc. 2006-01-07 01:32:10 +00:00
robocop
1e6d89ebfc Comment excessive dependencies on license.h. 2006-01-07 00:31:37 +00:00
robocop
3e6585d99e Misc. 2005-12-11 08:32:27 +00:00
robocop
187b320513 Forward-port Ann's enhancement to gpre to allow more range for identifiers (more changes may be needed in the future to complete the feature). 2005-12-09 05:07:57 +00:00
robocop
2d00d59c8c Misc. 2005-11-30 06:12:53 +00:00
alexpeshkoff
62a24d46e4 1. Moved data structures, written to database file, into ods.h.
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
dimitr
d58a557d63 Fixed a number of issues for Dialect 1 and Dialect 3 (string arithmetics) + some cleanup.
The issues are:
1) '1.5' / '0.5' doesn't work in Dialect 1
2) avg ('1.5') doesn't work in Dialect 1
3) 5 * '1.5' produces INT result instead of DOUBLE PRECISION in Dialect 1
4) sum ('1.5') produces NUMERIC(15, 2) result instead of DOUBLE PRECISION in Dialect 1
5) - '1.5' doesn't work in Dialect 1
6) '1.5' * '0.5' and '1.5' / '0.5' are not forbidden in Dialect 3
2005-08-06 05:36:30 +00:00
asfernandes
0815ad2770 Make gpre_boot work without -lang_internal switch 2005-06-22 22:23:05 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
alexpeshkoff
0601ed34a6 fixed declarations of gds__temp_file() parameter -
buffer overflows were possible
2005-05-14 10:42:58 +00:00
kkuznetsov
d1a41d7eb2 SOLARIS cleanup 2005-02-17 12:51:13 +00:00
kkuznetsov
06cc818d15 Fix including FTN_fini refences into gpre_boot while configured with fortran 2005-02-10 10:21:53 +00:00
robocop
15c5bc67d0 Fix SF Bug #527677 for gpre and the ANSI85 switch. 2005-01-19 08:59:23 +00:00
robocop
1b420b2e9b Fix SF Bug #1103740
Both quoted and non-quoted cursors should be checked for duplication.
Now, duplicate quoted identifiers used for cursors will get something like:
(E) gpretest.e:29: symbol a_nice_long_long_long_cusor_name_for_customer is alrea
dy in use
2005-01-17 08:55:03 +00:00
robocop
a696b411c2 Fix SF Bug #1103683 for gpre.
Now, database aliases can't be longer than 31 bytes. Example:
	EXEC SQL
		SET DATABASE "DB0" = COMPILETIME "G:\\DB\\Firebird\\examples\\EMPLOYEE.GDB"
Here DB0 can be longer provided that it doesn't go beyond 31 bytes. As pointed out by Paul Beach, it makes little sense to have a reference that's longer than the physical path of the db.
2005-01-17 06:48:18 +00:00
robocop
e094566e16 Fix SF Bug #1103670.
Now, quoted cursor names can be opened, closed and reopened in gpre without losing their names.
2005-01-17 06:43:49 +00:00
robocop
04f8bb10c8 Fix error message. 2005-01-17 05:41:08 +00:00
robocop
f05c19c9b8 Fix more inconsistencies in gpre related to SF Bug #1103666, supposedly caused by the starfishes. 2005-01-17 05:39:13 +00:00
robocop
6a2ecc3fd3 Fix more inconsistencies in gpre related to SF Bug #1103666.
The others were fixed as part of fixing SF Bug #504978 about truncation of variables.
2005-01-17 05:31:12 +00:00
robocop
ae780ca62d Misc. 2005-01-17 05:22:10 +00:00
robocop
0d4bd2e497 Fix SF Bug #504978. Restore gpre ability to work with variables up to 63 bytes in length. Now that the lengths are expressed by constants instead of random values in each place, the limit may be increased further. The problem happened between IB5 and IB6 at Borland. 2005-01-17 05:02:09 +00:00
robocop
8c1f26cc01 Misc. 2005-01-12 05:50:52 +00:00
robocop
165e4a186d Fixing more inconsistencies. 2005-01-07 04:00:19 +00:00
robocop
3eacd85d2a Let's prevent accidental modification of some params. 2005-01-05 08:25:24 +00:00
robocop
5877cba380 Misc. 2005-01-05 04:02:19 +00:00