jelmer/openchange-proposed.git/.git
12 years agoMerge in latest code changes from trunk waf waf
Julien Kerihuel [Tue, 17 Apr 2012 14:45:36 +0000 (14:45 +0000)]
Merge in latest code changes from trunk

12 years agoMerge r3881,3893,3894,3895,3907,3908,3910,3911,3912,3913,3915,3916,3917,3919,3920...
Julien Kerihuel [Mon, 16 Apr 2012 12:01:23 +0000 (12:01 +0000)]
Merge r3881,3893,3894,3895,3907,3908,3910,3911,3912,3913,3915,3916,3917,3919,3920,3921,3922,3923 from sogo branch.

Most noticeable change: replacement of SPropValue with PropertyValue_r, SRowSet with PropertyRowSet_r
Custom handling of ExtendedException
New properties added
Improvement of provisioning code

12 years agoUpdate bzrignore.
Jelmer Vernooij [Sat, 24 Mar 2012 12:42:41 +0000 (12:42 +0000)]
Update bzrignore.

12 years agoAdd build for libmapiserver
Julien Kerihuel [Thu, 22 Mar 2012 13:59:03 +0000 (13:59 +0000)]
Add build for libmapiserver
Add more header checks for libmapiproxy

12 years agoAdd build for libmapiproxy
Julien Kerihuel [Thu, 22 Mar 2012 13:43:14 +0000 (13:43 +0000)]
Add build for libmapiproxy

12 years agoAdd wscript for utils
Julien Kerihuel [Thu, 22 Mar 2012 12:29:32 +0000 (12:29 +0000)]
Add wscript for utils

12 years agoUnpack waf.
Jelmer Vernooij [Wed, 21 Mar 2012 18:37:07 +0000 (18:37 +0000)]
Unpack waf.

12 years agoAdd script for updating our copy of waf.
Jelmer Vernooij [Wed, 21 Mar 2012 18:36:31 +0000 (18:36 +0000)]
Add script for updating our copy of waf.

12 years agoFix call to ctx.fatal().
Jelmer Vernooij [Wed, 21 Mar 2012 18:33:53 +0000 (18:33 +0000)]
Fix call to ctx.fatal().

12 years agoAdd build rules for libocpf
Julien Kerihuel [Wed, 21 Mar 2012 17:12:48 +0000 (17:12 +0000)]
Add build rules for libocpf

12 years agoIgnore generated build directory and buildtools/.waf* dir along with .lock waf one.
Julien Kerihuel [Wed, 21 Mar 2012 17:07:19 +0000 (17:07 +0000)]
Ignore generated build directory and buildtools/.waf* dir along with .lock waf one.

12 years agoAdd waf support for the following openchange components:
Julien Kerihuel [Wed, 21 Mar 2012 17:04:04 +0000 (17:04 +0000)]
Add waf support for the following openchange components:
- libmapi
- libmapi++
- libmapiadmin
- exchange2ical binary

12 years agoCreate the new waf branch
Julien Kerihuel [Wed, 21 Mar 2012 16:57:10 +0000 (16:57 +0000)]
Create the new waf branch

12 years agoFree obj->private_data if not null
Matthieu Patou [Mon, 19 Mar 2012 19:11:08 +0000 (19:11 +0000)]
Free obj->private_data if not null

12 years agoUse the profile as a talloc context for credentials, allow ressources to be freed
Matthieu Patou [Mon, 19 Mar 2012 19:10:57 +0000 (19:10 +0000)]
Use the profile as a talloc context for credentials, allow ressources to be freed

12 years agoMove to talloced profile so that we can free ressources more easily
Matthieu Patou [Mon, 19 Mar 2012 19:10:46 +0000 (19:10 +0000)]
Move to talloced profile so that we can free ressources more easily

12 years agoCleanly initialize structures for mapi_response
Matthieu Patou [Mon, 19 Mar 2012 19:10:34 +0000 (19:10 +0000)]
Cleanly initialize structures for mapi_response

12 years agoFree the session in duplicateprofile
Matthieu Patou [Mon, 19 Mar 2012 19:10:22 +0000 (19:10 +0000)]
Free the session in duplicateprofile

