* configure.in: Define EVO_MARSHAL_RULE, which creates glib
marshaller .c and .h files that don't cause gcc warnings
* marshal.mk: The Makefile fragment used by EVO_MARSHAL_RULE.
(Can't include newlines in an AC_SUBST, so we have to use
AC_SUBST_FILE)
* Makefile.am (EXTRA_DIST): add marshal.mk
svn path=/trunk/; revision=21910
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): Remove gtk_window_set_policy
call since that function is deprecated and it was just setting
everything to the default values anyway.
* gui/widgets/e-addressbook-util.c: #include gal/util/e-util.h for
e_free_object_list.
svn path=/trunk/; revision=21904
* e-component-listener.c (connection_listen_cb): Fix a non-ANSI
switch label.
* e-gui-utils.c: only include "art/empty.xpm" if
HAVE_LIBGNOMEUI_GNOME_ICON_LOOKUP_H isn't defined
* e-xml-hash-utils.c (e_xml_to_hash): Deconstify a non-const
variable to fix a warning.
svn path=/trunk/; revision=21901
* e-messagebox.c: Remove this, since it claims to be deprecated,
and nothing is actually using it any more.
* Makefile.am: Remove e-messagebox.[ch]
svn path=/trunk/; revision=21900
* e-combo-button.c (create_empty_pixmap_widget): Create the pixbuf
from empty.xpm rather than just calling gdk_pixbuf_new(), which
doesn't actually initialize the pixel data.
svn path=/trunk/; revision=21898
2003-07-22 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.c (e_day_view_get_selected_events):
* gui/e-week-view.c (e_week_view_get_selected_events): manage the
case where the selected events are the popup menu ones.
svn path=/trunk/; revision=21895
2003-07-22 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch]: added "get_selected_events",
and "update_query" virtual methods.
(e_cal_view_class_init): initialize new virtual methods.
(e_cal_view_destroy): destroy new private members.
(e_cal_view_get_selected_events, e_cal_view_set_cal_client,
e_cal_view_get_cal_client): new functions.
(e_cal_view_cut_clipboard, e_cal_view_copy_clipboard,
e_cal_view_paste_clipboard): merged clipboard stuff.
* gui/e-day-view.c (e_day_view_cut_clipboard,
e_day_view_copy_clipboard, e_day_view_paste_clipboard): removed.
(e_day_view_get_selected_events): made these private as the
implementation of the 'get_selected_events' base class virtual method.
* gui/e-week-view.c (e_week_view_get_selected_events): ditto.
(e_week_view_cut_clipboard, e_week_view_copy_clipboard,
e_week_view_paste_clipboard): removed.
* gui/calendar-commands.c (sensitize_calendar_commands): call
e_cal_view_get_selected_events.
* gui/gnome-cal.c: removed a lot of redundant code thanks to the
above changes.
svn path=/trunk/; revision=21893
* backend/ebook/e-card.c: (e_card_new,
e_card_new_with_default_charset): Make the "vcard" arg const.
...: add lots and lots of other consts as a side effect
svn path=/trunk/; revision=21888
2003-07-22 Antonio Xu <antonio.xu@sun.com>
* e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect
to "delete_event" signal with startup_wizard_delete. [#46284]
svn path=/trunk/; revision=21885
2003-07-22 Antonio Xu <antonio.xu@sun.com>
* e-shell-importer.c: (show_import_wizard): use
g_signal_connect_after to connect "prepare" signal.
(prepare_intelligent_page): Display some error log and disable
forward button rather than jump to finish page. [#46017]
svn path=/trunk/; revision=21884
2003-07-21 Hasbullah Bin Pit <sebol@ikhlas.com>
* ms.po: Added initial Malay Translation by
MIMOS Open Source Development Group <syed@mimos.my>
svn path=/trunk/; revision=21877
2003-07-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-message.c (find_best_encoding): Updated to convert
to/from the correct charset (since content is no longer
necessarily in UTF-8).
(best_encoding): Free the charset string when we're done with it.
svn path=/trunk/; revision=21863
2003-07-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-fs.c (stream_read): Increment the seekable stream
position by the number of bytes read. Oops.
(stream_write): Same here.
svn path=/trunk/; revision=21862
2003-07-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-fs.c (stream_read): Increment the seekable stream
position by the number of bytes read. Oops.
svn path=/trunk/; revision=21861
* gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose):
disconnect from model signals to prevent a race condition at
shutdown where the view gets destroyed and then the model notices
the backend dying before being destroyed itself.
* gui/widgets/e-addressbook-reflow-adapter.c
(addressbook_finalize): add, to free priv.
(e_addressbook_reflow_adapter_class_init): set it up
* gui/component/e-address-popup.c (e_address_popup_set_free_form):
Don't leak strings
* gui/component/addressbook-storage.c (load_source_data): don't
leak xml data.
* gui/component/addressbook-component.c (new_item_cb): don't leak
the new card.
svn path=/trunk/; revision=21858
2003-07-03 JP Rosevear <jpr@ximian.com>
* e-xml-hash-utils.c (foreach_save_func): encode the text
(e_xml_from_hash): pass xmlDoc to foreach method
(e_xmlhash_new): check for file existence
(e_xmlhash_destroy): only destroy the hash if it exists
svn path=/trunk/; revision=21856
2003-07-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch]: new base class for calendar views.
* gui/e-day-view.[ch]:
* gui/e-week-view.[ch]: base these classes on ECalView.
* gui/Makefile.am: added new files.
svn path=/trunk/; revision=21854
2003-07-17 Timo Sirainen <tss@iki.fi>
** See bug #42573
* providers/imap/camel-imap-folder.c (do_append): Only free the
response after we have finished the literal request, otherwise we
could try processing folder updates incorrectly.
svn path=/trunk/; revision=21851
2003-07-16 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.[ch] (gnome_calendar_purge): new function,
which uses a CalQuery to retrieve the objects older than a given date.
(check_instance_cb): callback for cal_recur_generate_instances.
(purging_obj_updated_cb): call check_instance_cb on each recurrence
to double-check the event can be deleted.
(purging_query_done_cb, purging_eval_error_cb): needed callbacks to
finish the query.
(gnome_calendar_destroy): free new members.
* gui/calendar-commands.c (purge_cmd): added implementation for the
'Purge' menu item.
svn path=/trunk/; revision=21846
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_encrypted): We don't have
camel_pgp_mime_is_rfc2015_encrypted() anymore so just look at the
protocol for now.
(mail_format_data_wrapper_write_to_stream): Updated for the new
way camel handles content objects.
svn path=/trunk/; revision=21844
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): don't set
the rawtext bit anymore.
* e-msg-composer.c (build_message): Convert the plain part's
content stream from UTF-8 to whatever charset we want.
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (popup_menu_event): Fix warnings
and other breakage introduced by Maxx.
svn path=/trunk/; revision=21843
2003-07-14 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.h: Add the CamelMimePartEncodingType definition
here.
* camel-mime-part.h: Remove the CamelMimePartEncodingType
definition.
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): Don't do any of the
auto-detection we used to do here anymore. Just read the content
into a memory buffer and record the encoding type.
(camel_mime_part_construct_content_from_parser): Don't mangle the
Content-Type struct here anymore.
* camel-data-wrapper.c (camel_data_wrapper_init): Init encoding to
DEFAULT.
(write_to_stream): If the stream needs to be decoded, decode it.
svn path=/trunk/; revision=21842
2003-07-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_encrypted): We don't have
camel_pgp_mime_is_rfc2015_encrypted() anymore so just look at the
protocol for now.
svn path=/trunk/; revision=21841
2003-07-16 Andrew Wu <Yang.Wu@sun.com>
Fixes#45774
* gui/e-day-view.c (e_day_view_goto_start_of_work_day):
implemented select the time that begins a work day.
(e_day_view_goto_end_of_work_day):
implemented select the time that ends a work day.
svn path=/trunk/; revision=21839
2003-07-16 Andrew Wu <Yang.Wu@sun.com>
Fixes#45772
* gui/gnome-cal.c(gnome_calendar_goto_date): implemented Alt+Left/Right
to go to the same day of the previous/next week.
* gui/gnome-cal.h:add two element in GnomeCalendarGotoDateType.
svn path=/trunk/; revision=21836
2003-07-15 Jeffrey Stedfast <fejj@ximian.com>
* camel-stream-fs.c (stream_read): If we read 0 bytes, then set
eos to TRUE.
svn path=/trunk/; revision=21820
2003-07-15 Federico Mena Quintero <federico@ximian.com>
* folder-browser.c (message_list_drag_data_received): Handle
invalid URIs, or more likely, the last empty element in a URI list
--- g_strsplit() will yield { "uri1", "", NULL }. Fixes#46398.
* component-factory.c (destination_folder_handle_drop): Likewise.
svn path=/trunk/; revision=21818