Significant re-work of reference counters & queues. Cleaned up a lot of
unnecessary ThreadLocals. Synchronized reference counters (GC happens in
a different thread, duh!) Switched to AtomicIntegers for counters.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Merge remote-tracking branch 'origin/jesse' into nathan
Merge remote-tracking branch 'origin/paul' into nathan

Fixed very minor conflicts.

Conflicts:
	org.openntf.domino/src/org/openntf/domino/DateTime.java
	org.openntf.domino/src/org/openntf/domino/impl/DateTime.java

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Tweak to Base

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
equalsIgnoreTime and equalsIgnoreDate were changing the underlying
values - fixed.
Full test added
Merge remote-tracking branch 'origin/paul' into nathan
Completed and tested FileHandler and ConsoleHandler
NOTE: At the moment you need an IBM_TECHNICAL_SUPPORT folder in
the project (that folder has been added to .gitignore)
Proved out not forcing recycle on DocumentCollectionIterator. You can
now stash a Document in the middle of an Iterator, and the handle
remains valid even once the iterator is complete.

HashSet<Document> stash = new HashSet<Document>();
for (Document doc : db.getAllDocuments()) {
  if (someCondition) {
    stash.add(doc);
  }
}
for (Document doc2 : stash) {
  doc2.getLastModified();
}

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Merge remote-tracking branch 'origin/paul' into nathan

Conflicts:
	org.openntf.domino/src/org/openntf/domino/utils/DominoFormatter.java

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Added Design interface and extended appropriate Interfaces. (Didn't add
any methods, though .getDocument() is one that we intend.)

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Implemented issue #7. Database.getDocumentByUNID and .getDocumentByID
now return null instead of throwing exceptions

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Implemented issue #22 to create a DocumentCollection directly from a
NoteCollection.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Renamed some recycle controls for clarity. Included bigger scratch test.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Restructured RichTextItem hierarchy to allow for proper casting and
deferral to the parent class. Also added DocumentScanner helper class to
get token values in field contents.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Cleaned up a couple of warnings from the Doc scanner

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Fixed a bug where the Factory would create Item objects instead of
RichTextItem objects as needed.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Added cpp_object because... I can't even discuss it. It's just so wrong.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>
Merge remote-tracking branch 'origin/nathan' into jesse
Revert "Just some putzing around"

This reverts commit 7d08ac52040d2ed9cf5d0b8f86e28c6704d7ef39.