dimitr
d72929c6e9
Restore the pre-v3 prefetch performance.
2015-06-02 10:44:34 +00:00
asfernandes
d58f343b2f
Misc.
2015-05-31 23:38:17 +00:00
alexpeshkoff
488101c26d
Fixed CORE-4756: Firebird 3 events broken
2015-05-15 16:11:34 +00:00
alexpeshkoff
28025c6c1c
Fixed CORE-4788: Superclassic server hangs when receiving network packet
2015-05-12 12:17:24 +00:00
alexpeshkoff
1351b1107c
Postfix for CORE-4760: it was bad idea to call upper() method for UTF string
2015-05-06 13:47:27 +00:00
alexpeshkoff
0ac40f77be
Fixed CORE-4760: Can not create user with non-ascii (multi-byte) characters in the name
2015-04-30 13:44:43 +00:00
asfernandes
f1fa572e32
Warning.
2015-04-16 14:50:48 +00:00
asfernandes
f5a4ab8ab1
Misc.
2015-04-08 15:08:21 +00:00
egorpugin
44867c0dbb
[build] [cmake] Add more cloop dependencies.
2015-04-07 10:29:14 +00:00
alexpeshkoff
8b7501f136
Added check for SOCK_CLOEXEC
2015-03-30 11:12:27 +00:00
alexpeshkoff
7adbe5a75a
Use better flag name for sockets
2015-03-30 09:34:20 +00:00
asfernandes
336456d140
Misc.
2015-03-28 00:36:04 +00:00
alexpeshkoff
16768b177d
Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry
2015-03-27 17:51:19 +00:00
hvlad
aeeca2812f
Fixed Windows build
2015-03-27 15:41:36 +00:00
alexpeshkoff
e7663b6bc0
Use status interface instead plain status vector when working with exceptions.
...
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +00:00
alexpeshkoff
6859f8a37d
Cleanup
2015-03-23 15:52:30 +00:00
robocop
220446675b
Misc.
2015-03-23 04:29:37 +00:00
hvlad
91c1108608
Fixed Windows build
2015-03-22 22:43:12 +00:00
mkubecek
1aba1dd1d5
class SockAddr code cleanup
2015-03-22 14:26:24 +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
asfernandes
bd1094a671
Misc.
2015-03-17 21:44:55 +00:00
robocop
939feab036
Misc.
2015-03-13 15:26:22 +00:00
alexpeshkoff
4b08cccbf0
Dynamic buffer for status vector and dynamic strings in IStatus
2015-02-25 17:03:39 +00:00
alexpeshkoff
6bbf5b07b5
Fixed memory leaks in events API
2015-02-25 14:24:13 +00:00
alexpeshkoff
7b7d439cef
Lost exception when initializing port with compression - thanks to Claudio
2015-02-24 12:58:27 +00:00
asfernandes
14bc11c27b
Fixed segfault with events and the remote protocol.
2015-02-20 14:27:22 +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
alexpeshkoff
6d7af88734
WIP on CORE-3885: Firebird for Android, AI_V4MAPPED flag not supported, now server startup succeeds
2015-02-03 14:24:54 +00:00
egorpugin
acbd633e45
[build] [cmake] Make 'remote' and 'common' targets private for 'yvalve' target.
2015-01-30 20:23:34 +00:00
alexpeshkoff
69cdd58f19
Work in progress on CORE-3885: Firebird for Android, build is complete
2015-01-27 10:46:48 +00:00
dimitr
cc8cc680a3
Core (engine-level) support for scrollable DSQL cursors. Fixed the IResultSet API to match the JDBC spec. Renamed FB_EOF to FB_NO_DATA. Refactored some DSQL internals.
2015-01-27 10:29:30 +00:00
dimitr
f07f8a68c8
Attempted to fix the incorrect events wrapping, causing hangs/crashes and memory leaks.
2015-01-26 21:33:56 +00:00
egorpugin
14163d7e3e
[build] [cmake] Initial CMake build system commit.
2015-01-21 11:21:51 +00:00
egorpugin
d397e68a48
[build] [cmake] Prepare sources for CMake building. Add clang preprocessor defs, ARM architecture defs, some Android-related defs. Add 'qsort_r' function search to configure.ac.
2015-01-21 11:11:04 +00:00
dimitr
4e7d2da77c
1) Make xnet://db connection strings useful with forward slashes
...
2) Unified port numbers / protocol names syntax (thus allowing custom ports in inet://host/db connection strings)
2015-01-20 18:59:18 +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
509c832bac
Warning.
2015-01-15 01:16:56 +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
c4228eb623
Misc.
2015-01-12 00:04:14 +00:00
dimitr
5d3fd3dbe0
Slightly refactored the BLR parser routines to avoid crazy error reporting and protect against NULL pointer dereference. The error handling still sucks, but it was the case before me ;-)
2015-01-05 16:08:21 +00:00
alexpeshkoff
fdc8953b30
Cleanup - remove debris of pre-firebird authentication
2014-12-29 16:15:49 +00:00
dimitr
8c8473c75e
Cleanup.
2014-12-29 15:48:26 +00:00
dimitr
9050d90a8e
Cleaned up the API from the legacy crap (fortunately, not needed these days).
2014-12-29 15:45:49 +00:00
dimitr
5f22981210
Patches by Alexey Pavlov.
2014-12-22 08:51:56 +00:00
asfernandes
dc0d56ed6d
Misc.
2014-12-21 01:54:28 +00:00
asfernandes
d8a0ff5f4b
Generate interfaces with I-prefix.
2014-12-19 15:24:44 +00:00
hvlad
581b757b4b
Fix Windows build
2014-12-18 07:24:09 +00:00
alexpeshkoff
c14a1210b0
Work in progress on CORE-3632: make all file descriptors, opened by firebird, close on exec()
2014-12-17 14:31:02 +00:00
dimitr
729ff618b9
This should fix CORE-4639: Linux server may reject connections with a transliteration error.
2014-12-16 10:30:31 +00:00
dimitr
8e968e4e7c
Fixed missing initialization of the output variable in the case of FB_EOF.
2014-12-04 18:24:13 +00:00
alexpeshkoff
7006c82fc3
Fixed CORE-4471: Legacy_Auth plugin does not connect from FB3 to FB2.5 server when tried after Win_Sspi
2014-12-03 14:27:11 +00:00
hvlad
5d6723c25b
Support for zlib on Windows
2014-12-01 09:04:39 +00:00
asfernandes
cebc7c36b3
Misc.
2014-11-30 21:09:39 +00:00
alexpeshkoff
f1fcb0ced1
Establish uncompressed connection in case of missing zlib
2014-11-28 13:46:29 +00:00
alexpeshkoff
f58b1433fb
Misc encryption enhancements
2014-11-28 11:58:08 +00:00
alexpeshkoff
11c452251d
Make zlib allocate memory from our pool
...
Add Z flag in protocol version for compressed connections
Documentation
2014-11-27 13:51:59 +00:00
hvlad
e487537ad2
Fix build errors when WIRE_COMPRESS_SUPPORT not defined
2014-11-27 08:15:16 +00:00
alexpeshkoff
6cb0fdb082
Load zlib dynamically to make it possible for the client to run without it
...
Added configure switch to turn off build with compression
Cleanup zlib streams to avoid memory leak
Use SHRLIB_EXT instead explicit "so"
2014-11-26 17:43:45 +00:00
alexpeshkoff
647971f162
Remove unneeded any more assert, causing problems for a build w/o compression
2014-11-26 10:20:45 +00:00
alexpeshkoff
e65a5e3b3b
Implemented CORE-733: Compress Data over the Network
2014-11-25 13:24:10 +00:00
hvlad
c057dd971f
Add check if IPv6 is supported by OS.
...
Windows implementation is complete, while POSIX implementation should be reviewed and fixed if necessary.
2014-11-22 10:42:54 +00:00
mkubecek
7d2568566f
Fix MSVC build (it does not define EAI_ADDRFAMILY)
2014-11-20 21:16:15 +00:00
mkubecek
81f68710d1
Fix server address resolution on systems with IPv6 support missing or disabled
2014-11-20 09:41:44 +00:00
alexpeshkoff
ca4ac0718a
Avoid segfault in a case when port_context is reset for broken port
2014-11-16 17:33:09 +00:00
asfernandes
0973e76135
Misc.
2014-11-16 02:41:47 +00:00
hvlad
c1ec7896b6
Fixed compilation errors on Windows after IPv6 patches
2014-11-14 14:54:09 +00:00
mkubecek
ae4f286c1a
Improvement CORE-3226: IPv6 support (8/9) add config directive for IPV6_V6ONLY socket option
2014-11-12 17:31:01 +00:00
mkubecek
983627a2d7
Improvement CORE-3226: IPv6 support (7/9) remove unused functions
2014-11-12 17:30:07 +00:00
mkubecek
6988b9901b
Improvement CORE-3226: IPv6 support (6/9) implement IPv6 support for aux connection
2014-11-12 17:29:15 +00:00
mkubecek
263f12a1f4
Improvement CORE-3226: IPv6 support (5/9) implement IPv6 support for main connection
2014-11-12 17:28:37 +00:00
mkubecek
2caf1a6b49
Improvement CORE-3226: IPv6 support (4/9) handle IPv6 addresses in utility functions
2014-11-12 17:27:46 +00:00
mkubecek
d3c1d72515
Improvement CORE-3226: IPv6 support (3/9) socket address abstraction class
2014-11-12 17:27:02 +00:00
mkubecek
5efd039202
Improvement CORE-3226: IPv6 support (2/9) do not pass pointer to peer address to accept()
2014-11-12 17:24:44 +00:00
mkubecek
39b8553530
Improvement CORE-3226: IPv6 support (1/9) allow square brackets around host in connection string
2014-11-12 17:24:09 +00:00
mapopa
c824ee7c2f
Apollo computers are long gone
2014-11-07 15:30:24 +00:00
mapopa
bca66ed3b1
Fix comment non-VMS to non-Windows
2014-11-07 15:22:08 +00:00
mkubecek
e7308c1c63
Fixed CORE-4586: connections to FB3 in "standaloneClassic" mode (firebird -s) hang up
2014-10-29 17:43:22 +00:00
alexpeshkoff
e2c5296097
Fixed a bug in unofficial release of beta1 reported by Martijn in devel - missing security context error when using separate SecurityDatabase
2014-10-28 13:41:40 +00:00
asfernandes
0463754347
Misc.
2014-10-25 18:39:45 +00:00
dimitr
0836bbbfa3
Improved the batching (prefetch) logic. This is the second part of CORE-2530.
2014-10-11 09:02:09 +00:00
dimitr
5baa5ac4ec
Restore zero-initialization of message items flagged as NULLs.
2014-10-03 16:15:36 +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
fec7a2b7b1
Fixed access to freed memory in remote redirector. This should fix CORE-4557.
2014-09-29 10:51:40 +00:00
dimitr
4b5b82615b
Resolved CORE-2897: Don't send full length of field over the wire when field is null.
2014-09-10 11:55:43 +00:00
alexpeshkoff
9f5be859ad
Fixed VC10 build
2014-09-03 13:51:48 +00:00
alexpeshkoff
7c5eae4752
Minor debug enhancement
2014-08-28 09:30:17 +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
dimitr
0fa3945f6a
Corrections for the prior commit:Explicitly distinguish between thread handle and thread id. Return LWP as thread id on Linux.
2014-08-15 14:59:38 +00:00
dimitr
36af3d8cb2
Cleanup and small refactoring to avoid redundancy.
2014-08-15 14:19:02 +00:00
alexpeshkoff
900fb824fe
Fixed CORE-4505: Use of named cursor fails if statement was not executed. Should also fix CORE-4489, but I cannot check.
2014-07-31 11:43:38 +00:00
alexpeshkoff
532181a7f9
Renamed as suggested by Nickolay and Dmitry
2014-07-28 13:01:10 +00:00
alexpeshkoff
4bdc2a3e19
Replaced macro FB_ALIGN with function fbAlign, minor related cleanup
2014-07-24 06:41:38 +00:00
asfernandes
719b150da0
Misc.
2014-07-20 15:44:47 +00:00
skidder
e2e901939c
Fix GCC warnings
2014-07-17 21:17:15 +00:00