FFFF Releases · klehmann/domino-jna · GitHub
[go: up one dir, main page]

Skip to content

Releases

Domino JNA for XPages

Domino JNA for XPages Pre-release
Pre-release

Choose a tag to compare

@klehmann klehmann released this 23 Jun 10:06
  • Added MIMEStream.getMIMEReader(...) to get a Java Reader to read raw MIME data; fixed MIMEStream GC issue (duplicate handle detected) cd82161
  • Added NotesNote.send() to send a note via email 6d95536
  • Added IDUtils.isIDInVault() 1e134fa
  • Added Navigate.NAVIGATE_AUTOEXPAND_SELECTED to automatically expand entries in the selected list IDTable when navigating a collection (used in the Notes.jar ViewNavigator code to work with expand/collapse lists when navigating categorized views) 75db2e4
  • Added some more NIF navigation constants for special cases d51b3a0
  • Added alternative handle collection/disposal method NotesGC.initThread() instead of NotesGC.runWithAutoGC(Callable). Useful in async servers like vert.x where the GC contexts should be kept valid between code invocations. Make sure to dispose the returned DominoGCContext even in error conditions or you will create a resource leak! 94255e5
  • fixed alignment issue on Mac/64bit when reading owner-names of schedules 43494ce 3a6b5e2

Breaking change:
NotesCollection.locateNote()now has a parameter for the last known position. This one is required to find the nearest new position of a note after a view index update, based on the last position (important if the note appears multiple times in the view). 75db2e4

Domino JNA for XPages

Domino JNA for XPages Pre-release
Pre-release

Choose a tag to compare

