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

38 Commits

Author SHA1 Message Date
asfernandes
28a7e4c037 Misc 2009-07-24 02:15:07 +00:00
asfernandes
6377356940 Misc 2009-07-23 00:56:28 +00:00
paulbeach
00af06a82f And the long march to making Firebird build and run on MacOSX continues 2009-07-21 13:59:45 +00:00
asfernandes
cb40c9f8ba Apply Alex/Bill/Jerry/me patch re. portability in redefinition of operator new 2009-06-13 16:36:10 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
asfernandes
a5ff7ca091 Misc 2008-12-01 01:26:27 +00:00
hvlad
c88151c080 Split class system_call_failed into two exception classes : system_error and system_call_failed. system_error is an wrapper for OS errors and system_call_failed inherits from system_error and calls abort() when exception raised. system_error intended for the cases where failure of OS call is expected and can be handled. 2008-11-27 20:16:46 +00:00
alexpeshkoff
8d353aceb9 Do not reallocate string into circular buffer if it is already in it 2008-09-05 11:33:52 +00:00
asfernandes
cc5b689eda Misc 2008-08-29 02:18:50 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +00:00
robocop
0d1985d1f0 Misc, explicit constructors, extra commas in enumerations, constness, etc. 2008-02-02 16:57:15 +00:00
asfernandes
aea2bcb354 Misc 2008-01-23 19:03:16 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
alexpeshkoff
fc89b23b7f added public method to make strings in vector permanent to StringsBuffer 2007-09-26 17:50:31 +00:00
alexpeshkoff
2aafa91873 avoid reinterpret_cast in exception's handler 2006-05-22 11:45:19 +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
alexpeshkoff
baa8ede6a8 better support for OS error code in system_call_failed 2006-03-15 17:29:11 +00:00
robocop
7939c5f3d8 Avoid a crash. 2006-01-08 01:11:06 +00:00
alexpeshkoff
64ac449789 avoid vararg constructors in status_exception 2006-01-07 16:50:13 +00:00
robocop
2b2e2d5dd0 Const correctness and the like. 2005-12-23 01:42:40 +00:00
robocop
0253028a5d This alternative constructor shouldn't be public, but MSVC6 doesn't obey the private clause if there's another constructor made public. Maybe no compiler does. 2005-12-22 06:22:23 +00:00
robocop
244621058d Change the license with Mike's permission. 2004-12-12 01:55:57 +00:00
robocop
950216de4e Misc. 2004-12-08 05:58:41 +00:00
skidder
dde4d7b557 Commit change adding method used by ClumpletReader/ClumpletWriter 2004-11-11 21:46:25 +00:00
skidder
e075d9f71a Add comment for a couple ugly aspects of exception handling (they need to be fixed, eventually) 2004-10-08 15:05:44 +00:00
robocop
373b5e27de Fixed a bug in fatal_exception's constructor that causes fill_status to write garbage in the status vector.
Overload what() for the same class. It helps gpre to quit on failures (gpre changes still not posted).
2004-10-07 09:27:34 +00:00
skidder
e9f8ef102e Fixes needed to make GCC 3.4 happy 2004-05-03 04:25:06 +00:00
skidder
c64f31b712 Fix some warnings from GCC/Linux build. Some of them were subtle errors 2004-03-12 07:00:52 +00:00
alexpeshkoff
d261af4111 don't start variables names with underscore - _syscall caused problems with MSVC6 2004-03-01 16:50:26 +00:00
skidder
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
aafemt
b3436b5cd7 STATUS -> ISC_STATUS 2003-04-10 06:32:58 +00:00
alexpeshkoff
81b3d5593e Added 2 new exceptions
Cleanup
2002-11-11 18:06:01 +00:00
bellardo
d45ff6c07b Accept NULL memory deletes and move exception raise code to its own file. 2002-04-04 05:38:26 +00:00
skywalker
a887af3646 Changes to make it compile on linux.
and work through a few issues.
2002-01-04 11:34:22 +00:00
tamlin
5ae485f0b5 cleaning up 2001-12-29 11:41:29 +00:00
tamlin
80f7fb6dd4 New C++ memory pool 2001-12-24 02:51:06 +00:00