jelmer/openchange-proposed.git/.git
12 years agoTagging 0.11 release openchange-0.11
Brad Hards [Mon, 25 Jul 2011 09:43:06 +0000 (09:43 +0000)]
Tagging 0.11 release

12 years agoPatch from Sean Finney:
Brad Hards [Thu, 7 Jul 2011 04:35:38 +0000 (04:35 +0000)]
Patch from Sean Finney:
Okay, here's something that gets pretty darned close, probably "close enough"
for the next release. With this patch (along with the previous, already
committed patches), one can create a profile that uses kerberos (and even the
existing kerberose credentials cache for SSO users). to create such a profile:

mapiprofile -c -P kerbtest --username <username> --nopass -k yes --address <exchangeserver>

afterwards, if you run openchangeclient -m -p kerbtest, you will see the
fetched kerberos tickets in your klist output. Ideally this could be
completely automagic and not require a -k flag at all (nor the username), but
the fix for that would be a bit more complicated and is left for a future
exercise. In the meantime this solution will not get in the way and isn't too
bad, at least IMHO :)

Addresses ticket #336.

Thanks for the patch!

12 years agoBump to current (alpha16) version of Samba.
Brad Hards [Wed, 6 Jul 2011 23:38:51 +0000 (23:38 +0000)]
Bump to current (alpha16) version of Samba.

12 years agominor update to build script.
Brad Hards [Sat, 2 Jul 2011 04:09:15 +0000 (04:09 +0000)]
minor update to build script.

12 years agolibmapi: Improve unicode support
Brad Hards [Sun, 19 Jun 2011 00:47:21 +0000 (00:47 +0000)]
libmapi: Improve unicode support

Patch from Milan Crha

Resolves bug #269.

12 years agomapiproxy: update to reflect recent samba API changes.
Brad Hards [Sat, 11 Jun 2011 05:41:59 +0000 (05:41 +0000)]
mapiproxy: update to reflect recent samba API changes.

12 years agoupdate to match Samba 4 API change
Brad Hards [Tue, 7 Jun 2011 23:22:16 +0000 (23:22 +0000)]
update to match Samba 4 API change

samba change is http://git.samba.org/?p=samba.git;a=commit;h=907cdb5de7f16a2540299aeba211bf2a5ae6fafe

12 years agolibmapi: Fix some string handling issues
Brad Hards [Sun, 5 Jun 2011 23:11:36 +0000 (23:11 +0000)]
libmapi: Fix some string handling issues

Resolves ticket #359

Problem report and patch by Sean Finney. Thanks very much.

12 years agoexchange2ical: prevent segfault on missing property
Brad Hards [Wed, 1 Jun 2011 22:01:32 +0000 (22:01 +0000)]
exchange2ical: prevent segfault on missing property

Patch by Sean Finney. Thanks very much!

12 years agoPatch from Sean Finney <seanius@seanius.net>:
Julien Kerihuel [Wed, 1 Jun 2011 11:37:46 +0000 (11:37 +0000)]
Patch from Sean Finney <seanius@seanius.net>:

Add authservice keyword to IDL for proper service lookup when doing Kerberos

12 years agoFix cast
Julien Kerihuel [Tue, 31 May 2011 14:37:40 +0000 (14:37 +0000)]
Fix cast

12 years agoPatch from Sean Finney <seanius@seanius.net>:
Julien Kerihuel [Tue, 31 May 2011 14:36:34 +0000 (14:36 +0000)]
Patch from Sean Finney <seanius@seanius.net>:

Fix ppszServer value in RfrGetNewDSA

Thanks for the fix!

12 years agoUpdate loadparm stuff to use global context.
Brad Hards [Fri, 27 May 2011 04:57:13 +0000 (04:57 +0000)]
Update loadparm stuff to use global context.

