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

1863 Commits

Author SHA1 Message Date
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
0e0a37be81 Public header cleanup 2015-01-19 12:58:00 +00:00
asfernandes
2a857cb415 Misc. 2015-01-15 01:17:27 +00:00
asfernandes
f16c8c3179 Renamed "Utl" API to "Util". 2015-01-14 14:21:22 +00:00
hvlad
76df787334 By Alex - fix for bug CORE-4659 : Error "Missing security context for .....\SECURITY3.FDB" 2015-01-13 11:24:38 +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
bf310ca058 Correction. 2015-01-12 00:03:43 +00:00
alexpeshkoff
c0b4e085df Fixed CORE-4610: Add a tag name to diagnostics when trasliteration errors in Parameter Block values occur 2014-12-30 15:18:46 +00:00
alexpeshkoff
df0ecdac9a Implemented CORE-4607: Add support for having >1 UserManager in firebird.conf and use them from SQL 2014-12-24 14:50:03 +00:00
hvlad
2c809f06ec Fixed Windows build 2014-12-22 09:47:17 +00:00
asfernandes
dc0d56ed6d Misc. 2014-12-21 01:54:28 +00:00
alexpeshkoff
f641886ba3 Fixed CORE-3632: Crash after calling fork in a process, using embedded firebird library 2014-12-19 15:43:20 +00:00
asfernandes
d8a0ff5f4b Generate interfaces with I-prefix. 2014-12-19 15:24:44 +00:00
alexpeshkoff
8522a1aef4 getCount() in FB classes never throws exceptions 2014-12-18 16:23:03 +00:00
hvlad
0f0959ccf6 Patch for mingw by Alexey Pavlov : Mingw also have posix threads library so to resolve conflict we need guard using posix threads for Windows. 2014-12-18 10:56:53 +00:00
hvlad
b5d5e5a2b5 Patch for mingw by Alexey Pavlov : Mingw compilers don't support Win98 2014-12-18 10:48:16 +00:00
hvlad
ffbfa99690 Patch for mingw by Alexey Pavlov : Fix using function pointer.
See also CORE-4619
2014-12-18 10:38:54 +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
mapopa
f5ebc5873b Page url changed , use archive.org url 2014-12-16 05:02:48 +00:00
dimitr
3cdbfeaad2 Forgotten commit. 2014-12-02 20:37:16 +00:00
asfernandes
cebc7c36b3 Misc. 2014-11-30 21:09:39 +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
hvlad
d5c08a9fd0 Move ConfigRoot from common to the yvalve. Add its methods to the public interface ConfigManager.
Now all plug-ins have the same root\install folders.
It should fix CORE-4581 and related issues.
MSVC10 and MSVC12 builds are updated, Posix and Darwin builds will follow.
2014-11-26 09:45:42 +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
mapopa
8f223d7b15 fix idpl license url 2014-11-17 20:26:01 +00:00
alexpeshkoff
23ef7257df Avoid pool from being initialized second time during cleanup 2014-11-16 17:00:56 +00:00
asfernandes
0973e76135 Misc. 2014-11-16 02:41:47 +00:00
hvlad
a70f97c2eb Support for MSVC12 (VS 2013) 2014-11-14 11:04:48 +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
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
02cec62864 add PowerPc64 big endian 2014-11-12 17:00:44 +00:00
mapopa
baae1690e2 Reserve implementation id for big endian ppc64 2014-11-12 16:55:37 +00:00
mapopa
c2ad0aa900 add PowerPc64el 2014-11-11 16:17:54 +00:00
mapopa
f2f2e66be6 add PowerPC64el implementation 2014-11-11 16:05:11 +00:00
mapopa
81e50a006d Spell fix in comment 2014-11-11 15:08:23 +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
66a6cdd71e Fixed Mac port 2014-10-14 13:36:37 +00:00
hvlad
5ffbad8173 Fixed wrong item "unknown ISC error 0" in error messages 2014-10-14 07:31:48 +00:00
asfernandes
c642ddca82 Misc. 2014-10-12 02:25:02 +00:00
asfernandes
fcaeb05db1 Correction. 2014-10-12 02:24:08 +00:00
alexpeshkoff
84b8bf20de Fixed CORE-4573: Avoid need in fake -pas switch when using gsec in embedded mode 2014-10-08 12:19:23 +00:00
alexpeshkoff
153de0f271 Language independent API 2014-09-29 11:03:47 +00:00
hvlad
8ba9d33798 Implement improvement CORE-4556 : Allocate data pages in group of sequential ordered pages (extents)
Validation code will follow
2014-09-18 22:31:53 +00:00
mapopa
2760ce3d1f Apply patch from 2.5 branch related to #CORE-3400 http://sourceforge.net/p/firebird/mailman/message/27734396/ 2014-09-14 16:25:52 +00:00
alexpeshkoff
38fd4dba26 Fixed merge of IStatus into old status vector format - thanks to Pavel 2014-08-28 09:02:24 +00:00
dimitr
663e3a93b2 Misc. 2014-08-27 13:32:42 +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
02e6c00da4 Quick fix for the Windows build. 2014-08-26 14:16:09 +00:00
alexpeshkoff
5714853583 Fixed non-linux posix builds 2014-08-20 10:07:19 +00:00
robocop
a623b39950 Misc. 2014-08-17 04:17:48 +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
5bb75f4fb1 Fixed parameters when using ITimer interface for SYSV-semaphores build 2014-07-30 13:14:31 +00:00
alexpeshkoff
532181a7f9 Renamed as suggested by Nickolay and Dmitry 2014-07-28 13:01:10 +00:00
asfernandes
5851f7e8d3 Warnings. 2014-07-27 23:33:50 +00:00
asfernandes
8bbd309e67 Improvement CORE-4484 - Description (COMMENT ON) for package procedures and functions, and its parameters. 2014-07-27 03:05:44 +00:00
alexpeshkoff
4bdc2a3e19 Replaced macro FB_ALIGN with function fbAlign, minor related cleanup 2014-07-24 06:41:38 +00:00
asfernandes
6488dfed7f Misc. 2014-07-18 01:52:24 +00:00
skidder
e2e901939c Fix GCC warnings 2014-07-17 21:17:15 +00:00
skidder
ae02639968 Fix GCC build broken with last commit 2014-07-17 19:17:11 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
asfernandes
fa0c3dd11c Misc. 2014-07-10 02:21:18 +00:00
alexpeshkoff
2b066db7ab Fixed CORE-4478: Failure to load provider/plugin not reported 2014-07-04 08:25:49 +00:00
alexpeshkoff
a9721f18e0 Added first parameter IStatus* to a lot of functions in API interfaces 2014-07-02 12:57:12 +00:00
asfernandes
3233fca7f5 Misc. 2014-07-02 02:22:40 +00:00
alexpeshkoff
f1e3ba674b Fixed CORE-4475: attempt to create lock files directory fails during cleanup 2014-06-30 11:45:53 +00:00
asfernandes
08f3a00cb0 Misc. 2014-06-20 02:28:22 +00:00
alexpeshkoff
acc74efb75 Current HPUX reported to support __thread 2014-06-19 12:44:46 +00:00
alexpeshkoff
61e882e926 HPUX port - fixed assertion for RISC machines with compiler missing __thread support 2014-06-19 12:25:16 +00:00
alexpeshkoff
77e9c376ef Front-ported needed AIX port changes 2014-06-18 12:20:29 +00:00
asfernandes
38dcfb7700 Avoid warnings. 2014-06-11 15:39:45 +00:00
asfernandes
fd7983167c Fixed the Windows build. 2014-06-11 15:21:18 +00:00
alexpeshkoff
6a2016235a Fixed CORE-4435: After calling release() for attachment to database (instead detach) in embedded mode attachment remains active forever (and some cleanup re. reference counters) 2014-06-10 07:13:34 +00:00
asfernandes
bb735cb5a2 Misc. 2014-05-23 02:12:56 +00:00
alexpeshkoff
dd549a0a4d Arm64 port 2014-05-22 10:47:03 +00:00
alexpeshkoff
befcba7105 Fixed issues related to encoding of switch value in gbak/nbackup - thanks to Adriano. Added support for -SKIP_DATA to services. 2014-05-21 13:11:43 +00:00
alexpeshkoff
be0f72fa6e Fixed assertion reported by Pavel Zotov privately, took typical measures to avoid such behavior in the future 2014-05-20 08:05:16 +00:00
asfernandes
88f58e409f Misc. 2014-05-08 02:51:12 +00:00
alexpeshkoff
854aa5ec96 Change Hash duplicates control interface to avoid unexpected use - thanks to Claudio 2014-05-07 09:18:52 +00:00
robocop
2a9f17ec6d I need name_length_limit() for testing some isql functionality. 2014-05-06 22:41:24 +00:00
alexpeshkoff
148f60aa94 Fixed support of maps with same hash value 2014-05-06 10:07:08 +00:00
robocop
1bb6f45b89 Misc. 2014-05-01 05:29:19 +00:00
mapopa
9176e2f4f6 VMS cleanup 2014-04-30 09:14:20 +00:00
hvlad
bb2c97fb0c MSVC 12 support, very first step 2014-04-28 12:50:31 +00:00
alexpeshkoff
a98e565571 Fixed CORE-4303: Possible races while Service destruction, related code cleanup 2014-04-25 10:59:34 +00:00
alexpeshkoff
1920804fb2 Missing return - thanks to Claudio 2014-04-23 12:43:20 +00:00
alexpeshkoff
10346ce4bc Fixed CORE-2119: Use entries in restrict list of ExternalFileAccess parameter to mangle filenames with relative path, also fixed assertion and diagnostics related to EXTERNAL FILE tables 2014-04-22 13:37:14 +00:00
asfernandes
128ec5aee0 Fixed problem with ALTER SEQUENCE. 2014-04-19 22:17:59 +00:00
alexpeshkoff
8c39e4563c Enhanced diagnostics in authentication mapping 2014-04-18 15:33:11 +00:00
robocop
2d7feec2af Simplify QUADCONST definition for Windows. 2014-04-12 06:31:01 +00:00
alexpeshkoff
df78c817e9 Bad name "Buffer" and misc cleanup around 2014-04-09 12:32:02 +00:00
alexpeshkoff
260050f5f2 Patch from Dmitry Sibiryakov - convert SQLDA directly to IMessageMetadata w/o intermediate BLR 2014-04-08 16:13:12 +00:00
robocop
c90d9d4547 Misc. 2014-04-05 01:44:32 +00:00
alexpeshkoff
20e846369e Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names) 2014-04-04 15:57:18 +00:00
alexpeshkoff
ee8fbcd231 fixed build 2014-03-24 09:46:18 +00:00
robocop
66af445e2e Misc. 2014-03-22 20:51:24 +00:00
robocop
6a7d4ca3ff Misc. 2014-03-14 00:42:20 +00:00
alexpeshkoff
bc6ef02abd Make functions in IMessageMetadata non-const like the rest of interfaces 2014-03-12 09:32:10 +00:00
asfernandes
19abcf94fd Cleanup InternalMessageBuffer. 2014-03-09 01:55:42 +00:00
asfernandes
ddd97ce346 Misc. 2014-03-04 02:12:15 +00:00
robocop
ae8f6d6b8f Misc. 2014-03-03 04:37:29 +00:00
alexpeshkoff
86d9a11f6c Mac port 2014-02-26 12:31:20 +00:00
hvlad
d125f5617a Fixed warning by PVS-Studio
Review is appreciated
2014-02-25 14:18:32 +00:00
alexpeshkoff
e19df1d0c9 Fixed posix build and expected logic of the code 2014-02-25 09:27:28 +00:00
robocop
caaf525d3c Misc. 2014-02-25 06:13:30 +00:00
asfernandes
e6ba3d47f2 Improvement CORE-2224 - Upgrade ICU to version 52.1 2014-02-24 16:23:16 +00:00
robocop
1a797ce2f3 Warnings (PVS-Studio). 2014-02-22 07:10:13 +00:00
robocop
fefc8f9d00 Corrections (PVS-Studio). 2014-02-22 07:09:47 +00:00
asfernandes
cb3f15792e Warnings. 2014-02-21 15:47:05 +00:00
hvlad
e98867ce53 Additional patch for bug CORE-4275 (create database fault if fbclient.dll loaded from another directory (Providers = Engine12)): use LOAD_WITH_ALTERED_SEARCH_PATH flag unconditionally 2014-02-18 11:42:58 +00:00
dimitr
60a7b6b623 Increased default number of hash slots. 2014-02-17 15:11:27 +00:00
dimitr
1717dac8de Totally misc. 2014-02-17 15:10:50 +00:00
hvlad
e3b82996a1 Windows only changes:
- try to load DLL's from fbclient's folder if DLL's file name contains no full path 
- if attempt above failed, load DLL using given file name (as is)
- cleanup

