Changeset 2846
- Timestamp:
- 10/18/07 14:38:20
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/docs/building.txt (modified) (1 diff)
- trunk/libtinymail-camel/tny-camel-folder.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-camel-store-account.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r2844 r2846 4 4 together. This is experimental. Uncomment line 620 of 5 5 camel-operation.c to undo this. 6 * Added a -DMERGEFOLDERTEST that will perform a test for 7 TnyMergeFolder 6 8 7 9 2007-10-17 Philip Van Hoof <pvanhoof@gnome.org> trunk/docs/building.txt
r2586 r2846 130 130 For debugging 131 131 ------------- 132 133 -DDEBUG 134 135 The DEBUG define will enable IMAP, POP, NNTP and SMTP debugging. If you compile 136 with this define you'll see some of the traffic on your stdout. 137 132 138 CFLAGS="-DDEBUG -DDBC -D_GNU_SOURCE -O0 -Wall -g -ggdb" PKG_CONFIG_PATH=/opt/asyncworker/lib/pkgconfig \ 133 139 ./autogen.sh --prefix=/opt/tinymail --enable-asyncworker --enable-tests --enable-unit-tests && \ 134 140 make && sudo make install 141 142 -DMERGEFOLDERTEST 143 144 The mergefolder test will add a merge folder to each parent folder that has 145 more than two subfolders, it takes the first and the second folder and 146 creates a subfolder called MERGE TESTER that merges these two folders together. 147 135 148 136 149 Other commonly used CFLAGS trunk/libtinymail-camel/tny-camel-folder.c
r2825 r2846 49 49 #include <tny-folder-store-observer.h> 50 50 #include <tny-simple-list.h> 51 #include <tny-merge-folder.h> 52 51 53 52 54 #define TINYMAIL_ENABLE_PRIVATE_API … … 4728 4730 } 4729 4731 } 4732 4733 #ifdef MERGEFOLDERTEST 4734 if (tny_list_get_length (list) > 1) 4735 { 4736 int i=0; 4737 TnyFolder *merge = tny_merge_folder_new ("MERGE TESTER"); 4738 TnyIterator *iter = tny_list_create_iterator (list); 4739 g_warning ("CREATING MERGE TEST (%d)\n", tny_list_get_length (list) ); 4740 while (!tny_iterator_is_done (iter) && i < 2) { 4741 GObject *obj = tny_iterator_get_current (iter) 4742 tny_merge_folder_add_folder (TNY_MERGE_FOLDER (merge), 4743 TNY_FOLDER (obj)); 4744 g_object_unref (obj); 4745 i++; tny_iterator_next (iter); 4746 } 4747 g_object_unref (iter); 4748 tny_list_prepend (list, (Gobject *) merge); 4749 } 4750 #endif 4730 4751 4731 4752 _tny_session_stop_operation (TNY_FOLDER_PRIV_GET_SESSION (priv)); trunk/libtinymail-camel/tny-camel-store-account.c
r2825 r2846 38 38 #include <tny-folder.h> 39 39 #include <tny-folder-store.h> 40 #include <tny-merge-folder.h> 40 41 #include <tny-camel-folder.h> 41 42 #include <tny-error.h>
