Julien Kerihuel [Thu, 15 Jul 2010 15:52:08 +0000 (15:52 +0000)]
Use local includes rather than installed ones for libexchange2ical
Sanitize function declarations
Julien Kerihuel [Thu, 15 Jul 2010 15:29:43 +0000 (15:29 +0000)]
Remove proto and proto_private.h from ignore list
Julien Kerihuel [Thu, 15 Jul 2010 15:29:04 +0000 (15:29 +0000)]
Remove auto-generated headers for libmapiadmin
Use local includes rather than installed ones for libmapiadmin
Julien Kerihuel [Thu, 15 Jul 2010 15:20:18 +0000 (15:20 +0000)]
Remove proto and proto_private.h from ignore list
Julien Kerihuel [Thu, 15 Jul 2010 15:18:10 +0000 (15:18 +0000)]
Remove auto-generated headers for libocpf
Use local includes rather than installed ones for libocpf
Julien Kerihuel [Thu, 15 Jul 2010 13:09:59 +0000 (13:09 +0000)]
Fix bug #248 misnamed PR_RECIPIENTS_FLAGS
Julien Kerihuel [Thu, 15 Jul 2010 11:38:18 +0000 (11:38 +0000)]
Add IDL implementation for WritePerUserInformation.
Note: This IDL suffers from the same problems than SetMessageReadFlags. It depends on logon_id and Logon flags.
Changelog Updater [Wed, 14 Jul 2010 22:00:56 +0000 (22:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Wed, 14 Jul 2010 10:12:36 +0000 (10:12 +0000)]
Add server-side preliminary ReloadCachedInformation implementation.
The Rop only support a specific case and it is expected to work better after
integration of the OCPF contexts for message transaction.
Julien Kerihuel [Wed, 14 Jul 2010 10:05:35 +0000 (10:05 +0000)]
Missing header for stat()
Changelog Updater [Tue, 6 Jul 2010 22:01:08 +0000 (22:01 +0000)]
Daily ChangeLog Update
Brad Hards [Tue, 6 Jul 2010 04:49:25 +0000 (04:49 +0000)]
Implement RopSetReceiveFolder
There is a part of this missing (relating to modification times) that will be implemented
as part of the RopGetReceiveFolderTable implementation.
This updates the mapitest code, including a change to the function signature for the
mapitest_print_retval_step() function to take an explicit MAPISTATUS value instead of
relying on GetLastError().
Changelog Updater [Sun, 4 Jul 2010 22:00:57 +0000 (22:00 +0000)]
Daily ChangeLog Update
Brad Hards [Sun, 4 Jul 2010 07:11:11 +0000 (07:11 +0000)]
Enhance the GetReceiveFolder ROP.
This now tries all available MessageClass entries.
Brad Hards [Sun, 4 Jul 2010 07:02:03 +0000 (07:02 +0000)]
Enhance GetReceiveFolder mapitest.
Changelog Updater [Sat, 3 Jul 2010 22:01:11 +0000 (22:01 +0000)]
Daily ChangeLog Update
Brad Hards [Sat, 3 Jul 2010 06:31:48 +0000 (06:31 +0000)]
Make sure objects are correctly init()'d and release()'d even in fault condition.
Brad Hards [Sat, 3 Jul 2010 06:30:30 +0000 (06:30 +0000)]
Make sure objects are correctly init()'d and release()'d even in failure case.
Brad Hards [Sat, 3 Jul 2010 06:17:21 +0000 (06:17 +0000)]
Make sure all objects are initialised, even in failure cases.
Brad Hards [Sat, 3 Jul 2010 04:39:11 +0000 (04:39 +0000)]
Trivial comment change.
Brad Hards [Sat, 3 Jul 2010 04:38:25 +0000 (04:38 +0000)]
Add a few more null pointer protections into fsocpf backend.
Trying to get mapitest running...
Changelog Updater [Fri, 2 Jul 2010 22:01:02 +0000 (22:01 +0000)]
Daily ChangeLog Update
Brad Hards [Fri, 2 Jul 2010 06:57:18 +0000 (06:57 +0000)]
Add mapitest unit test for DeleteMessages with multiple messages.
Brad Hards [Fri, 2 Jul 2010 04:56:22 +0000 (04:56 +0000)]
Implement DeleteMessages ROP.
Adds message deletion support to mapistore core and fsocpf backend.
I've been testing this with OXCMSG-SAVE-CHANGES-MESSAGE from mapitest.
Brad Hards [Fri, 2 Jul 2010 04:50:05 +0000 (04:50 +0000)]
Make it a bit easier to use alternative GIT tree.
Brad Hards [Fri, 2 Jul 2010 04:47:10 +0000 (04:47 +0000)]
Ensure we return the correct MID from SaveChangesMessage
Changelog Updater [Mon, 28 Jun 2010 22:01:08 +0000 (22:01 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Mon, 28 Jun 2010 11:49:55 +0000 (11:49 +0000)]
Fix a segfault when releasing handles. We kept
processing the handles list after releasing the element.
Brad Hards [Mon, 28 Jun 2010 10:08:02 +0000 (10:08 +0000)]
Add some simple tests for openchangeclient.
Brad Hards [Mon, 28 Jun 2010 04:49:22 +0000 (04:49 +0000)]
Unbreak compilation problems from previous commit.
Brad Hards [Mon, 28 Jun 2010 02:43:59 +0000 (02:43 +0000)]
Ensure we don't duplicate folder names.
This adds appropriate checks for both system (openchangedb) and normal (mapistore)
folders. The mapitest code also checks that the OPEN_IF_EXISTS flag works.
I had to add an additional mapitest_print_retval() variation, since successful operations
don't reset errno.
Changelog Updater [Sat, 26 Jun 2010 22:00:58 +0000 (22:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Sat, 26 Jun 2010 14:02:10 +0000 (14:02 +0000)]
add support for PT_CLSID and PT_SVREID in cast_mapi_SPropValue
Brad Hards [Sat, 26 Jun 2010 11:04:19 +0000 (11:04 +0000)]
Make sure we always set the opnum and handle, even for error cases.
Julien Kerihuel [Sat, 26 Jun 2010 09:04:44 +0000 (09:04 +0000)]
Add a memory context argument to cast_mapi_SPropValue to be less
dependent to libmapi and allow better memory allocation handling.
Propagate API change among OpenChange source tree
Add doxygen documentation for cast_mapi_SPropValue
Brad Hards [Sat, 26 Jun 2010 02:07:12 +0000 (02:07 +0000)]
Suppress compilation noise in a few places for consistency with the rest of the Makefile
Julien Kerihuel [Fri, 25 Jun 2010 23:37:38 +0000 (23:37 +0000)]
Add ocpf_write support for PT_MV_STRING8, PT_MV_UNICODE, PR_MV_BINARY
and PT_MV_LONG
Julien Kerihuel [Fri, 25 Jun 2010 23:03:06 +0000 (23:03 +0000)]
- Add documentation for PT_MV_LONG
- Update PT_BINARY section
Julien Kerihuel [Fri, 25 Jun 2010 22:16:50 +0000 (22:16 +0000)]
- Fix PT_BINARY to now parse uint8_t 0x00 - 0xFF instead of previous
(and incorrect) long items
- Add implementation for PT_MV_LONG
- Clean up useless code
Changelog Updater [Fri, 25 Jun 2010 22:00:40 +0000 (22:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Fri, 25 Jun 2010 21:16:50 +0000 (21:16 +0000)]
Add mapidump_SPropValue for PT_MV_LONG
Julien Kerihuel [Fri, 25 Jun 2010 17:02:30 +0000 (17:02 +0000)]
Add support for PT_MV_UNICODE type
Julien Kerihuel [Fri, 25 Jun 2010 16:54:52 +0000 (16:54 +0000)]
Add mapidump_SPropValue for PT_MV_UNICODE
Julien Kerihuel [Fri, 25 Jun 2010 14:40:14 +0000 (14:40 +0000)]
Add support for PT_MV_BINARY type
This implementation required to add a Binary_r within ocpf_context to
union SPropValue_CTR content consistent among recursive parsing.
Julien Kerihuel [Fri, 25 Jun 2010 14:24:10 +0000 (14:24 +0000)]
Add PT_MV_BINARY support in cast_SPropValue
Julien Kerihuel [Fri, 25 Jun 2010 14:19:16 +0000 (14:19 +0000)]
Add mapidump_SPropValue entry for PT_MV_BINARY
Julien Kerihuel [Fri, 25 Jun 2010 09:51:34 +0000 (09:51 +0000)]
Do not search context if context_id is NULL
Julien Kerihuel [Fri, 25 Jun 2010 09:49:23 +0000 (09:49 +0000)]
- Add a function to synchronize data on filesystem after a write
commit (close/fopen) and change open and context flags depending on
their previous value.
- If PR_MESSAGE_CLASS or PR_MESSAGE_CLASS_UNICODE is used for
set_SPropValue, update context type.
Changelog Updater [Thu, 24 Jun 2010 22:00:38 +0000 (22:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Wed, 23 Jun 2010 22:45:50 +0000 (22:45 +0000)]
Fix warnings generating by the incorrect .tp_new first argument type
Changelog Updater [Wed, 23 Jun 2010 22:00:56 +0000 (22:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Wed, 23 Jun 2010 20:46:49 +0000 (20:46 +0000)]
- Implement server-side skeleton for ReadPerUserInformation (0x63)
Julien Kerihuel [Wed, 23 Jun 2010 19:00:12 +0000 (19:00 +0000)]
- Use external TALLOC context for cast_SPropValue rather than
global_mapi_ctx->mem_ctx. This was preventing from using this function
properly in a context different from libmapi based application
(server).
- Add cast_SPropValue support for PT_CLSID and PT_MV_LONG
- add message path + id in the indexing database for mapistore case in
SaveChangesMessage
Julien Kerihuel [Wed, 23 Jun 2010 18:56:26 +0000 (18:56 +0000)]
Add default owner/full rights to new root folders created. Works with
Outlook 2003 (shift + delete for hard delete)
Julien Kerihuel [Wed, 23 Jun 2010 18:54:35 +0000 (18:54 +0000)]
Add PT_SRVEID support in SPropValue (0xFB proptype)
Julien Kerihuel [Wed, 23 Jun 2010 18:53:39 +0000 (18:53 +0000)]
Add owner / full-access rights for mailbox folders. It introduces less
stabilitity but offers wider range of available features.
Julien Kerihuel [Wed, 23 Jun 2010 18:51:58 +0000 (18:51 +0000)]
Generate PidTagRights for PR_RIGHTS (used in openchangedb)
Julien Kerihuel [Tue, 22 Jun 2010 23:21:32 +0000 (23:21 +0000)]
- Complete fsocpf_get_path implementation
- Register message into indexing.tdb after SubmitMessage
Julien Kerihuel [Tue, 22 Jun 2010 22:07:39 +0000 (22:07 +0000)]
Add ocpf_server_set_type python bindings.
Ohhh looks like we have reached r2000 ;-)
.-. ,
`._ ,
\ \ o
\ `-,.
.'o . `.[] o
<~- - , ,[].'.[] ~> ___
: : (-~.)
` ' `|'
` ' |
`-. .-' |
-----{. _ _ .}-------------------
Changelog Updater [Tue, 22 Jun 2010 22:00:56 +0000 (22:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Tue, 22 Jun 2010 21:58:59 +0000 (21:58 +0000)]
- Add SetProps server side implementation for mapistore messages
- Add a preliminary set of properties within CreateMessage (not
complete yet) as stated in MS-OXCMSG 3.2.5.2
- Add SaveChangeMessages preliminary server side implementation
- Add SubmitMessage preliminary server side implementation
- add mapistore and fsocpf backend implementation for
SaveChangeMessages and SubmitMessage. Note: SubmitMesage is just a
hack for now.
Julien Kerihuel [Tue, 22 Jun 2010 21:54:45 +0000 (21:54 +0000)]
- Add a wrapper to set OCPF file TYPE
- Free/Allocate type on purpose
Julien Kerihuel [Tue, 22 Jun 2010 12:05:04 +0000 (12:05 +0000)]
storing a mapistore_message within the message object is useless for
the moment. Clean-up this bit introduced with last commit.
Julien Kerihuel [Tue, 22 Jun 2010 11:55:52 +0000 (11:55 +0000)]
- Add preliminary OCPF API for server purposes (used by
mapistore_fsocpf)
- ocpf_server API now allows caller to dynamically update
properties. If the properties was already existing, updates its
value.
- Update ocpf_test.py to reflect this behavior
- Add preliminary server side implementation for CreateMessage (server
+ mapistore + fsocpf backedn)
- Add preliminary mapistore + fsocpf backend skeleton for SetProps
operation
Brad Hards [Tue, 22 Jun 2010 02:12:04 +0000 (02:12 +0000)]
Typo fix in constant name.
Julien Kerihuel [Mon, 21 Jun 2010 22:52:30 +0000 (22:52 +0000)]
- Only prevent file opened in read-only to use write_commit
- Position the stream at the beginning of the file before writing
Julien Kerihuel [Mon, 21 Jun 2010 22:38:01 +0000 (22:38 +0000)]
Defer ocpf file creation (fopen with w+) to ocpf_write_commit
Changelog Updater [Mon, 21 Jun 2010 22:00:54 +0000 (22:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Mon, 21 Jun 2010 15:22:59 +0000 (15:22 +0000)]
Add rmdir support to mapistore python bindings
Julien Kerihuel [Mon, 21 Jun 2010 14:37:35 +0000 (14:37 +0000)]
- Add mapistore python C/API support for:
- add_context_indexing
- add_context_ref_count
- opendir
- closedir
- mkdir
- errstr MAPISTORE error to string conversion
- Update mapistore python test script to demonstrate
how to create a new folder using mapistore
Julien Kerihuel [Mon, 21 Jun 2010 14:34:59 +0000 (14:34 +0000)]
I may be wrong here, but that was the only way I could pass
a folderID from python's layer to mapistore C/API
Julien Kerihuel [Mon, 21 Jun 2010 14:32:53 +0000 (14:32 +0000)]
If context is manually deleted using public API, we need to remove the destructor
we set during context init, otherwise talloc_free segfault occurs
Julien Kerihuel [Mon, 21 Jun 2010 11:39:24 +0000 (11:39 +0000)]
talloc_strdup SPropValue strings
Julien Kerihuel [Mon, 21 Jun 2010 11:34:17 +0000 (11:34 +0000)]
Add preliminary python bindings for mapistore
Julien Kerihuel [Sun, 20 Jun 2010 22:59:11 +0000 (22:59 +0000)]
Add FILETIME support for SPropValue
Changelog Updater [Sun, 20 Jun 2010 22:01:02 +0000 (22:01 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Sun, 20 Jun 2010 19:59:42 +0000 (19:59 +0000)]
Add TypeCheck on SPropValue rather than blind cast
Julien Kerihuel [Sun, 20 Jun 2010 19:23:24 +0000 (19:23 +0000)]
Add python binding for ocpf_write
Add quick test code to ensure it works as expected
Julien Kerihuel [Sun, 20 Jun 2010 17:20:15 +0000 (17:20 +0000)]
- Use SPropValue python object in ocpf module
- Add a function binding to retrieve SPropValue array from OCPF file
- Modify sample to test this behavior
Julien Kerihuel [Sun, 20 Jun 2010 14:36:15 +0000 (14:36 +0000)]
- Move OCPF python bindings to pyopenchange directory
- Install ocpf module within openchange/
Julien Kerihuel [Sun, 20 Jun 2010 14:15:38 +0000 (14:15 +0000)]
- Check property type for SPropValue
- Add auto-generated pyopenchange/pymapi_properties.c to the ignore list
Julien Kerihuel [Sun, 20 Jun 2010 13:49:32 +0000 (13:49 +0000)]
- Add preliminary OCPF python bindings
- Add a new pyopenchange python bindings directory:
- Preliminary handling of SPropValue data structure
- Add some python bindings test files
- Add a mparse parser to generate python bindings declaration for mapi
properties
- Build automatically python bindings ** We need to add Python as a
required dependency **
Brad Hards [Sun, 20 Jun 2010 10:58:03 +0000 (10:58 +0000)]
Implement EmptyFolder and enhance DeleteFolder.
This still has quite a way to go, but it does mostly work for folders, including recursion.
Brad Hards [Sun, 20 Jun 2010 10:51:48 +0000 (10:51 +0000)]
Add extended test code for folder creation / deletion.
Brad Hards [Sun, 20 Jun 2010 10:47:54 +0000 (10:47 +0000)]
Add libmapiserver support for EmptyFolder size calculations.
Changelog Updater [Sat, 19 Jun 2010 22:01:01 +0000 (22:01 +0000)]
Daily ChangeLog Update
Brad Hards [Sat, 19 Jun 2010 07:57:58 +0000 (07:57 +0000)]
Trivial typo fix.
Brad Hards [Sat, 19 Jun 2010 05:15:33 +0000 (05:15 +0000)]
Fix comment.
Changelog Updater [Thu, 17 Jun 2010 22:00:59 +0000 (22:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Thu, 17 Jun 2010 09:44:26 +0000 (09:44 +0000)]
New test.
Julien Kerihuel [Thu, 17 Jun 2010 09:41:25 +0000 (09:41 +0000)]
Second test commit.
Julien Kerihuel [Thu, 17 Jun 2010 09:30:27 +0000 (09:30 +0000)]
Test commit
Changelog Updater [Wed, 16 Jun 2010 22:00:41 +0000 (22:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Wed, 16 Jun 2010 08:02:35 +0000 (08:02 +0000)]
Fix OOM used in sample_appointment.ocpf
Julien Kerihuel [Wed, 16 Jun 2010 08:01:45 +0000 (08:01 +0000)]
Consolidate PSETID array and rely on libmapi definitions.
Changelog Updater [Tue, 15 Jun 2010 22:01:12 +0000 (22:01 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Mon, 14 Jun 2010 20:44:12 +0000 (20:44 +0000)]
Add server-side skeleton for WriteStream Rop.
Julien Kerihuel [Mon, 14 Jun 2010 20:34:48 +0000 (20:34 +0000)]
Add server-side skeleton for SetSearchCriteria and GetSearchCritera
Rop.
Improve GetSearchCriteria IDL and work around the null restriction
response size in GetSearchCriteria reply by tweaking generated code
into nopull,nopush,noprint
Add generated mapistore ldif file to the ignore list
Julien Kerihuel [Mon, 14 Jun 2010 15:44:50 +0000 (15:44 +0000)]
- Add preliminary implementation for named properties support in
mapistore. The API is yet very preliminary (init + get mapped
property ID), but is enough to return consistent data to Outlook and
make its behavior more reliable.
- mparse.pl now generates a LDIF file for the mapistore namedprops LDB
database which maps named properties within namespaces and store
default values for common/standard named properties Outlook is
using.
- add a custom ldb_connect wrapper in mapistore to allow mapistore to
open multiple instances of the same mapi named properties ldb
database.
- Complete preliminary implementation of GetIDsFromNames in oxcprpt.c.
Jelmer Vernooij [Sun, 13 Jun 2010 23:36:12 +0000 (23:36 +0000)]
Fix imports, clean up.