You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(65) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(61) |
Feb
(111) |
Mar
(98) |
Apr
(33) |
May
(31) |
Jun
(64) |
Jul
(35) |
Aug
(50) |
Sep
(170) |
Oct
(89) |
Nov
(72) |
Dec
(214) |
2002 |
Jan
(74) |
Feb
(21) |
Mar
(5) |
Apr
(4) |
May
(61) |
Jun
(13) |
Jul
(3) |
Aug
(39) |
Sep
(14) |
Oct
(80) |
Nov
(22) |
Dec
(76) |
2003 |
Jan
(14) |
Feb
(59) |
Mar
(7) |
Apr
(5) |
May
|
Jun
(4) |
Jul
(6) |
Aug
(78) |
Sep
(68) |
Oct
(23) |
Nov
(25) |
Dec
(107) |
2004 |
Jan
(82) |
Feb
(75) |
Mar
(13) |
Apr
(9) |
May
(21) |
Jun
(2) |
Jul
(1) |
Aug
(52) |
Sep
(23) |
Oct
(15) |
Nov
(6) |
Dec
(60) |
2005 |
Jan
(125) |
Feb
(94) |
Mar
(32) |
Apr
(68) |
May
|
Jun
|
Jul
(11) |
Aug
(3) |
Sep
(15) |
Oct
(3) |
Nov
|
Dec
(58) |
2006 |
Jan
(46) |
Feb
(29) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(9) |
Dec
(9) |
2007 |
Jan
(62) |
Feb
(60) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(6) |
Aug
(3) |
Sep
(4) |
Oct
(2) |
Nov
(4) |
Dec
(46) |
2008 |
Jan
(3) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(10) |
Dec
(49) |
2009 |
Jan
(14) |
Feb
(12) |
Mar
(37) |
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
(6) |
Sep
(25) |
Oct
(48) |
Nov
(7) |
Dec
(45) |
2010 |
Jan
(15) |
Feb
(14) |
Mar
(7) |
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(28) |
Nov
|
Dec
(44) |
2011 |
Jan
(22) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(70) |
2012 |
Jan
(6) |
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(128) |
2013 |
Jan
(8) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(2) |
Dec
(150) |
2014 |
Jan
(70) |
Feb
(44) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Sebastian B. <sb...@us...> - 2013-01-02 17:44:34
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv19964 Modified Files: support_indep.h support_indep.c Log Message: Added mystrreplace(). Index: support_indep.h =================================================================== RCS file: /cvsroot/simplemail/simplemail/support_indep.h,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- support_indep.h 2 Jan 2013 14:06:01 -0000 1.31 +++ support_indep.h 2 Jan 2013 17:44:32 -0000 1.32 @@ -37,6 +37,7 @@ size_t mystrlcpy(char *dest, const char *src, size_t n); char *mystpcpy(char *dest, const char *src); char *mystrcat(char *str1, char *str2); +char *mystrreplace(const char *src, const char *from, const char *to); unsigned int myfsize(FILE *file); int myfiledatecmp(char *file1, char *file2); Index: support_indep.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/support_indep.c,v retrieving revision 1.50 retrieving revision 1.51 diff -u -d -r1.50 -r1.51 --- support_indep.c 2 Jan 2013 14:06:01 -0000 1.50 +++ support_indep.c 2 Jan 2013 17:44:32 -0000 1.51 @@ -255,6 +255,34 @@ } /** + * Returns a new string derived from str in which all occurrences of + * from are replaced by to. + * + * @param src + * @param from + * @param to + * @return the new string or NULL. If not NULL, the string must be freed with free(). + */ +char *mystrreplace(const char *src, const char *from, const char *to) +{ + const char *start; + + string d; + if (!(string_initialize(&d,1024))) + return NULL; + + start = src; + while ((src = strstr(start,from))) + { + string_append_part(&d,start,src-start); + string_append(&d,to); + start = src + strlen(from); + } + string_append(&d,start); + return d.str; +} + +/** * Returns the size of a given previously opened file. * * @param file |
From: Nicolas S. <he...@us...> - 2012-12-29 22:14:36
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4826 Modified Files: index_naive.c Log Message: Include varargs.h on ancient GCC to get va_vopy(). This fixes the MorphOS build whichever compiler is used. Index: index_naive.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/index_naive.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- index_naive.c 27 Dec 2012 09:31:30 -0000 1.7 +++ index_naive.c 29 Dec 2012 22:14:34 -0000 1.8 @@ -29,8 +29,11 @@ #include "index_private.h" #include "index_naive.h" +/* Get va_vopy() with pre-C99 compilers */ #ifdef __SASC #define va_copy(dest,src) ((dest) = (src)) +#elif defined(__GNUC__) && (__GNUC__ < 3) +#include <varargs.h> #endif struct document_node |
From: Sebastian B. <sb...@us...> - 2012-12-27 09:31:32
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv14287 Modified Files: index_naive.c Log Message: Implemented index_naive_remove_document(). Index: index_naive.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/index_naive.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- index_naive.c 23 Dec 2012 09:11:53 -0000 1.6 +++ index_naive.c 27 Dec 2012 09:31:30 -0000 1.7 @@ -100,7 +100,29 @@ int index_naive_remove_document(struct index *index, int did) { - return 0; + struct document_node *d; + struct index_naive *idx; + int i; + int removed = 0; + + idx = (struct index_naive*)index; + + d = (struct document_node*)list_first(&idx->document_list); + while (d) + { + struct document_node *n = (struct document_node*)node_next(&d->node); + + if (d->did == did) + { + removed = 1; + node_remove(&d->node); + free(d->txt); + free(d); + } + + d = n; + } + return removed; } int index_naive_find_documents(struct index *index, int (*callback)(int did, void *userdata), void *userdata, int num_substrings, va_list substrings) |
From: Sebastian B. <sb...@us...> - 2012-12-24 06:53:34
|
Update of /cvsroot/simplemail/simplemail/homepage In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7326/homepage Modified Files: downloads.php Log Message: Updated downloads. Index: downloads.php =================================================================== RCS file: /cvsroot/simplemail/simplemail/homepage/downloads.php,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- downloads.php 24 Dec 2011 16:33:18 -0000 1.44 +++ downloads.php 24 Dec 2012 06:53:32 -0000 1.45 @@ -1,10 +1,10 @@ <?php -$version = "0.38"; -$date = "2011/12/24"; +$version = "0.39"; +$date = "2012/12/24"; -$morphversion = "0.37"; -$morphdate = "2011/06/05"; +$morphversion = "0.38"; +$morphdate = "2012/01/11"; $arosversion = "0.37"; $arosdate = "2011/02/26"; |
From: Sebastian B. <sb...@us...> - 2012-12-24 06:53:25
|
Update of /cvsroot/simplemail/simplemail/doc/amiga In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7311/doc/amiga Modified Files: history.txt Log Message: Changed change log and updated news. Index: history.txt =================================================================== RCS file: /cvsroot/simplemail/simplemail/doc/amiga/history.txt,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- history.txt 23 Dec 2012 20:12:14 -0000 1.61 +++ history.txt 24 Dec 2012 06:53:22 -0000 1.62 @@ -1,10 +1,10 @@ Version 0.39 (25th beta) - released on 2012/12/24 - - Fixed some bugs related to multi selection. - - Added possibility to infer specific filter criteria from - selected mails. - - Now supports ATTACHMENT/K/M argument both from the command - line and MAILWRITE ARexx command. - - Fixed memory leak. + - Filter rules may be created now from attributes common in multiple mails + - Supports ATTACHMENT/K/M argument for both the command line and + the MAILWRITE ARexx command + - Included more translations + - Fixed memory leak + - Fixed various multi selection problems Version 0.38 (24th beta) - released on 2011/12/24 - Applied a workaround to circumvent possible crashes with SSL |
From: Sebastian B. <sb...@us...> - 2012-12-24 05:36:27
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4666 Modified Files: SimpleMail_rev.rev SimpleMail_rev.h Log Message: Revision bump. Index: SimpleMail_rev.rev =================================================================== RCS file: /cvsroot/simplemail/simplemail/SimpleMail_rev.rev,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- SimpleMail_rev.rev 24 Dec 2011 14:22:28 -0000 1.36 +++ SimpleMail_rev.rev 24 Dec 2012 05:36:25 -0000 1.37 @@ -1,3 +1,3 @@ -38 +39 Index: SimpleMail_rev.h =================================================================== RCS file: /cvsroot/simplemail/simplemail/SimpleMail_rev.h,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- SimpleMail_rev.h 24 Dec 2011 14:22:29 -0000 1.39 +++ SimpleMail_rev.h 24 Dec 2012 05:36:25 -0000 1.40 @@ -1,6 +1,6 @@ #define VERSION 0 -#define REVISION 38 -#define DATE "24.12.2011" -#define VERS "SimpleMail 0.38" -#define VSTRING "SimpleMail 0.38 (24.12.2011)\r\n" -#define VERSTAG "\0$VER: SimpleMail 0.38 (24.12.2011)" +#define REVISION 39 +#define DATE "24.12.2012" +#define VERS "SimpleMail 0.39" +#define VSTRING "SimpleMail 0.39 (24.12.2012)\r\n" +#define VERSTAG "\0$VER: SimpleMail 0.39 (24.12.2012)" |
From: Sebastian B. <sb...@us...> - 2012-12-23 20:19:16
|
Update of /cvsroot/simplemail/simplemail/doc/amiga In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6895/doc/amiga Modified Files: ReadMe SimpleMail.guide Log Message: Year and partly a version bump. Index: ReadMe =================================================================== RCS file: /cvsroot/simplemail/simplemail/doc/amiga/ReadMe,v retrieving revision 1.54 retrieving revision 1.55 diff -u -d -r1.54 -r1.55 --- ReadMe 24 Dec 2011 14:22:28 -0000 1.54 +++ ReadMe 23 Dec 2012 20:19:14 -0000 1.55 @@ -4,7 +4,7 @@ Type: comm/mail Kurz: Ein neuer Mailer (beta Version) Requires: OS 3.0, MUI 3.8, NList, NListtree, BetterString, TextEditor -Version: 0.38 +Version: 0.39 Introduction ~~~~~~~~~~~~ Index: SimpleMail.guide =================================================================== RCS file: /cvsroot/simplemail/simplemail/doc/amiga/SimpleMail.guide,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- SimpleMail.guide 22 Dec 2012 18:20:02 -0000 1.68 +++ SimpleMail.guide 23 Dec 2012 20:19:14 -0000 1.69 @@ -1,14 +1,14 @@ @DATABASE SimpleMail.guide -@$VER: SimpleMail.guide 0.38 (24.12.2011) +@$VER: SimpleMail.guide 0.39 (23.12.2012) @AUTHOR David Rey <da...@sa...>, Sebastian Bauer <ma...@se...> @INDEX "Index" @NODE "MAIN" "Welcome to SimpleMail!" - SimpleMail 0.38 (public BETA) + SimpleMail 0.39 (public BETA) (not completely finished yet) - (C) 2000-2011 by Hynek Schlawack & Sebastian Bauer + (C) 2000-2012 by Hynek Schlawack & Sebastian Bauer Released under the GNU Public License |
From: Sebastian B. <sb...@us...> - 2012-12-23 20:15:02
|
Update of /cvsroot/simplemail/simplemail/amiga-mui In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6527/amiga-mui Modified Files: progmonwnd.c Log Message: Get rid of keyword substitution stuff. Index: progmonwnd.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/amiga-mui/progmonwnd.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- progmonwnd.c 21 Dec 2011 21:28:56 -0000 1.2 +++ progmonwnd.c 23 Dec 2012 20:15:00 -0000 1.3 @@ -16,9 +16,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ***************************************************************************/ -/* -** $Id$ -*/ +/** + * @file progmonwnd.c + */ #include <string.h> #include <stdlib.h> |
From: Sebastian B. <sb...@us...> - 2012-12-23 20:12:16
|
Update of /cvsroot/simplemail/simplemail/doc/amiga In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6228/doc/amiga Modified Files: history.txt Log Message: Describe some changes. Index: history.txt =================================================================== RCS file: /cvsroot/simplemail/simplemail/doc/amiga/history.txt,v retrieving revision 1.60 retrieving revision 1.61 diff -u -d -r1.60 -r1.61 --- history.txt 24 Dec 2011 16:33:17 -0000 1.60 +++ history.txt 23 Dec 2012 20:12:14 -0000 1.61 @@ -1,4 +1,12 @@ -Version 0.38 (24th beta) - releases on 2011/12/24 +Version 0.39 (25th beta) - released on 2012/12/24 + - Fixed some bugs related to multi selection. + - Added possibility to infer specific filter criteria from + selected mails. + - Now supports ATTACHMENT/K/M argument both from the command + line and MAILWRITE ARexx command. + - Fixed memory leak. + +Version 0.38 (24th beta) - released on 2011/12/24 - Applied a workaround to circumvent possible crashes with SSL IMAP connection on AmigaOS4 - Fixed a problem with IMAP login and passwords containing spaces. @@ -239,18 +247,18 @@ containing new mail. - Improved the wordwrap while quoting. - Option to not quote empty lines. - - Your address is filtered out when replying a multiple recipient email. - - Modified the STARTTLS code following the suggestions from Jörg Strohmayer. + - Your address�is�filtered�out�when�replying�a�multiple�recipient�email. + - Modified the STARTTLS code following the suggestions from�J�rg�Strohmayer. - Every folder can now have a default recipient address. - Can now import address books from YAM. - Implemented CC support in the Compose Message window. - - Added (partial) hungarian translation by Márton Dósa + - Added (partial) hungarian translation by M�rton D�sa Version 0.13 (thirteenth alpha) - released on 2001/12/07 - Included a real manual at last. Thanks to David Rey! - SMTP over SSL. - - POP3 connections can now be made secure with the STLS command. - (RFC 2595) + -�POP3�connections�can�now be�made�secure�with�the�STLS command. + �(RFC�2595) - (A rather primitive) ARexx port. - Support for playing sounds. - Taglines. @@ -267,9 +275,9 @@ - A small menu in the Read window makes it possible to see the message in raw format. - The mouse wheel support in the Read window is now more tolerant. - - Icons for attachments are better identified now if you have OS3.9 - and DefIcons is running: you can double-click an icon to trigger - an action, for instance launching UnArc to extract an archive as + - Icons for attachments�are�better�identified�now if�you�have�OS3.9 + and�DefIcons is running: you�can�double-click�an�icon�to�trigger + �an action, for instance launching UnArc to extract an archive as used by the default DefIcons config. - You can now print messages and plain text attachments. |
From: Sebastian B. <sb...@us...> - 2012-12-22 20:32:35
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3500 Modified Files: index.c index_naive.c Log Message: Implemented index_naive_find_documents(). Added test. Index: index_naive.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/index_naive.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- index_naive.c 22 Dec 2012 19:55:49 -0000 1.4 +++ index_naive.c 22 Dec 2012 20:32:33 -0000 1.5 @@ -101,7 +101,42 @@ int index_naive_find_documents(struct index *index, int (*callback)(int did, void *userdata), void *userdata, int num_substrings, va_list substrings) { - return 0; + struct document_node *d; + struct index_naive *idx; + int nd = 0; + int i; + + idx = (struct index_naive*)index; + nd = 0; + + d = (struct document_node*)list_first(&idx->document_list); + while (d) + { + int take = 1; + va_list substrings_copy; + + va_copy(substrings_copy,substrings); + + for (i=0;i<num_substrings;i++) + { + if (!strstr(d->txt,va_arg(substrings_copy,char *))) + { + take = 0; + break; + } + } + + va_end(substrings_copy); + + if (take) + { + callback(d->did,userdata); + nd++; + } + d = (struct document_node*)node_next(&d->node); + } + + return nd; } /*****************************************************/ Index: index.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/index.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- index.c 20 Dec 2012 21:14:39 -0000 1.4 +++ index.c 22 Dec 2012 20:32:33 -0000 1.5 @@ -89,8 +89,8 @@ * @param index * @param callback * @param userdata - * @param num_substrings - * @return + * @param num_substrings number of following strings of type const char *. + * @return number of documents for which the callback was called. */ int index_find_documents(struct index *index, int (*callback)(int did, void *userdata), void *userdata, int num_substrings, ...) { |
From: Sebastian B. <sb...@us...> - 2012-12-22 19:58:44
|
Update of /cvsroot/simplemail/simplemail/tests In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1667/tests Modified Files: smock.h Log Message: Include stdint.h. Index: smock.h =================================================================== RCS file: /cvsroot/simplemail/simplemail/tests/smock.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- smock.h 16 Dec 2012 09:57:30 -0000 1.1 +++ smock.h 22 Dec 2012 19:58:41 -0000 1.2 @@ -26,6 +26,8 @@ #ifndef SM__MOCK_H #define SM__MOCK_H +#include <stdint.h> + enum mock_type { MOCK_DUMMY, |
From: Sebastian B. <sb...@us...> - 2012-12-22 19:55:52
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1545 Modified Files: index_naive.c Log Message: Implemented index_naive_put_document(). Index: index_naive.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/index_naive.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- index_naive.c 18 Dec 2012 10:36:55 -0000 1.3 +++ index_naive.c 22 Dec 2012 19:55:49 -0000 1.4 @@ -23,35 +23,75 @@ #include <stdlib.h> #include <string.h> +#include "lists.h" + #include "index.h" #include "index_private.h" #include "index_naive.h" +struct document_node +{ + struct node node; + int did; + char *txt; +}; + struct index_naive { struct index index; + struct list document_list; }; struct index *index_naive_create(const char *filename) { - struct index *idx; + struct index_naive *idx; - if (!(idx = (struct index*)malloc(sizeof(*idx)))) + if (!(idx = (struct index_naive*)malloc(sizeof(*idx)))) return NULL; memset(idx,0,sizeof(*idx)); - return idx; + list_init(&idx->document_list); + + return &idx->index; } void index_naive_dispose(struct index *index) { + struct document_node *d; + struct index_naive *idx; + + idx = (struct index_naive*)index; + + while ((d = (struct document_node *)list_remove_tail(&idx->document_list))) + { + free(d->txt); + free(d); + } + free(index); } int index_naive_put_document(struct index *index, int did, const char *text) { - return 0; + struct document_node *d; + struct index_naive *idx; + + idx = (struct index_naive*)index; + + if (!(d = (struct document_node*)malloc(sizeof(*d)))) + return 0; + memset(d,0,sizeof(*d)); + + d->did = did; + if (!(d->txt = strdup(text))) + { + free(d); + return 0; + } + + list_insert_tail(&idx->document_list,&d->node); + return 1; } int index_naive_remove_document(struct index *index, int did) |
From: Sebastian B. <sb...@us...> - 2012-12-22 19:40:13
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv848 Modified Files: filter.c filter.h Log Message: Function filter_rule_create_from_mail_iterator() now supports creation of sender filters. Index: filter.h =================================================================== RCS file: /cvsroot/simplemail/simplemail/filter.h,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- filter.h 17 Dec 2012 13:25:36 -0000 1.21 +++ filter.h 22 Dec 2012 19:40:10 -0000 1.22 @@ -136,7 +136,8 @@ enum filter_rule_create_type { FRCT_RECEPIENTS, - FRCT_SUBJECT + FRCT_SUBJECT, + FRCT_FROM }; struct mail_info; Index: filter.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/filter.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- filter.c 17 Dec 2012 14:13:00 -0000 1.33 +++ filter.c 22 Dec 2012 19:40:10 -0000 1.34 @@ -476,6 +476,9 @@ { switch (type) { + case FRCT_FROM: + data[i] = array_add_string(NULL,m->from_addr); + break; case FRCT_RECEPIENTS: data[i] = mail_info_get_recipient_addresses(m); /* returns an array() */ break; @@ -489,6 +492,7 @@ switch (type) { + case FRCT_FROM: case FRCT_RECEPIENTS: fr = filter_rule_create_from_common_sorted_recipients((char***)data,num_mails); break; @@ -506,6 +510,7 @@ { switch (type) { + case FRCT_FROM: case FRCT_RECEPIENTS: array_free(data[i]); break; |
From: Sebastian B. <sb...@us...> - 2012-12-22 18:37:00
|
Update of /cvsroot/simplemail/simplemail/po In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv28326/po Modified Files: de.po Log Message: Updated German translation. Index: de.po =================================================================== RCS file: /cvsroot/simplemail/simplemail/po/de.po,v retrieving revision 1.53 retrieving revision 1.54 diff -u -d -r1.53 -r1.54 --- de.po 24 Dec 2011 13:50:49 -0000 1.53 +++ de.po 22 Dec 2012 18:36:57 -0000 1.54 @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: SimpleMail 0.36\n" -"POT-Creation-Date: 2011-12-24 14:34+0000\n" +"POT-Creation-Date: 2012-12-22 19:31+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Sebastian Bauer <ma...@se...>\n" "Language-Team: German <LL...@li...>\n" @@ -58,10 +58,10 @@ #: addressbook.c:761 amiga-mui/addressbookwnd.c:395 amiga-mui/configwnd.c:512 #: amiga-mui/configwnd.c:525 amiga-mui/configwnd.c:545 [...1644 lines suppressed...] +#: simplemail.c:2549 #, c-format msgid "Downloading all complete mails for folder \"%s\": %ld mails to go" -msgstr "Lade vollständige Nachrichten des Ordners \"%s\" herunter (%ld verbleibend)" +msgstr "" +"Lade vollständige Nachrichten des Ordners \"%s\" herunter (%ld verbleibend)" # smtp.c:919 -#: simplemail.c:2478 +#: simplemail.c:2557 #, c-format msgid "%ld mails to go" msgstr "%ld Nachrichten verbleiben" # pop3.c:1040 -#: simplemail.c:2493 +#: simplemail.c:2572 msgid "Could not download complete mail" msgstr "Konnte vollständige Nachricht nicht herunterladen" |
From: Sebastian B. <sb...@us...> - 2012-12-22 18:25:19
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27604 Modified Files: smakefile Log Message: Now also generates it.mo. Index: smakefile =================================================================== RCS file: /cvsroot/simplemail/simplemail/smakefile,v retrieving revision 1.57 retrieving revision 1.58 diff -u -d -r1.57 -r1.58 --- smakefile 19 Dec 2012 08:46:46 -0000 1.57 +++ smakefile 22 Dec 2012 18:25:17 -0000 1.58 @@ -140,7 +140,7 @@ sc nover ign=79,110 noobjname amiga-mui/headers.c makegst=$@ idlen=40 $(INCDIRS) #locale -LOCALEOBJS = ${LOCALEDIR}cz.mo ${LOCALEDIR}da.mo ${LOCALEDIR}de.mo ${LOCALEDIR}fi.mo ${LOCALEDIR}ma.mo ${LOCALEDIR}pl.mo ${LOCALEDIR}es.mo $(LOCALEDIR)fr.mo +LOCALEOBJS = ${LOCALEDIR}cz.mo ${LOCALEDIR}da.mo ${LOCALEDIR}de.mo ${LOCALEDIR}es.mo ${LOCALEDIR}fi.mo $(LOCALEDIR)it.mo $(LOCALEDIR)fr.mo ${LOCALEDIR}ma.mo ${LOCALEDIR}pl.mo locale: ${LOCALEOBJS} .po.mo: @@ -148,11 +148,12 @@ # msgfmt $? -o $@ # this is the Amiga style variant of msgfmt ${LOCALEDIR}cz.mo: po/cz.po -${LOCALEDIR}de.mo: po/da.po +${LOCALEDIR}da.mo: po/da.po ${LOCALEDIR}de.mo: po/de.po ${LOCALEDIR}es.mo: po/es.po ${LOCALEDIR}fi.mo: po/fi.po ${LOCALEDIR}fr.mo: po/fr.po +${LOCALEDIR}it.mo: po/it.po ${LOCALEDIR}ma.mo: po/ma.po ${LOCALEDIR}pl.mo: po/pl.po @@ -166,6 +167,8 @@ execute CreatePOX es fi.pox: execute CreatePOX fi +it.pox: + execute CreatePOX it fr.pox: execute CreatePOX fr ma.pox: |
From: Sebastian B. <sb...@us...> - 2012-12-22 18:24:39
|
Update of /cvsroot/simplemail/simplemail/po In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27562/po Modified Files: it.po Log Message: Added missing quotation marks. Index: it.po =================================================================== RCS file: /cvsroot/simplemail/simplemail/po/it.po,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- it.po 22 Dec 2012 17:23:09 -0000 1.1 +++ it.po 22 Dec 2012 18:24:37 -0000 1.2 @@ -1527,7 +1527,7 @@ msgstr "Salva tutti gli allegati..." msgid "Save All Indexfiles" -msgstr "Salva tutti gli indici dei file +msgstr "Salva tutti gli indici dei file" msgid "Save As..." msgstr "Salva come..." @@ -2145,7 +2145,7 @@ msgstr "Margine automatico" msgid "Wordwrap plain text" -msgstr "Ritorno margine automatico sul testo. +msgstr "Ritorno margine automatico sul testo." msgid "Work" msgstr "Lavoro" @@ -2316,7 +2316,7 @@ msgstr "_Ok" msgid "_Orginal (%s)|_Converted (%s)| _UTF8|_Cancel" -msgstr "_Originale(i) (%s)|_Convertito(i) (%s)| _UTF8|_Annulla +msgstr "_Originale(i) (%s)|_Convertito(i) (%s)| _UTF8|_Annulla" msgid "_Prev" msgstr "_Precedente." |
From: Sebastian B. <sb...@us...> - 2012-12-22 18:20:04
|
Update of /cvsroot/simplemail/simplemail/doc/amiga In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27324/doc/amiga Modified Files: SimpleMail.guide Log Message: Attachment parameter now also shows an effect, if SimpleMail is already running. Index: SimpleMail.guide =================================================================== RCS file: /cvsroot/simplemail/simplemail/doc/amiga/SimpleMail.guide,v retrieving revision 1.67 retrieving revision 1.68 diff -u -d -r1.67 -r1.68 --- SimpleMail.guide 20 Dec 2012 21:26:39 -0000 1.67 +++ SimpleMail.guide 22 Dec 2012 18:20:02 -0000 1.68 @@ -2462,12 +2462,20 @@ Sets the subject for the new message. + +ATTACHMENT=filename + +Adds an attachment to the new message. This parameter can +be specified multiple times. + + Examples: SimpleMail MAILTO mail\@sebastianbauer.info SUBJECT "SimpleMail is cool!" SimpleMail MAILTO "Hynek Schlawack" SUBJECT "A love letter for you :)" SimpleMail MAILTO "Sebastian Bauer, Hynek Schlawack" SUBJECT Wonderful! - + SimpleMail MAILTO "Sebastian Bauer, Hynek Schlawack" SUBJECT Wonderful! + SimpleMail MAILTO mail\@sebastianbauer.info SUBJECT Icons ATTACHMENT DH0:Disk.info ATTACHMENT DH1:Disk.info DEBUG=debuglevel |
From: Sebastian B. <sb...@us...> - 2012-12-22 17:23:11
|
Update of /cvsroot/simplemail/simplemail/po In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25205 Added Files: it.po Log Message: Added italian catalog by Jambalah --- NEW FILE: it.po --- msgid "" msgstr "" "Project-Id-Version: 0.37\n" "POT-Creation-Date: 2011-06-09 \n" "PO-Revision-Date: \n" "Last-Translator: Jambalah <ge...@ho...>\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" msgid "%d KB / %d KB (time left: %s)" msgstr "%d Ko / %d Kb (tempo rimanente: %s)" msgid "%d min %d s" msgstr "%d min %d s" msgid "%d s" msgstr "%d s" [...2386 lines suppressed...] msgstr "disattivato" msgid "received" msgstr "ricevuto" msgid "received and sent" msgstr "ricevuto e spedito" msgid "sent" msgstr "inviato" msgid "spam" msgstr "spam" msgid "spam and ham" msgstr "spam e ham" msgid "with STLS" msgstr "Usa STLS" |
From: Sebastian B. <sb...@us...> - 2012-12-21 07:06:27
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv12502 Modified Files: simplemail.c Log Message: Added support for initial ATTACHMENT/K/M arguments. Does not work yet when SimpleMail is already running. Index: simplemail.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/simplemail.c,v retrieving revision 1.228 retrieving revision 1.229 diff -u -d -r1.228 -r1.229 --- simplemail.c 17 Dec 2012 14:14:18 -0000 1.228 +++ simplemail.c 21 Dec 2012 07:06:24 -0000 1.229 @@ -376,6 +376,15 @@ } } +/** + * Callback for opening a compose window. + * + * @param from + * @param to + * @param replyto + * @param subject + * @return the newly openend compose window number. + */ int callback_write_mail(char *from, char *to, char *replyto, char *subject) { struct compose_args ca; |
From: Sebastian B. <sb...@us...> - 2012-12-21 07:06:26
|
Update of /cvsroot/simplemail/simplemail/amiga-mui In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv12502/amiga-mui Modified Files: gui_main.c Log Message: Added support for initial ATTACHMENT/K/M arguments. Does not work yet when SimpleMail is already running. Index: gui_main.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/amiga-mui/gui_main.c,v retrieving revision 1.120 retrieving revision 1.121 diff -u -d -r1.120 -r1.121 --- gui_main.c 14 Dec 2012 09:18:49 -0000 1.120 +++ gui_main.c 21 Dec 2012 07:06:24 -0000 1.121 @@ -74,6 +74,7 @@ #include "attachmentlistclass.h" #include "audioselectgroupclass.h" #include "composeeditorclass.h" +#include "composewnd.h" #include "configwnd.h" #include "datatypescache.h" #include "datatypesclass.h" @@ -501,9 +502,10 @@ set(App,MUIA_Application_Sleep,FALSE); } -char *initial_mailto; -char *initial_subject; -char *initial_message; +static char *initial_mailto; +static char *initial_subject; +static char *initial_message; +static char **initial_attachments; static char *gui_images_directory; @@ -603,8 +605,13 @@ if (open_config_window) open_config(); /* if we should open the compose window soon after start */ - if (initial_mailto) - callback_write_mail_to_str(initial_mailto, initial_subject); + if (initial_mailto || initial_subject || initial_attachments) + { + int win_num; + + win_num = callback_write_mail_to_str(initial_mailto, initial_subject); + if (initial_attachments) compose_window_attach(win_num,initial_attachments); + } if (initial_message) callback_open_message(initial_message,-1); @@ -612,9 +619,11 @@ free(initial_message); free(initial_mailto); free(initial_subject); + array_free(initial_attachments); initial_mailto = NULL; initial_subject = NULL; initial_message = NULL; + initial_attachments = NULL; /* register appicon refresh function which is called every 2 seconds */ thread_push_function_delayed(2000,refresh_appicon,0); @@ -661,6 +670,7 @@ char *message; char *mailto; char *subject; + char **attachments; char *profile_directory; char *image_directory; LONG *debuglevel; @@ -672,11 +682,12 @@ memset(&shell_args,0,sizeof(shell_args)); - if ((rdargs = ReadArgs("MESSAGE,MAILTO/K,SUBJECT/K,PROFILEDIR/K,IMAGEDIR/K,DEBUG=DEBUGLEVEL/N/K,DEBUGOUT/K,DEBUGMODULES/K",(LONG*)&shell_args, NULL))) + if ((rdargs = ReadArgs("MESSAGE,MAILTO/K,SUBJECT/K,ATTACHMENT/K/M,PROFILEDIR/K,IMAGEDIR/K,DEBUG=DEBUGLEVEL/N/K,DEBUGOUT/K,DEBUGMODULES/K",(LONG*)&shell_args, NULL))) { initial_message = mystrdup(shell_args.message); initial_mailto = mystrdup(shell_args.mailto); initial_subject = mystrdup(shell_args.subject); + initial_attachments = array_duplicate(shell_args.attachments); config_set_user_profile_directory(shell_args.profile_directory); if ((gui_images_directory = mystrdup(shell_args.image_directory))) atcleanup_free(gui_images_directory); |
From: Sebastian B. <sb...@us...> - 2012-12-20 21:26:41
|
Update of /cvsroot/simplemail/simplemail/amiga-mui In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10064/amiga-mui Modified Files: composewnd.c arexx.c Log Message: Added public compose_window_attach() function. Enhanced MAILWRITE ARexx command with ATTACHMENT keyword. Index: composewnd.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/amiga-mui/composewnd.c,v retrieving revision 1.125 retrieving revision 1.126 diff -u -d -r1.125 -r1.126 --- composewnd.c 20 Dec 2012 21:16:33 -0000 1.125 +++ composewnd.c 20 Dec 2012 21:26:39 -0000 1.126 @@ -1668,6 +1668,24 @@ if (compose_open[num] && compose_open[num]->wnd) set(compose_open[num]->wnd,MUIA_Window_Open,TRUE); } +/** + * Attach the given attachments. + * + * @param num number of the window + * @param filenames NULL terminated array of files to attach. + */ +void compose_window_attach(int num, char **filenames) +{ + int i; + char *filename; + + if (num < 0 || num >= MAX_COMPOSE_OPEN) return; + if (!compose_open[num]) return; + + for (i=0;(filename = filenames[i]);i++) + compose_add_file_as_an_attachment(compose_open[num],filename); +} + /****************************************************************** Closes a read window *******************************************************************/ Index: arexx.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/amiga-mui/arexx.c,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- arexx.c 14 Dec 2012 21:36:29 -0000 1.46 +++ arexx.c 20 Dec 2012 21:26:39 -0000 1.47 @@ -230,9 +230,12 @@ static int compose_active_window; -/**************************************************************** - MAILWRITE Arexx Command -*****************************************************************/ +/** + * MAILWRITE ARexx command. + * + * @param rxmsg + * @param args + */ static void arexx_mailwrite(struct RexxMsg *rxmsg, STRPTR args) { APTR arg_handle; @@ -244,10 +247,11 @@ ULONG quiet; STRPTR mailto; STRPTR subject; + STRPTR *attachments; } mailwrite_arg; memset(&mailwrite_arg,0,sizeof(mailwrite_arg)); - if ((arg_handle = ParseTemplate("VAR/K,STEM/K,WINDOW/N,QUIET/S,MAILTO/K,SUBJECT/K",args,&mailwrite_arg))) + if ((arg_handle = ParseTemplate("VAR/K,STEM/K,WINDOW/N,QUIET/S,MAILTO/K,SUBJECT/K,ATTACHMENT/K/M",args,&mailwrite_arg))) { if (mailwrite_arg.window) { @@ -258,6 +262,8 @@ int window; compose_active_window = window = callback_write_mail_to_str(mailwrite_arg.mailto,mailwrite_arg.subject); + if (mailwrite_arg.attachments) + compose_window_attach(window,mailwrite_arg.attachments); if (mailwrite_arg.stem) { @@ -282,6 +288,37 @@ } } +/** + * WRITEATTACH ARexx command. + * + * @param rxmsg + * @param args + */ +static void arexx_writeattach(struct RexxMsg *rxmsg, STRPTR args) +{ + APTR arg_handle; + ULONG window; + + struct + { + STRPTR file; + STRPTR desc; + STRPTR encmode; + STRPTR ctype; + ULONG *window; + } writeattach_arg; + memset(&writeattach_arg,0,sizeof(writeattach_arg)); + + if (!(arg_handle = ParseTemplate("FILE/A,DESC,ENCMODE,CTYPE,WINDOW/N",args,&writeattach_arg))) + return; + + if (writeattach_arg.window) + window = *writeattach_arg.window; + else window = -1; + + FreeTemplate(arg_handle); +} + /**************************************************************** WRITECLOSE ARexx Command *****************************************************************/ @@ -1735,10 +1772,12 @@ } } - -/**************************************************************** - Handle this single arexx message -*****************************************************************/ +/** + * Handle this single arexx message. + * + * @param rxmsg + * @return + */ static int arexx_message(struct RexxMsg *rxmsg) { STRPTR command_line = (STRPTR)ARG0(rxmsg); @@ -1759,6 +1798,7 @@ { if (!Stricmp("MAINTOFRONT",command.command)) arexx_maintofront(rxmsg,command.args); else if (!Stricmp("MAILWRITE",command.command)) arexx_mailwrite(rxmsg,command.args); + else if (!Stricmp("WRITEATTACH",command.command)) arexx_writeattach(rxmsg,command.args); else if (!Stricmp("WRITECLOSE",command.command)) arexx_writeclose(rxmsg,command.args); else if (!Stricmp("SETMAIL",command.command)) arexx_setmail(rxmsg,command.args); else if (!Stricmp("SETMAILFILE",command.command)) arexx_setmailfile(rxmsg,command.args); @@ -1802,9 +1842,11 @@ return 0; } -/**************************************************************** - Handle the incoming arexx message. -*****************************************************************/ +/** + * Handle the incoming arexx messages. + * + * @return + */ int arexx_handle(void) { int retval = 0; |
From: Sebastian B. <sb...@us...> - 2012-12-20 21:16:35
|
Update of /cvsroot/simplemail/simplemail/amiga-mui In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9556/amiga-mui Modified Files: composewnd.c Log Message: Refactored the attachmemt of files into an own function. Index: composewnd.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/amiga-mui/composewnd.c,v retrieving revision 1.124 retrieving revision 1.125 diff -u -d -r1.124 -r1.125 --- composewnd.c 19 Mar 2009 22:10:48 -0000 1.124 +++ composewnd.c 20 Dec 2012 21:16:33 -0000 1.125 @@ -405,13 +405,31 @@ compose_add_attachment(data,&attach,1); } +/** + * Add the given file as an attachment. + * + * @param data + * @param filename + */ +static void compose_add_file_as_an_attachment(struct Compose_Data *data, char *filename) +{ + struct attachment attach; + memset(&attach, 0, sizeof(attach)); + + attach.content_type = identify_file(filename); + attach.editable = 0; + attach.filename = filename; + attach.unique_id = data->attachment_unique_id++; + + compose_add_attachment(data,&attach,0); +} + /****************************************************************** Add files to the list *******************************************************************/ static void compose_add_files(struct Compose_Data **pdata) { struct Compose_Data *data = *pdata; - struct attachment attach; if (data->file_req) { @@ -427,7 +445,6 @@ TAG_DONE)) { int i; - memset(&attach, 0, sizeof(attach)); for (i=0; i<data->file_req->fr_NumArgs;i++) { @@ -440,12 +457,8 @@ { strcpy(buf,drawer); AddPart(buf,data->file_req->fr_ArgList[i].wa_Name,len); - attach.content_type = identify_file(buf); - attach.editable = 0; - attach.filename = buf; - attach.unique_id = data->attachment_unique_id++; - compose_add_attachment(data,&attach,0); + compose_add_file_as_an_attachment(data,buf); FreeVec(buf); } FreeVec(drawer); |
From: Sebastian B. <sb...@us...> - 2012-12-20 21:14:42
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9476 Modified Files: index.c Log Message: Function index_find_documents() should return something. Index: index.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/index.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- index.c 18 Dec 2012 10:36:55 -0000 1.3 +++ index.c 20 Dec 2012 21:14:39 -0000 1.4 @@ -101,4 +101,6 @@ va_start(list, num_substrings); rc = index->alg->find_documents(index,callback,userdata,num_substrings,list); va_end(list); + + return rc; } |
From: Sebastian B. <sb...@us...> - 2012-12-19 08:46:49
|
Update of /cvsroot/simplemail/simplemail In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv530 Modified Files: smakefile Log Message: Compile all available locale catalogs Index: smakefile =================================================================== RCS file: /cvsroot/simplemail/simplemail/smakefile,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- smakefile 8 Dec 2011 18:50:24 -0000 1.56 +++ smakefile 19 Dec 2012 08:46:46 -0000 1.57 @@ -140,35 +140,38 @@ sc nover ign=79,110 noobjname amiga-mui/headers.c makegst=$@ idlen=40 $(INCDIRS) #locale -LOCALEOBJS = ${LOCALEDIR}de.mo ${LOCALEDIR}fi.mo ${LOCALEDIR}ma.mo ${LOCALEDIR}pl.mo ${LOCALEDIR}es.mo $(LOCALEDIR)fr.mo +LOCALEOBJS = ${LOCALEDIR}cz.mo ${LOCALEDIR}da.mo ${LOCALEDIR}de.mo ${LOCALEDIR}fi.mo ${LOCALEDIR}ma.mo ${LOCALEDIR}pl.mo ${LOCALEDIR}es.mo $(LOCALEDIR)fr.mo locale: ${LOCALEOBJS} .po.mo: msgfmt ./$? -o ./$@ # this is the unix style variant of msgfmt (GeekGadgets) # msgfmt $? -o $@ # this is the Amiga style variant of msgfmt +${LOCALEDIR}cz.mo: po/cz.po +${LOCALEDIR}de.mo: po/da.po ${LOCALEDIR}de.mo: po/de.po -${LOCALEDIR}ma.mo: po/ma.po -${LOCALEDIR}pl.mo: po/pl.po -${LOCALEDIR}fi.mo: po/fi.po ${LOCALEDIR}es.mo: po/es.po +${LOCALEDIR}fi.mo: po/fi.po ${LOCALEDIR}fr.mo: po/fr.po -${LOCALEDIR}cz.mo: po/cz.po +${LOCALEDIR}ma.mo: po/ma.po +${LOCALEDIR}pl.mo: po/pl.po +cz.pox: + execute CreatePOX cz +da.pox: + execute CreatePOX da de.pox: execute CreatePOX de -ma.pox: - execute CreatePOX ma -pl.pox: - execute CreatePOX pl -fi.pox: - execute CreatePOX fi es.pox: execute CreatePOX es +fi.pox: + execute CreatePOX fi fr.pox: execute CreatePOX fr -cz.pox: - execute CreatePOX cz +ma.pox: + execute CreatePOX ma +pl.pox: + execute CreatePOX pl # some fake targets generate: |
From: Sebastian B. <sb...@us...> - 2012-12-18 10:37:36
|
Update of /cvsroot/simplemail/simplemail/tests In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6004/tests Modified Files: index_unittest.c Log Message: Test the creation of the naive index. Index: index_unittest.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/tests/index_unittest.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- index_unittest.c 18 Dec 2012 09:57:46 -0000 1.1 +++ index_unittest.c 18 Dec 2012 10:37:33 -0000 1.2 @@ -19,7 +19,6 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> -#include <sys/time.h> #include <CUnit/Basic.h> @@ -31,5 +30,11 @@ /* @Test */ void test_index_naive(void) { + struct index *index; + + index = index_create(&index_naive,"naive-index.dat"); + CU_ASSERT(index != NULL); + + index_dispose(index); } |