aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-09-06 00:25:18 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-06 00:25:18 +0800
commite716a2ed8bb0e9caed9af80152a40aad24629266 (patch)
treec8bde3a71de073655482faf7432e2b41ef02879a /tests
parent4e4eb45bf69d539996b298a13bf650c5ebea7f16 (diff)
downloadgsoc2013-evolution-e716a2ed8bb0e9caed9af80152a40aad24629266.tar.gz
gsoc2013-evolution-e716a2ed8bb0e9caed9af80152a40aad24629266.tar.zst
gsoc2013-evolution-e716a2ed8bb0e9caed9af80152a40aad24629266.zip
re-enabled old CPU/Mem consumming method. Use ful for pop3 for instance.
1999-09-05 bertrand <Bertrand.Guiheneuf@aful.org> * tests/ui-tests/store_listing.c (show_folder_messages): re-enabled old CPU/Mem consumming method. Use ful for pop3 for instance. svn path=/trunk/; revision=1179
Diffstat (limited to 'tests')
-rw-r--r--tests/ui-tests/store_listing.c47
1 files changed, 22 insertions, 25 deletions
diff --git a/tests/ui-tests/store_listing.c b/tests/ui-tests/store_listing.c
index ca69985221..dc845597b7 100644
--- a/tests/ui-tests/store_listing.c
+++ b/tests/ui-tests/store_listing.c
@@ -139,30 +139,6 @@ show_folder_messages (CamelFolder *folder)
/* clear old message list */
gtk_clist_clear (GTK_CLIST (message_clist));
-
-#if 0
- folder_message_count = camel_folder_get_message_count (folder);
-
- for (i=0; i<folder_message_count; i++) {
- message = camel_folder_get_message (folder, i);
- gtk_object_ref (GTK_OBJECT (message));
- sent_date = camel_mime_message_get_sent_date (message);
- sender = camel_mime_message_get_from (message);
- subject = camel_mime_message_get_subject (message);
-
-
- if (sent_date) clist_row_text [0] = sent_date;
- else clist_row_text [0] = NULL;
- if (sender) clist_row_text [1] = sender;
- else clist_row_text [1] = NULL;
- if (subject) clist_row_text [2] = subject;
- else clist_row_text [2] = NULL;
-
- current_row = gtk_clist_append (GTK_CLIST (message_clist), clist_row_text);
- gtk_clist_set_row_data_full (GTK_CLIST (message_clist), current_row, (gpointer)message, message_destroy_notify);
- }
-
-#endif
if (camel_folder_has_summary_capability (folder)) {
const GList *message_info_list;
@@ -183,7 +159,28 @@ show_folder_messages (CamelFolder *folder)
message_info_list = message_info_list->next;
}
} else {
- printf ("Folder does not have summary. Skipping\n");
+ printf ("Folder does not have summary. Opening all messages\n");
+ folder_message_count = camel_folder_get_message_count (folder);
+
+ for (i=0; i<folder_message_count; i++) {
+ message = camel_folder_get_message (folder, i);
+ gtk_object_ref (GTK_OBJECT (message));
+ sent_date = camel_mime_message_get_sent_date (message);
+ sender = camel_mime_message_get_from (message);
+ subject = camel_mime_message_get_subject (message);
+
+
+ if (sent_date) clist_row_text [0] = sent_date;
+ else clist_row_text [0] = NULL;
+ if (sender) clist_row_text [1] = sender;
+ else clist_row_text [1] = NULL;
+ if (subject) clist_row_text [2] = subject;
+ else clist_row_text [2] = NULL;
+
+ current_row = gtk_clist_append (GTK_CLIST (message_clist), clist_row_text);
+ gtk_clist_set_row_data_full (GTK_CLIST (message_clist), current_row, (gpointer)message, message_destroy_notify);
+ }
+
}
}
1-2/+2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV. - Add an option helper for LIBS. - Adjust all ports that already use LIBS. Also remove references to PTHREAD_CFLAGS and PTHREAD_LIBS while here. - Some ports did not support having a LIBS environment variable and required additional patches. Somewhat simplified a linker command line looks like: ${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS} where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and LIBS can be controlled by us. If possible -L and -l flags need to be added to LIBS to make sure they appear after any -L and -l flags set by upstream. Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this may appear too early on the command line causing installed libraries to be linked in instead of freshly built ones. Additional changes: benchmarks/netio: Replace WITH_IPV6 with an IPV6 option. comms/gnokii: Replace some patches with USES=pathfix. Also remove -fPIC. graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR. graphics/visionworkbench: Remove FreeBSD 7 support. multimedia/libmovtar: New LIB_DEPENDS syntax. multimedia/opencinematools: Use standard do-build. net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins) net-mgmt/nagios: Remove -fPIC. net-mgmt/nagios4: Remove -fPIC. print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036. security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS. This skips a test in configure that falsely detects pthread_mutexattr_init in our libc. sysutils/dar: Fix iconv detection. x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD hack and use $CXX as linker as on other platforms. PR: 190592 Exp-run by: antoine Approved by: portmgr (antoine) * - USE_(BZIP2|XZ) -> USES=tar:(bzip2|xz)ohauer2014-06-021-2/+1 | * Stage supportantoine2014-01-211-15/+6 | * Convert chinese to MDOCSadamw2014-01-031-1/+1 | * In preparation for making libtool generate libraries with a sane name, fix allbapt2013-12-111-1/+1 | | | | LIB_DEPENDS in chinese * - Remove manual creation and removal of share/applications, as it's now in ↵amdmi32013-10-221-1/+0 | | | | | | the mtree (categories starting with [bce]) Approved by: portmgr (bdrewery) * Return back to pool.delphij2013-10-212-2/+2 | * Add NO_STAGE all over the place in preparation for the staging support (cat: ↵bapt2013-09-211-0/+1 | | | | chinese) * Add an explicit dependency on pkgconfbapt2013-09-031-2/+1 | * - Convert USE_GETTEXT to USES (part 3)ak2013-04-251-1/+1 | | | | Approved by: portmgr (bapt) * Update to 0.8.5.delphij2012-11-033-104/+121 | | | | Feature safe: yes * - update png to 1.5.10dinoex2012-06-011-0/+1 | * Add reciteword back and update it to 0.8.4.delphij2011-10-074-0/+718 | * Bye bye abandonwares (part 2)bapt2011-08-0111-990/+0 | | | | | | | | | | | | | | | | | | | | | | | | | | 2011-08-01 benchmarks/rawio: Looks like an abandonware, no more public distfiles 2011-08-01 benchmarks/tmetric: Looks like abandonware, no more public distfiles 2011-08-01 biology/L-Breeder: Looks like an abandonware, no more public distfile 2011-08-01 biology/crimap: Looks like an abandonware, no more public distfile 2011-08-01 biology/distribfold: No more upstream, looks like an abandonware 2011-08-01 biology/kinemage: Looks like an abandonware, no more public distfile 2011-08-01 biology/lsysexp: Looks like an abandonware, no more public distfile 2011-08-01 chinese/chm2html: Looks like an abandonware, no more public distfile 2011-08-01 chinese/ntuttf: No more public distfiles available 2011-08-01 chinese/reciteword: Looks like an abandonware, no more public distfile 2011-08-01 chinese/tocps: No more pulic distfiles 2011-08-01 chinese/xttmgr: Looks like an abandonware, no more public distfile 2011-08-01 comms/mserver: Looks like an abandonware, no more public distfiles 2011-08-01 comms/qicosi: Looks like an abandonware, no more public distfile 2011-08-01 comms/sms_client: Looks like an abandonware, no more public distfile 2011-08-01 comms/smstools: Looks like an abandonware, no more public distfile 2011-08-01 converters/siconv: Looks like an abandonware, no more public distfiles 2011-08-01 converters/utf8conv: Looks like an abandonware, no more public distfile 2011-08-01 databases/pgcluster: Looks like an abandonware, no more public distfile 2011-08-01 databases/py-MySQL: Please use databases/py-MySQLdb instead 2011-08-01 databases/py-SQLDict: Looks like an abandonware, no more public distfile 2011-08-01 databases/py-rrdpipe: Looks like an abandonware, no more public distfile 2011-08-01 databases/sybase_ase: no more public distfiles available * Another bunch of deprecation: no more public distfiles and/or abandonwarebapt2011-06-161-0/+3 | * - Get Rid MD5 supportmiwi2011-03-191-3/+0 | * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 | * - update to 1.4.1dinoex2010-03-281-1/+1 | | | | | Reviewed by: exp8 run on pointyhat Supported by: miwi * - update to jpeg-8dinoex2010-02-051-1/+1 | * - bump all port that indirectly depends on libjpeg and have not yet been ↵dinoex2009-07-311-1/+1 | | | | | | bumped or updated Requested by: edwin * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 | | | | | | | | | | The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav) * Reset relaxbsd@gmail.com due to maintainer-timeouts.linimon2008-03-021-1/+1 | | | | Hat: portmgr * - Fix build on amd64 7rafan2007-08-067-0/+278 | | | | | | PR: ports/115231 Reported by: pointyhat via kris Submitted by: Yinghong.Liu <relaxbsd at gmail.com> (maintainer) * - Correctly quote arguments for COPYTREE_* macrorafan2007-07-291-1/+1 | * - Fix buildrafan2007-07-291-1/+1 | | | | Pointy hat to: rafan * - Our make(1) works fine with this port, so remove USE_GMAKErafan2007-07-283-654/+652 | | | | | | | | | | | - This port can be built with GCC 4.x, so remove USE_GCC - Remove USE_X_PREFIX (it does not directly rely on xlib) - Install additional documents - Use COPYTREE_SHARE instead of TAR - Use DATADIR PR: ports/114944 Submitted by: Yinghong.Liu <relaxbsd at gmail.com> (maintainer) * - Change maintainer addressbeech2007-07-051-1/+1 | | | | | | | - Cleanup master_sites Requested by: Yinghong Liu <relaxbsd@gmail.com> (maintainer) Approved by: sat (mentor) * - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1 | | | | | - Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}. * Remove zero-sized files.erwin2006-07-112-0/+0 | * Update to 0.8.3clive2006-05-11