Commit Graph

18065 Commits

Author SHA1 Message Date
a58c26d7a5 Use camel_read(). (stream_write): Use camel_write().
2003-07-08  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-raw.c (stream_read): Use camel_read().
	(stream_write): Use camel_write().

	* camel-stream-fs.c (stream_read): Use camel_read().
	(stream_write): Use camel_write().

svn path=/trunk/; revision=21758
2003-07-08 17:48:32 +00:00
abb46e8ee1 Use camel_strcase_hash/equal.
2003-07-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (mail_generate_reply): Use
	camel_strcase_hash/equal.

svn path=/trunk/; revision=21756
2003-07-07 21:44:18 +00:00
0b15e4defd Updated to use camel_strcase_hash/equal.
2003-07-07  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Updated to
	use camel_strcase_hash/equal.

svn path=/trunk/; revision=21755
2003-07-07 21:33:14 +00:00
01702d56bf Updated to use the camel-file-utils version of mkdir.
2003-07-07  Jeffrey Stedfast  <fejj@ximian.com>

	* upgrade-mailer.c: Updated to use the camel-file-utils version of
	mkdir.

svn path=/trunk/; revision=21754
2003-07-07 21:00:12 +00:00
300101f470 Use camel_mkdir().
2003-07-07  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/nntp/camel-nntp-folder.c (camel_nntp_folder_new): Use
	camel_mkdir().

	* providers/imap/camel-imap-folder.c (camel_imap_folder_new): Use
	camel_mkdir().

	* camel-session.c (get_storage_path): Use camel_mkdir().

	* camel-store.c (camel_mkdir_hier): Removed.

	* camel-data-cache.c (camel_data_cache_new): Updated to use
	camel_mkdir().
	(data_cache_path): Same.

	* camel-file-utils.c (camel_mkdir): Renamed and documented.
	(camel_file_util_safe_filename): Documented.
	(camel_read): Moved here from camel-io.c
	(camel_write): Same.

	* camel-io.[c,h]: Removed.

	* camel-uid-cache.c (camel_uid_cache_new): Use the
	camel-file-utils.c version of mkdir.

svn path=/trunk/; revision=21753
2003-07-07 20:58:24 +00:00
393aafe6b2 removed debug printfs
svn path=/trunk/; revision=21752
2003-07-07 19:20:25 +00:00
8bbe0f34af Updated for string-utils namespace changes.
2003-07-07  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-session.c (camel_session_init): Updated for string-utils
	namespace changes.

	* camel-provider.c: Updated for string-utils namespace changes.

	* camel-mime-part.c (init_header_name_table): Updated for
	string-utils namespace changes.

	* camel-mime-message.c (camel_mime_message_class_init): Updated
	for string-utils namespace changes.
	(camel_mime_message_init): Same.

	* camel-mime-filter-enriched.c
	(camel_mime_filter_enriched_class_init): Updated for string-utils
	namespace changes.

	* camel-folder-summary.c (camel_folder_summary_init): Updated for
	string-utils namespace changes.

	* camel-string-utils.[c,h]: Renamed from string-utils.[c,h] and
	also namespaced all functions.

svn path=/trunk/; revision=21751
2003-07-07 19:18:57 +00:00
26709642fa fixed the changelog
svn path=/trunk/; revision=21750
2003-07-07 18:23:48 +00:00
e36b12c46c Apply a From-filter when dragging as a test/uri-list and message/rfc822.
2003-07-02  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (message_list_drag_data_get): Apply a
	From-filter when dragging as a test/uri-list and
	message/rfc822. Fixes bug #45617. Also free the uids ptrarray for
	the text/uri-list case.

svn path=/trunk/; revision=21749
2003-07-07 18:23:47 +00:00
4e71081ba5 Updated Spanish translation by Francisco Javier F. Serrador
2003-07-07 Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation by
                 Francisco Javier F. Serrador <serrador@arrakis.es>.