Without this we can't set the log level (i.e. debug output) any more
(after http://git.samba.org/?p=samba.git;a=commit;h=958368efd0f0db4a0e77f6a374d3c7b5056105c6)

Resolves ticket #360

12 years agoFix leak of server resource in Logoff().
Brad Hards [Fri, 27 May 2011 04:14:43 +0000 (04:14 +0000)]
Fix leak of server resource in Logoff().

Problem investigation and patch by Milan Crha. Thanks very much!

Resolves bug #361.

12 years agoFix case where exchange2mbox will crash if "From" is missing
Brad Hards [Wed, 25 May 2011 07:23:10 +0000 (07:23 +0000)]
Fix case where exchange2mbox will crash if "From" is missing

Patch by David McCullough (david_mccullough@mcafee.com) - thanks very much!

12 years agoCorrect IDL for ExceptionInfo
Brad Hards [Wed, 25 May 2011 01:18:24 +0000 (01:18 +0000)]
Correct IDL for ExceptionInfo

Problem report and patch by Sean Finney - thanks very much.
Minor additional changes by me.

Resolves bug #349

13 years agoImplement RopSetSynchronizationGuid
Brad Hards [Thu, 19 May 2011 23:13:57 +0000 (23:13 +0000)]
Implement RopSetSynchronizationGuid

We already had the IDL. This adds the libmapi implementation and mapitest.

Note that this ROP is probably not supported on Exchange 2010 (since it
requires an input handle that has to come from RopSynchronizationOpenAdvisor
and that ROP isn't supported on Exchange 2010). Tested on Exchange 2007.

13 years agoAdd forgotten file from r2850.
Brad Hards [Thu, 19 May 2011 04:57:37 +0000 (04:57 +0000)]
Add forgotten file from r2850.

13 years agoImplement RopSynchronizationOpenAdvisor (0x83)
Brad Hards [Thu, 19 May 2011 04:52:46 +0000 (04:52 +0000)]
Implement RopSynchronizationOpenAdvisor (0x83)

Includes IDL, client side library (libmapi) and
mapitest coverage.

This ROP is not supported on Exchange 2010. Testing
was successful on Exchange 2007 SP3. mapitest skips
this test for Exchange 2010.

13 years agobuildsystem: fix some incomplete linkage
Brad Hards [Fri, 13 May 2011 15:24:51 +0000 (15:24 +0000)]
buildsystem: fix some incomplete linkage

This shouldn't change behaviour, but it will make detecting linker
and dependency problems easier.

13 years agolibmapi: partial fix for bug #336
Brad Hards [Thu, 12 May 2011 08:45:48 +0000 (08:45 +0000)]
libmapi: partial fix for bug #336

This has some gross gcc pragma stuff to hide the deprecation
warning.

13 years agoupdate properties list
Brad Hards [Wed, 11 May 2011 09:27:26 +0000 (09:27 +0000)]
update properties list

This patch updates openchange to use the latest [MS-OXPROPS] document, and to provide MNID_STRINGS

Many thanks to Milan Crha and Sean Finney for their work (and patience) on this.

Resolves bug #355

13 years agobuild: remove workaround for Samba bug 8113
Brad Hards [Tue, 10 May 2011 15:50:25 +0000 (15:50 +0000)]
build: remove workaround for Samba bug 8113

We can now build alpha15 and git master from the same
script again. We can't build trunk against alpha15 though.

13 years agoImplement RopSynchronizationGetTransferState
Brad Hards [Tue, 10 May 2011 09:54:25 +0000 (09:54 +0000)]
Implement RopSynchronizationGetTransferState

We already had the IDL. This adds the libmapi and mapitest elements.

13 years agoImplement RopSynchronizeOpenCollector
Brad Hards [Tue, 10 May 2011 07:18:40 +0000 (07:18 +0000)]
Implement RopSynchronizeOpenCollector

We already have the IDL. This adds the libmapi and mapitest parts.

13 years agolibmapi: rename function to avoid conflict with samba
Brad Hards [Mon, 9 May 2011 14:37:20 +0000 (14:37 +0000)]
libmapi: rename function to avoid conflict with samba

13 years agomapiprofile: avoid gcc 4.6 warnings.
Brad Hards [Mon, 9 May 2011 14:15:09 +0000 (14:15 +0000)]
mapiprofile: avoid gcc 4.6 warnings.

13 years agoblackbox: Allow us to work without mapiprofile in path.
Brad Hards [Mon, 9 May 2011 11:17:30 +0000 (11:17 +0000)]
blackbox: Allow us to work without mapiprofile in path.

13 years agoics: implement client side of SetLocalReplicaMidsetDeleted
Brad Hards [Sun, 8 May 2011 16:54:26 +0000 (16:54 +0000)]
ics: implement client side of SetLocalReplicaMidsetDeleted

Includes IDL, libmapi and mapitest.

Resolves #207

13 years agobuild: use symbolic name for dcerpc-server lib
Brad Hards [Sun, 8 May 2011 14:52:21 +0000 (14:52 +0000)]
build: use symbolic name for dcerpc-server lib

Fixes task #339

13 years agomapiprofile: allow creating of new profiles again
Brad Hards [Sun, 8 May 2011 13:24:59 +0000 (13:24 +0000)]
mapiprofile: allow creating of new profiles again

fixes #357.

The problem is that we can't pass in anything other than decimal values.
Samba4 (ldb) was previously more tolerant, but no more.

13 years agoupdate the property parser
Brad Hards [Wed, 4 May 2011 08:40:54 +0000 (08:40 +0000)]
update the property parser

I'm still checking the results, so not committing those results yet.

13 years agomapiproxy: update to match recent samba fixes.
Brad Hards [Wed, 4 May 2011 02:47:43 +0000 (02:47 +0000)]
mapiproxy: update to match recent samba fixes.

Unfortunately this breaks compatibility with Samba4
alpha15.

13 years agoPatch from David McCullough <david_mccullough@mcafee.com>:
Julien Kerihuel [Mon, 2 May 2011 16:14:27 +0000 (16:14 +0000)]
Patch from David McCullough <david_mccullough@mcafee.com>:

- handle different attachment types
- including attached emails,
- include mail headers
- speed up performance as much as possible

Thank you for this patch. Much appreciated!

13 years agobuild: update to support alpha 15.
Brad Hards [Mon, 2 May 2011 04:57:14 +0000 (04:57 +0000)]
build: update to support alpha 15.

This requires a hacky change to the build script, since the
previous change (adding disable-s3build) won't work in alpha15.

So we detect the kind of build, and adjust the configure line to
match. Ugly.

13 years agoDon't build samba3 - we only need samba4.
Brad Hards [Sun, 1 May 2011 08:27:04 +0000 (08:27 +0000)]
Don't build samba3 - we only need samba4.

The default changed in Samba, so we need to explicitly disable it now.

13 years agorestore prefix when the "configure" script is run from make
Brad Hards [Fri, 15 Apr 2011 00:51:03 +0000 (00:51 +0000)]
restore prefix when the "configure" script is run from make

This is a merge of r2460 from sogo branch (by Wolfgang).
Typo fix by me.

13 years agoClean up some more files in 'make clean'.
Jelmer Vernooij [Sun, 10 Apr 2011 17:21:07 +0000 (17:21 +0000)]
Clean up some more files in 'make clean'.

13 years agorevert previous change. Didn't work quite as expected...
Brad Hards [Fri, 1 Apr 2011 00:21:03 +0000 (00:21 +0000)]
revert previous change. Didn't work quite as expected...

13 years agoSpecify outputdir for mapicodes_enum.h (like other files)
Brad Hards [Thu, 31 Mar 2011 21:59:35 +0000 (21:59 +0000)]
Specify outputdir for mapicodes_enum.h (like other files)

13 years agobuildsystem: make samba detection logic more flexible.
Brad Hards [Fri, 18 Mar 2011 05:50:27 +0000 (05:50 +0000)]
buildsystem: make samba detection logic more flexible.

Patch by Sean Finney - thanks very much!

Resolves bug #348.

13 years agolibmapiserver: remove unused smb_iconv_convenience argument
Brad Hards [Thu, 17 Mar 2011 23:40:28 +0000 (23:40 +0000)]
libmapiserver: remove unused smb_iconv_convenience argument

Update callers to match.

13 years agonspi: use PropertyTagArray_r for minimal ids.
Brad Hards [Thu, 17 Mar 2011 02:02:22 +0000 (02:02 +0000)]
nspi: use PropertyTagArray_r for minimal ids.

13 years agoRemove parameter naming for pointer on functions in mapistore backend header file.
Julien Kerihuel [Wed, 16 Mar 2011 14:18:40 +0000 (14:18 +0000)]
Remove parameter naming for pointer on functions in mapistore backend header file.

13 years agoAdd a pointer to mapistore backend context in fsocpf context initialization
Julien Kerihuel [Wed, 16 Mar 2011 14:15:10 +0000 (14:15 +0000)]
Add a pointer to mapistore backend context in fsocpf context initialization

13 years agoAdd a public backend function allowing backends to retrieve a folder or message ident...
Julien Kerihuel [Wed, 16 Mar 2011 10:33:43 +0000 (10:33 +0000)]
Add a public backend function allowing backends to retrieve a folder or message identifier given a URI.

FID / MID are Exchange related only but some backends may require it (such as fsocpf).

13 years agoImport rfc1738 version from Samba4 (originally from squid) into openchange and
Julien Kerihuel [Wed, 16 Mar 2011 10:20:17 +0000 (10:20 +0000)]
Import rfc1738 version from Samba4 (originally from squid) into openchange and
modify it to include '.' as an escapable character.

This will prevent path traversal attacks within new fsocpf design (name based)

13 years agoAdd mapistore folder object skeleton for mapistore python bindings
Julien Kerihuel [Wed, 16 Mar 2011 10:03:08 +0000 (10:03 +0000)]
Add mapistore folder object skeleton for mapistore python bindings

13 years agoSplit mapistore bindings between module and object.
Julien Kerihuel [Wed, 16 Mar 2011 09:17:36 +0000 (09:17 +0000)]
Split mapistore bindings between module and object.
Prepare further commit implementing folders, messages etc.

13 years agoRemove NTLM_AUTH_IS_OK macro and replace it directly with dcesrv_call_authenticated
Julien Kerihuel [Tue, 15 Mar 2011 11:58:59 +0000 (11:58 +0000)]
Remove NTLM_AUTH_IS_OK macro and replace it directly with dcesrv_call_authenticated

13 years agoserver: Update to use new samba4 APIs.
Brad Hards [Tue, 15 Mar 2011 09:38:09 +0000 (09:38 +0000)]
server: Update to use new samba4 APIs.

Patches by Andrew Tridgell. Thanks very much!

13 years agomapiproxy: Update to reflect samba4 API change.
Brad Hards [Mon, 14 Mar 2011 08:37:23 +0000 (08:37 +0000)]
mapiproxy: Update to reflect samba4 API change.

13 years agolibmapi: minor NSPI cleanup.
Brad Hards [Tue, 8 Mar 2011 00:25:31 +0000 (00:25 +0000)]
libmapi: minor NSPI cleanup.

13 years agolibmapi: fix documentation typos.
Brad Hards [Mon, 7 Mar 2011 03:02:41 +0000 (03:02 +0000)]
libmapi: fix documentation typos.

13 years agoAdd a little example of GAL fetching with restrictions
Brad Hards [Mon, 7 Mar 2011 01:45:18 +0000 (01:45 +0000)]
Add a little example of GAL fetching with restrictions

13 years agoRevert change in r2716
Brad Hards [Sun, 6 Mar 2011 22:43:59 +0000 (22:43 +0000)]
Revert change in r2716

This appears to cause problems on (at least) Ubuntu boxes. So we leave it
for the user to modify if needed.

13 years agoOCPF: apidocs typo fix.
Brad Hards [Thu, 3 Mar 2011 23:51:13 +0000 (23:51 +0000)]
OCPF: apidocs typo fix.

13 years agoAdd workaround for missing samba4 headers
Brad Hards [Thu, 3 Mar 2011 23:07:44 +0000 (23:07 +0000)]
Add workaround for missing samba4 headers

Workaround (but not fix) for bug 350.

13 years agolibmapiadmin: Adapt to API change in Samba4
Brad Hards [Thu, 3 Mar 2011 22:04:38 +0000 (22:04 +0000)]
libmapiadmin: Adapt to API change in Samba4

13 years agobuild: Work around linker problem on Fedora 13/14 (probably gold related)
Brad Hards [Thu, 3 Mar 2011 22:01:19 +0000 (22:01 +0000)]
build: Work around linker problem on Fedora 13/14 (probably gold related)

13 years agoImplement unit tests for python properties handling.
Brad Hards [Wed, 2 Mar 2011 03:56:40 +0000 (03:56 +0000)]
Implement unit tests for python properties handling.

13 years agoOnly add TYPE and PidTagMessageClass if ctx->type exists
Julien Kerihuel [Tue, 1 Mar 2011 17:10:55 +0000 (17:10 +0000)]
Only add TYPE and PidTagMessageClass if ctx->type exists

13 years ago- Make folderID uint64_t optional when writing ocpf
Julien Kerihuel [Tue, 1 Mar 2011 12:38:30 +0000 (12:38 +0000)]
- Make folderID uint64_t optional when writing ocpf
  files. (ocpf_write_init called with folderID set to 0)
  mapistore_fsocpf doesn't need to handle fmid on behalf of mapistore
  anymore.

- only write type if PidTagMessageClass is specified/used

- do not write RECIPIENT block if recipients are NULL (e.g. folder)

13 years agoReimplement ocpf_get_recipients and update its API
Julien Kerihuel [Tue, 1 Mar 2011 08:25:09 +0000 (08:25 +0000)]
Reimplement ocpf_get_recipients and update its API
Reflect changes in mapistore_fsocpf backend

13 years agoReplace existing OCPF recipients implementation with a SRowSet
Julien Kerihuel [Mon, 28 Feb 2011 18:02:34 +0000 (18:02 +0000)]
Replace existing OCPF recipients implementation with a SRowSet
Use PT_UNICODE instead of PT_STRING8 for most string properties (except MNID_ID specifically tagged as PT_STRING8)
Use Recipient blocks instead of strings similar to:

RECIPIENT {
TO {
prop1 = propvalue
prop2 = propvalue2
};

CC {
[...]
};

BCC {
[...]
};
};

Works with internal/external recipients too.

13 years agomapistore: implement setprops for mstoredb backend.
Brad Hards [Mon, 28 Feb 2011 04:24:51 +0000 (04:24 +0000)]
mapistore: implement setprops for mstoredb backend.

This doesn't work correctly for PT_DOUBLE. Still working on that.

13 years agomapitest: Minor test clean ups for Some ResolveRecipients-related problems
Brad Hards [Mon, 28 Feb 2011 04:22:56 +0000 (04:22 +0000)]
mapitest: Minor test clean ups for Some ResolveRecipients-related problems

13 years agopyopenchange: fix error string
Brad Hards [Mon, 28 Feb 2011 04:17:55 +0000 (04:17 +0000)]
pyopenchange: fix error string

Also use PT_I2 instead of PT_SHORT, to match convention in SPropValue_CTR.

13 years agomapistore: Remove lpcfg_server_role prototype imported from samba
Brad Hards [Sun, 27 Feb 2011 22:30:12 +0000 (22:30 +0000)]
mapistore: Remove lpcfg_server_role prototype imported from samba

This is now propery exported from samba, and no longer required here.

13 years agomapistore: Fix prototype for mapistore_backend_get_uri_by_name
Brad Hards [Sun, 27 Feb 2011 22:28:48 +0000 (22:28 +0000)]
mapistore: Fix prototype for mapistore_backend_get_uri_by_name

This should have been part of r2702.

13 years agomapistore: trivial documentation fixes.
Brad Hards [Sun, 27 Feb 2011 10:04:58 +0000 (10:04 +0000)]
mapistore: trivial documentation fixes.

13 years agomapistore: rename get_fid_by_name to be get_uri_by_name in backend ops
Brad Hards [Sun, 27 Feb 2011 06:56:23 +0000 (06:56 +0000)]
mapistore: rename get_fid_by_name to be get_uri_by_name in backend ops

This reflects actual usage / arguments. It might be possible to avoid
doing any backend operation for this (just use indexing DB instead), but
this allows us to check if the backend folder has been created by some
other process and would create a problem at next update. Not sure if that
is important yet.

Fix implementation of this backend function in FSOCPF backend.

Add unit testing of duplicate folder creation, which exercises this.

13 years agomapistore: Add a test of folder creation without a folder comment.
Brad Hards [Sun, 27 Feb 2011 01:35:56 +0000 (01:35 +0000)]
mapistore: Add a test of folder creation without a folder comment.

13 years agomapistore: add python bindings and tests for get_message_count()
Brad Hards [Sun, 27 Feb 2011 00:12:33 +0000 (00:12 +0000)]
mapistore: add python bindings and tests for get_message_count()

13 years agomapistore: add closedir implementation
Brad Hards [Sat, 26 Feb 2011 10:48:06 +0000 (10:48 +0000)]
mapistore: add closedir implementation

This isn't properly implemented in fsocpf yet.

13 years agomapistore: add unit tests and docs for debug getter function
Brad Hards [Sat, 26 Feb 2011 06:50:16 +0000 (06:50 +0000)]
mapistore: add unit tests and docs for debug getter function

13 years agolibmapi: remove stray quote in doxygen configuration.
Brad Hards [Fri, 25 Feb 2011 00:04:20 +0000 (00:04 +0000)]
libmapi: remove stray quote in doxygen configuration.

13 years agoAdd sanity check, prevent from provisioning if mapistoredb_init failed or wasn't...
Julien Kerihuel [Thu, 24 Feb 2011 21:39:20 +0000 (21:39 +0000)]
Add sanity check, prevent from provisioning if mapistoredb_init failed or wasn't called
Fix unittest for mapistoredb

13 years agomapistore: update API documentation
Brad Hards [Thu, 24 Feb 2011 21:37:52 +0000 (21:37 +0000)]
mapistore: update API documentation

13 years agomapistore: typo fixes.
Brad Hards [Thu, 24 Feb 2011 21:20:38 +0000 (21:20 +0000)]
mapistore: typo fixes.

13 years agoSplit mapistoredb initialization into 2 different steps:
Julien Kerihuel [Thu, 24 Feb 2011 21:13:10 +0000 (21:13 +0000)]
Split mapistoredb initialization into 2 different steps:
- mapistoredb_new: memory allocation and default names provisioning
- mapistore_init: fill in last bits if unset by user and call mapistore_init

- Add mapistoredb assessors on database_path, mapping_path and named_properties_database_path
- Update python bindings to reflect these changes + associated python scripts.

13 years agomapistore: trivial API docs fix.
Brad Hards [Wed, 23 Feb 2011 22:58:16 +0000 (22:58 +0000)]
mapistore: trivial API docs fix.

13 years agoFix debuglevel setter for mapistore Python bindings
Julien Kerihuel [Tue, 22 Feb 2011 17:10:54 +0000 (17:10 +0000)]
Fix debuglevel setter for mapistore Python bindings
Implement debuglevel getter for mapistore Python bindings

13 years agomapistore: parameterise out some variables in the provision test script
Brad Hards [Tue, 22 Feb 2011 00:07:33 +0000 (00:07 +0000)]
mapistore: parameterise out some variables in the provision test script

Also add a test for creating the Inbox context.

13 years agomapistore: implement get_folder_count() in mapistore python bindings
Brad Hards [Mon, 21 Feb 2011 02:19:57 +0000 (02:19 +0000)]
mapistore: implement get_folder_count() in mapistore python bindings

Also convert mapistore_strip_ns_from_uri to use const char**

Also add a test for mapistore rmdir(), which appears to have
some kind of reference count problem - it is causing a python
assert that indicates that something is still reachable.

13 years agopyopenchange: add test case for mapistore closedir()
Brad Hards [Sun, 20 Feb 2011 10:22:42 +0000 (10:22 +0000)]
pyopenchange: add test case for mapistore closedir()

13 years agofsocpf: Fix updating of properties
Brad Hards [Sat, 19 Feb 2011 11:16:12 +0000 (11:16 +0000)]
fsocpf: Fix updating of properties

We can now either set properties where none exist, update existing property
values, and add properties to those that are already set.

13 years agofsocpf: Minor work on set properties
Brad Hards [Fri, 18 Feb 2011 04:04:06 +0000 (04:04 +0000)]
fsocpf: Minor work on set properties

The problem is that we can't yet update .properties

13 years agomapistore: fix fsocpf backend opendir and set_props calls
Brad Hards [Thu, 17 Feb 2011 22:57:12 +0000 (22:57 +0000)]
mapistore: fix fsocpf backend opendir and set_props calls

The set_props call isn't right - it only works for the case where
the folder we are changing is the root of the context. I see
"Invalid OCPF context" error messages, although we do try to write
to the correct file.

13 years ago- Move libmapistore pc file into mapiproxy/libmapistore
Julien Kerihuel [Thu, 17 Feb 2011 17:51:39 +0000 (17:51 +0000)]
- Move libmapistore pc file into mapiproxy/libmapistore
- Complete make install process for waf libmapistore
- Add backends compilation and dependencies check to WAF libmapistore

13 years agomapistore: Add unit tests for opendir and setprops.
Brad Hards [Thu, 17 Feb 2011 05:06:52 +0000 (05:06 +0000)]
mapistore: Add unit tests for opendir and setprops.

This currently breaks the tests (i.e. they fail / segfault).

13 years agobuildsystem: cleanup mapistore coverage noise files on make clean / distclean
Brad Hards [Thu, 17 Feb 2011 05:05:56 +0000 (05:05 +0000)]
buildsystem: cleanup mapistore coverage noise files on make clean / distclean

13 years agomapistore: add unit tests of creating a sub-folder.
Brad Hards [Thu, 17 Feb 2011 03:59:00 +0000 (03:59 +0000)]
mapistore: add unit tests of creating a sub-folder.

13 years agoAdd unit tests for python mapistore / mapistoredb
Brad Hards [Thu, 17 Feb 2011 03:41:30 +0000 (03:41 +0000)]
Add unit tests for python mapistore / mapistoredb

Run it like:
./pyopenchange/unittest/unittest_mapistoredb.py
(or add -v for more verbose output)

13 years agomapistore: Turn down URI generation message to DEBUG level
Brad Hards [Thu, 17 Feb 2011 01:54:56 +0000 (01:54 +0000)]
mapistore: Turn down URI generation message to DEBUG level

13 years agoInstall header files for libmapistore
Julien Kerihuel [Wed, 16 Feb 2011 23:27:54 +0000 (23:27 +0000)]
Install header files for libmapistore

13 years ago- Introduce preliminary WAF build system support for libmapistore
Julien Kerihuel [Wed, 16 Feb 2011 23:04:06 +0000 (23:04 +0000)]
- Introduce preliminary WAF build system support for libmapistore
- Remove libmapi/libmapi.h references within libmapistore

- Add a WAF_BUILD_INC macros to config.mk.in so waf and autoconf
  requirements with regards to includes gets similar

- Change libmapistore includes

13 years agomapistore: Move some function declarations from mapistore_common.h to mapistore_backend.h
Brad Hards [Wed, 16 Feb 2011 05:14:13 +0000 (05:14 +0000)]
mapistore: Move some function declarations from mapistore_common.h to mapistore_backend.h

Most of these require a backend context. mapistore_strip_ns_from_uri() doesn't
require one, but its currently only used from the backends, and that seems
the mostly use.

Also fix / move a bit of API documentation.

13 years agomapistore: Use __FUNCTION__ macro instead of the literal function name for talloc_named()
Brad Hards [Wed, 16 Feb 2011 04:30:31 +0000 (04:30 +0000)]
mapistore: Use __FUNCTION__ macro instead of the literal function name for talloc_named()

Just makes it easier to update / harder to forget to change the name.

13 years agoRemove stray semicolons.
Brad Hards [Wed, 16 Feb 2011 03:59:33 +0000 (03:59 +0000)]
Remove stray semicolons.