12 years agoCreate setup/mapistore if not existing
Matthieu Patou [Mon, 19 Mar 2012 19:10:10 +0000 (19:10 +0000)]
Create setup/mapistore if not existing

12 years agoLink libmapiproxy against -ldl, as it uses some of its symbols.
Jelmer Vernooij [Mon, 19 Mar 2012 13:51:34 +0000 (13:51 +0000)]
Link libmapiproxy against -ldl, as it uses some of its symbols.

12 years agoFix manual symlink creation for libmapistore, libmapiproxy and libmapiserver.
Jelmer Vernooij [Mon, 19 Mar 2012 13:28:43 +0000 (13:28 +0000)]
Fix manual symlink creation for libmapistore, libmapiproxy and libmapiserver.

12 years agoPatch from Shaheed Haque <srhaque@theiet.org>:
Julien Kerihuel [Mon, 19 Mar 2012 12:27:40 +0000 (12:27 +0000)]
Patch from Shaheed Haque <srhaque@theiet.org>:

Fix incorrect enum size for OverrideFlags:
v1_enum was used while enum16bit was expected.

12 years agoMerge in r3875, 3877, 3878, 3879, 3880, 3881 from SOGo branch.
Julien Kerihuel [Mon, 19 Mar 2012 11:26:30 +0000 (11:26 +0000)]
Merge in r3875, 3877, 3878, 3879, 3880, 3881 from SOGo branch.

12 years agoUse popt.h rather than samba/popt.h, which is going away.
Jelmer Vernooij [Thu, 15 Mar 2012 17:04:23 +0000 (17:04 +0000)]
Use popt.h rather than samba/popt.h, which is going away.

12 years agoFix python-dev cflags and libs detection
Julien Kerihuel [Thu, 15 Mar 2012 13:50:43 +0000 (13:50 +0000)]
Fix python-dev cflags and libs detection
Make it an openchange build system requirement

12 years agoMerge r3870 from sogo branch:
Julien Kerihuel [Thu, 15 Mar 2012 12:49:19 +0000 (12:49 +0000)]
Merge r3870 from sogo branch:

Fixed setup_path to work both from source directory or from system installation

12 years agoRemove warning
Julien Kerihuel [Wed, 14 Mar 2012 16:51:27 +0000 (16:51 +0000)]
Remove warning

12 years agoFix warning
Julien Kerihuel [Wed, 14 Mar 2012 16:51:19 +0000 (16:51 +0000)]
Fix warning

12 years agoFix pymapistore.c warning
Julien Kerihuel [Wed, 14 Mar 2012 16:39:27 +0000 (16:39 +0000)]
Fix pymapistore.c warning
Remove strict-aliasing requirement for python bindings

12 years agofix implicit declaration for tevent nested loop
Julien Kerihuel [Wed, 14 Mar 2012 16:31:24 +0000 (16:31 +0000)]
fix implicit declaration for tevent nested loop
fix small mgmt printf warning with ssize_t/int diff

12 years agoRemove po generated files for mapistore management API
Julien Kerihuel [Wed, 14 Mar 2012 15:50:07 +0000 (15:50 +0000)]
Remove po generated files for mapistore management API

12 years agoAdd a samba4 patch when running make samba for alpha18 on Fedora operating system
Julien Kerihuel [Wed, 14 Mar 2012 13:42:49 +0000 (13:42 +0000)]
Add a samba4 patch when running make samba for alpha18 on Fedora operating system

12 years agoMerge latest changes from sogo branch r3841:3858
Julien Kerihuel [Wed, 14 Mar 2012 08:26:51 +0000 (08:26 +0000)]
Merge latest changes from sogo branch r3841:3858

12 years agoMerge in r3852 from mapistore_python branch:
Julien Kerihuel [Tue, 13 Mar 2012 16:58:28 +0000 (16:58 +0000)]
Merge in r3852 from mapistore_python branch:
Remove useless lp_ctx parameter in some emsmdb function

12 years agobuild ldb and samba4 with ccan as builtin-library to prevent problems with symbols.
Jelmer Vernooij [Tue, 13 Mar 2012 14:15:36 +0000 (14:15 +0000)]
build ldb and samba4 with ccan as builtin-library to prevent problems with symbols.

