| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
2000-04-17 Dan Winship <danw@helixcode.com>
* camel-url.c: Add code to encode and decode %-escapes in URLs,
and do some additional correctness-checking on URL syntax. From
Tiago Antà o with modifications by me.
svn path=/trunk/; revision=2474
|
|
|
|
|
|
| |
* providers/Makefile.am (SUBDIRS): add nntp
svn path=/trunk/; revision=2448
|
|
|
|
|
|
|
|
| |
2000-04-14 Christopher James Lahey <clahey@helixcode.com>
* providers/mbox/camel-mbox-folder.c: Fix switch statement.
svn path=/trunk/; revision=2447
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* providers/nntp/camel-nntp-folder.c (_exists): always return TRUE
for now. we need to check the server response to make sure the
group exists.
(_get_message_by_uid): make sure to account for the \n we add to
the string after every line.
* providers/nntp/camel-nntp-utils.c (get_XOVER_headers): function
to get the headers using the XOVER command.
(get_HEAD_headers): function to get the headers using the HEAD
command on each message. slooooooow.
(camel_nntp_get_headers): make this function use either XOVER or HEAD
versions depending on whether or not the server extension is present.
svn path=/trunk/; revision=2445
|
|
|
|
| |
svn path=/trunk/; revision=2439
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-14 Dan Winship <danw@helixcode.com>
* camel-formatter.[ch]: This didn't belong in Camel. Move to mail/
* Makefile.am, camel-types.h: remove references to
camel-formatter.
svn path=/trunk/; revision=2436
|
|
|
|
|
|
|
| |
* camel-provider.h: Clarify what provider.protocol, provider.name,
and provider.description should be.
svn path=/trunk/; revision=2434
|
|
|
|
| |
svn path=/trunk/; revision=2433
|
|
|
|
| |
svn path=/trunk/; revision=2432
|
|
|
|
| |
svn path=/trunk/; revision=2430
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+
+ * addressbook/contact-editor/e-contact-editor.c (_add_images): Add
+ tigert's images.
+
+ * addressbook/contact-editor/Makefile.am: add EVOLUTION_IMAGES.
+
+ * camel-folder-pt-proxy.c (_folder_open_cb): Print warning message
+ for broken function.
+ (_folder_close_cb): Same.
+
+ * filter-arg.c (filter_arg_edit_value): Return a value.
svn path=/trunk/; revision=2408
|
|
|
|
|
|
| |
Fix the embarassing cursor bug.
svn path=/trunk/; revision=2404
|
|
|
|
|
|
|
| |
* providers/pop3/camel-pop3-store.c (pop3_connect): fix various
bugs in APOP code (still untested) and some of the error cases.
svn path=/trunk/; revision=2376
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel-provider.h: Clarify what provider.protocol, provider.name,
and provider.description should be.
* providers/mbox/camel-mbox-provider.c:
* providers/pop3/camel-pop3-provider.c:
* providers/sendmail/camel-sendmail-provider.c:
* providers/smtp/camel-smtp-provider.c: update protocols, names,
and descriptions
svn path=/trunk/; revision=2365
|
|
|
|
|
|
|
| |
* providers/mbox/camel-mbox-folder.c (_get_message_by_number):
implement get_message_by_number for the mail fetch code.
svn path=/trunk/; revision=2358
|
|
|
|
|
|
|
| |
Sun Apr 9 21:23:15 EDT 2000 Jeffrey Stedfast <fejj@stampede.org>
o Reformatted providers/smtp/camel-smtp-transport.c to fit the standard indent format used by helix code
svn path=/trunk/; revision=2357
|
|
|
|
|
|
|
| |
* camel-movemail.c: New file with new function to dot-lock an mbox
file and copy it to a safe private directory.
svn path=/trunk/; revision=2356
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-08 Christopher James Lahey <clahey@helixcode.com>
* art/Makefile.am: pixmap_DATA isn't defined so don't use it as a variable.
* addressbook/gui/component/,
addressbook/gui/component/.cvsignore, addressbook/gui/Makefile.am,
addressbook/gui/component/addressbook-factory.c,
addressbook/gui/component/addressbook.c,
addressbook/gui/component/addressbook.gnorba,
addressbook/gui/component/addressbook.h: New directory to proivde
the component for contact management. Simply uses an e-minicard-view.
* addressbook/gui/minicard/e-minicard-view.c,
addressbook/gui/minicard/e-minicard-view.h: New subclass of
e-reflow-sorted that takes an EBook and uses it to compute the
card data to display.
* addressbook/gui/minicard/e-minicard.c,
addressbook/gui/minicard/e-minicard.h: This now backends to a
ECard instead of a ETableModel.
* addressbook/gui/minicard/e-reflow.c,
addressbook/gui/minicard/e-reflow.h: This now has a virtualized
add method.
* addressbook/gui/minicard/e-reflow-sorted.c,
addressbook/gui/minicard/e-reflow-sorted.h: New subclass of
e-reflow that allows the data to be sorted on the fly.
* addressbook/gui/minicard/test-minicard-view.c: New test to test
the new minicard view.
* addressbook/gui/minicard/test-reflow.c: Uses the new ECard
backend of the e-minicard.
* addressbook/gui/minicard/.cvsignore,
addressbook/gui/minicard/Makefile.am: Added new test. Fixed
dependencies. Added new files.
* addressbook/gui/, addressbook/gui/Makefile.am,
addressbook/gui/.cvsignore: New directory for addressbook gui
bits. Added subdirectories. Created an initial .cvsignore.
* addressbook/Makefile.am (SUBDIRS): Removed demo and added gui.
* addressbook/backend/pas/pas-backend-file.c: Added code to do
notification on bookviews when changes in the backend are made.
* addressbook/backend/pas/pas-book-view.c,
addressbook/backend/pas/pas-book-view.h: Added helper functions to
notify the view about the addition or modification of a single
card. Fixed a mistaken extra free.
* addressbook/backend/ebook/e-card-list-iterator.h: Fixed
incorrect parent class.
* addressbook/backend/ebook/test-client.c: Made this accept an
optional parameter that specifies the vcard to add.
* configure.in: Replaced widgets/e-minicard/Makefile and
addressbook/demo/Makefile with addressbook/gui/minicard/Makefile
and addressbook/gui/component/Makefile respectively.
* widgets/Makefile.am: Removed e-minicard since it's being moved
to addressbook/gui/minicard.
* widgets/e-text/e-text.c: Fixed the border width around tooltips
and made the main tooltip area yellow.
From camel/ChangeLog:
2000-04-08 Christopher James Lahey <clahey@helixcode.com>
* providers/smtp/.cvsignore: Added a .cvsignore file.
From calendar/ChangeLog:
2000-04-08 Christopher James Lahey <clahey@helixcode.com>
* gui/Makefile.am: Removed linking with libetable and libeminicard
since they weren't being used.
svn path=/trunk/; revision=2343
|
|
|
|
|
|
|
| |
* providers/sendmail/camel-sendmail-transport.c (_send_internal):
actually record the pid returned by fork(). Noticed by clahey.
svn path=/trunk/; revision=2342
|
|
|
|
|
|
|
|
| |
* providers/smtp/camel-smtp-transport.c: #include <sys/param.h>
for MAXHOSTNAMELEN. (This is a stopgap: some of the uses of
MAXHOSTNAMELEN are wrong anyway...)
svn path=/trunk/; revision=2340
|
|
|
|
|
|
|
|
|
|
| |
Fri Apr 7 16:49:42 EDT 2000 Jeffrey Stedfast <fejj@stampede.org>
o fixed numerous bugs in providers/smtp/camel-smtp-transport.c; should now build correctly
o readded smtp to providers/Makefile.am
CVS
svn path=/trunk/; revision=2332
|
|
|
|
|
|
| |
first time.
svn path=/trunk/; revision=2331
|
|
|
|
|
|
|
|
| |
* providers/pop3/camel-pop3-store.c (pop3_connect): Clarify error
messages.
(finalize): fix a bug in camel_exception usage
svn path=/trunk/; revision=2329
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-07 NotZed <NotZed@HelixCode.com>
* providers/Makefile.am: Removed smtp for now, its a long way from
building.
* providers/smtp/Makefile.in: Removed file that shouldn't have been
checked in.
svn path=/trunk/; revision=2324
|
|
|
|
|
|
|
|
| |
Fri Apr 7 08:01:43 EDT 2000 Jeffrey Stedfast <fejj@stampede.org>
o Added smtp_helo() request into smtp_connect() (forgott o do this before)
o Modified smtp_helo() to send EHLO if communicating with an ESMTP server
svn path=/trunk/; revision=2322
|
|
|
|
| |
svn path=/trunk/; revision=2319
|
|
|
|
|
|
|
|
| |
Thu Apr 6 22:56:44 EDT 2000 Jeffrey Stedfast <fejj@stampede.org>
o Added smtp/ to providers tree under camel
o Added makefiles and source for an smtp module (untested as of yet)
svn path=/trunk/; revision=2317
|
|
|
|
|
|
|
|
| |
+ from get_full_name() called, since get_full_name() was changed to
+ not have an exception in the last param (see dan's notes below).
+ (_get_name): same.
svn path=/trunk/; revision=2316
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-04-06 Dan Winship <danw@helixcode.com>
* camel-store.[ch]: Reorganize the folder-fetching methods and
implement a folder cache so that multiple requests for the same
folder will yield the same CamelFolder object (as long as it
remains active). Includes some code to remove no-longer-active
folders from the cache, but it doesn't get used since nothing is
ever unref'ed in Camel right now...
* providers/mbox/camel-mbox-store.c:
* providers/pop3/camel-pop3-store.c: update for CamelStore
changes.
* camel-folder.[ch]: Remove the (unused) CamelException argument
from camel_folder_get_name and camel_folder_get_full_name.
(camel_folder_set_name): make this go away since changing a
folder's name after it has been created could result in it
conflicting with a separately-issued folder.
svn path=/trunk/; revision=2314
|
|
|
|
|
|
|
|
|
|
|
| |
* g_url_new really wanted to take a CamelException. So, rename
Gurl to CamelURL, g_url_* to camel_url_* (with camel_url_new
taking an exception), and url-util.[ch] to camel-url.[ch]. Also
force url->port to be numeric and remove camel_service_getport. (I
was confused before: the URL RFC says the port must be numeric, so
we don't want to do getportbyname.)
svn path=/trunk/; revision=2300
|
|
|
|
| |
svn path=/trunk/; revision=2293
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* providers/mbox/camel-mbox-folder.c
(_check_get_or_maybe_generate_summary_file): Compare
mbox_file_size and mbox_modtime to the results of stat()ing the
mbox file, not the summary file. Duh.
(_close): Update the summary's mbox_file_size and mbox_modtime
before writing it to disk.
* providers/mbox/camel-mbox-summary.c (camel_mbox_summary_save,
camel_mbox_summary_load): Wow. I must have been tired when I wrote
this code. First, the comparison bug above. Second, it was using
ntohs and htons instead of ntohl and htonl. Third, I was reading
the status flag byte in two different places and thus getting out
of sync. Fourth, it was writing out field_length bytes of each
header field after having converted field_length to network byte
order, resulting in lots of random crap being appended, and the
summary files being huge. (Fortunately, since the size/modtime
comparison was biffed, the garbage summary read from disk was
always immediately discarded.)
* providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file): fix
an off-by-one error that caused the last-used UID to be reused if
the summary file was regenerated. (That one wasn't my fault. :-)
svn path=/trunk/; revision=2279
|
|
|
|
|
|
| |
* camel-stream-mem.c: implement unimplemented methods
svn path=/trunk/; revision=2275
|
|
|
|
| |
svn path=/trunk/; revision=2274
|
|
|
|
|
|
|
|
|
| |
* camel-formatter.c (text_to_html): Added "convert_newlines_to_br"
boolean param, to give the option of not converting '\n's to <br>
tags. This way, when we stick stuff in a <pre> tag, newlines stay
newlines.
svn path=/trunk/; revision=2270
|
|
|
|
|
|
|
| |
* camel-formatter.c (handle_text_plain): Use <pre> tag to force
the use of monospaced fonts.
svn path=/trunk/; revision=2260
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel-service.c (camel_service_getport): Add a htons in the
default_number case, and document the fact that the function
returns the port in network byte order.
* providers/pop3/camel-pop3-store.c (pop3_connect): Revert
Miguel's change. The port number bug was actually somewhere
else, and the IP address copying code was fine already.
svn path=/trunk/; revision=2256
|
|
|
|
|
|
|
|
|
|
| |
2000-03-29 Miguel de Icaza <miguel@gnu.org>
* providers/pop3/camel-pop3-store.c (pop3_connect): Add htons
(port), and only copy 4 bytes for the IP address to prevent a DNS
attack.
svn path=/trunk/; revision=2251
|
|
|
|
|
|
|
|
|
|
| |
* camel-seekable-substream.c
(camel_seekable_substream_new_with_seekable_stream_and_bounds):
make this return a CamelStream rather than a
CamelSeekableSubstream, because that's the way Gtk objects tend to
work.
svn path=/trunk/; revision=2218
|
|
|
|
| |
svn path=/trunk/; revision=2217
|
|
|
|
|
|
|
|
|
| |
* camel-service.c (camel_service_gethost,
camel_service_getport): convenience functions to canonicalize
the host and port values of a service's URL.
* providers/pop3/camel-pop3-store.c: use them
svn path=/trunk/; revision=2216
|
|
|
|
|
|
|
|
| |
* providers/mbox/camel-mbox-folder.c
(_check_get_or_maybe_generate_summary_file): Make this work when
the inbox file doesn't yet exist.
svn path=/trunk/; revision=2215
|
|
|
|
|
|
|
|
|
| |
* providers/mbox/camel-mbox-folder.c (_append_message): uncomment
the call to unlink the temp file: there's no way to tell
camel_stream_fs to truncate a file, so reusing the same file was
resulting in junk at the ends of messages.
svn path=/trunk/; revision=2206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel-folder.[ch]: add delete_message_by_{number,uid}.
* providers/pop3/camel-pop3-folder.[ch]: implement
delete_message_by_uid. Add a close method to do expunging
of deleted messages if requested.
* providers/pop3/camel-pop3-store.[ch]: support for
CamelPop3Folder::close. (You have to close the connection
in order to expunge the folder, thus the store may be
connected in the CamelService::is_connected sense when it
is not actually connected to the server.) Also some bugfixes.
svn path=/trunk/; revision=2203
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-27 NotZed <NotZed@HelixCode.com>
* providers/mbox/camel-mbox-folder.c (_append_message): Unref the
output_stream when done, close doesn't do it.
(_append_message): Clear all uid's from the appending messages, so
they are reassigned proper unique id's.
* gmime-utils.c (get_header_array_from_stream): Actually free the
header, it is copied elsewhere.
2000-03-26 NotZed <NotZed@HelixCode.com>
* providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev): Added
folder parameter to function. Fixed callers.
(index_message): Index a message as it is assigned a unique id.
* camel-mime-part.c (my_set_content_id): Make sure we malloc and
copy the content_id, otherwise *poof*
2000-03-25 NotZed <NotZed@HelixCode.com>
* camel-medium.c (_finalize): Another leak, unref the content if
finished with it.
* camel-recipient.c (camel_recipient_table_free): Plug another
memory leak - actually free the recipient table.
* camel-mime-message.c (_finalize): Plugged a memory leak with the
flags table.
* gmime-utils.c (_store_header_pair_from_string): A simpler, more
debuggable and functionally identical header extraction function.
2000-03-24 NotZed <NotZed@HelixCode.com>
* gmime-content-field.c (gmime_content_field_set_parameter):
Remove the hash table entry before freeing its key and data.
svn path=/trunk/; revision=2199
|
|
|
|
|
|
|
|
|
|
|
|
| |
* providers/pop3/camel-pop3-store.c: keep separate input and
output streams so the output doesn't end up being buffered.
* providers/pop3/camel-pop3-folder.c (get_message_by_number):
finish implementing this.
* providers/Makefile.am (SUBDIRS): Add pop3.
svn path=/trunk/; revision=2196
|
|
|
|
| |
svn path=/trunk/; revision=2195
|
|
|
|
| |
svn path=/trunk/; revision=2192
|
|
|
|
|
|
|
| |
camel-stream-buffered-fs.h, but it did need camel-stream-fs.h, which
it wasn't including.
svn path=/trunk/; revision=2191
|
|
|
|
|
|
|
|
|
| |
* camel-service.c (camel_service_free_auth_types): new routine to
free the data allocated by camel_service_query_auth_types.
* providers/pop3/camel-pop3-store.c (free_auth_types): implement
svn path=/trunk/; revision=2190
|
|
|
|
|
|
|
|
| |
* camel-stream-mem.c (camel_stream_mem_new_with_buffer): rename
camel_stream_mem_new_with_buffer to ..._with_byte_array and add a
new ..._with_buffer that takes a char * rather than a GByteArray.
svn path=/trunk/; revision=2189
|
|
|
|
|
|
|
| |
* Remove CamelStreamBufferedFs, since CamelStreamBuffer makes it
redundant.
svn path=/trunk/; revision=2188
|
|
|
|
| |
svn path=/trunk/; revision=2187
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel-folder-summary.[ch]: change the CamelFolderSummary
interfaces to allow partial summary queries (for dealing
with very large folders). Remove the "extended_fields" from
CamelFolderInfo and CamelMessageInfo: this is better dealt
with by subtyping.
* providers/mbox/camel-mbox-summary.[ch]: Make CamelMboxSummary a
subclass of CamelFolderSummary. Update interfaces for that. Remove
the internal/external summary distinction. Remove the (unused) md5
checksum in the folder summary. Change the summary file format
(primarily to make it no longer byte-order dependent) and add a
version number to it so it will be easier to change in the future.
* providers/mbox/camel-mbox-folder.[ch]
* providers/mbox/camel-mbox-search.c
* providers/mbox/camel-mbox-utils.c: update for summary changes
* camel-exception-list.def: add
CAMEL_EXCEPTION_FOLDER_SUMMARY_INVALID
svn path=/trunk/; revision=2159
|
|
|
|
|
|
|
|
|
| |
2000-03-23 NotZed <NotZed@HelixCode.com>
* providers/mbox/camel-mbox-provider.c: Added flag to provider
initialisation, to match changed structure.
svn path=/trunk/; revision=2158
|
|
|
|
| |
svn path=/trunk/; revision=2156
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-22 NotZed <NotZed@HelixCode.com>
* camel-folder.[ch]: Added async search api.
* providers/mbox/camel-mbox-search.c
(camel_mbox_folder_search_by_expression): Changed to use an
asynchronous interface.
(camel_mbox_folder_search_cancel): Cancel function for async
interface.
svn path=/trunk/; revision=2155
|
|
|
|
|
|
|
|
|
|
|
| |
* camel-stream-buffer.c (camel_stream_buffer_read_line): Function
to read one line of any size from a stream and return it in
allocated memory.
Also add camel-stream-buffer.h to camel.h and CamelStreamBuffer to
camel-types.h.
svn path=/trunk/; revision=2152
|
|
|
|
|
|
|
|
| |
* camel-service.c (camel_service_query_auth_types): New function
to query a service for the authentication protocols it supports.
* providers/pop3/camel-pop3-store.c (query_auth_types): implement
svn path=/trunk/; revision=2147
|
|
|
|
|
|
|
| |
* camel-provider.c (camel_provider_scan): New function to
scan the provider dir and return a list of all providers.
svn path=/trunk/; revision=2145
|
|
|
|
| |
svn path=/trunk/; revision=2144
|
|
|
|
|
|
|
|
|
|
|
| |
* providers/pop3/camel-pop3-folder.c: fill this in partially
* providers/pop3/camel-pop3-store.c: make camel_pop3_command
return the text after "+OK"/"-ERR" and add a separate
camel_pop3_get_additional_data to get the message body or
whatever. Also make them take a CamelPop3Store rather than
a CamelStreamBuffer.
svn path=/trunk/; revision=2143
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ to gtk_main_quit, so that the shell dies when you want it to.
+
+ * shell/e-shell-view.c (get_view): Reorganized, and added
+ assertions.
+ (e_shell_view_set_view): Added assertions.
+
+ * camel/camel-formatter.c (debug): Disabled some useless debug
+ messaging.
svn path=/trunk/; revision=2141
|
|
|
|
|
|
|
| |
* providers/pop3: some initial bits of the POP3 provider, to
make Matt happy. Incomplete, untested, etc.
svn path=/trunk/; revision=2137
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-21 bertrand <bertrand@helixcode.com>
* message-list.c (ml_value_at): display message size
2000-03-21 bertrand <bertrand@helixcode.com>
* providers/mbox/camel-mbox-summary.c
(camel_mbox_summary_append_internal_to_external): copy the size field
* providers/mbox/camel-mbox-folder.c (_get_message_by_uid): initialize
message_info to NULL
* camel-folder-summary.h: added the size field.
* providers/mbox/camel-mbox-summary.h:
added the received_date field.
svn path=/trunk/; revision=2133
|
|
|
|
|
|
|
|
|
| |
2000-03-21 bertrand <bertrand@helixcode.com>
* providers/mbox/camel-mbox-summary.c:
documented all functions.
svn path=/trunk/; revision=2132
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-21 bertrand <bertrand@helixcode.com>
* camel-folder-summary.h: name change and
new fields.
* providers/mbox/camel-mbox-search.c: update to
conform to name change in the summary fields.
svn path=/trunk/; revision=2131
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-12 bertrand <bertrand@helixcode.com>
* shell/e-folder.h: add a field refering to a
service associated to the efolder. In the case of
distant folders, it is generally a server.
* shell/e-service.c: New class. Models a service.
A service is an object with an URI and a root folder.
It genreally reporesents a distant folder.
A service is generally a ressource shared amongst
several folders.
* shell/e-service.h:
2000-03-10 bertrand <bertrand@helixcode.com>
* camel-service.h: cosmetic changes.
svn path=/trunk/; revision=2100
|
|
|
|
|
|
|
|
| |
2000-03-10 bertrand <bertrand@helixcode.com>
* camel-service.h: cosmetic changes.
svn path=/trunk/; revision=2098
|
|
|
|
| |
svn path=/trunk/; revision=2091
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-07 bertrand <bertrand@helixcode.com>
* camel-formatter.c (handle_mime_part):
plug mem leaks due to bad documentation
of camel_content_field_get_mime_type
(print_camel_body_part): idem
(handle_multipart_alternative): idem
* gmime-content-field.c (gmime_content_field_get_mime_type):
documentation fix.
* camel-mime-part.c (my_finalize): unref the
content_input_stream if any.
* shell/e-shell-shortcut.c (shortcut_bar_item_selected):
removed a test that prevented the standard menu
to be shown.
svn path=/trunk/; revision=2089
|
|
|
|
|
|
| |
The UI works now.
svn path=/trunk/; revision=2074
|
|
|
|
| |
svn path=/trunk/; revision=2057
|
|
|
|
|
|
|
|
|
|
| |
2000-03-04 NotZed <NotZed@HelixCode.com>
* providers/mbox/camel-mbox-search.c
(camel_mbox_folder_search_by_expression): Ref the summary
after we have got it.
svn path=/trunk/; revision=2053
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-04 bertrand <bertrand@helixcode.com>
* camel-mime-part.c (my_write_content_to_stream):
stream the raw content instead of nothing if the encoding
is not supported.
* camel-stream-fs.c (_seek): handle eos more
properly.
svn path=/trunk/; revision=2047
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-04 bertrand <bertrand@helixcode.com>
* camel-formatter.c (get_bonobo_tag_for_object):
bonobo-goad-id is the good key to look for.
(get_bonobo_tag_for_object): close the <object> tag.
(get_bonobo_tag_for_object): the correct syntax for the
to set a parameter inside an <object> tag is :
<object classid="..."> <param name="uid" value="..."> <param ...>
</object>
svn path=/trunk/; revision=2036
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-03 bertrand <bertrand@helixcode.com>
* providers/mbox/camel-mbox-folder.c (_get_message_by_uid):
use set_input_stream instead of construct_from_stream
to feed the message object.
* camel-data-wrapper.c (my_write_to_stream): reset output stream.
(my_set_input_stream): unref the previous input stream.
use the set_output_stream for default behaviour.
(my_set_output_stream): unref previous output stream.
* camel-mime-part.c (my_write_content_to_stream): reset content
object output stream.
mbox provider now also constructs message bodies. I should have looked
here first. damn.
svn path=/trunk/; revision=2030
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-03 NotZed <NotZed@HelixCode.com>
* providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev): Make
sure we open with create with a creation mask.
2000-03-01 NotZed <NotZed@HelixCode.com>
* camel-mime-part-utils.c
(camel_mime_part_construct_content_from_stream): DO NOT assert on
content type, we have fallback code 4 lines below it ... *sigh*
svn path=/trunk/; revision=2026
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-03 bertrand <bertrand@helixcode.com>
* camel-formatter.c (handle_image): in the case
of images, put the content object output stream
in the url. This allows the message browser
to show inline images.
svn path=/trunk/; revision=2021
|
|
|
|
|
|
|
|
|
| |
2000-03-03 bertrand <bertrand@helixcode.com>
* camel-stream-b64.c (my_read_encode): fixed state
0 keep value.
svn path=/trunk/; revision=2019
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-02 bertrand <bertrand@helixcode.com>
* camel-stream-b64.c (my_read_encode): don't forget to
set the state to 0 after 3.
(my_read_encode): don't forget to encode, even in state 3.
* camel-simple-data-wrapper.c: static functions are prefixed
with my_ instead of _
* camel-multipart.c: static functions are prefixed
with my_ instead of _
(my_write_to_stream): commented.
(my_write_to_stream): warning in case the boudary is set
but is a zero length string.
* camel-mime-part.c (camel_mime_part_encoding_from_string):
remove debug trace.
* camel-mime-part.c: Replaced all static functions
with name begining with _ by the same name begining
with "my_" to prevent the possible conflicts
with system symbols Dan warned us about.
Mime mail generation works now, at least with b64 encoding.
QP needs to be done now.
svn path=/trunk/; revision=2016
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-02 bertrand <bertrand@helixcode.com>
* camel-stream-b64.c (camel_stream_b64_write_to_stream):
use CamelStreamB64 type for the input stream.
* camel-mime-part.c (_get_content_object): remove
debugging trace
(_write_content_to_stream): implement the b64
encoding the new way (that is using camel_stream_b64)
svn path=/trunk/; revision=2014
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-02 bertrand <bertrand@helixcode.com>
* camel-data-wrapper.c (my_write_to_stream):
fix implementation so that it writes properly
to the output stream even.
* camel-stream-b64.c (camel_stream_b64_write_to_stream):
fix implementation.
svn path=/trunk/; revision=2013
|
|
|
|
| |
svn path=/trunk/; revision=2007
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-29 NotZed <NotZed@HelixCode.com>
* Makefile.am (libcamelinclude_HEADERS): Added camel-stream-buffer
to build.
* camel-stream-buffer.[ch]: Generic buffer which can be applied to
any stream.
svn path=/trunk/; revision=1995
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-29 bertrand <bertrand@helixcode.com>
* camel-stream-b64.c (camel_stream_b64_write_to_stream): new
utility function.
* camel-data-wrapper.c (_write_to_stream): default
implementation.
svn path=/trunk/; revision=1989
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-29 bertrand <bertrand@helixcode.com>
* gmime-utils.c (_store_header_pair_from_string):
revert strange changes.
* camel-stream-b64.c (my_read_decode): set eos to true when we
have read the whole input stream.
(my_reset): set eos to FALSE.
svn path=/trunk/; revision=1988
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-28 NotZed <NotZed@HelixCode.com>
* camel-mime-part.c (_parse_header_pair): Dont free this either.
* camel-medium.c (_remove_header): Ugh, dont free the header
before we actually remove it.
(_add_header): Ugh, dont free hashtable entries which may be
duplicated (hash_insert _will_ reference that memory).
* string-utils.c (string_trim): Trimming a 0-length string is not
an error.
* camel-mime-message.c (_parse_header_pair): Fixed very broken
memory handling of header_name/value.
* providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev):
Initialise end_of_last_message always.
(camel_mbox_copy_file_chunk): Stop trying to read if we run out of
data, rather than looping forever.
* providers/mbox/camel-mbox-folder.c (_init): Set search cap on.
(_open): Call parent class to perform open. Remove folder-open
check to parent instead.
(_create): open takes a creation mask, dont use umask to try and
set the open mode.
(_delete): Dont bother checking folder==NULL, its already been
checked on the external interface (changed to an assertion, this
would have to be a camel bug).
(_delete_messages): Likewise.
(_create): Ditto.
(_init): Dont go and clear all the paths and shit that the parent
open just setup for us.
(_delete_messages): Get rid of more umask stuff.
(_append_message): Make sure we pass file mode to open with create.
(_append_message): Cleaned up some indenting to make it readable.
svn path=/trunk/; revision=1985
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-28 NotZed <NotZed@HelixCode.com>
* camel-folder.c (camel_folder_search_by_expression): No, its not
a fatal error to search on a non-searchable folder, you just dont
get any matches.
(_open): Dont open an opened folder (i dont see why this is really
a bug, but what the hell ...)
* providers/mbox/camel-mbox-folder.c (_init): Set search cap on.
(_open): Call parent class to perform open. Remove folder-open
check to parent instead.
svn path=/trunk/; revision=1984
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-28 NotZed <NotZed@HelixCode.com>
* camel-stream-b64.c (my_read_encode): Fixed a typo.
* providers/mbox/camel-mbox-search.c: Changed to use e-sexp,
rather than filter-sexp.
svn path=/trunk/; revision=1979
|
|
|
|
| |
svn path=/trunk/; revision=1974
|
|
|
|
| |
svn path=/trunk/; revision=1937
|
|
|
|
| |
svn path=/trunk/; revision=1928
|
|
|
|
| |
svn path=/trunk/; revision=1927
|
|
|
|
| |
svn path=/trunk/; revision=1926
|
|
|
|
| |
svn path=/trunk/; revision=1925
|
|
|
|
| |
svn path=/trunk/; revision=1924
|
|
|
|
| |
svn path=/trunk/; revision=1923
|
|
|
|
| |
svn path=/trunk/; revision=1922
|
|
|
|
| |
svn path=/trunk/; revision=1921
|
|
|
|
| |
svn path=/trunk/; revision=1920
|
|
|
|
|
|
|
| |
location to location in an IMAP store. Rename CamelFolder::init_with_store
to init and add parent_folder, name, and separator arguments.
svn path=/trunk/; revision=1919
|
|
|
|
|
|
|
|
|
| |
* camel-folder.c: use CamelExceptions for run-time errors, not
incorrect code. Don't bother validating that an object exists from
inside one of its methods, since you couldn't have gotten there if
it didn't. Fix some code style bugs.
svn path=/trunk/; revision=1918
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel-medium.c (_finalize): Free the data in the headers hash
table.
(_add_header): g_strdup the header name and value when adding it.
* camel-mime-part-utils.c
(camel_mime_part_construct_headers_from_stream): Free the header
data after calling camel_medium_add_header, since it will have
g_strdup()ed it itself.
svn path=/trunk/; revision=1913
|
|
|
|
| |
svn path=/trunk/; revision=1909
|
|
|
|
|
|
|
|
|
|
| |
2000-02-22 NotZed <NotZed@HelixCode.com>
* providers/mbox/camel-mbox-search.c: Dont compile by default.
* providers/mbox/Makefile.am: Fuck off the filter code.
svn path=/trunk/; revision=1907
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org>
* camel-stream-b64.c (read_decode__static):
don't read the char if we reached the length
of the output buffer. Hours lost on this
%$!@# bug : 3.5
svn path=/trunk/; revision=1903
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org>
* message-list.c (message_list_set_folder):
fix to show a sample correct implementation.
* camel-folder.c (camel_folder_get_subfolder):
(camel_folder_create):
(camel_folder_delete):
(camel_folder_delete_messages):
(camel_folder_list_subfolders):
(camel_folder_expunge):
(camel_folder_get_message_by_number):
(camel_folder_get_message_count):
(camel_folder_append_message):
(camel_folder_copy_message_to):
(camel_folder_get_summary):
(camel_folder_get_message_uid):
(camel_folder_get_message_by_uid):
(camel_folder_get_uid_list):
Check folder state (open/close) and raise an
exception if it is not ok.
* providers/mbox/camel-mbox-folder.c (_create):
create the file and the path with two different
names.
* camel-folder.c (_create): handle the case
when the folder name starts with '/'
* camel-exception.c (camel_exception_new): use
(void) instead of () in decl.
* camel-exception.h: cosmetic fixes.
* camel-exception.c (camel_exception_init): new routine.
Fix a bug in mail/message-list.c
* camel-folder.h: cosmetic changes.
* camel-stream-b64.c (reset__static): added a
reset method. Thanks message-browser to find
so much bugs :)
* providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): readd
Unicode libs.
Fixes and exception handling in camel-folder.
Fixes in mail/evolution-mail to make it not
segfault and to demonstrate a correct implementation.
svn path=/trunk/; revision=1902
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org>
* camel-stream-b64.c (reset__static): added a
reset method. Thanks message-browser to find
so much bugs :)
* providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): readd
Unicode libs.
* shell/Makefile.am (evolution_LDADD):
add libetext.a.
Fixes.
svn path=/trunk/; revision=1900
|
|
|
|
|
|
|
|
|
|
| |
to find all the changes.
Important notice, I added uggly hacks to camel-formatter.c
and message-browser so that I could test b64 decoding.
Saving streams works. Have to implement qp now.
svn path=/trunk/; revision=1893
|
|
|
|
|
|
|
|
|
| |
2000-02-21 NotZed <NotZed@HelixCode.com>
* providers/mbox/Makefile.am: Uh, fixed LIBADD again. What was
there was never ever going to work, wasn't it tested?
svn path=/trunk/; revision=1891
|
|
|
|
| |
svn path=/trunk/; revision=1890
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel-session.h:
* camel-session.c: add CamelExceptions to several functions. Use
camel_session_new to initialize the session and URL fields of
created CamelStores as appropriate.
* camel-store.h:
* camel-store.c
* camel-service.h:
* camel-service.c: Move the session and url (and associated
functions) from CamelStore to CamelService. Add url_flags to
CamelService so subclasses can specify which URL components
are mandatory for them. Add camel_session_new for
camel_session_get_store* to use.
* providers/mbox/camel-mbox-folder.c:
* providers/mbox/camel-mbox-store.c:
* providers/mbox/camel-mbox-store.h: Update for above changes.
svn path=/trunk/; revision=1888
|
|
|
|
|
|
|
|
|
| |
* camel-exception-list.def: Once camel is being used for real,
exceptions won't be renumberable. So renumber them now to make
more room to add exceptions to the various categories later, and
add a big warning message.
svn path=/trunk/; revision=1887
|
|
|
|
| |
svn path=/trunk/; revision=1872
|
|
|
|
| |
svn path=/trunk/; revision=1869
|
|
|
|
|
|
|
|
|
| |
meaning his ChangeLog entries ended up there and everyone else's ended
up in the top-level ChangeLog. Move the post-2/12 ChangeLog entries from
ChangeLog to camel/ChangeLog so that you don't need to look in two
different places for that week's worth of commits.
svn path=/trunk/; revision=1868
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-18 NotZed <NotZed@HelixCode.com>
* providers/mbox/camel-mbox-search.h
(camel_mbox_folder_search_by_expression): Added exception to call,
and fixed caller.
* providers/mbox/camel-mbox-search.c
(camel_mbox_folder_search_by_expression): Major changes, to use
the sexp evaluator from filter/filter-sexp.c to implement the
searching.
(func_body_contains): Changed to support multiple strings in 1
command (results or'd together)
* url-util.c (g_url_new): Fixed a typo (colon == 0 isn't right),
and made it so full url's are absolute pathed (Dan, this is how it
has to work!). Also, always include a path part, even if it is an
empty string.
2000-02-16 NotZed <NotZed@HelixCode.com>
* providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Added
libfilter to link line (temporarily?). Required for
filter-sexp.
svn path=/trunk/; revision=1855
|
|
|
|
| |
svn path=/trunk/; revision=1853
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel/camel-types.h: New header with the typedefs for all camel
classes. Now the class headers can just include this and the
header for the parent type. This makes it possible for
CamelService to include a CamelSession without creating an
#include loop.
* camel/*:
* composer/e-msg-composer-attachment-bar.h:
* mail/folder-browser.c:
* mail/message-list.c: frob #includes to match the new reality
svn path=/trunk/; revision=1850
|
|
|
|
| |
svn path=/trunk/; revision=1849
|
|
|
|
|
|
| |
function version of toupper!
svn path=/trunk/; revision=1848
|
|
|
|
|
|
| |
according to rfc1738, but convenient
svn path=/trunk/; revision=1840
|
|
|
|
|
|
|
|
|
|
| |
camel and tests at least compile.
Current libtool doen't seem to support lib dependancy unless
the lib is installed.
Removed the dependancy on libex in mbox and added it to the
other Makefile.am that link with libcamel.
svn path=/trunk/; revision=1838
|
|
|
|
| |
svn path=/trunk/; revision=1837
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-17 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-formatter.c (handle_text_plain):
(handle_text_html): use camel_stream_reset instead
of seek. The formatter should be able to work
with all streams, not only seekable streams.
In the case where some provider implementation
would not be able to provide a reset method
to their stream, implementors would have
to find a workaround.
* camel/camel-session.c (camel_session_new): use
(void) instean of () in function decl.
* camel/camel-folder.c: ifdef async operation
related code.
* camel/camel-seekable-stream.c (_seek): added a warning.
(_reset): default implementation of reset for seekable
stream.
* camel/camel-mime-message.h: set_received_date declaration fix.
cosmetic changes.
* camel/providers/mbox/camel-mbox-provider.c (camel_provider_module_init):
use (void) instead of ().
* camel/camel-stream.c (camel_stream_reset):
new method for CamelStream.
svn path=/trunk/; revision=1835
|
|
|
|
|
|
|
|
|
| |
interfaces and instead provide camel_service_connect_with_url.
Also, added CamelExceptions and return values, so the functions can
indicate failure to the caller if they can't connect.
svn path=/trunk/; revision=1834
|
|
|
|
| |
svn path=/trunk/; revision=1833
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-17 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-formatter.c (handle_text_plain):
revamped so that it uses the output stream
of the data wrapper
(handle_text_html): ditto.
* camel/camel-simple-data-wrapper.h:
* camel/camel-simple-data-wrapper.c (camel_simple_data_wrapper_new):
use (void) instead of ().
(_get_output_stream): simple implementation.
A lot of small fixes so that the new parser scheme
works properly. Simple implementation of the stream
though.
Changed vette-formatter files so that they work with the
new scheme.
The new parser is now in a usable state. Still needs some work but the
infrastructure is here. /me is happy.
svn path=/trunk/; revision=1822
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-16 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-seekable-substream.c (_set_bounds): don't
seek the begining of the substream.
(_eos): fix eos condition testing.
(_finalize): unref parent stream
(_init_with_seekable_stream_and_bounds): ref parent stream
* camel/gstring-util.c (g_string_equal_for_hash):
(g_string_equal_for_glist): return type is int.
* camel/camel.h:
* camel/camel.c (camel_init): use (void)
instead of ().
A lot of other small changes to make the set_input_stream
scheme work. It actually works.
svn path=/trunk/; revision=1798
|
|
|
|
| |
svn path=/trunk/; revision=1797
|
|
|
|
| |
svn path=/trunk/; revision=1796
|
|
|
|
| |
svn path=/trunk/; revision=1795
|
|
|
|
| |
svn path=/trunk/; revision=1794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-15 bertrand <bertrand@helixcode.com>
* camel/camel-multipart.c (_localize_part):
this routine replaces the _read_part routine
and does not store the part in a buffer.
(_set_input_stream): use the set_input_stream
instead of the construct_from_stream.
each bodypart is given an input stream.
* camel/camel-mime-part-utils.c:
include the data-wrapper-repository header.
(camel_mime_part_construct_content_from_stream):
use the set_input_stream instead of the
construct_from_stream method.
* camel/camel-seekable-substream.c (_set_bounds):
cur position is set to 0 not to inf_bound.
Sync
svn path=/trunk/; revision=1790
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-14 Miguel de Icaza <miguel@gnu.org>
* camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add
the unicode libraries as well.
* camel/camel-provider.c (camel_provider_register_as_module): Add
error reporting here. Desire to use Solaris increases. Hair loss
in the last two hours: 5,400.
* camel/providers/mbox/camel-mbox-provider.c
(camel_mbox_get_provider): Renamed function.
* camel/camel.h: All include files use camel/ now here.
* camel/providers/mbox/Makefile.am: Drop all the dynamism from
Camel, and make this a standard library.
* configure.in: set the UNICODE_LIBS variable here.
2000-02-14 Miguel de Icaza <miguel@gnu.org>
* folder-browser.c (folder_browser_load_folder): New routine,
loads a camel folder.
(folder_browser_set_uri): redo.
* session.c: new file. Implements SessionStores to keep track of
a Session/Store tuple.
svn path=/trunk/; revision=1783
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-15 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-mime-part.c: include gmime-base64.h
various compilation and runtime fixes.
(_set_input_stream): store the input substream
for the content object.
* camel/camel-data-wrapper.h: declare the
set/get function on input/output stream.
* camel/camel-mime-part.c (_get_content_object):
don't use a temporary mem stream.
* camel/camel-seekable-substream.c (_seek):
(_eos):
(_read): the substream can be unlimited in length
* camel/camel-data-wrapper.c (camel_data_wrapper_class_init):
set the get/set_input/output_stream methods.
* camel/camel-multipart.c (_construct_from_stream):
camel_stream_seek -> camel_seekable_stream_seek
work on the new parser scheme.
temporary sync to laptop.
svn path=/trunk/; revision=1781
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-14 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/gmime-utils.c (get_header_array_from_stream): use the
eos stream method.
(gmime_read_line_from_stream): ditto.
* camel/camel-stream-fs.h (struct ): add the eof field
cosmetics changes.
* camel/camel-stream-fs.c (camel_stream_fs_init): set eof.
(_read): set eof on end of file.
(_eos): implemented.
* camel/gmime-utils.c (get_header_array_from_stream):
make a blocking version of the header parser.
When the fs stream uses gnome-vfs, this should
be changed.
(gmime_read_line_from_stream): ditto.
svn path=/trunk/; revision=1780
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-14 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/gmime-utils.c (get_header_array_from_stream): use the
eos stream method.
(gmime_read_line_from_stream): ditto.
* camel/camel-stream-fs.h (struct ): add the eof field
cosmetics changes.
* camel/camel-stream-fs.c (camel_stream_fs_init): set eof.
(_read): set eof on end of file.
(_eos): implemented.
* camel/gmime-utils.c (get_header_array_from_stream):
make a blocking version of the header parser.
When the fs stream uses gnome-vfs, this should
be changed.
(gmime_read_line_from_stream): ditto.
svn path=/trunk/; revision=1779
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-14 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/gmime-utils.c (get_header_array_from_stream):
make a blocking version of the header parser.
When the fs stream uses gnome-vfs, this should
be changed.
(gmime_read_line_from_stream): ditto.
2000-02-11 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-stream-fs.c:
everywhere, when using the cur_pos field, do it
on the CamelSeekableStream object.
(_seek): small fix.
* camel/camel-seekable-stream.c (camel_seekable_stream_seek):
s/camel_stream_seek/camel_seekable_stream_seek/g
* camel/camel-seekable-stream.h:
(struct ): added a field to store the
current position.
* camel/camel-seekable-stream.c (camel_seekable_stream_get_current_position):
New function. Allows to get the current position
of a seekable stream.
In fact much more changes, but I am lazy.
This is the begining of some major changes
in camel.
svn path=/trunk/; revision=1778
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-14 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/data-wrapper-repository.c (data_wrapper_repository_init):
by default, a message/rfc822 object is handled by the
CamelMimeMessage class. Should fix Matt's fantastic
Message viewer test.
svn path=/trunk/; revision=1776
|
|
|
|
| |
svn path=/trunk/; revision=1775
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-13 NotZed <notzed@zedzone.helixcode.com>
* providers/mbox/camel-mbox-search.c: New file, implements the
search api for mbox folders.
* providers/mbox/Makefile.am: Link with ibex.
* camel-folder.c (camel_folder_has_search_capability): Api
additions.
(camel_folder_search_by_expression): Ditto.
2000-02-12 NotZed <notzed@zedzone.helixcode.com>
* providers/mbox/camel-mbox-folder.c (_set_name): Setup index
filename as well.
(_init_with_store): Init index filename. Hmm, none of these
names ever seem to get free'd (FIXME?)
* providers/mbox/camel-mbox-folder.h: Add index file name.
2000-02-12 NotZed <notzed@helixcode.com>
* camel-folder.h: Add folder search functions.
** Created ChangeLog just for camel **
- refer to ../ChangeLog for changes prior to this date.
svn path=/trunk/; revision=1772
|
|
|
|
|
|
|
|
|
|
|
| |
+ crashes message-browser.
+
+ * tests/ui-tests/message-browser.c (get_gtk_html_window): Takes a
+ CamelMimeMessage as a param, rather than a filename.
+ (main): Puts our windows in an hpane rather than a vbox. Also
+ opens a file dlg box if a filename wasn't given as a first param.
svn path=/trunk/; revision=1771
|
|
|
|
|
|
|
|
|
|
| |
+ -1 if we fail to load the file.
+ (camel_stream_fs_new_with_name): If stream_fs->fd is -1, return
+ NULL. These changes make it so that a CamelStreamFs won't be
+ created if you give it a bogus filename; they may be replaced once
+ exception handling is in place.
svn path=/trunk/; revision=1767
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ items.
+ (mime_message_to_html): New function; translates a
+ CamelMimeMessage into two strings (one for the header, and one for
+ the body).
+ (get_gtk_html_window): New function; fills out a window with
+ html. The html is taken from a processed rfc822 file, via a
+ CamelFormatter.
+
+ * camel/camel-formatter.c: Added assertions.
+ (handle_text_html): Don't call text_to_html on something that's
+ already html.
+ (multipart_foreach): function deleted.
+
+ * mail/html-stream.c (html_stream_new): Second param of
+ gtk_html_begin should be "", not NULL.
+ (html_stream_new): gtk_html_parse() is deprecated, so the call was
+ removed.
svn path=/trunk/; revision=1766
|
|
|
|
|
|
|
|
|
| |
2000-02-11 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-stream-fs.c (camel_stream_fs_class_init):
parent class is seekable stream, not stream
svn path=/trunk/; revision=1731
|
|
|
|
|
|
|
|
|
|
| |
2000-02-10 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/data-wrapper-repository.c (data_wrapper_repository_init):
default the text/* mime types to CamelSimpleDataWrapper so
that Michael can use get_stream.
svn path=/trunk/; revision=1727
|
|
|
|
|
|
|
|
|
| |
2000-02-10 NotZed <notzed@zedzone.helixcode.com>
* camel/camel-simple-data-wrapper-stream.h: The superclass is
actually a seekable stream, not just a stream.
svn path=/trunk/; revision=1726
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-10 bertrand <Bertrand.Guiheneuf@aful.org>
* tests/Makefile.am (THREAD_RELATED_TESTS): don't
build thread related tests if evolution has been
compiled with no thread support.
* configure.in (have_pthread): allow user to enable/disable
thread support at configure time
(EXTRA_GNOME_CFLAGS):
(EXTRA_GNOME_LIBS): thread support is directly
included in this variable if enabled. No more
EXTRA_GNOME_CFLAGS_THREADS
Other special support should be added in
EXTRA_GNOME_LIBS and EXTRA_GNOME_CFLAGS
instead of redefining a new variable
each time we want to add a new lib.
(bonobo, ....)
* camel/camel.c (camel_init): only try to initialize threads if
we enabled threads support.
* tests/ui-tests/Makefile.am (message_browser_LDADD): use
EXTRA_GNOME_LIBS
* configure.in (have_pthread): remove HAVE_PTHREADS
variable. Define ENABLE_THREADS instead.
* camel/Makefile.am: use ENABLE_THREADS not HAVE_PTHREADS
to test if we build thread relateed code.
* tests/Makefile.am: use EXTRA_GNOME_LIBS,
not EXTRA_GNOME_LIBS_THREADS
I need to be able to disable thread support to use Insure.
svn path=/trunk/; revision=1725
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-10 NotZed <notzed@zedzone.helixcode.com>
* camel/hash-table-utils.c (g_strcase_hash): Removed a bizarre
comparison construct for converting case.
2000-02-09 NotZed <notzed@zedzone.helixcode.com>
* camel/data-wrapper-repository.c (data_wrapper_repository_init):
Uses case-insensitive compares.
* camel/gmime-content-field.c (gmime_content_field_new): Uses
case-insensitive compares.
svn path=/trunk/; revision=1723
|
|
|
|
|
|
|
|
|
|
| |
2000-02-09 NotZed <notzed@zedzone.helixcode.com>
* camel/camel-simple-data-wrapper-stream.c (read): Increment the
copy source address to match the data read offset.
(seek): Actually implement the seek.
svn path=/trunk/; revision=1722
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-09 NotZed <notzed@zedzone.helixcode.com>
* camel/camel-mime-part-utils.c
(camel_mime_part_store_stream_in_buffer): If we get a -1 read,
DONT update the total bytes, and try and truncate the array in
reverse. Eek.
* camel/camel-mime-part.c (camel_mime_part_encoding_from_string):
This was DEFINETLEY not the right way to do it. strncmp!=strcmp
(camel_mime_part_encoding_to_string): Handle the default case.
: include string.h for strcmp() etc.
svn path=/trunk/; revision=1720
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-mime-message.c (camel_mime_message_init):
set the mime type to "mime/message".
--- THIS IS NOT THE CONTENT TYPE ---
* camel/camel-mime-body-part.c (camel_mime_body_part_init):
set the mime type to "body-part".
--- THIS IS NOT THE CONTENT TYPE ---
* camel/camel-data-wrapper.c (camel_data_wrapper_set_mime_type):
mime_type is const.
(_set_input_stream): really set the input stream
(_set_output_stream): really set the output stream
various other typo fixes.
* tests/ui-tests/message-browser.c: various typo
fixes in the ctree construction.
svn path=/trunk/; revision=1712
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org>
* tests/ui-tests/message-browser.c: various typo
fixes in the ctree construction.
* camel/string-utils.c (string_trim): fix braindead
trailing trim bug.
* camel/gmime-content-field.c (gmime_content_field_construct_from_string):
strip the leading and trailing quotes when constructing the
content field. This should be done in a more generic
RFC822 approach, but this fixes a bug that prevent
matt from analysing some multipart messages.
* camel/camel-data-wrapper.h: reorganize the
deprecated and new methods.
* camel/providers/mbox/camel-mbox-folder.c
(_check_get_or_maybe_generate_summary_file):
Use "From " as the message separating string.
* camel/providers/mbox/camel-mbox-folder.c (_append_message):
set the mode when creating the mbox file.
* camel/providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev):
ditto
* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary):
ditto
svn path=/trunk/; revision=1711
|
|
|
|
|
|
|
|
|
|
|
| |
2000-02-09 NotZed <notzed@zedzone.helixcode.com>
* camel/camel-simple-data-wrapper-stream.c (class_init): Actually
initialise the class. It simple couldn't have worked before.
(camel_simple_data_wrapper_stream_construct): Commented out code
which crashes just to get something working, memory corruption??
svn path=/trunk/; revision=1707
|
|
|
|
|
|
|
|
|
|
| |
* tests/ui-tests/message-browser.c: New file; shows a message in
tree format, where multipart's have multiple leaves.
* camel/camel-formatter.c: Changed references from
'multipart/alternate' to 'multipart/alternative'.
svn path=/trunk/; revision=1700
|
|
|
|
|
|
|
|
|
|
|
| |
+ buffer length of the stream to create strings which are then
+ printed, rather than printing the stream (which might not have a
+ trailing \0) directly.
+
+ * camel/camel-formatter.c (str_tolower): New function; makes a
+ string lowercase.
svn path=/trunk/; revision=1698
|
|
|
|
|
|
|
| |
+ to 'camel_formatter_mime_message_to_html' to contain correct
+ params.
svn path=/trunk/; revision=1697
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel/camel-formatter.c: New member to 'CamelFormatterPrivate',
'attachments', will be used to let the caller know which items
should be treated as attachments (as opposed to objects which are
inline to the body).
(text_to_html): name changed from 'encode_entities'. Also now
converts newlines to <br> tags.
(camel_formatter_mime_message_to_html): Now takes two output
streams -- one for the header, and one for the body.
(get_bonobo_tag_for_object): New function; tries to make a tag out
of (1) the leaf of a mime message and (2) a bonobo object that can
handle its mime type, but can return NULL if it fails to find the
mime type.
(handle_vcard): New function; will write out a vcard as html.
svn path=/trunk/; revision=1696
|
|
|
|
|
|
| |
* camel/camel-formatter.c (mime_part_to_html): function deleted.
svn path=/trunk/; revision=1688
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ which gives usage information.
+
+ * camel/camel-formatter.c: made the 'stream' a member of the
+ CamelFormatter class, so that streams don't have to be explicitly
+ sent as a param where a CamelFormatter is also sent..
+ (handle_text_plain): Use 'encode_entities' to change '<' to
+ '>', etc.
svn path=/trunk/; revision=1687
|
|
|
|
| |
svn path=/trunk/; revision=1661
|
|
|
|
|
|
|
|
|
|
|
| |
+ CamelFormatter class.
+
+ * camel/camel-formatter.c: Lots of cleanup, commenting, some new
+ functions, and a really basic skeleton for getting bonobo objects
+ into the html.
+ (encode_entities): New function, stolen from Daniel Velliard.
svn path=/trunk/; revision=1660
|
|
|
|
|
|
|
| |
+ hashtable, we can now get a handler function for an arbitrary
+ mimetype.
svn path=/trunk/; revision=1641
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-26 bertrand <bertrand@helixcode.com>
* camel/providers/mbox/camel-mbox-folder.c:
renamed mbox_folder->summary to
mbox_folder->internal_summary to avoid
confusion with the camel_folder->summary
field.
(_append_message):
(_check_get_or_maybe_generate_summary_file):
update the external summary thingie.
* camel/camel-folder-summary.c (camel_folder_summary_new):
create the message and folder info arrays.
* camel/providers/mbox/camel-mbox-summary.c
(camel_mbox_summary_append_internal_to_external):
new function to append entries from the internal summary
to the external one.
* camel/providers/mbox/camel-mbox-folder.c (_append_message): reflect
name change.
* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_summary_append_entries):
namespace fix.
svn path=/trunk/; revision=1632
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-24 bertrand <bertrand@helixcode.com>
* camel/camel-data-wrapper.h:
* camel/camel-data-wrapper.c
(_set_input_stream):
(_get_input_stream):
(_set_output_stream):
(_get_output_stream):
The CamelDataWrapper can now be provided with input and
output streams, so that nothing has to be kept in memory.
* camel/camel-stream.c (camel_stream_class_init):
added the "data_available" signal.
svn path=/trunk/; revision=1624
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-24 bertrand <bertrand@helixcode.com>
* camel/camel-seekable-stream.c:
* camel/camel-seekable-stream.h:
* camel/camel-simple-data-wrapper-stream.h: parent class is now
CamelSeekableStream
* camel/camel-stream-buffered-fs.h: idem
* camel/camel-stream-buffered-fs.c: idem
* camel/camel-stream-mem.h: idem
* camel/camel-stream-mem.c: idem
(_seek): change declaration
* camel/camel-stream-fs.c: parent class is now
CamelSeekableStream
(_seek): change declaration
* camel/camel-stream-fs.h: parent class is now
CamelSeekableStream
Major compatible change in the stream hierarchy.
Removed the seek method from the general streams
so that we can use them as "DataSources".
svn path=/trunk/; revision=1622
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-24 bertrand <bertrand@helixcode.com>
* camel/camel-stream-fs.[ch]: converted all
gint64 variables into guint32.
* camel/camel-stream-fs.c (_read): fix stupid bug.
(_write): ditto.
* camel/camel-exception.c (camel_exception_new): don't
forget to clean the exception when creating it.
svn path=/trunk/; revision=1621
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-24 bertrand <bertrand@helixcode.com>
* camel/camel-recipient.c (camel_recipient_table_add_list):
add recipient_list to the recipients, not recipients_list.
I don't know what that variable was doing here.
2000-01-23 bertrand <bertrand@helixcode.com>
* camel/camel-store.c (camel_store_get_session):
added a public get_session method.
* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary):
(camel_mbox_load_summary): load/save message sizes in the summary file
* camel/providers/mbox/camel-mbox-summary.h:
added a size field to the message information
structure.
* camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary):
copy message size to the mbox summary information too.
* camel/camel-stream-fs.c (_seek): updated to
work with bounded fs streams.
(_write): ditto.
(_read): ditto.
* camel/camel-stream-fs.h (struct ):
added the cur_pos, inf_bound and sup_bound
members to allow for bounded fs stream.
* camel/camel-stream-fs.c (_set_bounds): new func.
(_init_with_fd_and_bounds): idem.
(_init_with_name_and_bounds): idem.
New functions to allow the usage of bounded fs streams.
The bounded fs stream allow, for example, to make a stream
from a message stored in an mbox file.
svn path=/trunk/; revision=1620
|
|
|
|
|
|
|
|
|
|
|
| |
* camel/camel-formatter.c (write_header_info_to_stream): new
function, broken out from 'camel_formatter_make_html'.
(write_mimepart_to_stream): same.
(find_text_body_part_in_multipart_related): new function.
(camel_formatter_make_html): Now tries to deal with
multipart/related, multipart/alternate, and text/(plain|html).
svn path=/trunk/; revision=1619
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-22 bertrand <bertrand@helixcode.com>
* camel/providers/mbox/camel-mbox-folder.c (_check_get_or_maybe_generate_summary_file):
use the real summary file path instead of a
stupid hardcoded one. Fixes yet another bug.
* camel/providers/mbox/camel-mbox-utils.c (parsed_information_to_mbox_summary):
don't forget to copy the date too. Fix a very annoying bug.
* camel/providers/mbox/camel-mbox-folder.c (_append_message):
implemented. A lot of fixes too. Works now.
(_get_uid_list): implemented.
svn path=/trunk/; revision=1609
|
|
|
|
|
|
|
|
|
| |
2000-01-22 bertrand <bertrand@helixcode.com>
* camel/providers/mbox/camel-mbox-folder.c (_append_message):
implemented. A lot of fixes too. Works now.
svn path=/trunk/; revision=1608
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-21 bertrand <bertrand@helixcode.com>
* tests/test10.c:
test the mbox provider.
* camel/camel-folder.c (_set_name):
if camel_folder_get_mode returns an
exception, return it instead of
overriding it with a new one.
(camel_folder_is_open): make the is_open
method public.
(_set_name): use the is_open instead of
get_mode.
(_set_name): set the fullname even in the case
where the folder has no parent.
(_set_name): use %c, not %d to add the
separator char into the full path.
svn path=/trunk/; revision=1606
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-21 bertrand <bertrand@helixcode.com>
* camel/camel-store.c: add exception handling everywhere in
the store related functions arguments.
* camel/providers/mbox/camel-mbox-folder.c: idem
* camel/providers/mbox/camel-mbox-folder.h: idem
* camel/providers/mbox/camel-mbox-store.h: idem
* camel/providers/mbox/Makefile.am (libcamelmbox_la_SOURCES):
added camel-mbox-provider.c to the mbox provider
sources.
svn path=/trunk/; revision=1605
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-21 bertrand <bertrand@helixcode.com>
* camel/providers/mbox/Makefile.am (libcamelmbox_la_SOURCES):
added camel-mbox-provider.c to the mbox provider
sources.
* camel/providers/mbox/camel-mbox-provider.c:
provider registration code.
* camel/providers/mbox/camel-mbox-folder.c (_get_message_count): implemented
(_append_message): implemented
* camel/providers/mbox/camel-mbox-parser.c (initialize_buffer):
use \0 to mark the end of the buffer.
(read_next_buffer_chunk): ditto.
(read_header): test the presence of a \0 instead of
reading the eof field
(read_message_begining): idem.
(camel_mbox_parse_file): idem.
Remove the eof field from the parser
structure.
(read_next_buffer_chunk): removed some nasty bugs
again.
svn path=/trunk/; revision=1604
|
|
|
|
|
|
|
| |
+ CamelMimeMessage as a param to this function, and removed it as a
+ member of the object.
svn path=/trunk/; revision=1602
|
|
|
|
|
|
|
|
| |
* camel/camel-formatter.c, camel/camel-formatter.h: New
files. You'll be able to use a CamelFormatter to get
html-formatted versions of a CamelMimeMessage.
svn path=/trunk/; revision=1600
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-19 bertrand <bertrand@helixcode.com>
* camel/providers/mbox/camel-mbox-folder.c (_get_message_count):
implemented.
* camel/providers/mbox/camel-mbox-summary.c (camel_mbox_save_summary):
(camel_mbox_load_summary): save/load the next uid.
* camel/providers/mbox/camel-mbox-parser.c (camel_mbox_parse_file):
Compute the next available uid.
* camel/providers/mbox/camel-mbox-folder.c (_create):
(_check_get_or_maybe_generate_summary_file):
Set and use the next_uid field properly.
* camel/providers/mbox/camel-mbox-summary.h: added
an extra field to store the next available uid.
* camel/providers/mbox/camel-mbox-folder.c
(_check_get_or_maybe_generate_summary_file):
routine called when the folder is opened.
Reads or creates the summary file.
(_create): initialize the internal summary
structure.
(_close): save the summary file on closing.
(_init_with_store): initialize mbox specific
folder members.
svn path=/trunk/; revision=1597
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
* tests/Makefile.am (noinst_PROGRAMS):
remove non updated tests from the build
process.
* camel/Makefile.am :
remove the rfc2047 related files from
the build process as for the moment, nothing
has been decided concerning unicode.
* Makefile.am (evolution_msg_composer_LDADD):
use $(EXTRA_GNOME_LIBS_THREADS) to link with gthread
svn path=/trunk/; revision=1564
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Lots of reorganization to get the Evolution shell to begin its life.
It also includes a new evolution widget from Damon.
Miguel.
svn path=/trunk/; revision=1536
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-22 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/providers/mbox/camel-mbox-store.h:
* camel/providers/mbox/camel-mbox-store.c:
* camel/providers/mbox/camel-mbox-folder.h:
* camel/providers/mbox/camel-mbox-folder.c:
part of the mbox provider.
svn path=/trunk/; revision=1510
|
|
|
|
|
|
|
|
|
| |
1999-12-19 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder-utils.c: include camel-log.h
to avoid unresolved symbols.
svn path=/trunk/; revision=1504
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-18 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder.c (camel_folder_get_summary):
documented.
added the providers/mbox directory. Now that camel-folder
has been cleaned up a bit, the main evolution provider
work can start. The MH provider was only a proof of
concept, and should not be used for the moment.
svn path=/trunk/; revision=1503
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-18 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder-pt-proxy.c (_append_message):
updated to take the change on append into account.
* camel/camel-folder.h:
updated class def concerning append.
* camel/camel-folder.c
(camel_folder_append_message): documented.
(camel_folder_append_message): don't return the
message number. Use specific methods instead.
(_append_message): idem.
svn path=/trunk/; revision=1502
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-18 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder.c (_delete): use
exception mechanism.
(camel_folder_delete): idem.
(_delete_messages): idem.
(camel_folder_delete_messages): idem.
(_get_parent_folder): idem.
(camel_folder_get_parent_folder): idem.
(_get_parent_store): idem.
(_get_mode): idem.
(camel_folder_get_parent_store): idem.
(camel_folder_get_mode): idem.
(_list_subfolders): idem.
(camel_folder_list_subfolders): idem.
(_expunge): idem.
(camel_folder_expunge): idem.
(_has_message_number_capability): idem.
(camel_folder_has_message_number_capability): idem.
(_get_message_by_number): idem.
(camel_folder_get_message_by_number): idem.
(camel_folder_get_message_count): idem.
(_list_permanent_flags): idem.
(camel_folder_list_permanent_flags): idem.
(_copy_message_to): idem.
(camel_folder_copy_message_to): idem.
(camel_folder_has_summary_capability): idem.
(camel_folder_get_summary): idem.
(camel_folder_has_uid_capability): idem.
(camel_folder_get_message_uid): idem.
(_get_message_uid_by_number): idem.
(camel_folder_get_message_uid_by_number): idem.
(camel_folder_get_message_by_uid): idem.
(camel_folder_get_uid_list): idem.
svn path=/trunk/; revision=1501
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-17 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder.c (_set_name):
use exception mechanism.
(camel_folder_set_name): idem.
(camel_folder_set_full_name): idem.
(_get_name): idem.
(camel_folder_get_name): idem.
(_get_full_name): idem.
(camel_folder_get_full_name): idem.
(_can_hold_folders): idem.
(_can_hold_messages): idem.
(_exists): idem.
(camel_folder_exists): idem.
(_is_open): idem.
(_get_subfolder): idem.
(camel_folder_get_subfolder): idem.
* camel/camel-exception.c (camel_exception_clear):
New function. Clear an exception.
(camel_exception_get_id):
New function.
(camel_exception_get_description):
New function.
* camel/camel-folder.c (_set_name):
Use the exception system. When the folder
has no parent, don't set its full name
field.
svn path=/trunk/; revision=1499
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-16 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder.c (camel_folder_expunge):
(_expunge):
* camel/camel-folder-pt-proxy.c (_expunge):
changed the return value. Now returns the list
of expunged messages
* camel/camel-folder.c (_init_with_store):
cleaned up. Use the exception system now.
(_open): ditto.
(camel_folder_open): ditto.
(camel_folder_open_async): ditto.
(_close): ditto.
(camel_folder_close): ditto.
(camel_folder_close_async): ditto.
* camel/camel-exception.c (camel_exception_set):
When no exception is given, do nothing, just
return.
(camel_exception_set): documented.
(camel_exception_new): idem.
(camel_exception_free): idem.
(camel_exception_xfer): idem.
* camel/camel-folder.c:
* camel/camel-folder.h: more clean-ups.
Removed message list related code.
This was braindead design.
svn path=/trunk/; revision=1494
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-16 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder-utils.c (camel_aml_expunge_messages):
implemented. The routines in this file will be
called by providers to handle the list of
message already standing in memory.
1999-12-15 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder-utils.c:
* camel/camel-folder-utils.h:
New files, misc utilities for the
folder providers. Includes active message
list utilities.
* camel/camel-folder.c (_has_message_number_capability):
(camel_folder_has_message_number_capability):
Added this to know if a folder provides
number-based message access.
* camel/camel-folder.c (_get_message_count):
added warning when called directly.
(_append_message): ditto
(_open_async): ditto
(_close_async): ditto
(_delete_messages): ditto
(_expunge): ditto
(_get_message_by_number): ditto
(_get_message_uid): ditto
(_get_message_uid_by_number): ditto
(_get_message_by_uid): ditto
(_get_uid_list): ditto
svn path=/trunk/; revision=1492
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-15 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder-pt-proxy.c (_open_async):
(_open):
(_close_async):
(_close):
(camel_folder_pt_proxy_class_init):
update
(_get_message_by_number):
Update to reflect changes in CamelFolder
svn path=/trunk/; revision=1491
|
|
|
|
|
|
|
|
|
| |
1999-12-15 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder.[ch]:
clean-ups.
svn path=/trunk/; revision=1490
|
|
|
|
| |
svn path=/trunk/; revision=1489
|
|
|
|
| |
svn path=/trunk/; revision=1477
|
|
|
|
| |
svn path=/trunk/; revision=1438
|
|
|
|
| |
svn path=/trunk/; revision=1397
|
|
|
|
|
|
|
| |
- Fixed some Camel API naming issues.
- Moved the message composer stuff to the `composer' directory.
svn path=/trunk/; revision=1395
|
|
|
|
|
|
|
| |
example, to build multipart messages out of files that are on disk without
loading them in memory.
svn path=/trunk/; revision=1394
|
|
|
|
|
|
| |
installation fixes for Camel.
svn path=/trunk/; revision=1369
|
|
|
|
| |
svn path=/trunk/; revision=1348
|
|
|
|
| |
svn path=/trunk/; revision=1332
|
|
|
|
| |
svn path=/trunk/; revision=1329
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is now functional. The signal proxy needs to be tested
though. The thread proxy folder is being implemented.
A rough summary :
1999-10-13 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder.c (camel_folder_close): the
folder->close method is now asynchronous.
* camel/camel-folder-pt-proxy.c (_folder_open_cb):
(_open):
(_folder_open_cb):
(_open):
open/close method implemented in the thread proxy
folder. More to come.
* camel/camel-exception.c (camel_exception_xfer):
new utility func.
* camel/camel-marshal-utils.c: some new marshallers
* camel/camel-folder-pt-proxy.c: Some explanations
on the thread proxy system.
1999-10-11 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-marshal-utils.c:
camel/camel-marshal-utils.h:
Handles operation marshalling.
* camel/camel-thread-proxy.c:
camel/camel-thread-proxy.h:
new files. Generic proxy system.
* camel/camel-folder-pt-proxy.c
moved all proxy related code in dedicated files.
(camel_folder_pt_proxy_init):
removed proxy initialisation code
(_finalize):
removed proxy finalization code
* camel/camel-exception.c
(camel_exception_new):
(camel_exception_set):
(camel_exception_free):
New funcs.
svn path=/trunk/; revision=1328
|
|
|
|
| |
svn path=/trunk/; revision=1323
|
|
|
|
| |
svn path=/trunk/; revision=1322
|
|
|
|
|
|
|
| |
* redesign of the proxy/marshaling code. Uses GtkArg now.
* sync commit. Evolution does not build at all now.
svn path=/trunk/; revision=1260
|
|
|
|
|
|
|
|
|
| |
* Added corba-like exception system to CamelFolder.
The exception system is not finished but I wanted
the async and event implementation to get this right
from the beginning.
svn path=/trunk/; revision=1256
|
|
|
|
| |
svn path=/trunk/; revision=1255
|
|
|
|
| |
svn path=/trunk/; revision=1254
|
|
|
|
|
|
|
| |
* camel/camel-folder-pt-proxy.c:
more work.
svn path=/trunk/; revision=1248
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-21 bertrand <Bertrand.Guiheneuf@aful.org>
* configure.in:
Check pthreads.
* camel/Makefile.am:
camel-folder-pt-proxy.c is only compiled
when pthreads are available.
svn path=/trunk/; revision=1247
|
|
|
|
| |
svn path=/trunk/; revision=1246
|
|
|
|
| |
svn path=/trunk/; revision=1245
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-21 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder-pt-proxy.c:
Signal proxying implemenatation.
(_signal_marshaller_server_side):
(_signal_marshaller_client_side):
(_init_signals_proxy):
Code not is tested and has to be best
explained as it uses threads conditions and
gtk signal system.
(_thread_notification_catch): notify pending signals
as well as thread availability.
svn path=/trunk/; revision=1244
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-20 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder-pt-proxy.c (_op_exec_or_plan_for_exec):
completed
Binch of new funcs:
(_maybe_run_next_op):
Called by the watch notification when
a threaded op is completed
(_thread_notification_catch):
notification watch call back
(_init_notify_system):
set up the notification channel
(notify_availability):
called by threads before completion.
svn path=/trunk/; revision=1242
|
|
|
|
| |
svn path=/trunk/; revision=1238
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-18 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder-pt-proxy.c (_op_exec_or_plan_for_exec):
new func. Try to exec an operation in a thread
or queue it if a thread is already busy.
* camel/camel-op-queue.c (camel_op_queue_set_service_availability):
(camel_op_queue_get_service_availability):
new funcs.
* camel/camel-op-queue.c (camel_op_new):
(camel_op_free):
new funcs. Uses glib mem chunks.
svn path=/trunk/; revision=1237
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-17 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder-pt-proxy.c (_init_with_store):
added notify io_channel.
* (camel_op_queue_run_next_op): new func.
run the next operation.
svn path=/trunk/; revision=1236
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-17 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-op-queue.h:
* camel/camel-op-queue.c:
New object. Operation queue. Meant to be used in
non-blocking proxy objects.
svn path=/trunk/; revision=1231
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* First proxy (pthread based) implementation starts.
1999-09-14 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/Makefile.am (libcamel_la_SOURCES):
added camel-folder-pt-proxy.[ch] to the build
process.
* camel/camel-folder-pt-proxy.c (_init_with_store):
started implementation of the pthread-based
folder proxy.
svn path=/trunk/; revision=1223
|
|
|
|
| |
svn path=/trunk/; revision=1220
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-08 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/providers/MH/mh-summary.c
(mh_load_summary):
(mh_save_summary):
(mh_create_summary):
implemented summary (files) for MH folders.
* camel/providers/MH/camel-mh-folder.c
(_get_message_by_uid): implemented.
(camel_mh_folder_class_init):
(_get_message_uid): implemented
svn path=/trunk/; revision=1219
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-08 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/providers/MH/camel-mh-folder.c
(_get_message_by_uid): impemented.
* camel/camel-folder.c:
(camel_folder_get_message_uid_by_number):
const'ified uid.
(camel_folder_get_message_by_uid): idem
removed stupid camel_folder_get_message_uid_by_number
method.
svn path=/trunk/; revision=1215
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-08 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder.c (camel_folder_has_uid_capability):
(camel_folder_get_message_uid):
(camel_folder_get_message_uid_by_number):
(camel_folder_get_message_by_uid):
(camel_folder_get_uid_list):
Documented UID methods.
svn path=/trunk/; revision=1193
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-08 bertrand <Bertrand.Guiheneuf@aful.org>
* tests/ui-tests/store_listing.c (close_all):
close all open folders and stores. (necessary
for UID list saving ).
* camel/providers/MH/mh-uid.c (mh_generate_uid_list):
fix: store UID list in CamelMHFolder object.
* camel/providers/MH/camel-mh-folder.c (_open):
read or create UID list.
(_close): save UID list.
svn path=/trunk/; revision=1192
|
|
|
|
| |
svn path=/trunk/; revision=1191
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-07 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/md5-utils.c (md5_get_digest_from_file):
correct parameter decl (const)
* camel/md5-utils.h: typo.
* camel/providers/MH/mh-uid.c
More work on UID stuff for MH.
(mh_save_uid_list):
(mh_load_uid_list):
(mh_generate_uid_list):
new funcs. Manage on-disk uid list.
* camel/providers/MH/mh-utils.c (mh_is_a_message_file):
Util routines live here now.
svn path=/trunk/; revision=1190
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-07 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/md5-utils.c
Documented all funcs.
(md5_get_digest_from_stream):
correct typo.
(md5_get_digest_from_file):
same typo corrected.
svn path=/trunk/; revision=1189
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-07 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/md5-utils.h :
raw routines are declared public now.
Md5 use has to be versatile.
* camel/providers/MH/mh-uid.c (mh_uid_get_for_file):
new func. Returns an UID for an MH message.
svn path=/trunk/; revision=1187
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-06 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/md5-utils.h:
* camel/md5-utils.c:
(md5_get_digest_from_file):
new function : get file md5 signature.
To be used in providers code.
svn path=/trunk/; revision=1186
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-06 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/md5-utils.h:
* camel/md5-utils.c:
(md5_get_digest_from_stream):
new methods.
svn path=/trunk/; revision=1185
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-06 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/md5-utils.h:
* camel/md5-utils.c:
changed names to follow camel style.
`
svn path=/trunk/; revision=1184
|
|
|
|
|
|
|
|
|
| |
1999-09-06 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/md5-utils.c: imported md5 coding
routine from rpm. Compiles.
svn path=/trunk/; revision=1182
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-05 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-folder.c (camel_folder_has_uid_capability):
(camel_folder_get_message_uid):
(camel_folder_get_message_uid_by_number):
(camel_folder_get_message_by_uid):
(camel_folder_get_uid_list):
Basic UID framework.
svn path=/trunk/; revision=1181
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-05 bertrand <Bertrand.Guiheneuf@aful.org>
* devel-docs/misc/ref_and_id_proposition.txt:
New revision. Some fixes.
* camel/camel-folder.h (struct _CamelFolder): added
uid_capability field.
* started to work on UIDs
svn path=/trunk/; revision=1180
|