It should fix CORE-4275 (create database fault if fbclient.dll loaded from another directory (Providers = Engine12))
2014-02-16 13:26:19 +00:00
alexpeshkoff
26b090c93b Added access to configuration interfaces from IMaster and support for getting configured directories 2014-02-12 11:20:55 +00:00
paulbeach
d730cff39b Darwin port 2014-02-03 08:58:01 +00:00
alexpeshkoff
ca4df415ca Misc enhancements in .conf parser and *.conf.in files 2014-01-31 14:43:25 +00:00
alexpeshkoff
ede5ddeaa5 Misc formattingsrc/common/classes/fb_tls.h 2014-01-23 12:26:03 +00:00
paulbeach
018ef04d69 Darwin port for Firebird 3 2014-01-23 09:46:29 +00:00
alexpeshkoff
078827c8e0 Fixed possible alignment issue 2014-01-20 13:08:56 +00:00
hvlad
4dcfd8750a Fixed bug CORE-4320 : Regression: isql crash when receiving statistics of execution of sql query 2014-01-20 09:13:37 +00:00
asfernandes
48ea42f1c0 Misc. 2014-01-19 20:38:16 +00:00
asfernandes
f3e7be12ba Misc. 2014-01-16 14:52:18 +00:00
alexpeshkoff
1f19455043 Fixed posix build 2014-01-16 13:07:01 +00:00
hvlad
ac9e180d73 Adjusted MSVC10 build. 2014-01-16 11:41:46 +00:00
alexpeshkoff
949defe5e6 Implemented CORE-4317: Make ISQL use new object API with 32-bit length for object sizes (messages, SQL statements, etc.)
Implementation also includes changes in GPRE, but this utility is not complete - only commands, used in ISQL,
are working in code generator for new API.
New interface IUtl is added - it performs tasks, related with database objects (attachment, transaction, etc.),
but not requiring routing in YValve, i.e. client only tasks.
2014-01-15 13:02:08 +00:00
dimitr
a149317d89 Improvement CORE-3881: Extend the error reported for index/constraint violations to include the problematic key value. 2014-01-10 07:49:51 +00:00
asfernandes
0ec5daac05 Misc. 2014-01-06 00:51:37 +00:00
robocop
2810026363 Misc and warnings. 2013-12-29 00:35:50 +00:00
alexpeshkoff
d0a916138f Fixed CORE-4298: fbsvcmgr doesn't recognise sts_record_versions and other sts switches 2013-12-19 13:48:17 +00:00
alexpeshkoff
64b4f89d43 Changed syntax of user definition operators according to discussion in devel
Added virtual table sec$user_attributes with parsed user's attributes
Implemented CORE-2004: Ability to alter user inactive/active
Implemented CORE-2063: Added CREATE OR ALTER USER operator
Implemented CORE-3931: Ability to set comment for the user
2013-12-17 14:20:25 +00:00
alexpeshkoff
72bfd909e6 Fixed CORE-4290: added SQL support to set/drop unlimited list of user's properties 2013-12-10 13:03:39 +00:00
alexpeshkoff
40de1dabb0 Implemented CORE-4290: Extensible property support which can add properties (name-value pairs) to users 2013-12-06 17:10:10 +00:00
alexpeshkoff
02a2e27e5f Cleanup - commented code was invalid, w/o it warnigns are processed correctly 2013-11-26 10:35:30 +00:00
alexpeshkoff
4a8fe5a0de Implemented CORE-4273: Per-database control on access to database from remote stations 2013-11-22 15:21:11 +00:00
alexpeshkoff
1b38b028b8 Scale of variable is signed value 2013-11-22 07:44:22 +00:00
alexpeshkoff
2ab67b56de Fixed CORE-4178: New API should return proper metadata properties, not the historical artifacts 2013-11-22 06:42:40 +00:00
asfernandes
d543daf51a Misc. 2013-11-21 01:17:08 +00:00
alexpeshkoff
096397097c Use better way to ignore unused return value - thanks to Adriano 2013-11-20 12:12:07 +00:00
alexpeshkoff
d6297bebd4 Fixed some gcc warnings 2013-11-19 13:19:11 +00:00
alexpeshkoff
82f1524800 Fixed some more warnings 2013-11-18 14:56:14 +00:00
alexpeshkoff
190ff0ad45 Fixed warning "deleting object of abstract class type" where possible 2013-11-18 13:28:47 +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
alexpeshkoff
ae5e485cc5 misc 2013-11-14 15:36:59 +00:00
paulbeach
2f00756b93 Fix embedded on MacOS issue with symbolic links and relative paths 2013-11-07 11:17:33 +00:00
alexpeshkoff
8c546c2362 Fixed CORE-4241: Empty password will pass login 2013-10-30 12:46:35 +00:00
alexpeshkoff
9d31e79477 Cleanup - "Authentication" parameter from firebird.conf is overriden by "AuthServer" 2013-10-30 12:23:45 +00:00
alexpeshkoff
5a054cca16 Fix found by Jim Starkey man-in-themiddle attack on ATTACH packet.
That packet may contain database name, command line for service and/or some other important and critical information.
To avoid such attack wire encryption is started before attaching database or service manager, right after connect.
Also should fix a number of issues found in Alpha1 regarding services attach.
2013-10-16 12:53:04 +00:00
asfernandes
51b0d1aca4 Frontport fix for CORE-4244 - Problem with creation procedure which contain adding text in DOS864 charset. 2013-10-15 15:26:34 +00:00