Alex Peshkoff
6a63c3bf47
Backported CORE-5908: Enhance dynamic libraries loading related error messages
2018-09-07 17:06:04 +03:00
alexpeshkoff
139331c7e3
Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
...
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
alexpeshkoff
c4c9daf132
Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods.
2015-03-20 18:02:30 +00:00
hvlad
660f5b0cc5
More memory leaks (CORE-4683)
2015-02-20 09:38:40 +00:00
asfernandes
47f64b0da4
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
asfernandes
c861f0cd54
Revert my last change after it broke the Windows build.
2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
asfernandes
9ece682387
Misc.
2015-02-14 18:55:00 +00:00
asfernandes
e9f74f04d1
Improvements to the UDR plugin.
2015-01-25 20:27:46 +00:00
alexpeshkoff
c9a6728d41
Avoid use of plain structures, missing in previous FB versions, in public API
2015-01-16 17:53:38 +00:00
asfernandes
2a857cb415
Misc.
2015-01-15 01:17:27 +00:00
asfernandes
7f7887e895
Make UDR StatusType customizable.
2015-01-13 14:43:24 +00:00
asfernandes
b99311dd1e
Make the API usable with different type of IStatus classes, throwing (what class?) or not throwing. Builtin are CheckStatusWrapper (no throw) and ThrowStatusWrapper (throws FbException).
2015-01-12 00:21:38 +00:00
asfernandes
d8a0ff5f4b
Generate interfaces with I-prefix.
2014-12-19 15:24:44 +00:00
asfernandes
49d1a73994
Get rid of upgradeInterface API method and some adjustments. To be continued.
2014-11-10 14:45:40 +00:00
alexpeshkoff
5ac759124e
Fixed 2 segfaults when using UDRs
2014-10-01 12:47:04 +00:00
alexpeshkoff
f5645faaa0
Fixed windows build
2014-09-30 14:21:44 +00:00
alexpeshkoff
153de0f271
Language independent API
2014-09-29 11:03:47 +00:00
alexpeshkoff
d513daa574
Divide IStatus information into 3 parts: errors, warnings and completion code.
...
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.
Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
alexpeshkoff
a9721f18e0
Added first parameter IStatus* to a lot of functions in API interfaces
2014-07-02 12:57:12 +00:00
alexpeshkoff
86d9a11f6c
Mac port
2014-02-26 12:31:20 +00:00
alexpeshkoff
83db69c849
Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type.
2013-11-18 12:20:23 +00:00
asfernandes
e4bbefd170
Misc
2013-06-11 15:57:30 +00:00
alexpeshkoff
b9a96911ca
Avoid extra atomic operations when assigning pointer to the object with pre-incremented counter (like returned from the function) to reference-counted pointer holder
2013-04-17 11:16:06 +00:00
asfernandes
ee953572eb
Work in progress standardizing the external engines API.
2013-03-25 15:34:15 +00:00
asfernandes
b9bc308a72
Work in progress fixing external triggers.
2013-03-23 21:12:27 +00:00
asfernandes
48fd751c6e
Fixing FB_MESSAGE macro and external functions and procedures.
...
Isolate external routines them from request-based ones.
2013-03-04 01:42:58 +00:00
asfernandes
491fdd82b2
Unifying the external engines API with the new ones.
2013-02-15 02:48:54 +00:00
asfernandes
dc8e42e9bb
Migrate external triggers to the new message-based style.
2013-01-29 01:21:32 +00:00
alexpeshkoff
c7454a49a5
Work in progress (committed due to SF upgrade). Checked only on SS.
...
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +00:00
asfernandes
87ea81df34
Improvements to the UDR engines.
2012-06-05 15:31:32 +00:00
alexpeshkoff
2a01e4bcf9
Implemented CORE-3861: Make it possible to encrypt database
...
Also some cleanups, the most important are:
- meaningful ctor on Jrd::Lock, helping to avoid code dup
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
alexpeshkoff
1ceb4847e1
Make plugins use passed instance of master interface, not one got from fb_get_master_interface(). This helps in case when >1 fbclient libraries is loaded by process.
2012-03-26 11:34:52 +00:00
alexpeshkoff
1d18be26d5
Changed order of args as requested by Claudio
2012-03-10 12:07:47 +00:00
hvlad
7124c3bc15
Fixed Win32 build
2012-03-02 12:12:15 +00:00
asfernandes
ec14b1aac0
Replace reinterpret_casts to static_casts.
2012-02-26 14:26:23 +00:00
alexpeshkoff
2a5e7e7f32
Implemented CORE-672: "Over the wire" connection encryption
2012-02-24 12:39:27 +00:00
robocop
21cd78a0fd
Cleanup: unused functions, parameters & variables.
2012-01-24 03:37:43 +00:00
asfernandes
edcde31b79
Remove the old getVersion method from external engines.
2011-07-13 02:10:28 +00:00
asfernandes
cd7c8dee95
Use the BLR message definition of external procedures and functions.
2011-07-10 01:23:53 +00:00
alexpeshkoff
18ef64b242
Fixed UnloadDetector in a case when it gets linked in non-plugin module
2011-06-14 11:34:26 +00:00
alexpeshkoff
40348295e1
Used upgradeInterface() in a number of places.
...
Fixed memory leak when unloading module, related with upgraded interfaces.
Fixed timer on posix to be high resolution.
Better diagnostic in services.
2011-06-10 12:53:51 +00:00
asfernandes
5ffa6c77c8
Move v3 public include files to src/include/firebird.
2011-06-02 15:57:08 +00:00
asfernandes
7ad98cd292
Work in progress on the external engines API changes.
2011-06-01 01:44:54 +00:00
asfernandes
983686d71c
Added IRoutineMetadata to external engines.
...
Not well tested:
1) EE is broken after shared page cache.
2) Semantics of addRef/release still keeps changing in developers minds.
2011-05-15 15:37:11 +00:00
asfernandes
69dc52ba48
Integrate IAttachment and ITransaction in the external engines API.
2011-05-07 19:52:44 +00:00
alexpeshkoff
bbf146f918
Renamed a number of functions to match Dmitry's requirement
2011-04-11 11:12:21 +00:00
alexpeshkoff
4c3f87d6bd
Continued renaming interfaces. Added comments
2011-04-08 15:18:50 +00:00
alexpeshkoff
5c88e478f6
Use better names for a number of objects according to Vlad's suggestion
2011-04-07 17:16:00 +00:00