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

32935 Commits

Author SHA1 Message Date
robocop
b3335a69b5 increment build number 2008-04-29 12:37:09 +00:00
robocop
a7d9e7f25c DirectoryList wasn't used, so I'm deleting it.
Fortunately, because it has half-finished functionality.
2008-04-29 12:37:02 +00:00
robocop
58f1e2ebf0 increment build number 2008-04-29 12:36:59 +00:00
hvlad
60b971897b increment build number 2008-04-29 12:24:15 +00:00
hvlad
2d7379aa3b Fixed broken restore via service API 2008-04-29 12:24:07 +00:00
robocop
fcc41d428c increment build number 2008-04-29 12:21:31 +00:00
robocop
4cbdb23710 Fix IntlManager.cpp to sync with "config" cleanup.
Notice that whereas JString had a const char* operator for automatic or forced conversion, Firebird::string doesn't have one. Worse, the layout of FBString has a static buffer of size 32 but can allocate a dynamic buffer for larger requirements and therefore, casting FBString to char* or const char* will most likely produce wrong behavior or crash. Thereforer, I removed the places with such explicit cast. Alex, please watch if there are more problems of this type in IntlManager.cpp, the "config" dir or the "vulcan" dir.
2008-04-29 12:21:17 +00:00
robocop
16dbb17061 increment build number 2008-04-29 12:01:36 +00:00
robocop
39e02e49fb 1.- Style.
2.- Cleanup.
3.- Put enumerations and plain structures in their due classes, checked constness, commented or deleted unused crap (watch stupid macros in header files that pollute all the files where such headers are included), etc.

There's a lot of pending work to do. Still trying to convert to decent C++ this barbarian code probably written by Genghis Khan or Attila the Hun.
2008-04-29 12:01:24 +00:00
robocop
e9737dd290 increment build number 2008-04-29 11:33:20 +00:00
robocop
9953529694 1.- Style.
2.- Cleanup.
3.- Put a compilation warning on DirectoryList::matchFileName because the function's purpose only can be guessed: it returns true unconditionally. Maybe it was expected to tell us if a file name matched a directory name or querying the operating system to know whether the file existed inside the given directory name. Anyway, since it does nothing useful, DirectoryList::validateFilename is suspicious, too, since it uses the former in a loop.
2008-04-29 11:33:11 +00:00
robocop
b47556d394 increment build number 2008-04-29 11:23:22 +00:00
robocop
0a9c97a255 1.- Style.
2.- Cleanup.
3.- Mark a disastrous condition in Stream::allocSegment in DEBUG mode at least so it can be detected: potentially negative argument to
new char[<number>] if the caller of the function doesn't do what's expected by this function.
4.- Now that the weed JString was eradicated, rename Stream::getJString to getFBString and put an assertion to verify the initial assumption (in the worst case, it could be a buffer overrun).
5.- Fix a deallocation bug (probable heap corruption) in Stream::truncate because delete[] should be used instead of plain delete.

