8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 09:20:39 +01:00
Commit Graph

112 Commits

Author SHA1 Message Date
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
robocop
f10e1b72eb Style. 2009-06-27 06:23:36 +00:00
robocop
8fbcd85a30 Style. 2009-06-25 10:44:37 +00:00
robocop
2e3ce0d23d Misc. 2009-06-07 09:49:58 +00:00
asfernandes
486962d8c1 Put TempFile in Firebird namespace 2009-06-06 18:39:29 +00:00
alexpeshkoff
c93c65df4c Use macro __sun instead of sun for this platform 2009-05-07 07:11:06 +00:00
robocop
2d0df4d40e Cleanup:
- get rrid of IB3 support,
- commnent unused enumeration members,
- delete unused function params
2009-04-24 15:26:46 +00:00
robocop
2efbb1a8c2 Style, comments, constness and some unused vars and keywords. 2009-04-22 11:44:39 +00:00
robocop
dea57e9099 Get rid of SCO. 2009-04-15 06:29:00 +00:00
alexpeshkoff
77498cac9b Fixed some warnings 2009-04-03 10:49:07 +00:00
alexpeshkoff
48ce4ebd97 Fixed gpre_static build on MacOS X 2009-01-23 08:09:07 +00:00
robocop
77bd687168 Style. 2009-01-14 08:22:32 +00:00
asfernandes
79e89d573d Misc 2009-01-03 19:02:04 +00:00
robocop
4c021ec559 Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. Seventh pass. 2009-01-02 06:34:31 +00:00
robocop
a1d52589d2 Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. Sixth pass. 2008-12-31 09:35:52 +00:00
robocop
8e55a2aced Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. Fifth pass. 2008-12-29 10:26:36 +00:00
robocop
b9cff24278 Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. Fourth pass. 2008-12-27 10:04:31 +00:00
robocop
ed64fc2f45 Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. Third pass, boolean and languages cleanup. 2008-12-27 08:38:09 +00:00
robocop
3b001e7886 Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. Second pass. 2008-12-27 07:00:40 +00:00
robocop
1214fcdbd8 Cleanup: style, get rid of typedef needed by plain C, other C++ legacy declarations, etc. First pass. 2008-12-25 07:46:53 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
asfernandes
a5ff7ca091 Misc 2008-12-01 01:26:27 +00:00
alexpeshkoff
9431183e42 Implemented CORE-1667: Reading password from file/stdin 2008-11-30 17:11:56 +00:00
asfernandes
552f58dd48 Misc 2008-06-06 02:25:35 +00:00
robocop
07c087094d Mostly remove useless parentheses. 2008-06-03 06:14:59 +00:00
dimitr
17e5267603 The merge continued. 2008-01-16 07:15:01 +00:00
paulbeach
c823619e92 HPUX Port 2007-11-12 15:18:49 +00:00
robocop
669b9c550a Commit GPRE enhancements on behalf of Stephen Boyd.
This batch of changes includes:
- Support for FIRST/SKIP clauses
- Support for CURRENT_CONNECTION, CURRENT_ROLE, CURRENT_TRANSACTION and CURRENT_USER context variables
- Changed the BLR generated for RM/Cobol programs to use blr_cstring
rather than blr_text so that CHAR and VARCHAR fields are not written
as "fixed length" fields from Cobol programs.  Incoming CHAR and
VARCHAR fields are right filled with spaces inbound to the Cobol
program and stripped of trailing spaces outbound.
2007-07-29 07:30:42 +00:00
alexpeshkoff
8274d3213d Fixed CORE-867 - all utilities now hide password from "ps" as soon as possible 2007-04-25 14:10:47 +00:00
alexpeshkoff
1932c8f4e7 added switch -trusted to most of firebird utilities 2007-04-07 08:47:58 +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
f40512506b Commit source changes by Stephen Boyd to support RM Cobol. 2006-11-10 07:50:13 +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
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
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
alexpeshkoff
0601ed34a6 fixed declarations of gds__temp_file() parameter -
buffer overflows were possible
2005-05-14 10:42:58 +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
165e4a186d Fixing more inconsistencies. 2005-01-07 04:00:19 +00:00
robocop
bfd96a4936 More constants. 2005-01-05 03:58:49 +00:00
robocop
fd7b507d19 More constants. 2005-01-05 02:06:31 +00:00
robocop
f550ca480f Misc. 2004-12-09 02:53:19 +00:00
robocop
0dd1aced53 Misc. 2004-12-09 02:50:47 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
robocop
628b088d2c Treat string literals and string constants with more respect. 2004-11-10 04:26:45 +00:00
robocop
f264ecf391 Be more respectful of literal strings. 2004-10-30 05:30:08 +00:00
robocop
d973e20600 Looking at gpre.c in FB1 and the usage of the variable fatal_env, it's evident that the conversion SEH->C++ try/except screwed the logic. The original idea was that CPR_abort will cause the program to exit gracefully, not to continue parsing, because it's useless and clutters the console with hundreds of messages. As far as I can test, when gpre cannot attach to the db, run-time failures can be detected by gpre_static or a false result is converted in exception. The new gpre_exception propagates up to the highest level where it allows the program to exit gracefully as it was in FB1. Until now, the behavior in FB1.5 & FB2 has been annoying. When we fail to connect to the db, anything more than we do is useless; we now will print a message, clean the house and exit. Hope everyone can compile my change. 2004-10-07 09:59:02 +00:00
brodsom
3bcf37fcd1 Assert or silence uninitialized warning 2004-08-26 21:44:11 +00:00