Changeset 1782
- Timestamp:
- 04/12/07 22:02:56
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/Makefile.am (modified) (1 diff)
- trunk/configure.ac (modified) (5 diffs)
- trunk/libtinymail-acap (added)
- trunk/libtinymail-acap/Makefile.am (added)
- trunk/libtinymail-acap/libtinymail-acap.pc.in (added)
- trunk/libtinymail-acap/tny-acap-account-store.c (added)
- trunk/libtinymail-acap/tny-acap-account-store.h (added)
- trunk/libtinymail-camel/camel-lite/camel/camel-folder-summary.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r1780 r1782 1 2007-04-12 Philip Van Hoof <pvanhoof@gnome.org> 2 3 * Added skeleton for ACAP support 4 5 * This was a major API change 6 1 7 2007-04-11 Philip Van Hoof <pvanhoof@gnome.org> 2 8 trunk/Makefile.am
r1648 r1782 17 17 18 18 SUBDIRS += libtinymail-camel $(PLATFORMDIR) 19 20 if BUILD_ACAP 21 SUBDIRS += libtinymail-acap 22 endif 19 23 20 24 SUBDIRS += tests bindings po trunk/configure.ac
r1648 r1782 55 55 56 56 dnl ### default values (will get overwritten) 57 build_acap=false 57 58 build_gnome=true 58 59 build_uigtk=true … … 156 157 AM_CONDITIONAL(BUILD_DEMOUI, test x$build_demoui = xtrue) 157 158 159 158 160 dnl ### Enable gnome features ## 159 161 AC_ARG_ENABLE(gnome, … … 169 171 esac],[build_gnome=$build_gnome]) 170 172 AM_CONDITIONAL(BUILD_GNOME, test x$build_gnome = xtrue) 173 174 175 dnl ### Enable acap features ## 176 AC_ARG_ENABLE(acap, 177 AC_HELP_STRING([--enable-acap], 178 [Build using acap features]), 179 [case "${enableval}" in 180 yes) 181 build_acap=true 182 ;; 183 no) build_acap=false ;; 184 *) AC_MSG_ERROR(bad value ${enableval} for --enable-acap) ;; 185 esac],[build_acap=$build_acap]) 186 AM_CONDITIONAL(BUILD_ACAP, test x$build_acap = xtrue) 187 171 188 172 189 dnl ### Enable building the unit tests ## … … 396 413 libtinymail-gpe/libtinymail-gpe.pc 397 414 libtinymail-test/Makefile 415 libtinymail-acap/Makefile 416 libtinymail-acap/libtinymail-acap.pc 398 417 tests/Makefile 399 418 tests/c-demo/Makefile … … 409 428 echo "" 410 429 echo " Enable GNOME features: $build_gnome" 430 echo " Enable ACAP features: $build_acap" 411 431 echo " HTML component: ${with_html_component}" 412 432 echo " Python language bindings: $build_pytinymail" trunk/libtinymail-camel/camel-lite/camel/camel-folder-summary.c
r1758 r1782 732 732 s->idx = i; 733 733 734 g_static_rec_mutex_lock (&global_lock); 734 735 mi = ((CamelFolderSummaryClass *)(CAMEL_OBJECT_GET_CLASS(s)))->message_info_load(s, &must_add); 736 g_static_rec_mutex_unlock (&global_lock); 735 737 736 738 if (mi == NULL) … … 2118 2120 ptrchr = camel_file_util_mmap_decode_uint32 (ptrchr, &mi->flags, FALSE); 2119 2121 2120 2121 2122 mi->flags &= ~CAMEL_MESSAGE_INFO_NEEDS_FREE; 2122 2123 mi->flags &= ~CAMEL_MESSAGE_INFO_UID_NEEDS_FREE; … … 3272 3273 g_static_mutex_lock (&global_lock2); 3273 3274 3274 if ( mi == NULL || mi->refcount <=0)3275 retval = (void*) 0;3276 if ( ((CamelMessageInfoBase*)mi)->flags & CAMEL_MESSAGE_FREED)3275 if (G_UNLIKELY (mi == NULL || mi->refcount <=0)) 3276 retval = "Invalid refcount"; 3277 if (G_UNLIKELY(((CamelMessageInfoBase*)mi)->flags & CAMEL_MESSAGE_FREED)) 3277 3278 retval = "Invalid"; 3278 3279 else switch (id)
