| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-18 bertrand <bertrand@helixcode.com>
* tests/test9.c:
tests for summary and parsing process of mbox files.
* camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file): do
not use case insensitive comp to detect message separators. Kill
some nasty bugs in netscape file parsing,
* camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary):
don't use g_array_append but write directly inside the
array data instead. Better performance and bug fix.
* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_load_summary):
fix the name and bugs.
* camel/camel-folder-summary.h: update the class
method definition to match the public defs.
svn path=/trunk/; revision=1592
|
|
|
|
| |
svn path=/trunk/; revision=1590
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-18 bertrand <bertrand@helixcode.com>
* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary):
(mbox_load_summary): summary file read/write routines.
* camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary):
routine to construct the summary after the mbox
file has been parsed and the x-evolution fields
inserted.
* camel/providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev):
dont use the x_evolution field but rather the uid to
determine the presence of "X-Evolution" in the mail.
* camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file):
parse the status and uid values if the x-evolution
has been found.
* camel/providers/mbox/camel-mbox-utils.c (camel_mbox_xev_parse_header_content):
return the parsed status field correctly.
* camel/providers/mbox/camel-mbox-utils.h:
fixed bad prototype.
* camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file):
parse and store the "To:" header.
* camel/providers/mbox/camel-mbox-parser.h:
added a "to" field
* camel/camel-folder-summary.c:
create the arrays here.
* camel/camel-folder-summary.h: the list of
summary information is no longer a GList but
rather a GArray.
Parsing/summary/sync-check is here. Needs testing
and integration with the rest of the folder code.
svn path=/trunk/; revision=1589
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-17 bertrand <bertrand@helixcode.com>
* tests/test9.c (main): test for the mbox utils.
(copy_file_chunk): fixed a nasty bug.
(camel_mbox_write_xev): create the copy file descriptor
with the proper arguments. Exceptions implememnted.
(camel_mbox_write_xev): changed the way bytes are counted.
No more uses the message size cause it did not take into
account the message separators characters.
(camel_mbox_write_xev): hopefully fixed the last bugs.
works ok now.
Summary information / X-Evolution header generation should all
work ok now.
svn path=/trunk/; revision=1579
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-17 bertrand <bertrand@helixcode.com>
* camel/providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev):
(copy_file_chunk):
(camel_mbox_xev_write_header_content):
(camel_mbox_xev_parse_header_content):
(string_to_flag):
(flag_to_string):
(string_to_uid):
(uid_to_string):
A bunch of new funcs to handle x-evolution
private header field.
Various others modifications and fixes.
svn path=/trunk/; revision=1576
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-13 bertrand <bertrand@helixcode.com>
* camel/providers/mbox/camel-mbox-parser.c (read_next_buffer_chunk):
eof is true when no more chars are available, not
when we've read the entire file.
(initialize_buffer): ditto.
(read_message_begining): documented.
(read_header): ditto.
(new_message_detected): ditto.
(advance_n_chars): ditto.
(goto_next_char): ditto.
(read_next_buffer_chunk): ditto.
(initialize_buffer): ditto.
(parser_free): ditto.
(new_parser): ditto.
More parser decoding and clean-ups.
Documented all the static routines properly.
svn path=/trunk/; revision=1567
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-12 bertrand <bertrand@helixcode.com>
* camel/providers/mbox/camel-mbox-parser.h (camel_mbox_parse_file):
Added the prototype of camel_mbox_parse_file.
* camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file):
updated in-line documentation.
Evolution is now in a compilable state.
svn path=/trunk/; revision=1565
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-12 bertrand <bertrand@helixcode.com>
* corrected a bunch of bugs
* camel/providers/mbox/camel-mbox-parser.c
(camel_mbox_parse_file):
parser the subject and date.
* camel/providers/mbox/camel-mbox-parser.c
(camel_mbox_parse_file): added the ability to
follow the parsing progression.
* camel/providers/mbox/camel-mbox-parser.h:
parse the x-evolution field.
svn path=/trunk/; revision=1563
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-11 bertrand <bertrand@helixcode.com>
Backup of the first clean and working mbox file
parser. It both find the message and pre-parse
the message, that is, retrieve some key headers,
and the first lines of the body.
svn path=/trunk/; revision=1556
|
|
|
|
| |
svn path=/trunk/; revision=1534
|
|
|
|
| |
svn path=/trunk/; revision=1533
|
|
|
|
| |
svn path=/trunk/; revision=1532
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-03 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/providers/mbox/camel-mbox-folder.c (_list_subfolders):
detects netscape ".sdb" folders as well as simple
non-suffixed folders (as the ones used in pine).
* camel/string-utils.c (string_prefix):
finished implementation.
(string_prefix): added a boolean flag to indicate if the
suffix has been found. When the suffix does not match,
return NULL.
svn path=/trunk/; revision=1531
|
|
|
|
| |
svn path=/trunk/; revision=1530
|
|
|
|
| |
svn path=/trunk/; revision=1520
|
|
svn path=/trunk/; revision=1511
|