summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2005-11-14 00:48:49 +0000
committerMark Spruiell <mes@zeroc.com>2005-11-14 00:48:49 +0000
commit432bfb69de8d4bb872eeaa221f95ea4fc4b41f08 (patch)
treef13c80a2cff84d603575a76c5cee9629752124b3 /cpp
parentfix (diff)
downloadice-432bfb69de8d4bb872eeaa221f95ea4fc4b41f08.tar.bz2
ice-432bfb69de8d4bb872eeaa221f95ea4fc4b41f08.tar.xz
ice-432bfb69de8d4bb872eeaa221f95ea4fc4b41f08.zip
minor edits
Diffstat (limited to 'cpp')
-rw-r--r--cpp/CHANGES38
1 files changed, 21 insertions, 17 deletions
diff --git a/cpp/CHANGES b/cpp/CHANGES
index 7e2a954f5c5..c08fd0fde08 100644
--- a/cpp/CHANGES
+++ b/cpp/CHANGES
@@ -1,38 +1,42 @@
Changes since version 2.1.2
---------------------------
-- Added custom-compare to Freeze Maps:
- you can now provide your own compare functors for keys and indices. See
- the slice2freeze usage for the new options. The default compare uses
- compares binary strings encoded using the Ice encoding (like in previous
- releases).
+- Added support for custom comparison in Freeze Maps. You can now
+ provide your own compare functors for keys and indices. See the
+ slice2freeze usage for the new options. The default behavior is
+ backward compatible, comparing binary strings in the Ice encoding.
+
Map have 4 new functions:
+
- lower_bound (const and non-const)
- upper_bound (const and non-const)
+
In addition, the implementation of equal_range is now correct.
Generated index classes have 6 new functions:
+
- lowerBoundFor<name> (const and non-const)
- upperBoundFor<name> (const and non-const)
- equalRangeFor<name> (const and non-const)
- The findBy<name> also takes a new bool parameter, "onlyDups"; its default
- value is true for compatibility with previous releases. When onlyDups is
- true, findBy<name> returns only the elements that match the given index
- value; when false, the iterator returns first these elements and then
- lets you iterate over the remainder of the database (according to the order
- defined by the index).
+
+ The findBy<name> also takes a new bool parameter, "onlyDups"; its
+ default value is true for compatibility with previous releases.
+ When onlyDups is true, findBy<name> returns only the elements that
+ match the given index value; when false, the iterator returns first
+ these elements and then lets you iterate over the remainder of the
+ database (according to the order defined by the index).
- Fixed a deadlock during shutdown that could happen with
bi-directional connections.
- Removed ice_default() method from proxies.
-- Added downgrade() to IceUtil::RWRecMutex and fixed a bug in upgrade():
- previously, upgrade() was equivalent to calling unlock() followed
- by writeLock(), which could allow a thread to acquire a write lock while
- another thread was in the middle an upgrade. upgrade() is now atomic, so
- whatever state is protected by a read lock is guaranteed to be still
- unchanged when upgrade() completes.
+- Added downgrade() to IceUtil::RWRecMutex and fixed a bug in
+ upgrade(). Previously, upgrade() was equivalent to calling unlock()
+ followed by writeLock(), which could allow a thread to acquire a
+ write lock while another thread was in the middle of an upgrade.
+ upgrade() is now atomic, so whatever state is protected by a read
+ lock is guaranteed to remain unchanged when upgrade() completes.
- Connection::close(false) (i.e., graceful connection shutdown) now
waits until all outstanding requests have completed.