@klehmann klehmann released this 29 May 12:22
  • APIs for folder operations, e.g. create from specified/default design, delete, rename, move or copy an existing folder with content fc5b05e a5e3f00

  • new methods NotesDatabase.findFolder(String name) and NotesDatabase.findView(String name) to look up folder/views by name and get back the design doc note id; NotesDatabase.findCollection(String name) existed before and finds both views and folders a5e3f00

  • new utility class NoteSummaryIterator to efficiently read/compute summary buffer data for a ordered list of note ids (testcase: https://github.com/klehmann/domino-jna/blob/master/domino-jna/src/test/java/com/mindoo/domino/jna/test/TestNoteSummaryIterator.java) ec4ca7f

  • fixed wrong decoding of item type TYPE_NOTEREF_LIST, e.g. $FolderRef items b099f95

  • breaking change: folder operation of NotesCollection have been moved to NotesDatabase class (since opening the folder is not required for their parameters) 3035e27

Domino JNA for XPages

Domino JNA for XPages Pre-release
Pre-release

Choose a tag to compare

@klehmann klehmann released this 25 May 12:53
  • New methods to create a blank DB, a DB from template and a DB replica f5cb4a4
  • extended DirectoryScanner class to return database options 75df71f
  • API to delete database, extended DB opening to search in shared directories (in Notes Client program dir) 60cb93c
  • Bugfixing

Domino JNA for XPages

Domino JNA for XPages Pre-release
Pre-release

Choose a tag to compare

@klehmann klehmann released this 13 May 10:08
  • new method NotesDatabase.createGhostNote() to create ghost documents (documents that do not show up in views/searches)
  • new methods NotesNote.setPrimaryKey(String category, String objectId) to assign a primary key to a note and NotesDatabase.openNoteByPrimaryKey(String category, String objectId) to open it efficiently without requiring views e2ddd62
  • new methods NotesDatabase.getAllNotesByPrimaryKey(String category)and NotesDatabase.getAllNotesByPrimaryKey() to get the object ids and note ids of all notes with assigned primary keys

Please note:
The retrieval code by primary key works both in local and remote databases, but it's very much recommended to only use it on local databases, since the remote code path is very inefficient (local lookup uses named note table in NSF, remote a formula search on the database, since named note table C API methods are not available for remote databases yet).

Example/testcase for primary key retrieval:
https://github.com/klehmann/domino-jna/blob/master/domino-jna/src/test/java/com/mindoo/domino/jna/test/TestNotePrimaryKey.java

Domino JNA for XPages

Domino JNA for XPages Pre-release
Pre-release

Choose a tag to compare

@klehmann klehmann released this 23 Apr 23:53
  • New MIMEStream class to read and write MIME data from/to documents a821205
  • New method NotesNote.convertToMime() to convert documents with richtext data into MIME format c998bc2
  • New API to read ID file flags, e.g. if ID is password protected and password can be shared across processes d0c1694 7516e54
  • Added methods to scan for attachment names in richtext items 99eb236
  • Bugfixing (missing file attachment icon 42a6dc8, fix for ACL entry update d1436c9, fixed reading of agent comment property 3ff50dd

Domino JNA for XPages

Domino JNA for XPages Pre-release
Pre-release

Choose a tag to compare

@klehmann klehmann released this 05 Mar 13:06
  • APIs to sign database content with another user ID (e.g. fetched from ID Vault) 98a939f
  • APIs to create/delete ACL entries and roles cc7789b 043c1ec

Please note:
In NotesACL methods reading ACL entries now return NotesAclEntry instead of NotesACLAccess

Domino JNA for XPages

Domino JNA for XPages Pre-release
Pre-release

Choose a tag to compare

@klehmann klehmann released this 17 Jan 10:38
  • bugfix: getItemValueString/getItemValueStringList only returned first line with newlines in item value 87865d4
  • added methods to run code with suppressed SecurityManager 885bf35

Domino JNA for XPages

Domino JNA for XPages Pre-release
Pre-release

Choose a tag to compare

@klehmann klehmann released this 20 Dec 09:30
  • Started implementing Java 1.8 features: lambda expressions syntax for NotesNote.getItems() fc3a59c
  • bugfix: V10 features like DQL search did not work in previous release 7b16884
  • bugfix: SecurityManager issues when running in XPages environment d55cfe3
  • bugfix: design richtext field transformation did not cover selection values and selection value formulas b029038

Domino JNA for XPages

Domino JNA for XPages Pre-release
Pre-release

Choose a tag to compare

@klehmann klehmann released this 11 Dec 09:15

New features:

  • stability fixes for Notes/Domino 11: deactivated JNA direct mapping by default because we experienced intermittent crashes in the Notes 11 beta 2 client
  • DXLImporter and DXLExporter 871a1d6 9ce16f5 a077e6f
  • richtext additions like tool class to parse and rewrite field properties (e.g. fieldname, formulas and HTML properties) from design richtext: com.mindoo.domino.jna.richtext.RichTextUtils / com.mindoo.domino.jna.richtext.conversion.SimpleFieldAndFormulaConversion
  • PNG support when adding images to richtext d5cd8e9
  • new API to run NSD programmatically 3e17c5d
  • method to read TCP hostname of database bfd1538
  • Java source now starting to use JDK 1.8 feature set
  • bugfixes

Domino JNA for XPages

Domino JNA for XPages Pre-release
Pre-release

Choose a tag to compare

@klehmann klehmann released this 19 Sep 14:43

133 commits since last release.

Here are a some highlights:

  • New method to read item definition table of a database be798a6
  • Added function to get the template db path by the template name 758b545
  • Support for profile note reading and writing b128f3a
  • Added API to export mails as EML files on client and server c99c043
  • Added API to read client and server statistics 5d00159 965d6ec 8d261fb
  • Tested in Notes/Domino 11 beta 1 8cc2762
  • Added method to harvest DB design for DQL speedup 8f28e9d 739bb82
  • DQL query builder updated for new Domino 11 "contains" terms (FT search) 96713a5
  • New method to send server console commands f979ffc
  • Improved richtext to HTML conversion sample to extract files as well ce25eea f94bb94 3bcd2b8
  • Added convenience functions NotesDatabase.toUnid / toNoteId 74584ec
  • Added NotesDatabase.getAllCollections() to read infos about all views ab502a7 e2e32b2
  • NotesTimeDate.toString method with date/time/timezone formatting options da43450 58a1917
  • Added NotesIntlFormat argument to NotesTimeDate.fromString 49b9b7b
  • Added setter to change timezone of NotesTimeDate 51d01e4
  • New methods to read ACL entries and all ACL roles e5eb586
  • New methods in NotesCollection to read view design properties, e.g. .isConflict(), .isCollapsed(), isGotoTopOnOpen() etc. 67225d2
  • Added method to check if $file item belongs to a TYPE_MIME_PART item a9317a7
  • Added method NotesItem.copyToNote() with parameter to rename the item 95c99af
  • Added check method to large summary buffer support on DB 5a92a2b
  • Added checks for ERR 1028 when openings docs to return null if not found 5ff301c 4539f0f 24e1da6 d96e909
  • Improved reading of data below view categories 80bc561
  • Added method to convert RFC822 items to native Domino format b8b2a14
  • NotesDatabase.openMailDatabase(), hasFullAccess() and runWithDbLock() d807dea
  • Changed flag to find view in design, did not find all available views 2278f8f
  • Flags to update note without triggering replication (used by replicator) 5255f3f
  • Added experimental code to set sequence number and time e6680b2
  • Added more HTML conversion options 4000c09 9988b6d
  • More FTSearch options for NotesDatabase searches (e.g. get result sorted by created/modified/score) bc483bd e358708
  • Additional methods to write Notes.ini variables (e.g. OSGI_HTTP_DYNAMIC_BUNDLES) e2d0e8b
  • Added getter to read TIMEDATE value from Notes.ini with testcase 3650d8e
  • NotesCollection column title/name no longer converted to lowercase bacdf50
  • removed ICU4J dependency, now using undocumented method OSTranslate32 to translate between LMBCS and Java strings with support for long texts (length > WORD size that OSTranslate supports) e39ad13
  • Performance optimizations, fixed memory handle leaks
0