2000-11-01 Chris Toshok <toshok@helixcode.com>
* subscribe-dialog.h: add fields search_entry and search_top.
* subscribe-dialog.c: add mail-ops.c style async operations for
getting the store (to remove deadlock in the case where a auth
dialog is dismissed at startup and then the subscribe dialog is
brought up), and subscribing/unsubscribing to folders. One case
remains, that is getting the list of all folders.
(subscribe_search): flesh out this function
(build_tree): use the search_top field so we can search for
groups/folders.
(subscribe_dialog_destroy): free search_top.
(subscribe_dialog_construct): init search_top.
svn path=/trunk/; revision=6331
mail-summary now has clickable names to change to that view
executive summary remembers what components are running when you close.
selection now blocks ES updating so it won't be cleared.
svn path=/trunk/; revision=6330
Added a way to change the window title and the current view from Components
mail-summary now has clickable names to change to that view
executive summary remembers what components are running when you close.
Selections are not cleared by ES updates.
svn path=/trunk/; revision=6329
* Evolution-Storage.idl: Add "highligted" field to Folder. Add
update_folder method to StorageListener to change display_name and
highlight status.
* e-folder.c: Add "highlighted" to EFolder to match the
Evolution::Folder type.
(e_folder_get_highlighted, e_folder_set_highlighted): Added
* evolution-storage-listener.c
(impl_Evolution_StorageListener_update_folder, etc):
* e-storage.c (e_storage_updated_folder, etc):
* e-corba-storage.c (impl_StorageListener_update_folder, etc):
Implement update_folder.
* e-storage-set.c (storage_updated_folder_cb, etc): Re-emit
updated_folder signals received from EStorage.
* e-storage-set-view.c (various): Add another model column to the
ETable and set it up as a bold_column based on
e_folder_get_highligted.
(updated_folder_cb, etc): Listen to EStorageSet update_folder
signal and emit ETree node_changed signals.
* evolution-storage.c (evolution_storage_update_folder): Client
function to update a folder's display_name and highlighted status.
* Evolution-LocalStorage.idl:
* evolution-local-storage.c:
* e-local-storage.c: Change set_display_name to update_folder to
match Evolution::StorageListener
svn path=/trunk/; revision=6328
2000-11-01 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Don't create
the To, Cc, and Bcc lists based only on the address, use both the
name and address and camel_address_encode() them.
svn path=/trunk/; revision=6326
2000-11-01 Jeffrey Stedfast <fejj@helixcode.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Fix the
CTE kludge, calculate the best mime transfer encoding for the mime
part and use that. Include e-msg-composer-select-file.h
svn path=/trunk/; revision=6325
2000-11-01 Jeffrey Stedfast <fejj@helixcode.com>
* filter-datespec.c (validate): Check to make sure the user has
entered a valid date.
svn path=/trunk/; revision=6324
2000-11-01 Jeffrey Stedfast <fejj@helixcode.com>
* mail-autofilter.c (rule_from_message): If the name is NULL or
empty, then set the title to "Mail from <address>". Closes
bugzilla bug #777. Also when filtering on Subject, set the file
name to "Subject is <subject>" rather than just "<subject>" - I
think this is a bit more user-friendly.
(strip_re): Use unsigned char when passing to is<type>()
functions from ctype.h.
(rule_add_subject): Use the "is" rule instead of "contains".
svn path=/trunk/; revision=6321
* mail-display.c (pixbuf_gen_idle): Lots of fixes and
simplifications. Should get rid of the "missing icon" problem.
There is still a problem with some images failing to get
thumbnails, even though they display correctly.
(pixbuf_for_mime_type): New function to try really hard to get the
right icon for a MIME type, including looking in mc and nautilus's
pixmap directories.
(on_object_requested): Always use pixbuf_gen_idle, even for
non-image types, to prevent code duplication.
svn path=/trunk/; revision=6317
* modified or added a bunch of .cvsignore to ignore
generated files, which are not in repository.
* call *textdomain() in various files only when
ENABLE_NLS is defined
svn path=/trunk/; revision=6310
2000-10-31 Jeffrey Stedfast <fejj@helixcode.com>
* mail-format.c (mail_get_message_body): Shouldn't we be
strdup'ing the content? This seems to fix the memory corruption
problems.
(mail_generate_reply): Make sure that the last char in the
generated reply text is '\0' (when bodt text doesn't end with a
\n, a random char will appear otherwise).
svn path=/trunk/; revision=6306
2000-10-31 Federico Mena Quintero <federico@helixcode.com>
* gui/event-editor.c (count_by_xxx): Hmmm. SHRT_MAX changed to
ICAL_RECURRENCE_ARRAY_MAX in libical. Deal with it.
(fill_recurrence_widgets): Likewise.
(simple_recur_to_comp_object): Fixed incorrect assertion. The
weekday picker is not the immediate child of the recurrence
special container.
(fill_recurrence_widgets): Call make_recurrence_special() after
setting the recurrence period type.
(fill_ending_date): Call make_recurrence_ending_special(). This
would be so much nicer if GTK+ were model/view all over.
svn path=/trunk/; revision=6305
* camel-service.c (service_disconnect): Add a new argument, clean,
that says whether or not to try to disconnect cleanly.
* camel-remote-store.c (remote_send_string, remote_send_stream,
remote_recv_line): disconnect uncleanly on failure to prevent
infinite loops when providers would normally send commands from
disconnect(). Remove some unneeded CamelException goo.
* providers/smtp/camel-smtp-transport.c (smtp_disconnect):
* providers/pop3/camel-pop3-store.c (pop3_disconnect):
* providers/nntp/camel-nntp-store.c (nntp_store_disconnect):
* providers/imap/camel-imap-store.c (imap_disconnect): Don't send
QUIT/LOGOUT if !clean.
svn path=/trunk/; revision=6303
2000-10-31 Jeffrey Stedfast <fejj@helixcode.com>
* filtertypes.xml: Updated to allow the user to select "sounds
like" or "does not sound like" (uses header-soundex).
* filter-message-search.c (header_matches): Oops. Should be using
!g_strncasecmp. This should fix it so this filter match works
right.
(header_starts_with): Same.
(header_ends_with): Same.
(header_soundex): New filter callback for soundex matching (yes,
it's probably a bloated feature but hey, it was fun to code)
svn path=/trunk/; revision=6302
2000-10-31 Jeffrey Stedfast <fejj@helixcode.com>
* filter-folder.c (validate): Override the default validate
function to only return TRUE if a folder has been selected.
* filter-editor.c (rule_add): Validate that all the rule parts and
action parts are correctly filled in.
(rule_edit): Same.
svn path=/trunk/; revision=6300
2000-10-31 Jeffrey Stedfast <fejj@helixcode.com>
* filtertypes.xml: Updated to add an action to set message flags.
* filter-driver.c (do_flag): New callback to set message info
flags.
* filter-element.c (filter_element_set_data): New convenience
function to set the data on a FilterElement.
* filter-url.c (get_widget): Set the sources list to point to the
FilterElement data.
svn path=/trunk/; revision=6298
2000-10-31 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (cursor_cb): Let the warning make sense
(compute_pid): remove
(local_record_from_ecard): Create local record from ecard - not finished
(local_record_from_uid): Obtain local_record from uid with the proper
e-book way
(set_status_cleared): Add empty callback
(add_archive_record): kill
(delete_archive_record): kill
(archive_record): Add empty callback
(conduit_get_gpilot_conduit): Update signal connects
* backend/pas/pas-backend-file.c (vcard_change_type): Function to determine
the type of change - not finished
(pas_backend_file_search_changes): Create a view and callback based on
how the cards have changed
(pas_backend_file_process_get_changes): Implement the get changes operation
for files
(pas_backend_file_process_client_requests): Add GetChanges method for
processing
* backend/pas/pas-book.c (pas_book_queue_get_changes): Add changes to
the list
(impl_Evolution_Book_get_changes): implement object method
(pas_book_get_epv): Add get changes to epv
(pas_book_respond_get_changes): Respond to the get changes operation
* backend/pas/pas-book.h: Add GetChanges PASOperation
* backend/idl/addressbook.idl: add get_changes and respond_get_changes
methods
* backend/ebook/e-book.c (e_book_get_changes): Client function
to a view of the changed objects
* backend/ebook/e-book.h: New prototype
2000-10-31 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.h: Remove add/del/mod hashes and
add changed_hash.
* conduits/calendar/calendar-conduit.h: ditto
* conduits/todo/todo-conduit.c (next_changed_item): Utility function
to get the next "really" changed item (changed status can be cleared now)
(compute_status): Compute status based on changed_hash
(pre_sync): Fill changed_hash and counts adds/mods/dels
(set_status_cleared): New callback handler - avoid double syncing
(for_each_modified): Use next_changed_item to iterate
(add_archive_record): kill
(delete_archive_record): kill
(archive_record): New callback handler - mark/unmark archive status
(conduit_get_gpilot_conduit): Adjust signal connects
* conduits/calendar/calendar-conduit.c: ditto
svn path=/trunk/; revision=6297
2000-10-31 Jeffrey Stedfast <fejj@helixcode.com>
* mail-autofilter.c (filter_gui_add_for_mailing_list): Match "is"
rather than "contains" now that we have the "is"-rule.
svn path=/trunk/; revision=6295
2000-10-31 Federico Mena Quintero <federico@helixcode.com>
* filter-rule.c (get_widget): Do not pad around the Name hbox;
its parent already has spacing.
Do not pad around the inframe's children; the inframe already has
spacing.
svn path=/trunk/; revision=6294
2000-10-30 Federico Mena Quintero <federico@helixcode.com>
* gui/event-editor.c (sensitize_recur_widgets): New function. We
split it from the radio callback so that we can call it explicitly
from fill_recurrence_widgets().
(fill_recurrence_widgets): Call sensitize_recur_widgets() as
appropriate.
svn path=/trunk/; revision=6293
you need fresh CVS gtkhtml to try that
2000-10-31 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (prepare_engine): new function, tries prepare
editor engine
(mark_orig_text): marks original text in editor
(set_editor_text): call mark_orig_text
(create_composer): call prepare_engine
* Makefile.am (IDL_GENERATED): added HTMLEditor generated files to
IDL_GENERATED
($(IDL_GENERATED)): generate also files from HTMLEditor.idl
(libcomposer_la_SOURCES): added listener.[ch]
* e-msg-composer.h: added editor_engine and editor_listener to
EMsgComposer
* listener.[ch]: new files, implementation of HTMLEditor::Listener
svn path=/trunk/; revision=6292
2000-10-30 Kjartan Maraas <kmaraas@gnome.org>
* e-calendar-item.c: #include <string.h> to get rid of warning.
* e-clipped-label.c: Same here.
svn path=/trunk/; revision=6287
2000-10-30 Jeffrey Stedfast <fejj@helixcode.com>
* filter-option.c (option_activate): If a regex option is
selected, change the FilterElement data to TRUE else set to FALSE.
* filter-rule.c (more_parts): Validate the previously entered
FilterPart before allowing the user to add a new FilterPart.
* filter-part.c (filter_part_validate): New convenience function
to validate an entire FilterPart expression.
* filter-input.c (validate): Validate the entry text if it
contains a regular expression.
* filter-element.[c,h]: New virtual function to validate the
contents of the FilterElement (useful for regex and sexp).
(filter_element_validate): You get the idea...
svn path=/trunk/; revision=6285
2000-10-30 Jeffrey Stedfast <fejj@helixcode.com>
* filter-input.c:
* filter-option.c:
* filter-part.c: Pure formatting changes, no actual code
changes. Since I know I'm going to get flamed for this, I'm sorry
but I'll probably have to modify code in these files and it's
easier if the code is quickly readable by me.
* filter-rule.c (get_widget): Set the "remove" button insensitive
for <= 1 instead of == 1.
svn path=/trunk/; revision=6283
2000-10-30 Kjartan Maraas <kmaraas@gnome.org>
* backend/e-book/e-card.c: Fixed marking of strings
for translation. Use "_(" instead of "_ (".
* gui/component/addressbook-factory.c: Add missing
calls to bindtextdomain() and textdomain noticed by
Dan Winship.
* gui/component/addressbook.c: Marked string for translation.
svn path=/trunk/; revision=6282