Generally speaking, the code inherited from Vulcan is so weak that expects the caller to know the internal logic of the callee to do the right thing to avoid crashing the callee. This is a general problem with the files in the "config" dir.
2008-04-29 11:23:06 +00:00
robocop
93f58d1671 increment build number 2008-04-29 11:10:54 +00:00
robocop
f075a729a5 1.- Style.
2.- Cleanup.
3.- Fix an invalid memory access when returning data member belonging to an object from the stack in
ConfObject::getConcatenatedValues. I didn't see a runtime error because I don't use the feature, but reading the code is enough.
2008-04-29 11:10:35 +00:00
robocop
db995b0d02 increment build number 2008-04-29 11:05:31 +00:00
robocop
5ee6bf66b6 1.- Style.
2.- Cleanup.
3.- Fix what I assume may cause astray behavior. Only an inept could create an enumeration in Lex.h like this
enum TokenType {
	END_OF_STREAM,
	PUNCT,
	NAME,
to be used in the data member tokenType but at the same time, create preprocessor macros like this
#define WHITE	1
#define PUNCT	2
to be stored and retrieved by
char charTableArray [256]
to calculate the character class (punctuation, spaces, etc) in the Lexer,
where the macro PUNCT (value 2) overrides the enum member PUNCT (value 1) and that inconsistent value is used in both tasks, causing PUNCT to be interpreted as tokenType being NAME (value 2 in the enum). Since this module has several bugs, maybe all the bugs cancel among themselves and all works as expected, but it would be pure luck.
2008-04-29 11:05:11 +00:00
alexpeshkoff
6ab931ebed increment build number 2008-04-29 09:57:58 +00:00
alexpeshkoff
1bd985f223 increment build number 2008-04-29 09:57:57 +00:00
alexpeshkoff
9e0c4160da Make fb_cancel_operation() public API call. 2008-04-29 09:57:55 +00:00
alexpeshkoff
db8f4f1cce increment build number 2008-04-29 09:57:53 +00:00
alexpeshkoff
19a1fe2116 increment build number 2008-04-29 09:55:45 +00:00
alexpeshkoff
0ba2ab7ea7 Make fb_cancel_operation() public API call. Related cleanup. 2008-04-29 09:55:41 +00:00
alexpeshkoff
55a5904cac increment build number 2008-04-29 09:55:40 +00:00
alexpeshkoff
dd6086edc0 increment build number 2008-04-29 09:55:39 +00:00
alexpeshkoff
2954db5a99 increment build number 2008-04-29 09:55:30 +00:00
paulbeach
f31bf55e38 increment build number 2008-04-29 09:40:23 +00:00
alexpeshkoff
3bb16bbef9 increment build number 2008-04-29 08:15:44 +00:00
alexpeshkoff
1b20fba1e9 Fixed "-s" switch in posix CS 2008-04-29 08:15:36 +00:00
alexpeshkoff
e6569dd06b increment build number 2008-04-29 07:57:59 +00:00
alexpeshkoff
bf691d08c1 Cleanup - posix CS works with MT listener as expected. 2008-04-29 07:57:53 +00:00
fsg
64952fa2cd increment build number 2008-04-28 19:21:19 +00:00
fsg
ea4970ed07 nightly update 2008-04-28 19:20:51 +00:00
hvlad
292b447238 increment build number 2008-04-28 09:35:15 +00:00
hvlad
b04aa77f13 Fixed bug CORE-1830 2008-04-28 09:35:10 +00:00
alexpeshkoff
efbdd3106d increment build number 2008-04-28 07:41:50 +00:00
alexpeshkoff
ddeb68c733 Restored accidentially removed check - thanks to Adriano 2008-04-28 07:41:43 +00:00
fsg
e631a409a7 increment build number 2008-04-27 19:23:56 +00:00
fsg
2587337be6 increment build number 2008-04-27 19:23:15 +00:00
fsg
7f843c4cfe nightly update 2008-04-27 19:23:06 +00:00
asfernandes
cd35f836d3 increment build number 2008-04-27 18:53:39 +00:00
asfernandes
b2abfa3d8b Compatibility with Valgrind 3.3 2008-04-27 18:53:33 +00:00
robocop
de2d6eb02e increment build number 2008-04-27 04:44:39 +00:00
asfernandes
efb083c560 increment build number 2008-04-27 02:39:52 +00:00
asfernandes
53a2090f65 Misc 2008-04-27 02:39:51 +00:00
asfernandes
13915998c3 increment build number 2008-04-27 02:39:47 +00:00
asfernandes
aa4ce69a7f increment build number 2008-04-26 23:20:43 +00:00
fsg
4cd70c1b8c increment build number 2008-04-26 19:38:39 +00:00
fsg
72ab91e67b nightly update 2008-04-26 19:38:32 +00:00
asfernandes
3762641975 increment build number 2008-04-26 15:58:22 +00:00