12 years agoUpdate howto.txt provisioning instructions
Julien Kerihuel [Tue, 13 Mar 2012 11:18:23 +0000 (11:18 +0000)]
Update howto.txt provisioning instructions

12 years agoFix a merge error in server
Julien Kerihuel [Tue, 13 Mar 2012 11:10:34 +0000 (11:10 +0000)]
Fix a merge error in server
Remove useless warning

12 years agodeprecated TODO
Julien Kerihuel [Tue, 13 Mar 2012 10:53:59 +0000 (10:53 +0000)]
deprecated TODO

12 years agoMerge in sogo revs r3786-3829
Julien Kerihuel [Tue, 13 Mar 2012 10:52:50 +0000 (10:52 +0000)]
Merge in sogo revs r3786-3829

12 years agoLink libmapipp against libmapi.
Jelmer Vernooij [Mon, 12 Mar 2012 20:55:39 +0000 (20:55 +0000)]
Link libmapipp against libmapi.

12 years agoLink against samba-credentials library.
Jelmer Vernooij [Mon, 12 Mar 2012 20:55:34 +0000 (20:55 +0000)]
Link against samba-credentials library.

12 years agoFix wrong property size
Matthieu Patou [Thu, 8 Mar 2012 04:22:52 +0000 (04:22 +0000)]
Fix wrong property size

12 years agoPatch from Milan Crha <mcrha@redhat.com>:
Julien Kerihuel [Wed, 7 Mar 2012 11:52:09 +0000 (11:52 +0000)]
Patch from Milan Crha <mcrha@redhat.com>:

Add PT_MV_CLSID support in cast_mapi_SPropValue

12 years agoMerge in r3786-3788,3794-3795 from sogo branch
Julien Kerihuel [Wed, 7 Mar 2012 11:35:49 +0000 (11:35 +0000)]
Merge in r3786-3788,3794-3795 from sogo branch

12 years agoPatch from Shaheed Haque <srhaque@theiet.org>:
Julien Kerihuel [Tue, 6 Mar 2012 11:58:22 +0000 (11:58 +0000)]
Patch from Shaheed Haque <srhaque@theiet.org>:
nspi_SeekEntries does not update the stored value

12 years agoMerge in r3771:3778 from trunk
Julien Kerihuel [Tue, 6 Mar 2012 10:01:47 +0000 (10:01 +0000)]
Merge in r3771:3778 from trunk

12 years agomkversion.sh: Atomically write to libmapi/version.h to prevent gcc warnings when...
Jelmer Vernooij [Mon, 5 Mar 2012 18:49:34 +0000 (18:49 +0000)]
mkversion.sh: Atomically write to libmapi/version.h to prevent gcc warnings when doing parallel builds.

12 years agoAdd mapiproxy/libmapistore/mapistore_nameid.h to bzr ignore list.
Jelmer Vernooij [Mon, 5 Mar 2012 18:49:28 +0000 (18:49 +0000)]
Add mapiproxy/libmapistore/mapistore_nameid.h to bzr ignore list.

12 years agoREADME: Remove references to pymapi.
Jelmer Vernooij [Mon, 5 Mar 2012 18:49:19 +0000 (18:49 +0000)]
README: Remove references to pymapi.

12 years agoRemove pymapi - it's no longer built and was never anywhere near complete.
Jelmer Vernooij [Mon, 5 Mar 2012 16:12:10 +0000 (16:12 +0000)]
Remove pymapi - it's no longer built and was never anywhere near complete.

12 years agoAdd debug statements to help backend implementors identify missing backend calls
Julien Kerihuel [Mon, 5 Mar 2012 14:14:47 +0000 (14:14 +0000)]
Add debug statements to help backend implementors identify missing backend calls

12 years agoFix typo in $(DESTDIR).
Jelmer Vernooij [Fri, 2 Mar 2012 17:40:19 +0000 (17:40 +0000)]
Fix typo in $(DESTDIR).

12 years agoAdd additional props not referenced by MS-OXCPROPS
Julien Kerihuel [Fri, 2 Mar 2012 15:30:00 +0000 (15:30 +0000)]
Add additional props not referenced by MS-OXCPROPS

