jelmer/openchange.git
14 years agoDaily ChangeLog Update
Changelog Updater [Fri, 26 Feb 2010 23:00:53 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agoAdd special handling for PS_MAPI property name mapping.
Brad Hards [Fri, 26 Feb 2010 06:18:56 +0000 (06:18 +0000)]
Add special handling for PS_MAPI property name mapping.

This fixes a long-standing mapitest failure.

The logic is based on MS-OXCPRPT, section 2.2.12.2.2 PropertyIds.

14 years agoMinor API documentation fix.
Brad Hards [Fri, 26 Feb 2010 06:16:02 +0000 (06:16 +0000)]
Minor API documentation fix.

14 years agoDaily ChangeLog Update
Changelog Updater [Wed, 24 Feb 2010 23:01:38 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoBuild fix for example code
Brad Hards [Wed, 24 Feb 2010 04:11:24 +0000 (04:11 +0000)]
Build fix for example code

14 years agoDaily ChangeLog Update
Changelog Updater [Tue, 23 Feb 2010 23:01:29 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoFix format string problem #184 ticket
Julien Kerihuel [Tue, 23 Feb 2010 22:59:27 +0000 (22:59 +0000)]
Fix format string problem #184 ticket

14 years agoAdd status reporter classes to allow redirecting the progress
Brad Hards [Tue, 23 Feb 2010 04:19:08 +0000 (04:19 +0000)]
Add status reporter classes to allow redirecting the progress
messages.

14 years agoUpdate man page to reflect mapitest --subunit option.
Brad Hards [Tue, 23 Feb 2010 01:19:42 +0000 (01:19 +0000)]
Update man page to reflect mapitest --subunit option.

14 years agoImplement basic subunit output protocol format for mapitest.
Brad Hards [Tue, 23 Feb 2010 01:15:22 +0000 (01:15 +0000)]
Implement basic subunit output protocol format for mapitest.

There are a couple of documentation bits to follow.

14 years agoDaily ChangeLog Update
Changelog Updater [Sat, 20 Feb 2010 23:01:21 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoTrivial API dox addition.
Brad Hards [Sat, 20 Feb 2010 04:50:29 +0000 (04:50 +0000)]
Trivial API dox addition.

14 years agoDaily ChangeLog Update
Changelog Updater [Wed, 17 Feb 2010 23:00:54 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agoUpdate the IDL and implementation for RopGetPermissionsTable (0x3e)
Brad Hards [Wed, 17 Feb 2010 08:32:29 +0000 (08:32 +0000)]
Update the IDL and implementation for RopGetPermissionsTable (0x3e)
and RopModifyPermissions (0x40) to match MS-OXCPERM.

The function signature for GetTable() and ModifyTable() has changed.
They are now called GetPermissionsTable() and ModifyPermissions()
respectively, and there is an additional "flags" argument, which you
almost certainly want to pass as 0x00 if you are porting from some
older implementation.

Updates all users, and adds mapitest unit tests.

14 years agoDaily ChangeLog Update
Changelog Updater [Thu, 11 Feb 2010 23:01:22 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoAdd country codes to codepage-lcid description file
Julien Kerihuel [Thu, 11 Feb 2010 13:22:47 +0000 (13:22 +0000)]
Add country codes to codepage-lcid description file

14 years agoUpdate bzrignore.
Jelmer Vernooij [Thu, 11 Feb 2010 12:43:28 +0000 (12:43 +0000)]
Update bzrignore.

14 years agoRemove copied code from samba (ldb) and just use the ldb
Brad Hards [Thu, 11 Feb 2010 05:26:00 +0000 (05:26 +0000)]
Remove copied code from samba (ldb) and just use the ldb
version.

Resolves ticket #167

14 years agoAllow building if popt isn't available.
Brad Hards [Thu, 11 Feb 2010 01:37:36 +0000 (01:37 +0000)]
Allow building if popt isn't available.

The changes are to:
- remove unnecessary include in libmapiadmin
- only build mapistore test tool if popt is available
- only build torture tests if popt is available.

The last change could be finer (e.g. only leaving out the
part of the torture test that actually requires popt) but
that seemed more fragile and generally unnecessary.

Resolves ticket #233.

14 years agoDaily ChangeLog Update
Changelog Updater [Wed, 10 Feb 2010 23:00:55 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agoEnsure we always initialise before trying to cleanup (e.g. in a failure scenario).
Brad Hards [Wed, 10 Feb 2010 06:56:24 +0000 (06:56 +0000)]
Ensure we always initialise before trying to cleanup (e.g. in a failure scenario).

Issue identified and patch provided by Erik Hovland, minor changes by me.

Resolves ticket #236.

14 years agoprop is declared within the switch statement.
Brad Hards [Wed, 10 Feb 2010 06:10:50 +0000 (06:10 +0000)]
prop is declared within the switch statement.

Fix by Erik Hovland - thanks very much.

Resolves ticket #239.

14 years agoUse strncpy instead of strcpy.
Brad Hards [Wed, 10 Feb 2010 05:53:19 +0000 (05:53 +0000)]
Use strncpy instead of strcpy.

Patch by Erik Hovland, plus a minor change by me to ensure the string is null terminated.

Resolves ticket #237.

14 years agoAdd missing break statements
Brad Hards [Wed, 10 Feb 2010 05:02:37 +0000 (05:02 +0000)]
Add missing break statements

Patch by Erik Hovland <erik@hovland.org>

Resolves ticket #238.

14 years agoMark appropriate constructors as explicit.
Brad Hards [Wed, 10 Feb 2010 04:34:02 +0000 (04:34 +0000)]
Mark appropriate constructors as explicit.

Patch by Erik Hovland - thanks very much.

Resolves ticket #240.

14 years agoAdd newline.
Brad Hards [Wed, 10 Feb 2010 04:24:21 +0000 (04:24 +0000)]
Add newline.

Patch from Erik Hovland - thanks again.

Resolves ticket #242.

14 years agoFix spelling errors.
Brad Hards [Wed, 10 Feb 2010 04:19:10 +0000 (04:19 +0000)]
Fix spelling errors.

Patch by Erik Hovland - thanks very much.

Resolves ticket #241.

14 years agoMake sure we actually can compile when using --enable-openchange-qt4
Brad Hards [Wed, 10 Feb 2010 04:15:00 +0000 (04:15 +0000)]
Make sure we actually can compile when using --enable-openchange-qt4

This patch ensures that $(MOC) gets set in the Makefile.

14 years agoDaily ChangeLog Update
Changelog Updater [Tue, 9 Feb 2010 23:01:08 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoAdd canonical names for codepage related properties (involved in
Julien Kerihuel [Tue, 9 Feb 2010 17:26:57 +0000 (17:26 +0000)]
Add canonical names for codepage related properties (involved in
PT_STRING8 encoding/decoding)

14 years agoDaily ChangeLog Update
Changelog Updater [Mon, 8 Feb 2010 23:00:51 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years ago- Add parser for codepage-lcid
Julien Kerihuel [Mon, 8 Feb 2010 15:29:05 +0000 (15:29 +0000)]
- Add parser for codepage-lcid

- Add entire set of conversion functions for lcid, codepage, language
  and locale

- mapiprofile now uses codepage/lcid matching LC_CTYPE environment
  variable for language detection, otherwise codepage/lcid matching
  language list. Language list is now dumped from codepage-lcid
  auto-generaed code.

- Remove deprecated util and tests directory from libmapi and from
  build system. We now only rely on codepage_lcid.c

- Update openchange code (utils, mapiprofile, mapitest and
  exchange2ical libs) to use this new API.

- I have not looked into icalparameter_get_language, but assuming it
  is relying on previous API, I may have introduced a bug here. Looks
  like the function outputs for example "en-US" while we now checks
  for "en_US" to match setlocale output.

14 years agoMinor API documentation adds.
Brad Hards [Mon, 8 Feb 2010 08:55:05 +0000 (08:55 +0000)]
Minor API documentation adds.

14 years agoAdd unit test coverage for the GetGALTable() function.
Brad Hards [Mon, 8 Feb 2010 07:09:49 +0000 (07:09 +0000)]
Add unit test coverage for the GetGALTable() function.

This is mostly lifted from utils/openchangeclient.c

14 years agoSwitch to only building Qt4 bindings if specifically asked for.
Brad Hards [Mon, 8 Feb 2010 02:51:00 +0000 (02:51 +0000)]
Switch to only building Qt4 bindings if specifically asked for.

This is a bit experimental for now, so lets go safer...

14 years agoDaily ChangeLog Update
Changelog Updater [Fri, 5 Feb 2010 23:00:58 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agoIn this particular case (error returned, mapi_response shouldn't
Julien Kerihuel [Fri, 5 Feb 2010 18:41:23 +0000 (18:41 +0000)]
In this particular case (error returned, mapi_response shouldn't
be free'd)

14 years agoFix bug 605827 - SRowSet was free'd while still needed
Julien Kerihuel [Fri, 5 Feb 2010 16:00:37 +0000 (16:00 +0000)]
Fix bug 605827 - SRowSet was free'd while still needed

14 years agoDaily ChangeLog Update
Changelog Updater [Thu, 4 Feb 2010 23:01:12 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoTemplate file which associates Language, LCID, Locale and Codepage.
Julien Kerihuel [Thu, 4 Feb 2010 17:53:36 +0000 (17:53 +0000)]
Template file which associates Language, LCID, Locale and Codepage.
Furthermore commits will implement the mparse parser which will
auto-generate the associated C files. This should give us a reliable
way to use it in mapiprofile, MAPI profiles database and for
PT_STRING8 proper conversion purposes.

If anything is missing or is incorrect, updating the file will
be trivial.

14 years agoDaily ChangeLog Update
Changelog Updater [Wed, 3 Feb 2010 23:05:48 +0000 (23:05 +0000)]
Daily ChangeLog Update

14 years agoFix bug where you couldn't select another messages in the default folder without
Brad Hards [Wed, 3 Feb 2010 02:44:37 +0000 (02:44 +0000)]
Fix bug where you couldn't select another messages in the default folder without
changing folder first.

Looks like this is just a bit I forgot to update when changing from an initial
cut to the "more working" implementation.

14 years agoDaily ChangeLog Update
Changelog Updater [Tue, 2 Feb 2010 23:01:34 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years ago- Fix trac ticket #183: PT_UNICODE properties are now turned to UTF-8
Julien Kerihuel [Tue, 2 Feb 2010 13:32:27 +0000 (13:32 +0000)]
- Fix trac ticket #183: PT_UNICODE properties are now turned to UTF-8
  directly.

- Remove deprecated utf8_convert lexer and windows_to_utf8 routine

- Change openchange tools to use _UNICODE tag version instead

- octool_get_propval now prefer UNICODE properties over PT_STRING8
  ones (default behavior).

- Change mapidump_message API to take an optional mapi_object_t
  message parameter. If the message object is specified, we can have
  access to the subject, and recipients (to, cc, bcc) without having
  to query them within a GetProps call.

14 years agoFix an ugly cut-n-paste error.
Brad Hards [Tue, 2 Feb 2010 10:49:37 +0000 (10:49 +0000)]
Fix an ugly cut-n-paste error.

14 years agoAdd pkg-config support for libmapi++.
Brad Hards [Tue, 2 Feb 2010 09:00:26 +0000 (09:00 +0000)]
Add pkg-config support for libmapi++.

14 years agoDaily ChangeLog Update
Changelog Updater [Mon, 1 Feb 2010 23:00:42 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agoFix ticket #123 (known as 562948 on gnome bugzilla):
Julien Kerihuel [Mon, 1 Feb 2010 21:40:29 +0000 (21:40 +0000)]
Fix ticket #123 (known as 562948 on gnome bugzilla):
"Unable to send mails containing UTF8 strings"

OpenChange was using strlen(str) * 2 + 2 to calculate the
expected size for utf16 string. This patch fixes this and
replaces it with a function that make proper utf8 to utf16
conversion.

This commit also replaces PT_STRING8 properties in openchangeclient.c
with PT_UNICODE ones to ensure utf8 strings get converted properly.

14 years agoDaily ChangeLog Update
Changelog Updater [Tue, 26 Jan 2010 23:02:01 +0000 (23:02 +0000)]
Daily ChangeLog Update

14 years ago- Add NormalizedSubject and SubjectPrefix strings to object_message_t
Julien Kerihuel [Tue, 26 Jan 2010 11:49:21 +0000 (11:49 +0000)]
- Add NormalizedSubject and SubjectPrefix strings to object_message_t
  structure.
- Add a function to retrieve TypedString value
- Add a mapidump function for obj_message (only retrieve subject and
  recipients)
- Add --fetchsummary option to openchangeclient: Dumps properties from
  OpenMessage response only (subject and recipients) rather than going
  through GetProps and dumping a more complete version.

14 years agoMove make distclean to the end again.
Brad Hards [Tue, 26 Jan 2010 05:57:50 +0000 (05:57 +0000)]
Move make distclean to the end again.

14 years agoDaily ChangeLog Update
Changelog Updater [Sat, 23 Jan 2010 23:01:02 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoRemove a copy of the dlinklist.h header, and just use the samba
Brad Hards [Sat, 23 Jan 2010 01:25:03 +0000 (01:25 +0000)]
Remove a copy of the dlinklist.h header, and just use the samba
version instead.

14 years agoDaily ChangeLog Update
Changelog Updater [Wed, 20 Jan 2010 23:00:44 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agoInstall missing file.
Brad Hards [Wed, 20 Jan 2010 22:12:43 +0000 (22:12 +0000)]
Install missing file.

14 years agoDaily ChangeLog Update
Changelog Updater [Wed, 13 Jan 2010 23:01:06 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoAllow us to find samba python code on 64-bit machines.
Brad Hards [Wed, 13 Jan 2010 06:39:53 +0000 (06:39 +0000)]
Allow us to find samba python code on 64-bit machines.

14 years agoDaily ChangeLog Update
Changelog Updater [Sun, 10 Jan 2010 23:01:52 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoUpdate EcDoConnectEx IDL to match latest specifications
Julien Kerihuel [Sun, 10 Jan 2010 19:41:58 +0000 (19:41 +0000)]
Update EcDoConnectEx IDL to match latest specifications

14 years agoMinor additions to "make clean" / "make distclean" to remove
Brad Hards [Sun, 10 Jan 2010 04:52:17 +0000 (04:52 +0000)]
Minor additions to "make clean" / "make distclean" to remove
generated python bits, and also the config.h file.

14 years agoDaily ChangeLog Update
Changelog Updater [Fri, 8 Jan 2010 23:01:03 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoImplement IsMailboxFolder for public folder types.
Brad Hards [Fri, 8 Jan 2010 05:07:19 +0000 (05:07 +0000)]
Implement IsMailboxFolder for public folder types.

Involves some refactoring of the way we handled the mapi_object_store_t,
such that we now talloc_zero the structure.

Adds mapitest coverage for these.

Resolves Ticket #134.

14 years agoDaily ChangeLog Update
Changelog Updater [Wed, 6 Jan 2010 23:00:40 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agoAdd unit tests for IsMailboxFolder
Brad Hards [Wed, 6 Jan 2010 11:04:41 +0000 (11:04 +0000)]
Add unit tests for IsMailboxFolder

Also use 0xFFFFFFFFF instead of -1 for no-such-mailbox, consistent with the unsigned data type.

14 years agoDaily ChangeLog Update
Changelog Updater [Mon, 4 Jan 2010 23:00:49 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agoChange location of .cpp.o and .ccp.po to the correct location
Julien Kerihuel [Mon, 4 Jan 2010 13:08:45 +0000 (13:08 +0000)]
Change location of .cpp.o and .ccp.po to the correct location
and inhibit compilation line output for moc and cpp compilation.

14 years agoTry harder to clean up libmapi++ bits.
Brad Hards [Mon, 4 Jan 2010 07:03:08 +0000 (07:03 +0000)]
Try harder to clean up libmapi++ bits.

14 years agoDaily ChangeLog Update
Changelog Updater [Sun, 3 Jan 2010 23:04:56 +0000 (23:04 +0000)]
Daily ChangeLog Update

14 years agoAdd documentation for qt/ subdirectory.
Brad Hards [Sun, 3 Jan 2010 11:19:23 +0000 (11:19 +0000)]
Add documentation for qt/ subdirectory.

14 years agoIgnore moc files and generated binary
Julien Kerihuel [Sun, 3 Jan 2010 10:23:12 +0000 (10:23 +0000)]
Ignore moc files and generated binary

14 years agoUpdate OpenChange version to 0.10 NOMAD
Julien Kerihuel [Sun, 3 Jan 2010 10:11:56 +0000 (10:11 +0000)]
Update OpenChange version to 0.10 NOMAD

Nomad is a mechanical explorer sent from Earth in 2002.
It was melded with an alien device named Tan Ru and the resulting robotic
hybrid began destroying anything that was imperfect including, in 2267,
itself.

14 years agoTry harder to find moc.
Brad Hards [Sun, 3 Jan 2010 09:36:57 +0000 (09:36 +0000)]
Try harder to find moc.

14 years agoInitial commit of some Qt-style bindings.
Brad Hards [Sun, 3 Jan 2010 08:40:18 +0000 (08:40 +0000)]
Initial commit of some Qt-style bindings.

This is mostly for testing, although hopefully the library will
emerge with a set of mostly-useful widgets for implementing
real clients.

14 years agoDaily ChangeLog Update
Changelog Updater [Thu, 31 Dec 2009 23:00:48 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agoQuiet the build here.
Brad Hards [Thu, 31 Dec 2009 05:35:01 +0000 (05:35 +0000)]
Quiet the build here.

Inadvertent removal in a previous patch.

14 years agoSome support for ReviewBoard.
Brad Hards [Thu, 31 Dec 2009 03:29:46 +0000 (03:29 +0000)]
Some support for ReviewBoard.

14 years agoDaily ChangeLog Update
Changelog Updater [Tue, 29 Dec 2009 23:00:44 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agoUpdate OpenMessage flags to match specification values.
Brad Hards [Tue, 29 Dec 2009 05:52:02 +0000 (05:52 +0000)]
Update OpenMessage flags to match specification values.

14 years agoCleanup libmapi++ code when we "make clean".
Brad Hards [Tue, 29 Dec 2009 04:04:15 +0000 (04:04 +0000)]
Cleanup libmapi++ code when we "make clean".

14 years agoAdd svn ignore entries.
Brad Hards [Tue, 29 Dec 2009 01:36:29 +0000 (01:36 +0000)]
Add svn ignore entries.

14 years agoRemove inline from shared library class.
Brad Hards [Tue, 29 Dec 2009 01:33:25 +0000 (01:33 +0000)]
Remove inline from shared library class.

Fixes build on Intel C++ compiler.

14 years agoDaily ChangeLog Update
Changelog Updater [Sun, 27 Dec 2009 23:00:59 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agolibmapi++ is no longer a header-only library
Alan Alvarez [Sun, 27 Dec 2009 22:37:41 +0000 (22:37 +0000)]
libmapi++ is no longer a header-only library

14 years agoDaily ChangeLog Update
Changelog Updater [Sat, 26 Dec 2009 23:01:02 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoAdd first part of Restrictions support.
Brad Hards [Sat, 26 Dec 2009 05:07:26 +0000 (05:07 +0000)]
Add first part of Restrictions support.

14 years agoA little more documentation fixes.
Brad Hards [Sat, 26 Dec 2009 02:35:04 +0000 (02:35 +0000)]
A little more documentation fixes.

14 years agoA couple of minor API documentation fixes.
Brad Hards [Fri, 25 Dec 2009 23:55:14 +0000 (23:55 +0000)]
A couple of minor API documentation fixes.

14 years agoDaily ChangeLog Update
Changelog Updater [Fri, 25 Dec 2009 23:01:14 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoFix MAPIUninitialize() crash when leaving after an unsuccessful call.
Julien Kerihuel [Fri, 25 Dec 2009 03:19:57 +0000 (03:19 +0000)]
Fix MAPIUninitialize() crash when leaving after an unsuccessful call.
In such situation, mapi_response is not allocated but has a destructor
associated. This fix removes the destructor whenever the error code is
different from MAPI_E_SUCCESS.

Also add a minor (probably useless) check on mapi_response pointer validity
before attempting any other child's free.

14 years agoDaily ChangeLog Update
Changelog Updater [Thu, 24 Dec 2009 23:00:45 +0000 (23:00 +0000)]
Daily ChangeLog Update

14 years agoRename libmapi into openchange in our release script.
Julien Kerihuel [Thu, 24 Dec 2009 13:21:29 +0000 (13:21 +0000)]
Rename libmapi into openchange in our release script.
Makes more sense given the scope of our releases.

14 years agoFix format string warnings.
Julien Kerihuel [Thu, 24 Dec 2009 13:16:45 +0000 (13:16 +0000)]
Fix format string warnings.

14 years agoNew ModifyRecipients IDL and implementation.
Julien Kerihuel [Thu, 24 Dec 2009 13:11:15 +0000 (13:11 +0000)]
New ModifyRecipients IDL and implementation.

This patch improves the logic within the RecipientFlags bitmask
calculation function and make use of different MAPI properties for
ModifyRecipients.

Fix trac ticket #125 and https://bugzilla.gnome.org/show_bug.cgi?id=568763

14 years agoMinor API documentation fix.
Brad Hards [Thu, 24 Dec 2009 03:30:48 +0000 (03:30 +0000)]
Minor API documentation fix.

14 years agoFix some exchange2ical memory leaks / "still reachable" memory.
Brad Hards [Wed, 23 Dec 2009 23:42:56 +0000 (23:42 +0000)]
Fix some exchange2ical memory leaks / "still reachable" memory.

14 years agoDaily ChangeLog Update
Changelog Updater [Wed, 23 Dec 2009 23:01:12 +0000 (23:01 +0000)]
Daily ChangeLog Update

14 years agoFix property tag array count, so we get the language in Summary
Brad Hards [Wed, 23 Dec 2009 22:54:27 +0000 (22:54 +0000)]
Fix property tag array count, so we get the language in Summary
lines in the ical output.

14 years agoAdd protection against null CN values.
Brad Hards [Wed, 23 Dec 2009 22:45:21 +0000 (22:45 +0000)]
Add protection against null CN values.

Resolves ticket #232.

Thanks to Arnout Engelen for the bug report and the patch to fix the problem.

14 years agoHandle all day events for UTC+ timezones.
Brad Hards [Wed, 23 Dec 2009 06:03:39 +0000 (06:03 +0000)]
Handle all day events for UTC+  timezones.

This resolves ticket #217. Thanks to Arnout Engelen for both reporting
the problem, and providing a patch. In the end I heavily modified the
patch, and implemented a much simpler version while we sort out the
timezone identifier problems.

14 years agoDaily ChangeLog Update
Changelog Updater [Tue, 22 Dec 2009 23:00:53 +0000 (23:00 +0000)]
Daily ChangeLog Update