svn path=/trunk/; revision=21745
2003-07-07 14:28:54 +00:00
742a5252c8 Fixes #45910
2003-07-07  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #45910

	* gui/dialogs/task-editor.c (task_editor_class_init): set up the
	handler for the set_cal_client virtual method.
	(task_editor_set_cal_client): added missing virtual method.

2003-07-07  Jack Jia <jack.jia@sun.com>

	* cal-client/cal-client.c (cal_client_get_static_capability): add
	g_return_val_if_fail to check the input param.

svn path=/trunk/; revision=21743
2003-07-07 09:51:35 +00:00
aecbd37011 make sure we don't unref the sorter more than once.
2003-07-04  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-reflow.c (e_reflow_dispose): make sure we don't
	unref the sorter more than once.

svn path=/trunk/; revision=21741
2003-07-05 06:20:13 +00:00
64a0712bb1 added a paned widget to contain the task list and a HTML widget for
2003-07-03  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-tasks.c (setup_widgets): added a paned widget to contain
	the task list and a HTML widget for displaying the task's details.
	Connect to "cursor_change" signal on the ETable.
	(table_cursor_change_cb): update the HTML view every time the selected
	task changes.
	(timet_to_str_with_zone): new function copied from alarm daemon.
	(url_requested_cb): callback for "url_requested" signal on the
	GtkHTML widget.
	(on_link_clicked_cb): respond to clicks linked on the HTML widget.
	(vpaned_resized_cb): set the configuration entry for the task vpane
	position.
	(e_tasks_destroy): free new member.
	(e_tasks_construct): connect to "obj_removed" signal on the CalClient.
	(client_obj_removed_cb): if the updated object is the one being
	displayed in the HTML widget, update it.

	* gui/calendar-config.[ch] (calendar_config_get_task_vpane_pos):
	(calendar_config_gset_task_vpane_pos): new functions.

	* gui/apps_evolution_calendar.schemas: added task vpane position.

svn path=/trunk/; revision=21740
2003-07-04 10:36:25 +00:00
a6f0914f29 Strip the signature from the body text. Fixes bug #45523. While we're
2003-07-02  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.c (mail_tool_forward_message): Strip the signature
	from the body text. Fixes bug #45523. While we're here, also fix
	the code to quote exactly the same way as the
	mail_tool_quote_message() function.
	(mail_tool_quote_message): The last arg should not be
	'want_plain', because that arg is for whether or not the body
	should be quoted.

	* folder-browser.c (message_list_drag_data_get): Apply a
	From-filter when dragging as a test/uri-list and
	message/rfc822. Fixes bug #45617. Also free the uids ptrarray for
	the text/uri-list case.

svn path=/trunk/; revision=21739
2003-07-03 18:36:51 +00:00
994243e216 Gone (pixbuf_gen_idle): Use e_icon_for_mime_type instead.
* mail-display.c (pixbuf_for_mime_type): Gone
        (pixbuf_gen_idle): Use e_icon_for_mime_type instead.

svn path=/trunk/; revision=21736
2003-07-03 12:29:24 +00:00
ccee5f3d1d Gone. (update): Use e_icon_for_mime_type instead.
* e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): Gone.
        (update): Use e_icon_for_mime_type instead.

        * Makefile.am (INCLUDES): remove EVOLUTION_IMAGESDIR define