12 years agoFix the case where properties in MS-OXCPROPS have the same propID but different prop...
Julien Kerihuel [Fri, 2 Mar 2012 15:22:49 +0000 (15:22 +0000)]
Fix the case where properties in MS-OXCPROPS have the same propID but different prop type.
This was for example preventing PidTagHtml from being generated.

12 years agoRemove Makefile rules for mapistore fsocpf backend
Julien Kerihuel [Fri, 2 Mar 2012 14:14:31 +0000 (14:14 +0000)]
Remove Makefile rules for mapistore fsocpf backend

12 years agoRemove deprecated mapistore fsocpf module.
Julien Kerihuel [Fri, 2 Mar 2012 14:13:55 +0000 (14:13 +0000)]
Remove deprecated mapistore fsocpf module.

Planned to be replaced with something new soon

12 years ago- Add sanity check when building named_properties.ldb from ldif file (ensure provisio...
Julien Kerihuel [Fri, 2 Mar 2012 13:30:21 +0000 (13:30 +0000)]
- Add sanity check when building named_properties.ldb from ldif file (ensure provisioning worked as expected)
- Reenable named_properties.ldif generation from mparse for now
- Reenable installation of named_properties.ldif file
- Remove mapi_nameid.h from libmapi.h to prevent duplicate issue in server when mapistore_nameid.h is included

12 years agoDisable init of sam.ldb as it causes init issues with ocsmanager
Julien Kerihuel [Thu, 1 Mar 2012 14:12:51 +0000 (14:12 +0000)]
Disable init of sam.ldb as it causes init issues with ocsmanager

12 years agoAdd mapping for PidLidRemoteTransferSize
Julien Kerihuel [Thu, 1 Mar 2012 13:34:45 +0000 (13:34 +0000)]
Add mapping for PidLidRemoteTransferSize

12 years agoRollback r3728 change as it breaks pull operation on server side
Julien Kerihuel [Thu, 1 Mar 2012 12:37:55 +0000 (12:37 +0000)]
Rollback r3728 change as it breaks pull operation on server side
for complex Outlook restrictions.

12 years agoFix compilation error: fix older than API update
Julien Kerihuel [Thu, 1 Mar 2012 11:16:23 +0000 (11:16 +0000)]
Fix compilation error: fix older than API update

12 years agoUse nspi_GetMatches in duplicateprofile for populating the UserEmail field, with...
Matthieu Patou [Wed, 29 Feb 2012 22:20:02 +0000 (22:20 +0000)]
Use nspi_GetMatches in duplicateprofile for populating the UserEmail field, with exchange 2010 the email has a couple of random chars at the end

12 years agoProfile: initialize the profile's context
Matthieu Patou [Wed, 29 Feb 2012 22:19:47 +0000 (22:19 +0000)]
Profile: initialize the profile's context

12 years agoProfile: zero profile, it eases to spot initialized fields
Matthieu Patou [Wed, 29 Feb 2012 22:18:43 +0000 (22:18 +0000)]
Profile: zero profile, it eases to spot initialized fields

12 years agoFix issue #387. Patch from Milan Crha:
Julien Kerihuel [Wed, 29 Feb 2012 15:05:32 +0000 (15:05 +0000)]
Fix issue #387. Patch from Milan Crha:

NULL terminated utf8 strings are expected

12 years agoFix for #387 - Patch from Milan Crha
Julien Kerihuel [Wed, 29 Feb 2012 12:43:30 +0000 (12:43 +0000)]
Fix for #387 - Patch from Milan Crha

12 years agoFix talloc parent
Julien Kerihuel [Tue, 28 Feb 2012 17:09:32 +0000 (17:09 +0000)]
Fix talloc parent

12 years agoFix typo err in AbortSubmit
Julien Kerihuel [Tue, 28 Feb 2012 16:15:03 +0000 (16:15 +0000)]
Fix typo err in AbortSubmit

12 years agoFix typo err
Julien Kerihuel [Tue, 28 Feb 2012 16:14:23 +0000 (16:14 +0000)]
Fix typo err

12 years agoRemove talloc_autofree_context call from libmapiadmin
Julien Kerihuel [Tue, 28 Feb 2012 15:20:48 +0000 (15:20 +0000)]
Remove talloc_autofree_context call from libmapiadmin

12 years agoRevert r2750. Calling GetIDsFromNames REQUIRES proptag
Julien Kerihuel [Tue, 28 Feb 2012 15:20:25 +0000 (15:20 +0000)]
Revert r2750. Calling GetIDsFromNames REQUIRES proptag
to be allocated with talloc. There's no need to reallocate there.

12 years agoFix issue #370. Patch from Aaron Small.
Julien Kerihuel [Tue, 28 Feb 2012 14:15:09 +0000 (14:15 +0000)]
Fix issue #370. Patch from Aaron Small.

12 years agoFix issue #373 - Patch from Milan Crha
Julien Kerihuel [Tue, 28 Feb 2012 14:00:56 +0000 (14:00 +0000)]
Fix issue #373 - Patch from Milan Crha

12 years agoFix issue #374 - Patch from Milan Crha
Julien Kerihuel [Tue, 28 Feb 2012 13:57:16 +0000 (13:57 +0000)]
Fix issue #374 - Patch from Milan Crha

12 years agoFix issue #379
Julien Kerihuel [Tue, 28 Feb 2012 13:49:05 +0000 (13:49 +0000)]
Fix issue #379

12 years agoFix issue #386 - base over patch from Milan Crha:
Julien Kerihuel [Tue, 28 Feb 2012 13:32:56 +0000 (13:32 +0000)]
Fix issue #386 - base over patch from Milan Crha:

12 years agoPrepare for 1.0 BORG release
Julien Kerihuel [Tue, 28 Feb 2012 12:36:33 +0000 (12:36 +0000)]
Prepare for 1.0 BORG release

12 years agoFix duplicate define for named properties
Julien Kerihuel [Tue, 28 Feb 2012 12:36:02 +0000 (12:36 +0000)]
Fix duplicate define for named properties

12 years agoEnable named properties back
Julien Kerihuel [Tue, 28 Feb 2012 12:17:28 +0000 (12:17 +0000)]
Enable named properties back

12 years agoFix issue #377 - Patch from Milan Crha:
Julien Kerihuel [Mon, 27 Feb 2012 15:50:57 +0000 (15:50 +0000)]
Fix issue #377 - Patch from Milan Crha:

Fix RES_NOT restriction on client side

12 years agoFix issue #375 - Patch from Milan Crha:
Julien Kerihuel [Mon, 27 Feb 2012 15:28:09 +0000 (15:28 +0000)]
Fix issue #375 - Patch from Milan Crha:

Pass TALLOC_CTX directly instead of mapi_context to mapi_id_array_init

12 years agoFix issue #376, patch from Milan Crha:
Julien Kerihuel [Mon, 27 Feb 2012 14:46:02 +0000 (14:46 +0000)]
Fix issue #376, patch from Milan Crha:

Decrease usage of NULL talloc contexts to minimum

12 years agoFix issue #372, Path from Milan Crha:
Julien Kerihuel [Mon, 27 Feb 2012 13:56:01 +0000 (13:56 +0000)]
Fix issue #372, Path from Milan Crha:

Proposing to return enum MAPISTATUS from RfrGetNewDSA,
because not doing so hides network errors, because when
the server is unreachable, then this function returns NULL,
which is later used to build_binding_string, which also returns NULL,
thus the provider_rpc_connection returns status INVALID_ARGUMENT,
thus instead of correct MAPI_E_NETWORK_ERROR as a result of Logon()
caller receives MAPI_E_LOGON_FAILED, thus it's hard to distinguish what to do next,
because this can mean also that password is incorrect.

With unreachable server is returned NT_STATUS_OBJECT_NAME_NOT_FOUND,
which I added to the list of known codes to map to MAPI_E_NETWORK_ERROR.

12 years agoFix issue #382
Julien Kerihuel [Mon, 27 Feb 2012 13:43:33 +0000 (13:43 +0000)]
Fix issue #382

Patch from Olly Betts:

Avoid needlessly lpProps allocation before calling GetProps

12 years agoFix issue #384, patch from Milan Crha:
Julien Kerihuel [Mon, 27 Feb 2012 13:31:57 +0000 (13:31 +0000)]
Fix issue #384, patch from Milan Crha:

The nspi_GetMatches currently hardcodes search result limit to 5000,
which results in [1], and MAPI_E_TABLE_TOO_BIG errors. It would be nice
to provide a new argument for the search result size limit, rather than
hard code it.

12 years agoCommit patch for issue #385:
Julien Kerihuel [Mon, 27 Feb 2012 13:27:17 +0000 (13:27 +0000)]
Commit patch for issue #385:

Akhil found an issue [1] in OpenChange's code, that dcerpc_EcRRegisterPushNotification_r
inside emsmdb_register_notification can succeed, but the retval can still be false.
In this case the emsmdb_register_notification returns success, but it should return failure,
because notifications aren't available. Evolution-mapi depends on this result code and Subscribe
to notifications only if this succeeded.

12 years agoDon't try to install missing LDIF files.
Brad Hards [Sat, 25 Feb 2012 05:05:51 +0000 (05:05 +0000)]
Don't try to install missing LDIF files.

12 years agoUpdate configure test for G++ to work with new autoconf.
Brad Hards [Sat, 25 Feb 2012 05:04:05 +0000 (05:04 +0000)]
Update configure test for G++ to work with new autoconf.

12 years agoTrivial docs fix
Brad Hards [Sat, 25 Feb 2012 02:33:00 +0000 (02:33 +0000)]
Trivial docs fix

12 years agoFix compilation warnings for mapistore_mgmt_messages
Julien Kerihuel [Fri, 24 Feb 2012 13:52:28 +0000 (13:52 +0000)]
Fix compilation warnings for mapistore_mgmt_messages

12 years agoFix libmapiadmin and exchange2mbox compilation warnings
Julien Kerihuel [Fri, 24 Feb 2012 13:44:27 +0000 (13:44 +0000)]
Fix libmapiadmin and exchange2mbox compilation warnings

12 years agoFix server-side compilation warnings
Julien Kerihuel [Fri, 24 Feb 2012 13:44:09 +0000 (13:44 +0000)]
Fix server-side compilation warnings

12 years agoFix warnings
Julien Kerihuel [Fri, 24 Feb 2012 13:23:32 +0000 (13:23 +0000)]
Fix warnings

12 years agoFix warnings
Julien Kerihuel [Fri, 24 Feb 2012 13:23:22 +0000 (13:23 +0000)]
Fix warnings

12 years agoReplace trunk with sogo-good branch
Julien Kerihuel [Fri, 24 Feb 2012 12:29:00 +0000 (12:29 +0000)]
Replace trunk with sogo-good branch

12 years agoUpgrade required version to samba4-alpha18 sogo-good sogo-good
Julien Kerihuel [Fri, 24 Feb 2012 11:55:27 +0000 (11:55 +0000)]
Upgrade required version to samba4-alpha18

12 years agoremove duplicate msExch-Proxy-Gen-Options
Julien Kerihuel [Fri, 24 Feb 2012 11:01:01 +0000 (11:01 +0000)]
remove duplicate msExch-Proxy-Gen-Options
Unsure why it wasn't catched earlier

12 years ago- Fix code generation \n for reintroduced get_property_type function
Julien Kerihuel [Thu, 23 Feb 2012 17:04:41 +0000 (17:04 +0000)]
- Fix code generation \n for reintroduced get_property_type function
- Turn 0x in openchangedb_property into PidTag tiny names
- update generated code

12 years agoPrevent from symbol conflict with samba4 latest git where tdb_wrap sounds
Julien Kerihuel [Thu, 23 Feb 2012 16:12:40 +0000 (16:12 +0000)]
Prevent from symbol conflict with samba4 latest git where tdb_wrap sounds
available to openchange. Rename copied functions with mapistore prefix

12 years agoLoad modules from module directory.
Jelmer Vernooij [Thu, 23 Feb 2012 15:09:09 +0000 (15:09 +0000)]
Load modules from module directory.