| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Don't unref the GAsyncResult in finish functions. Do it after calling
g_simple_async_result_complete(). This allows the GAsyncReadyCallback
to be optional, and we'll still clean up resources properly.
Also, don't call g_simple_async_result_complete_in_idle() unless we're
completing an operation from a separate thread, which we're not in any
of the current cases.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
e_attachment_open_handle_error()
|
| |
|
| |
|
|
|
|
|
|
| |
This fix got dropped in the attachment rewrite. Also, ignore the
application's NoDisplay setting when building the "open with" menu.
That's mainly so "Document Viewer" shows up in the list.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We now require GLib >= 2.20 and GTK+ >= 2.16. Also removed all
GLIB_CHECK_VERSION and GTK_CHECK_VERSION workarounds for older versions.
|
|
|
|
|
| |
Oops, last commit only included the -new- files.
This also removes EExpander, which is no longer used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-01 Milan Crha <mcrha@redhat.com>
** Fix for bug #554418
* e-util/e-util.h: (e_util_guess_mime_type):
* e-util/e-util.c: (e_util_guess_mime_type): Guess mime_type based on
the file content only when permitted by the caller, otherwise
check based on the filename only, where it fallbacks if file
content guess fails.
* mail/em-utils.c: (em_utils_snoop_type):
* mail/em-popup.c: (emp_standard_menu_factory):
Guess mime_type based on the filename only.
* composer/e-msg-composer.c: (handle_uri),
(e_msg_composer_add_inline_image_from_file): Guess mime_type based
on the file content, if failed, then on the filename.
* widgets/misc/e-attachment.c: (attachment_guess_mime_type):
Allow guessing mime_type based on the file content.
* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
* calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory):
Allow/disallow guessing of the mime_type based on the file content.
svn path=/trunk/; revision=36529
|
|
|
|
| |
svn path=/trunk/; revision=36116
|
|
|
|
| |
svn path=/trunk/; revision=35665
|
|
|
|
|
|
|
| |
pulling in <gio/gio.h>. We still need to include gio.h explicitly
for a little while longer.
svn path=/trunk/; revision=35607
|
|
|
|
|
|
|
|
|
|
| |
2008-06-06 Matthew Barnes <mbarnes@redhat.com>
** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
GTK_DISABLE_SINGLE_INCLUDES defined. (#536637)
svn path=/trunk/; revision=35606
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #534360
Migrate from deprecated GtkObject symbols to GObject equivalents.
Touches over 150 files in all components; too many to list.
svn path=/trunk/; revision=35526
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-17 Milan Crha <mcrha@redhat.com>
** Fix for bug #526741 (gnome-vfs to gio/gvfs port)
* configure.in: Drop dependency on gnome-vfs, depend on gio instead.
* addressbook/gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs.
* calendar/gui/e-meeting-store.c: (start_async_read), (freebusy_async),
(async_read): Read data with gio, not with gnome-vfs.
* calendar/gui/e-meeting-store.c: (async_close): Function removed.
* calendar/gui/migration.c:
* calendar/gui/e-memos.c:
* calendar/gui/alarm-notify/notify-main.c:
* calendar/gui/e-tasks.c:
* calendar/gui/main.c:
* calendar/gui/e-meeting-list-view.c:
Do not include gnome-vfs.
* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
* calendar/gui/dialogs/comp-editor.c: (attachment_guess_mime_type):
Function removed, use e-util function instead.
* calendar/gui/e-cal-popup.c: (temp_save_part):
Reflect changes in CamelStreamVFS.
* calendar/gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free),
(ecalp_standard_menu_factory): Use gio to fill popup and launch app.
* calendar/gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb):
* calendar/gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb):
New helper function to manage file:// urls for GtkHTML component.
* calendar/gui/e-cal-component-preview.c: (e_cal_component_preview_init):
* calendar/gui/e-cal-component-memo-preview.c:
(e_cal_comp_preview_url_requested_cb):
Use above helper function.
* calendar/gui/e-cal-component-memo-preview.c: (url_requested_cb):
* calendar/gui/e-cal-component-preview.c: (url_requested_cb): Function removed.
* composer/e-msg-composer.h: (e_msg_composer_guess_mime_type):
* composer/e-msg-composer.c: (e_msg_composer_guess_mime_type), (handle_uri),
(e_msg_composer_add_inline_image_from_file):
Use shared e_util_guess_mime_type instead of its own.
* e-util/e-gui-utils.c: Do not include gnome-vfs.
* e-util/e-util.c: (e_write_file_uri), (e_file_get_save_path):
* e-util/e-dialog-utils.c: (e_file_can_save), (e_file_check_local):
Use gio instead of gnome-vfs.
* e-util/e-util.h:
* e-util/e-util.c: (e_util_guess_mime_type), (e_util_filename_to_uri),
(e_util_uri_to_filename), (e_util_read_file): New helper functions.
* mail/Makefile.am:
* mail/em-vfs-stream.h:
* mail/em-vfs-stream.c: Removed from project, not used anywhere.
* mail/em-menu.c:
* mail/em-config.c: Do not include gnome-vfs.
* mail/mail-ops.c: (save_messages_exec), (save_part_exec):
Changes related to Data Server change of CamelStreamVFS.
* mail/em-format.c: (em_format_describe_part):
* mail/em-format-html-display.c: (efhd_bonobo_object), (efhd_find_handler),
(efhd_use_component), (efhd_bonobo_unknown), (efhd_check_server_prop),
(efhd_format_attachment): Drop use of deprecated gnome-vfs functions.
* mail/em-utils.c: (em_utils_snoop_type): Use gio to guess the mime_type.
* mail/em-popup.c: (emp_apps_open_in), (emp_apps_popup_free),
(emp_standard_menu_factory): Use gio to fill popup and launch app.
* plugins/import-ics-attachments/icsimporter.c: Do not include gnome-vfs.
* plugins/ipod-sync/ical-format.c: (do_save_calendar_ical):
* plugins/ipod-sync/ipod-sync.c: (destination_save_addressbook):
Write to gio GOutputStream instead of gnome-vfs handle.
* plugins/ipod-sync/format-handler.h: (open_for_writing):
* plugins/ipod-sync/ipod-sync.c: (open_for_writing): New helper function.
* plugins/publish-calendar/publish-format-fb.h: (publish_calendar_as_fb):
* plugins/publish-calendar/publish-format-fb.c: (write_calendar), (publish_calendar_as_fb):
* plugins/publish-calendar/publish-format-ical.h: (publish_calendar_as_ical):
* plugins/publish-calendar/publish-format-ical.c: (write_calendar), (publish_calendar_as_ical):
Use gio GOutputStream instead of gnome-vfs handle.
* plugins/publish-calendar/url-editor-dialog.c: (create_uri): Use glib function to escape URI.
* plugins/publish-calendar/publish-location.c: (migrateURI): Use EUri to parse URI.
* plugins/publish-calendar/publish-calendar.c: (publish_online), (unmount_done_cb),
(struct mnt_struct), (mount_ready_cb), (ask_password), (ask_question),
(mount_first), (publish):
Use gio instead of gnome-vfs for opening (remote) files.
* plugins/save-calendar/ical-format.c: (do_save_calendar_ical):
* plugins/save-calendar/csv-format.c: (do_save_calendar_csv):
* plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf):
Use gio GOutpuStream instead of gnome-vfs handle.
* plugins/save-calendar/format-handler.h: (open_for_writing):
* plugins/save-calendar/save-calendar.c: (open_for_writing): New helper function.
* shell/e-shell-window-commands.c: (command_quick_reference):
Use gio instead of gnome-vfs.
* widgets/misc/e-attachment.h: (struct _EAttachment):
* widgets/misc/e-attachment.c: (finalise), (init), (attachment_guess_mime_type),
(e_attachment_new), (struct DownloadInfo), (download_info_free),
(data_ready_cb), (download_to_local_path),
(e_attachment_new_remote_file):
Use gio instead of gnome-vfs to download remote files.
* widgets/misc/e-image-chooser.c: (image_drag_data_received_cb):
Use new util function to read file.
* widgets/misc/e-attachment-bar.c: (size_to_string): Stolen from gnome-vfs.
svn path=/trunk/; revision=35378
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-13 Milan Crha <mcrha@redhat.com>
** Fix for bug #460204
* e-attachment.c: (attachment_guess_mime_type):
Check whether found mime type is valid before returning it.
My thanks come to Effenberg whom helped me to debug it.
svn path=/trunk/; revision=35184
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #249501
* e-attachment.c: (attachment_guess_mime_type):
gnome_vfs_get_file_info expects URI,
thus if file_name contains '%' it failed.
svn path=/trunk/; revision=34971
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-11 Jeffrey Stedfast <fejj@novell.com>
Patch by Jean-Christophe BEGUE to fix bug #329692.
* e-attachment.c (e_attachment_new_from_mime_part): Get the
content size of the MIME part by calling the new
camel_mime_part_get_content_size() function.
svn path=/trunk/; revision=34802
|
|
|
|
|
|
|
|
|
| |
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
|
|
|
|
| |
svn path=/trunk/; revision=34340
|
|
|
|
| |
svn path=/trunk/; revision=34310
|
|
|
|
|
|
|
|
|
|
| |
2007-09-02 Matthew Barnes <mbarnes@redhat.com>
* Update FSF address in header comments (#469886).
Patch from Tobias Mueller.
svn path=/trunk/; revision=34151
|
|
|
|
| |
svn path=/trunk/; revision=34017
|
|
|
|
| |
svn path=/trunk/; revision=33940
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-03-20 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #419524
* Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.
* e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list):
* mail/em-migrate.c (emm_setup_initial):
* shell/e-component-registry.c (query_components):
* shell/e-shell-settings-dialog.c (load_pages):
* shell/e-shell-window-commands.c (command_quick_reference):
* tools/killev.c (main):
Use g_get_language_names() instead of gnome_i18n_get_language_list().
* e-util/e-util.c: Remove e_gettext().
* e-util/Makefile.am: Remove e-i18n.h.
svn path=/trunk/; revision=33319
|
|
|
|
| |
svn path=/trunk/; revision=32522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-05-26 Jeffrey Stedfast <fejj@novell.com>
Fix for Novell bug #178631
* e-attachment-bar.c: Changed the EAttachmentBarPrivate struct, we
no longer use a linked list, instead we use a GPtrArray - faster,
simpler (plus all the code used indexes anyway, so it was really
bizarre).
(free_attachment_list): Removed.
(attachment_destroy): New GWeakNotify callback for when an
EAttachment object gets destroyed. Remove the attachment from the
attachments array.
(add_common): Updated to add to an array rather than a linked
list. Also weak_ref the attachment object.
(remove_attachment): Removed.
(update): Updated to use the array instead of linked list of
attachments.
(e_attachment_bar_remove_selected): Same.
(e_attachment_bar_set_width): Same.
(e_attachment_bar_edit_selected): Same.
(e_attachment_bar_get_selected): Same.
(e_attachment_bar_get_attachment): Same.
(e_attachment_bar_get_all_attachments): Same and also optimised
since we can cheat now without having to g_slist_reverse.
(e_attachment_bar_get_parts): Same.
(destroy): Same.
(eab_drag_data_get): Same.
(init): Init attachments to a g_ptr_array_new
(e_attachment_bar_to_multipart): Updated to use the attachments
array.
(e_attachment_bar_get_num_attachments): Updated to return the
attachments->len.
(e_attachment_bar_get_download_count): Updated to use the array.
* e-attachment.c (finalise): Close the editor dialog if it is
open.
(async_progress_update_cb): If the phase is COMPLETE but the
file_size is 0, then treat it as an error. In the error case,
unref the attachment object (this will magically remove it from
the EAttachmentBar).
(close_cb): Don't unref the attachment object here anymore.
(e_attachment_edit): Don't ref the EAttachment anymore.
svn path=/trunk/; revision=32042
|
|
|
|
| |
svn path=/trunk/; revision=32024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-30 Kjartan Maraas <kmaraas@gnome.org>
* e-timezone-dialog/e-timezone-dialog.c: (get_zone_from_point):
* menus/gal-view-menus.c:
* misc/e-attachment-bar.c: (calculate_height_width),
(update_remote_file), (e_attachment_bar_get_attachment),
(class_init):
* misc/e-attachment.c: (async_progress_update_cb),
(download_to_local_path):
* misc/e-calendar-item.c: (e_calendar_item_get_arg),
(e_calendar_item_realize), (e_calendar_item_ensure_days_visible):
* misc/e-calendar.c: (e_calendar_drag_motion),
(e_calendar_drag_leave), (e_calendar_focus):
* misc/e-canvas-background.c: (ecb_get_property):
* misc/e-canvas.c: (e_canvas_class_init), (pick_current_item):
* misc/e-cell-date-edit.c: (e_cell_date_edit_do_popup),
(e_cell_date_edit_show_popup):
* misc/e-cell-percent.c:
* misc/e-charset-picker.c: (e_charset_picker_bonobo_ui_populate):
* misc/e-config-page.c: (e_config_page_class_init):
* misc/e-dateedit.c: (e_date_edit_set_date),
(e_date_edit_set_date_and_time_of_day),
(on_date_popup_date_selected):
* misc/e-dropdown-button.c: (e_dropdown_button_class_init):
* misc/e-expander.c: (get_expander_bounds), (e_expander_expose),
(is_in_expander_panel):
* misc/e-filter-bar.c: (option_changed), (build_items):
* misc/e-image-chooser.c: (e_image_chooser_init),
(image_drag_data_received_cb):
* misc/e-map.c: (e_map_size_allocate), (e_map_button_press),
(e_map_button_release), (e_map_motion), (e_map_zoom_to_location),
(e_map_zoom_out), (update_render_point), (repaint_point),
(zoom_in_smooth):
* misc/e-multi-config-dialog.c: (impl_response):
* misc/e-reflow.c: (e_reflow_realize), (e_reflow_event):
* misc/e-search-bar.c: (clear_search), (search_now_verb_cb),
(entry_activated_cb), (activate_button_clicked_cb),
(clear_button_clicked_cb):
* misc/e-selection-model.c: (e_selection_model_key_press):
* misc/e-send-options.c: (delay_until_date_changed_cb),
(e_sendoptions_get_need_general_options):
* misc/e-unicode.c: (e_stripped_char):
* table/e-cell-progress.c: (eprog_draw_border), (eprog_draw),
(eprog_event):
* table/e-cell-spin-button.c: (ecsb_event), (ecsb_focus),
(ecsb_unfocus), (ecsb_dispose):
* table/e-cell-text.c: (ect_draw), (ect_show_tooltip):
* table/e-cell-toggle.c: (etog_draw), (etog_event):
* table/e-cell-tree.c: (ect_max_width):
* table/e-cell-vbox.c:
* table/e-table-click-to-add.c: (etcta_event):
* table/e-table-config.c: (create_global_store):
* table/e-table-field-chooser-dialog.c:
* table/e-table-field-chooser-item.c: (etfci_find_button),
(etfci_reflow), (etfci_get_property), (etfci_realize):
* table/e-table-field-chooser.c:
(e_table_field_chooser_class_init):
* table/e-table-group-container.c: (etgc_unrealize):
* table/e-table-group.c: (e_table_group_new):
* table/e-table-header-item.c: (e_table_header_item_get_height),
(ethi_realize), (ethi_event):
* table/e-table-header-utils.c: (e_table_draw_elided_string),
(e_table_header_draw_button):
* table/e-table-item.c: (eti_set_property), (eti_get_property),
(eti_draw), (eti_event), (eti_cursor_change):
* table/e-table-scrolled.c: (e_table_scrolled_class_init):
* table/e-table-search.c:
* table/e-table-sort-info.c: (e_table_sort_info_save_to_node):
* table/e-table.c: (table_canvas_reflow_idle),
(table_canvas_size_allocate), (canvas_vbox_event),
(click_to_add_event), (do_drag_motion), (e_table_class_init):
* table/e-tree-scrolled.c: (e_tree_scrolled_class_init):
* table/e-tree.c: (tree_canvas_reflow_idle),
(tree_canvas_size_allocate), (e_tree_drag_get_data),
(do_drag_motion), (e_tree_class_init):
* text/e-text.c: (e_text_set_property), (e_text_draw),
(_do_tooltip), (primary_clear_cb), (_get_position),
(e_text_command): Tons of cleanups of the following sort:
- remove unused vars
- remove extraneous semi-colons
- add some comments where assignments were done without using
the results later
- remove break; statements after return foo;
- add casts in some places to be more type correct
- rename variables with name clashes
- s/if/ifdef in some cases
- mark some code static
- remove some unused functions
- use guint for 1-bit bitfields
svn path=/trunk/; revision=31371
|
|
|
|
|
|
|
|
|
| |
2005-12-18 Tor Lillqvist <tml@novell.com>
* e-attachment.c: Use gstdio wrappers. Construct glade file name
at run-time.
svn path=/trunk/; revision=30864
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-08-24 Srinivasa Ragavan <sragavan@novell.com>
* e-attachment.c (e_attachment_build_remote_file):
Fix for bug #314136. Shows filename in the remote download in
composer.
* e-attachment-bar.c (update): Better space management.
Kills one extra row that happens some times.
(e_attachment_bar_set_width): Just adjusts the size instead of
rebuild of the bar, which is the cause for the freeze. Fixes the
bug #313799. Remove the function e_attachment_bar_refresh
* e-attachment-bar.h: Remove the function e_attachment_bar_refresh
svn path=/trunk/; revision=30234
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-08-17 Srinivasa Ragavan <sragavan@novell.com>
* e-attachment-bar.c
eab_drag_data_get: Use camel_url to construct url
(eab_icon_clicked_cb) (e_attachment_bar_new):
Fixed part of bug #312224. It handles double click on a attachment
icon and calls gnome_url_show.
* e-attachment.[ch] (finalise) (init): Add a new member to preserve
the stored location
(e_attachment_new)(e_attachment_build_remote_file): Camel_url to
construct urls
svn path=/trunk/; revision=30160
|
|
|
|
|
|
|
|
|
| |
2005-08-16 Srinivasa Ragavan <sragavan@novell.com>
* e-attachment.c (download_to_local_path) (e_attachment_edit): Fixed
few warnings
svn path=/trunk/; revision=30128
|
|
|
|
|
|
|
|
|
| |
2005-08-16 Srinivasa Ragavan <sragavan@novell.com>
* mail/em-format-html-display.c:
* widgets/misc/e-attachment*.c: Fix for bug #312545
svn path=/trunk/; revision=30126
|
|
|
|
|
|
|
|
|
|
| |
2005-07-29 Srinivasa Ragavan <sragavan@novell.com>
* e-attachment.c: (e_attachment_new_from_mime_part) used ref instead of
copying the entire mime part. Also commited
(2005-07-15 Diego Gonzalez <diego@pemas.net>) patch
svn path=/trunk/; revision=29921
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-20 Srinivasa Ragavan <sragavan@novell.com>
* e-attachment-bar.[ch]:(remove_attachment) (update) (e_attachment_bar_get_selector)
(e_attachment_bar_get_attachment) (destroy) (init) (e_attachment_bar_new)
(e_attachment_bar_add_attachment) (e_attachment_bar_attach_remote_file)
Cleaned up most of it. Added the DnD.
* e-attachment.[ch]: (real_changed) (class_init) (init) (e_attachment_new)
(e_attachment_new_remote_file) (e_attachment_build_remote_file): Moved the
remote download code from bar to here and few cleanups.
svn path=/trunk/; revision=29813
|
|
2005-07-11 Srinivasa Ragavan <sragavan@novell.com>
* configure.in: Added gnome-vfs-module-2.0 to E_WIDGET_CFLAGS.
* Added e-attachment-bar.[ch] e-attachment.[ch] e-attachment.glade to
directory structure and the Makefile.am
svn path=/trunk/; revision=29708
|