svn path=/trunk/; revision=21735
2003-07-03 12:29:11 +00:00
425cd47d6e Check for gnome-icon-lookup.h (which could mean either plain GNOME 2.2 or
* configure.in: Check for gnome-icon-lookup.h (which could mean
        either plain GNOME 2.2 or Sun GNOME 2.0)

svn path=/trunk/; revision=21734
2003-07-03 12:28:43 +00:00
ef2bbff26f New function to return an icon for a MIME type, using GnomeIconTheme if
* e-gui-utils.c (e_icon_for_mime_type): New function to return an
        icon for a MIME type, using GnomeIconTheme if available or
        gnome-vfs and gnome-mime-data if not.

svn path=/trunk/; revision=21733
2003-07-03 12:28:22 +00:00
08759ca762 Fixes #45767
2003-07-03  Antonio Xu <antonio.xu@sun.com>

	Fixes #45767

	* conduits/todo/Makefile.am: removed libwombat from the build.

svn path=/trunk/; revision=21732
2003-07-03 12:23:44 +00:00
1608163840 Don't quote the charset value, the qop value, nor the response value.
2003-07-01  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-sasl-digest-md5.c (digest_response): Don't quote the
	charset value, the qop value, nor the response value. Fixes bug
	#45712.

svn path=/trunk/; revision=21730
2003-07-02 23:44:36 +00:00
7b887ab330 Fixes #44485
2003-07-02  Harry Lu <harry.lu@sun.com>

 	Fixes #44485

 	* gui/e-timezone-entry.c (e_timezone_entry_set_entry): pass a
 	new allocated string to gtk_entry_set_text instead of the one
 	that might come from gettext.

svn path=/trunk/; revision=21728
2003-07-02 21:24:03 +00:00
e712cc248a Change file url to absolute path. Fixes bug #44065.
2003-06-25  Antonio Xu  <antonio.xu@sun.com>

	* e-msg-composer.c (handle_mailto): Change file url to absolute
	path. Fixes bug #44065.

svn path=/trunk/; revision=21726
2003-07-02 18:38:41 +00:00
34ac708eae Use gmtime_r() instead of using gmtime() and memcpy() to try and be
2003-07-01  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-utils.c (header_format_date): Use gmtime_r() instead
	of using gmtime() and memcpy() to try and be "atomic".

svn path=/trunk/; revision=21725
2003-07-02 16:47:29 +00:00
bb4c3e2cd4 Connect to the save-draft signal too. Fixes bug #45531.
2003-07-01  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (autosave_load_draft): Connect to the
	save-draft signal too. Fixes bug #45531.

svn path=/trunk/; revision=21724
2003-07-02 16:31:56 +00:00
43d436a36e Don't leak exceptions (load_static_capabilities): free the capability
* cal-client/cal-client.c (real_open_calendar): Don't leak
	exceptions
	(load_static_capabilities): free the capability string

	* gui/dialogs/task-page.c (task_page_fill_component): Free the
	description text if it *was* set, rather than if it wasn't.

	* gui/dialogs/task-editor.c (task_editor_finalize): Free the priv
	struct.

svn path=/trunk/; revision=21722
2003-07-02 13:29:55 +00:00
55b00d2c12 fix a misuse of g_return_if_fail
svn path=/trunk/; revision=21720
2003-07-02 01:59:48 +00:00
2a1fa84375 correct the date
svn path=/trunk/; revision=21719
2003-07-02 01:36:56 +00:00
1e9a3832fd Fixes #45328, #45329
2003-06-30  Bolian Yin <bolian.yin@sun.com>

        Fixes #45328, #45329

        * gui/e-day-view.c (e_day_view_do_key_press): Do not process
        PageUp/PageDown, .. when the Alt key is pressed (give key binding
        set the chance).
        * gui/gnome-cal.h : define new enum type, GNOME_CAL_GOTO_DATE_TYPE.
        * gui/gnome-cal.c (gnome_calendar_class_init): define new signal
         "goto_date".  Add key bindings for "Alt+PageUp/PageDown",
         "Alt+Home/End".
        (gnome_calendar_goto_date): Impl. signal handler for "goto_date".

svn path=/trunk/; revision=21717
2003-07-02 01:35:29 +00:00
ee0d3c326b Fixes #45524
2003-07-01  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #45524

	* gui/calendar-commands.c: use stock icons where approppriate.

	* gui/tasks-control.c: removed EPixmaps structure, since we only use
	stock icons now.
	(tasks_control_activate): no need to call e_pixmaps_update.

svn path=/trunk/; revision=21715
2003-07-01 21:47:10 +00:00
474aa8509f Fixes #45524
2003-07-01  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #45524

	* evolution-tasks.xml:
	* evolution-calendar.xml: use stock icons where appropriate.

svn path=/trunk/; revision=21714
2003-07-01 21:46:34 +00:00
e98be89ae6 free the summary hash
* camel-folder-search.c (camel_folder_search_finalize): free the
	summary hash

svn path=/trunk/; revision=21713
2003-07-01 18:48:43 +00:00
50eff55654 Use the newer utf8 versions of the e_strftime*() functions since our
2003-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c (filter_date): Use the newer utf8 versions of the
	e_strftime*() functions since our format strings are all now in
	UTF-8.

	* mail-display.c (mail_display_render): Use the newer
	e_utf8_strftime_fix_am_pm().

	* mail-callbacks.c (mail_generate_reply): Use e_utf8_strftime(),
	otherwise we can end up with invalid utf-8.

svn path=/trunk/; revision=21712
2003-07-01 18:44:39 +00:00
03b5e1899b Put day of week into outgoing email.
2003-06-24  David Woodhouse  <dwmw2@infradead.org>

	* camel-mime-utils.c (header_format_date): Put day of week into
	outgoing email.

svn path=/trunk/; revision=21710
2003-07-01 18:10:17 +00:00
e38e234f3e unref the sorter
* gal/widgets/e-reflow.c (e_reflow_dispose): unref the sorter

svn path=/trunk/; revision=21707
2003-07-01 13:17:01 +00:00
cfacfc319d Initialize some missing fields. Fixes "no handler with id" warnings at evo
* e-tree.c (e_tree_init): Initialize some missing fields. Fixes
        "no handler with id" warnings at evo shutdown
        (ETreePriv): remove unused table_rows_{inserted,deleted}_id
        (et_disconnect_from_etta): remove refs to them

        * e-table.c (e_table_drag_source_unset): free site->target_list if
        it's set.

svn path=/trunk/; revision=21705
2003-07-01 13:16:43 +00:00
12fd6b80ea *** empty log message ***
svn path=/trunk/; revision=21704
2003-07-01 09:53:30 +00:00
c95fefd4a8 Fixes #45274
2003-07-01  Bolian Yin <bolian.yin@sun.com>

       Fixes #45274

       * gui/e-week-view.c: implemented tabbing though events in week view.

svn path=/trunk/; revision=21703
2003-07-01 02:31:29 +00:00
da6b6ab5b1 Set the rawtext bits for the 'plain' and 'html' data wrappers to FALSE.
2003-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Set the rawtext bits for the
	'plain' and 'html' data wrappers to FALSE.

svn path=/trunk/; revision=21695
2003-06-30 15:36:30 +00:00
23a2899b75 removed WombatClient interface.
2003-06-26  Rodrigo Moya <rodrigo@ximian.com>

	* Evolution-Wombat.idl: removed WombatClient interface.

	* Makefile.am: don't link libwombat in.

svn path=/trunk/; revision=21694
2003-06-30 14:37:05 +00:00
08d464a7e3 removed usage of WombatClient. (client_get_password_cb,
2003-06-30  Rodrigo Moya <rodrigo@ximian.com>

	* cal-client/cal-client.c: removed usage of WombatClient.
	(client_get_password_cb, client_forget_password_cb): removed.
	(real_open_calendar): don't create the WombatClient object.
	(cal_client_init, cal_client_finalize): removed WombatClient
	related code.
	(cal_client_finalize): re-enabled call to destroy_factories.

	* pcs/cal.c: removed usage of WombatClient interface.
	(cal_construct): don't get a reference to the WombatClient.
	(cal_get_password, cal_forget_password): removed unused functions.

	* conduits/calendar/Makefile.am:
	* cal-client/Makefile.am: removed references to libwombat.

svn path=/trunk/; revision=21693
2003-06-30 14:36:49 +00:00
c93054bdef removed libwombat from the build.
2003-06-30  Rodrigo Moya <rodrigo@ximian.com>

	* configure.in:
	* Makefile.am: removed libwombat from the build.

	* evolution-calendar.pc.in: removed -lwombat.

	* libwombat/*: removed unused directory.

svn path=/trunk/; revision=21692
2003-06-30 14:33:25 +00:00
33919c667b Updated NEWS
svn path=/trunk/; revision=21685
2003-06-29 19:40:07 +00:00
64ee2a607b added a GtkWindow argument for callers to specify the parent window.
2003-06-27  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/send-comp.[ch] (send_component_dialog):
	* gui/dialogs/cancel-comp.[ch] (cancel_component_dialog): added a
	GtkWindow argument for callers to specify the parent window.

	* gui/dialogs/changed-comp.[ch] (changed_component_dialog): added
	'parent' argument and use GtkMessageDialog instead of
	gnome_question_dialog.

	* gui/e-calendar-table.c (e_calendar_table_delete_selected):
	* gui/e-day-view.c (e_day_view_delete_event_internal,
	  e_day_view_on_cut, e_day_view_finish_long_event_resize,
	  e_day_view_finish_resize, e_day_view_on_editting_stopped,
	  e_day_view_on_top_canvas_drag_data_received, selection_received):
	* gui/e-week-view.c (e_week_view_delete_event_internal,
	  e_week_view_on_cut, e_week_view_on_editing_stopped,
	  selection_received):
	* gui/dialogs/event-editor.c (cancel_meeting_cmd):
	* gui/dialogs/task-editor.c (cancel_task_cmd):
	* gui/dialogs/comp-editor.c (delete_cmd, obj_removed_cb): pass the parent window to
	the *_component_dialog() functions.

	* gui/dialogs/delete-comp.c (delete_component_dialog): use the 'widget'
	argument to get the parent window for the dialog.

svn path=/trunk/; revision=21684
2003-06-29 19:33:42 +00:00
bcc06064a1 Updated NEWS
svn path=/trunk/; revision=21683
2003-06-29 19:26:02 +00:00
08d2a61511 Fixes #45276
2003-06-26  Bolian Yin <bolian.yin@sun.com>

	Fixes #45276

	* gui/e-day-view.c (e_day_view_on_text_item_event): set focus to dayview
	when editing is canceled.
	* gui/e-week-view.c (e_week_view_on_text_item_event): set focus to weekview
	when editing is canceled

svn path=/trunk/; revision=21682
2003-06-29 19:10:29 +00:00
5a8e20476b Add third argument to AC_DEFINE.
svn path=/trunk/; revision=21564
2003-06-28 16:20:00 +00:00
63c17f1684 Fixes #44723
2003-06-25  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #44723

	* gui/dialogs/alarm-page.c: added a new field to the private structure
	to keep track of the old summary.
	(alarm_page_init): initialize new field.
	(alarm_page_finalize): free new field.
	(alarm_page_set_summary): iterate over the list of alarms to change
	their description if it was the same as the event's summary.

svn path=/trunk/; revision=21561
2003-06-27 09:04:30 +00:00
e62619554a Fixes #44719
2003-06-25  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #44719

	* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): use
	gtk_window_set_icon_from_file to set the window's icon and implemented
	the code to make the window sticky with GTK 2.x API.

svn path=/trunk/; revision=21559
2003-06-27 08:59:35 +00:00
e40eebc573 Fixes #44719
2003-06-25  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #44719

	* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): use
	gtk_window_set_icon_from_file to set the window's icon and implemented
	the code to make the window sticky with GTK 2.x API.

svn path=/trunk/; revision=21557
2003-06-27 08:51:14 +00:00
372856b5dd Updated the Greek translation
svn path=/trunk/; revision=21556
2003-06-26 17:18:08 +00:00