Julien Kerihuel [Mon, 9 Feb 2009 17:13:52 +0000 (17:13 +0000)]
- Add a very preliminary and light libmapistore implementation.
mapistore only supplies init/release and add/del backend contexts.
This commit also includes a sqlite3 backend skeleton (open/close sqlite db)
- A temporary mapistore testing tool has been added locally for implementation checks.
Changelog Updater [Sun, 8 Feb 2009 23:00:33 +0000 (23:00 +0000)]
Daily ChangeLog Update
Brad Hards [Sun, 8 Feb 2009 10:14:15 +0000 (10:14 +0000)]
Implement support the SUMMARY language tag.
Brad Hards [Sun, 8 Feb 2009 09:24:30 +0000 (09:24 +0000)]
Initial checking of libical based exchange2ical code.
This has a long way to go, so think of this as more of a checkpoint
than a release.
See http://sourceforge.net/projects/freeassociation/ for the library, or
see if your distro has a package.
Brad Hards [Sun, 8 Feb 2009 08:16:43 +0000 (08:16 +0000)]
Reduce warnings.
Brad Hards [Sun, 8 Feb 2009 07:48:06 +0000 (07:48 +0000)]
Add missing parameter to API documentation.
Resolves ticket #130.
Brad Hards [Sun, 8 Feb 2009 06:52:09 +0000 (06:52 +0000)]
API documentation fixes for OpenEmbeddedMessage()
Brad Hards [Sun, 8 Feb 2009 06:43:22 +0000 (06:43 +0000)]
Implement OpenEmbeddedMessage ROP (0x46).
Resolves Ticket #93
Brad Hards [Sun, 8 Feb 2009 06:40:13 +0000 (06:40 +0000)]
Factor out message creation and message fill actions.
Also remove GetLastError() where appropriate.
Brad Hards [Sun, 8 Feb 2009 01:25:46 +0000 (01:25 +0000)]
Add some API documentation.
Changelog Updater [Sat, 7 Feb 2009 23:00:33 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Sat, 7 Feb 2009 13:42:38 +0000 (13:42 +0000)]
Update openchangepfadmin description
Fix tool relying on libmapiadmin
Brad Hards [Sat, 7 Feb 2009 10:55:25 +0000 (10:55 +0000)]
Minor code tweak.
Fix ticket #132.
Brad Hards [Sat, 7 Feb 2009 10:31:25 +0000 (10:31 +0000)]
Add more explanation for README
Brad Hards [Sat, 7 Feb 2009 05:30:02 +0000 (05:30 +0000)]
Reimplement RTF decompression.
Add unit tests from MS-OXRTFCP.
Brad Hards [Sat, 7 Feb 2009 03:31:51 +0000 (03:31 +0000)]
Fix warnings in example code
Brad Hards [Sat, 7 Feb 2009 02:44:17 +0000 (02:44 +0000)]
Add description for libmapiadmin
Brad Hards [Sat, 7 Feb 2009 02:31:41 +0000 (02:31 +0000)]
Add description for libmapi / libmapi++
Brad Hards [Sat, 7 Feb 2009 01:31:06 +0000 (01:31 +0000)]
Start on the directory descriptions.
Brad Hards [Sat, 7 Feb 2009 00:28:25 +0000 (00:28 +0000)]
doc/ pointers
Brad Hards [Fri, 6 Feb 2009 23:58:26 +0000 (23:58 +0000)]
Add overview. Extracted from API docs.
Brad Hards [Fri, 6 Feb 2009 23:36:32 +0000 (23:36 +0000)]
Additional docs.
Changelog Updater [Fri, 6 Feb 2009 23:00:30 +0000 (23:00 +0000)]
Daily ChangeLog Update
Brad Hards [Fri, 6 Feb 2009 11:51:38 +0000 (11:51 +0000)]
Outline of README file.
(also using this to test buildbot without changing real code)
Jelmer Vernooij [Thu, 5 Feb 2009 23:23:55 +0000 (23:23 +0000)]
Use variable for package version rather than hardcoding it.
Changelog Updater [Thu, 5 Feb 2009 23:00:43 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Thu, 5 Feb 2009 17:17:05 +0000 (17:17 +0000)]
Add Version field - avoid breaking pkg-config --list-all
Julien Kerihuel [Thu, 5 Feb 2009 14:29:29 +0000 (14:29 +0000)]
Fix warnings (gcc 4.2.4)
Changelog Updater [Wed, 4 Feb 2009 23:00:36 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Wed, 4 Feb 2009 21:18:28 +0000 (21:18 +0000)]
Fix pc file libs
Changelog Updater [Tue, 3 Feb 2009 23:00:33 +0000 (23:00 +0000)]
Daily ChangeLog Update
Jelmer Vernooij [Tue, 3 Feb 2009 19:56:51 +0000 (19:56 +0000)]
Look for GNU make harder (gmake on BSDs).
Brad Hards [Tue, 3 Feb 2009 10:27:55 +0000 (10:27 +0000)]
Minor api documentation fix.
Brad Hards [Tue, 3 Feb 2009 10:11:07 +0000 (10:11 +0000)]
Minor API docs fix.
Brad Hards [Tue, 3 Feb 2009 09:12:14 +0000 (09:12 +0000)]
Minor API docs fix.
Brad Hards [Tue, 3 Feb 2009 08:55:55 +0000 (08:55 +0000)]
Minor API docs tweak.
Brad Hards [Tue, 3 Feb 2009 08:26:47 +0000 (08:26 +0000)]
Token commit of tiny API docs fix.
Julien Kerihuel [Tue, 3 Feb 2009 00:49:14 +0000 (00:49 +0000)]
- Add an implementation of the MAPI handles management API. The API
internally uses an in-memory TDB database to keep object hierarchy
and a doubled chained list to associate private data to handles.
The API currently provides add, search and delete facilities. Note
that while untested, the delete operation is designed to recursively
delete children of the 'meant to be deleted' handle.
Finally the API doesn't remove TDB records but mark them as free so
they can be reused across MAPI session and prevent from handle counter
growing indefinitely.
- Add a preliminary implementation of the Release call
- Add Release size calculation to libmapiserver
- Update EMSMDB provider to use MAPI handles API
Changelog Updater [Mon, 2 Feb 2009 23:00:33 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Mon, 2 Feb 2009 19:25:58 +0000 (19:25 +0000)]
- Add preliminary EMSMDB provider implementation for RopLogon (0xFE)
- Add common routines for OpenChange LDB context init and search
within libmapiproxy
- Add libmapiserver skeleton with size calculation routine for RopLogon
- Change DSO linking dependencies for mapiproxy shared libraries
- Propagate _GNU_SOURCE change from libmapi.h to mapiproxy
Julien Kerihuel [Sun, 1 Feb 2009 23:31:15 +0000 (23:31 +0000)]
Remove .po and .o objects within libmapiproxy subdirectory
Julien Kerihuel [Sun, 1 Feb 2009 23:28:38 +0000 (23:28 +0000)]
Move libmapiproxy into its own directory and rebase mapiproxy headers accordingly
Fix make uninstall for AD and profiles directories
Changelog Updater [Sun, 1 Feb 2009 23:00:37 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Sun, 1 Feb 2009 23:00:04 +0000 (23:00 +0000)]
doxygen typo fix
Julien Kerihuel [Sun, 1 Feb 2009 22:07:13 +0000 (22:07 +0000)]
Add python code and ldif files needed to create and populate the experimental
openchange dispatcher database.
Julien Kerihuel [Sun, 1 Feb 2009 16:12:04 +0000 (16:12 +0000)]
Add 5-Minute configuration documentation for OpenChange server mode
Julien Kerihuel [Sun, 1 Feb 2009 15:25:26 +0000 (15:25 +0000)]
- Rebase ldif files into sub directories:
* AD for OpenChange AD modifications
* profiles for OpenChange IProfAdmin interface
- Makes it easier figuring out LDIF files scope
- Prepare setup folder for LDIF openchangedb files integration
- Update install/uninstall Makefile rules for ldif files and
make sure everything got removed
Brad Hards [Sun, 1 Feb 2009 04:11:30 +0000 (04:11 +0000)]
Add forgotten file.
Brad Hards [Sun, 1 Feb 2009 03:58:13 +0000 (03:58 +0000)]
Add support for short language names (e.g. en-AU) for lcid.
Changelog Updater [Sat, 31 Jan 2009 23:00:35 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Sat, 31 Jan 2009 16:46:50 +0000 (16:46 +0000)]
Delete deprecated libmapi setup Perl script
Brad Hards [Sat, 31 Jan 2009 04:01:18 +0000 (04:01 +0000)]
Add summary report for tests.
Brad Hards [Sat, 31 Jan 2009 00:03:50 +0000 (00:03 +0000)]
Make mapitest return the number of failed tests.
Changelog Updater [Thu, 29 Jan 2009 23:00:32 +0000 (23:00 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Thu, 29 Jan 2009 21:57:57 +0000 (21:57 +0000)]
- Add pkg-config pc file for libmapiproxy
- Improve mapiproxy rules so libmapiproxy gets installed and cleaned properly
Julien Kerihuel [Thu, 29 Jan 2009 20:24:21 +0000 (20:24 +0000)]
Free memory allocated by the fake subcontext in
ndr_pull_mapi_response.
This fix saves 300kb of memory and removes 700 loss records while
valgrinding mapitest.
Julien Kerihuel [Thu, 29 Jan 2009 20:14:53 +0000 (20:14 +0000)]
Fix segfault - Add sanity check - when SPropTagArray is NULL in
NspiQueryRows request
Changelog Updater [Thu, 29 Jan 2009 18:56:08 +0000 (18:56 +0000)]
Daily ChangeLog Update
Julien Kerihuel [Thu, 29 Jan 2009 14:45:39 +0000 (14:45 +0000)]
Fix openchange_newuser name typo
Julien Kerihuel [Thu, 29 Jan 2009 14:28:40 +0000 (14:28 +0000)]
Fix server provisioning command line examples
Julien Kerihuel [Thu, 29 Jan 2009 02:04:53 +0000 (02:04 +0000)]
Fix several libmapi leaks.
mapi_response was allocated using emsmdb_ctx->mem_ctx memory context
and was not free'd when libmapi function released their
context. Furthermore we need to release mapi_response->mapi_repl and
mapi_response->handles which are now automatically free'd when
mapi_response destructor is called.
However note that this fix is not perfect: mapi_response memory is not
free'd properly when calls exit with an error.
This commit also make use of talloc_steal where necessary to keep
returned fields allocated.
Jelmer Vernooij [Wed, 28 Jan 2009 14:39:07 +0000 (14:39 +0000)]
Don't define _GNU_SOURCE unconditionally.
Brad Hards [Wed, 28 Jan 2009 10:45:03 +0000 (10:45 +0000)]
One more trivial fix.
Brad Hards [Wed, 28 Jan 2009 09:11:45 +0000 (09:11 +0000)]
Typo fixes.
(Yep, more trivial changes)
Brad Hards [Wed, 28 Jan 2009 08:57:33 +0000 (08:57 +0000)]
Fix incorrect LCID for en-CA.
(OK, its token, I admit).
Julien Kerihuel [Wed, 28 Jan 2009 05:11:07 +0000 (05:11 +0000)]
Use named context rather than autofree
Julien Kerihuel [Wed, 28 Jan 2009 04:16:08 +0000 (04:16 +0000)]
Fix memory leak in emsmdb.c: Use a temporary memory context for
request and length allocation in emsmdb_transaction.
- This removes 827 loss records and approximatively saves 41kb of
memory while valgrinding mapitest
Julien Kerihuel [Wed, 28 Jan 2009 03:34:25 +0000 (03:34 +0000)]
- Fix memory leak in GetDefaultProfile and GetProfileTable.
- Save from 10 loss records while valgrinding mapitest
- Developers are now responsible from freeing the GetDefaultProfile
string the function allocates.
- Apply changes to all openchange tools.
Julien Kerihuel [Wed, 28 Jan 2009 00:56:22 +0000 (00:56 +0000)]
Add blackbox subunit tests for mapiprofile tool
Julien Kerihuel [Tue, 27 Jan 2009 22:32:47 +0000 (22:32 +0000)]
Prevent mapiproxy from multiple init and modules/server register
when an smb client connect to the server (e.g. windows browser or smbclient)
Jelmer Vernooij [Mon, 26 Jan 2009 22:29:17 +0000 (22:29 +0000)]
Simply run autogen.sh rather than replicating it inside the Makefile.
Jelmer Vernooij [Mon, 26 Jan 2009 21:40:13 +0000 (21:40 +0000)]
need to run aclocal before autoconf for the pkg-config macros.
Brad Hards [Mon, 26 Jan 2009 07:16:27 +0000 (07:16 +0000)]
According to [MS-OXOCAL] Section 2.2.1.44.1
"RecurrencePattern Structure", a monthly recurrence
also has a Day specific parameter.
Add that here.
Julien Kerihuel [Sun, 25 Jan 2009 23:37:01 +0000 (23:37 +0000)]
Use a autofree context rather than a named one - makes sure memory is free'd when we exit the test.
Saves from 4 loss records while valgrind'ing mapitest.
Julien Kerihuel [Sun, 25 Jan 2009 23:23:58 +0000 (23:23 +0000)]
Use temporary memory context for EcDoConnect.
Saves from 20 loss records when valgrind'ing mapitest.
Julien Kerihuel [Sun, 25 Jan 2009 16:46:43 +0000 (16:46 +0000)]
Free PropertyProblem structures returned by CopyTo.
Julien Kerihuel [Sun, 25 Jan 2009 16:31:29 +0000 (16:31 +0000)]
Replace deprecated talloc_init calls with talloc_named
This commit removes some valgrind loss records talloc_init was responsible for
Julien Kerihuel [Sun, 25 Jan 2009 14:56:19 +0000 (14:56 +0000)]
Free everything
Free everything when running mapitest --list-all.
Valgrind however shows a loss record related to talloc_init ...
Brad Hards [Sun, 25 Jan 2009 06:40:37 +0000 (06:40 +0000)]
Minor Intel C compiler warning fixes.
Brad Hards [Sun, 25 Jan 2009 03:26:36 +0000 (03:26 +0000)]
Minor apidocs cleanups.
Jelmer Vernooij [Sat, 24 Jan 2009 21:04:53 +0000 (21:04 +0000)]
Don't install mapiproxy if python wasn't found, since
we wouldn't know where to install the provisioning scripts or be able
to use them.
Julien Kerihuel [Sat, 24 Jan 2009 18:41:58 +0000 (18:41 +0000)]
Use double pointer for lp_ctx in GetLoadparmContext assessor
Julien Kerihuel [Sat, 24 Jan 2009 18:24:02 +0000 (18:24 +0000)]
Fix memory leak in utf8 lexer.
Julien Kerihuel [Sat, 24 Jan 2009 17:09:08 +0000 (17:09 +0000)]
- Remove custom iconv_convenience from pull_emsmdb_property and use
lp_iconv_convenience on loadparm_context argument instead.
- Change OpenChange libmapi API to reflect this change
- Introduce a lp_ctx assessor in libmapi/cdo_mapi.c
(mostly for mapitest modules). libmapi/mapiproxy developers
should never have to make use of it.
- Remove pointless duplicated call to lp_load_default in MAPIInitialize.
Julien Kerihuel [Sat, 24 Jan 2009 16:01:19 +0000 (16:01 +0000)]
Free lpProps returned by GetProps, Fix context error in valgrind
Julien Kerihuel [Sat, 24 Jan 2009 15:57:53 +0000 (15:57 +0000)]
- Fix memory leak bug: release ndr context in pull_emsmdb_property before returning
- Terminate SPropValue and SPropTagArray using an element with ulPropTag = 0. This
prevent from "invalid read size of 4" messages from valgrind and remove context errors.
Julien Kerihuel [Tue, 20 Jan 2009 23:16:05 +0000 (23:16 +0000)]
Merge libmapi-0.8 branch r1015 to 1017 into trunk
Julien Kerihuel [Tue, 20 Jan 2009 04:41:18 +0000 (04:41 +0000)]
** Start libmapi-0.9 COCHRANE development **
Julien Kerihuel [Tue, 20 Jan 2009 04:39:02 +0000 (04:39 +0000)]
Merge libmapi-0.8 branch changes into trunk
Julien Kerihuel [Sun, 18 Jan 2009 15:27:53 +0000 (15:27 +0000)]
Add python install/uninstall rules to provision rather than mapiproxy-servers
Julien Kerihuel [Sun, 18 Jan 2009 14:26:53 +0000 (14:26 +0000)]
- Remove server Makefile rules
- Remove dead code
Note: server and providers have been merged within mapiproxy,
so there is no reason keeping this deprecated code.
Julien Kerihuel [Sat, 17 Jan 2009 15:28:50 +0000 (15:28 +0000)]
Undoing change committed in r1004.
Julien Kerihuel [Sat, 17 Jan 2009 02:24:43 +0000 (02:24 +0000)]
Use .po files instead of .o files for openchange tools
Julien Kerihuel [Sat, 17 Jan 2009 02:10:15 +0000 (02:10 +0000)]
Add --version to openchange tools
Julien Kerihuel [Sat, 17 Jan 2009 01:20:20 +0000 (01:20 +0000)]
Add COPYING file with GPLv3 license
Julien Kerihuel [Fri, 16 Jan 2009 21:59:00 +0000 (21:59 +0000)]
- Add RenameProfile function to IProfAdmin API
- Remove pointless CopyProfile from IProfAdmin API
- Add --rename option to mapiprofile tool
- Update man page to reflect this addition
(close trac ticket #124)
Julien Kerihuel [Fri, 16 Jan 2009 19:04:00 +0000 (19:04 +0000)]
Fix libmapi from crashing when mapi_repl is NULL.
Julien Kerihuel [Fri, 16 Jan 2009 17:48:24 +0000 (17:48 +0000)]
Update Samba4 git rev to fix the charcnv segfault met in openchange
tools
Jelmer Vernooij [Fri, 16 Jan 2009 17:26:49 +0000 (17:26 +0000)]
Try to find the Samba python modules if they're not installed in the system
python directory.
Julien Kerihuel [Thu, 15 Jan 2009 01:43:42 +0000 (01:43 +0000)]
- Fix Subscribe semantic bug and add WholeStore boolean parameter
- propagate API change to tools/torture callers