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

34 Commits

Author SHA1 Message Date
robocop
2fadc0e456 Style. 2008-12-22 09:00:05 +00:00
asfernandes
5311dd5a5e Misc 2008-12-20 19:57:43 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
dimitr
2b87e94242 Use explicit iterators instead of the implicit (built-in) ones due to the thread-safety requirements.
This change affects GenericMap only, as it's used globally in a few places and we have a proven crash there.
I have a more complete solution (total cleanup of default accessors from BePlusTree and SparseBitmap) in my local tree (thanks to Dmitry Kovalenko), but it's incomplete (requires more changes inside the engine) and IMHO risky (~20 core modules are affected), so I'd like to defer finalization of this cleanup till v3.0.
All objects of these types seem being protected by dbb_sync, so they shouldn't cause us any problems currently.
2008-12-19 14:57:01 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
robocop
09f142746b Misc. 2008-11-19 04:25:56 +00:00
asfernandes
ad24045db4 Fixed:
CORE-2185 - Alias WIN_1258 for WIN1258
CORE-2186 - fbintl.dll never get unloaded in Firebird 2.X Embedded after invoke isc_dsql_execute_immediate for CREATE DATABASE
2008-11-16 13:36:19 +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
53bf05282d Misc. 2008-04-26 14:35:12 +00:00
alexpeshkoff
c0a472d65e 1. Replaced JString (and some plain char[] buffers) with Firebird::string.
2. Make memory allocations look (and wrok) in current firebird style.
3. Fixed vararg usage problem on amd64/linux in AdminException.
2008-04-24 15:49:43 +00:00
robocop
60802a9d77 Fix the most obvioius problems:
- style (few fixes only)
- constness
- total lack of encapsulation (all data members exposed in the interface).
2008-04-20 10:40:58 +00:00
robocop
61662f5b5b Constness and style. 2008-04-19 09:42:01 +00:00
asfernandes
840ff6f0ac Reimplementation of CORE-824 for ICU 3.0 2008-02-12 14:47:19 +00:00
asfernandes
a4097d0923 Rollback CORE-824 until I got it fixed - done --with-system-icu 3.6 2008-02-12 14:26:48 +00:00
asfernandes
9ffe4b124f UNICODE_CI_AI (case-/accent- insensitive) collation - CORE-824 2008-02-12 00:05:16 +00:00
robocop
e9e1ead67a Mostly style, constness, native memcpy and explicit constructors. 2008-02-02 17:04:06 +00:00
dimitr
e08c5da397 The merge continued. 2008-01-16 09:07:24 +00:00
aafemt
0a6b4b9fe6 Warning 2007-08-29 11:12:09 +00:00
robocop
f2f3d205ce Misc. 2007-04-20 09:47:14 +00:00
alexpeshkoff
8b5dd60a66 fixed posix build after latest changes 2007-04-19 09:19:11 +00:00
asfernandes
f2ecfc4898 Misc changes as per Claudio and Alex comments 2007-04-19 01:09:44 +00:00
asfernandes
b5f90e6b3c Correction - thanks to Claudio 2007-04-18 15:18:22 +00:00
robocop
46df6dd844 Misc. 2007-04-18 11:02:41 +00:00
asfernandes
9582ea243c 1) Upgrade INTL interface to undestand misc. configuration informations
2) Make our ICU collations work with different ICU versions (tested with ICU 3.6)
2007-04-15 15:57:12 +00:00
aafemt
e6151fd57f Warnings 2006-09-01 10:51:57 +00:00
aafemt
8ba3a7acf8 Warnings 2006-06-29 09:06:32 +00:00
asfernandes
93b5358e58 Ability to use:
1) ICU charsets through fbintl
2) UNICODE collation (charset_UNICODE) for all fbintl charsets
2006-06-13 02:38:39 +00:00
asfernandes
d8cfd176bf Allow external (what is passed to driver) collation name in fbintl.conf 2006-05-30 02:58:25 +00:00
dimitr
594b06bda0 Sync with the 2.0 release branch. 2006-04-30 04:36:58 +00:00
robocop
2b2e2d5dd0 Const correctness and the like. 2005-12-23 01:42:40 +00:00
robocop
4399b15b3d const_iterator
The code in intlmanager originally confused me.
2005-06-11 00:13:30 +00:00
asfernandes
7292b97fff Remove wrong compiler message: it's iterating in "conflicts" and removing in "charSetCollations" 2005-06-06 20:52:34 +00:00
robocop
b8d1f00f94 - Corrections and changes to Adriano's commit, subject to his inspection.
- Solved an endless loop with trim and zero-length trim characters, etc.
- Some places are signaled with FB_COMPILER_MESSAGE for prompt attention.
2005-06-06 08:30:03 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00