Commit Graph

18263 Commits

Author SHA1 Message Date
76c23a45f1 Increment the seekable stream position by the number of bytes read. Oops.
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 19:17:42 +00:00
7b6185cbe1 Increment the seekable stream position by the number of bytes read. Oops.
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
2003-07-17 19:14:51 +00:00
2b960e3b75 fix the date on my last commit to keep things in order
svn path=/trunk/; revision=21860
2003-07-17 17:10:37 +00:00
1016194c44 free the folder_type
* e-shell-user-creatable-items-handler.c (free_menu_items): free
	the folder_type

	* e-splash.c (e_splash_new): Unref the pixbuf.

	* evolution-shell-component.c (impl_finalize): Add some missing
	frees.
	(user_creatable_item_type_free): free the tooltip

svn path=/trunk/; revision=21859
2003-07-17 17:09:38 +00:00
9bcb908ca5 disconnect from model signals to prevent a race condition at shutdown
* 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-17 16:58:02 +00:00
732db2157e encode the text (e_xml_from_hash): pass xmlDoc to foreach method
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 12:48:35 +00:00
ce6939b848 new base class for calendar views.
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 12:00:40 +00:00
e05eb7f89e s/expunge/purge.
2003-07-17  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-config.[ch]:
	* gui/tasks-control.c: s/expunge/purge.

svn path=/trunk/; revision=21853
2003-07-17 10:44:01 +00:00
aa13b07254 s/Expunge/Purge.
2003-07-17  Rodrigo Moya <rodrigo@ximian.com>

	* evolution-tasks.xml: s/Expunge/Purge.

	* evolution-calendar.xml: fixed menmonic for Purge.

svn path=/trunk/; revision=21852
2003-07-17 10:43:21 +00:00
20d610abe4 ** See bug #42573
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-17 06:31:35 +00:00
96d8c5e1a3 new function, which uses a CalQuery to retrieve the objects older than a
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 23:15:04 +00:00
a15a6521f8 added 'Purge' menu item.
2003-07-15  Rodrigo Moya <rodrigo@ximian.com>

	* evolution-calendar.xml: added 'Purge' menu item.

	* evolution-tasks.xml: added separator after 'Send/Receive'.

svn path=/trunk/; revision=21845
2003-07-16 23:13:42 +00:00
19ffc6d23e We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just look
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 20:46:19 +00:00
1dea5ca338 don't set the rawtext bit anymore.
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-16 20:45:56 +00:00
b83ddf044c Add the CamelMimePartEncodingType definition here.
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 20:45:26 +00:00
0b56232492 We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just look
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 20:11:06 +00:00
65e1b7029a Fixes #45774
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 09:20:28 +00:00
d706bab541 Fixes #45772
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-16 08:05:05 +00:00
6c397fa70c If we read 0 bytes, then set eos to TRUE.
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-16 02:32:30 +00:00
32380aa7c9 Handle invalid URIs, or more likely, the last empty element in a URI list
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
2003-07-15 19:47:57 +00:00
feff375737 remove the use of caret mode widget style. use new gtkhtml api to set
2003-07-15  Yuedong Du  <yuedong.du@sun.com>

        * mail-config.c: (config_write_style), (mail_config_init): remove
        the use of caret mode widget style.
        * mail-display.c: (display_notify), (mail_display_new): use new
        gtkhtml api to set caret mode.

svn path=/trunk/; revision=21816
2003-07-15 09:46:45 +00:00
6ed89aec85 ** For bug #45826
2002-07-14  Maxx Cao  <maxx.cao@sun.com>

        ** For bug #45826

        * e-msg-composer-attachment-bar.c (class_init): connect the
        "popup_menu" signal, so that S-F10 keybinding will work.
        (popup_menu_event): funcion added to handle "popup_menu" (S-F10 key).
        (popup_menu_placement_callback): function added to place the popup
        menu to the center of attachment icon, in case it is activated by
        keyboard.

svn path=/trunk/; revision=21812
2003-07-15 04:23:19 +00:00
ea8b624e51 Fixes #41676
2003-07-14  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #41676

	* gui/dialogs/alarm-options.c (palarm_options_changed_cb,
	  repeat_spin_button_changed_cb, repeat_unit_changed_cb): new callbacks for
	managing modifications in the 'Run a program' alarm case.
	(repeat_toggle_toggled_cb): if the alarm being edited has a procedure
	action, call palarm_options_changed_cb.
	(init_widgets): connect new callbacks.
	(alarm_to_dialog): disable 'OK' button if a procedure alarm.

svn path=/trunk/; revision=21810
2003-07-14 18:46:05 +00:00
d4942420ae fix typo in encryption section.
2003-07-14  Aaron Weber  <aaron@ximian.com>

	* C/usage-mail.xml: fix typo in encryption section.

	* C/menuref.xml: add command line reference.

svn path=/trunk/; revision=21808
2003-07-14 16:48:13 +00:00
e5ec3be0a3 Changed the "URL:" label to "_Web Page:". Added a widget name to the URL
2003-07-11  Federico Mena Quintero  <federico@ximian.com>

	* gui/dialogs/task-details-page.glade: Changed the "URL:" label to
	"_Web Page:".  Added a widget name to the URL label so that we can
	hook up its mnemonic by hand.  Added underlines to the "%
	Complete:" and "Date Completed:" labels.  Added a widget name to
	the date completed label, also so that we can hook up its mnemonic.

	* gui/dialogs/task-details-page.c (get_widgets): Get the url_label
	and date_completed_label as well.
	(init_widgets): Set the mnemonic widgets of the url_label and the
	date_completed_label by hand, as their respective widgets are
	not created by libglade.

	* gui/e-calendar-table.c (tasks_popup_menu): Added an item for
	"Open Web Page".
	(e_calendar_table_show_popup_menu): Disable the aforementioned
	menu item if the selected task doesn't have the URL property set.
	(open_url_cb): New callback.

	* gui/e-tasks.c (write_html): Make the HTML say "Web Page:"
	instead of "URL:".

svn path=/trunk/; revision=21805
2003-07-13 19:29:41 +00:00
9cafe346c6 Added a handler for GtkWidget::mnemonic_activate().
2003-07-11  Federico Mena Quintero  <federico@ximian.com>

	* e-dateedit.c (e_date_edit_mnemonic_activate): Added a handler
	for GtkWidget::mnemonic_activate().

	* e-url-entry.c (mnemonic_activate): Likewise.

svn path=/trunk/; revision=21804
2003-07-13 19:29:03 +00:00
5d0da70cf2 Change the EditPaste mask to IS_0MESSAGE so that it is always activatable.
2003-07-11  Antonio Xu  <antonio.xu@sun.com>

	* folder-browser-ui.c: Change the EditPaste mask to IS_0MESSAGE so
	that it is always activatable. Fixes bug #46018.

svn path=/trunk/; revision=21801
2003-07-11 20:31:15 +00:00
8f363b8dff camel-smime-utils.h doesn't exist anymore
svn path=/trunk/; revision=21795
2003-07-11 01:38:52 +00:00
34e415925f Updated Spanish translation by Francisco Javier F. Serrador
2003-07-10  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

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

svn path=/trunk/; revision=21792
2003-07-10 14:29:45 +00:00
546d79a7a9 Change version to 1.4.99 since HEAD is not the stable 1.4 branch, as
2003-07-10  Rodney Dawes  <dobey@ximian.com>

	* configure.in: Change version to 1.4.99 since HEAD is not the
	stable 1.4 branch, as evolution-1-4-branch was created post-1.4.1

svn path=/trunk/; revision=21790
2003-07-10 12:45:25 +00:00
cd534174fa ** For bug #41839
2003-07-04  Maxx Cao  <maxx.cao@sun.com>

        ** For bug #41839

        * mail-display.c (do_attachment_header): Attachment buttons made
        accessable with keyboard (focusable). "Inline" button is disabled
        when attachment can't be viewed inline.
        (do_signature): Signature button made accessable with keyboard
        (focusable).
        (button_press): Function changed to an event callback (originally
        gtkbutton signal callback).
        (popup_menu_placement_callback): Function added to place popup
        menu (of attachment) beside button when activated by keyboard.

svn path=/trunk/; revision=21788
2003-07-10 12:20:04 +00:00
af1b0565e9 removed camel-pkcs7-context.[c,h] - no longer useful
svn path=/trunk/; revision=21785
2003-07-09 20:10:31 +00:00
0a359ca478 removed camel-smime-utils.[c,h] which are no longer useful
svn path=/trunk/; revision=21784
2003-07-09 20:07:38 +00:00
a5a33cf4aa (e_shell_command_rename_folder): Do
not overwrite an existing folder.  Also, cleaned up the code a
bit.  [#45982]

svn path=/trunk/; revision=21783
2003-07-09 19:54:25 +00:00
632b2e339f Chain to the parent handler. Fixes #45236.
2003-07-09  Federico Mena Quintero  <federico@ximian.com>

	* e-url-entry.c (destroy): Chain to the parent handler.  Fixes #45236.

svn path=/trunk/; revision=21782
2003-07-09 19:49:43 +00:00
bf814df02f removed #ifndef ENABLE_THREADS
svn path=/trunk/; revision=21780
2003-07-09 19:34:15 +00:00
db1672cb69 removed #ifdef ENABLE_THREADS
svn path=/trunk/; revision=21779
2003-07-09 19:32:43 +00:00
96d7f18218 Get rid of the #ifdef ENABLE_THREADS since we no longer plan to
2003-07-09  Jeffrey Stedfast  <fejj@ximian.com>

	Get rid of the #ifdef ENABLE_THREADS since
	we no longer plan to support/maintain this.

	* providers/nntp/camel-nntp-store.c: Here.

	* providers/nntp/camel-nntp-newsrc.c: And here.

	* providers/nntp/camel-nntp-folder.c: Same.

	* providers/local/camel-local-folder.c: And here.

svn path=/trunk/; revision=21778
2003-07-09 19:21:59 +00:00
2bd47d3cda Get rid of the #ifdef ENABLE_THREADS since we no longer plan to
2003-07-09  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-block-file.c: Get rid of the #ifdef ENABLE_THREADS since
	we no longer plan to support/maintain this.

	* camel.c: Same.

	* camel-certdb.c: Here too.

	* camel-charset-map.c: And here.

	* camel-cipher-context.c: "

	* camel-data-wrapper.c: "

	* camel-digest-folder.c: "

	* camel-exception.c: "

	* camel-folder.c: "

	* camel-folder-summary.c: "

	* camel-lock-client.c: "

	* camel-mime-utils.c: "

	* camel-object.c: "

	* camel-operation.c: "

	* camel-partition-table.c: "

	* camel-sasl-popb4smtp.c: "

	* camel-service.c: "

	* camel-session.c: "

	* camel-store.c: "

	* camel-store-summary.c: "

	* camel-text-index.c: "

	* camel-transport.c: "

	* camel-vee-folder.c: "

	* camel-tcp-stream-openssl.c: Removed pthread.h, it isn't needed.

svn path=/trunk/; revision=21777
2003-07-09 19:05:13 +00:00
16ce509ec0 add a gconf key corresponding to newly introduced caret mode of gtkhtml
2003-07-10  Yuedong Du  <yuedong.du@sun.com>

        * evolution-mail.schemas: add a gconf key corresponding to newly
        introduced caret mode of gtkhtml widget.

        * folder-browser-ui.c: new verb handling, corresponding the new menu
        entry for the caret mode flag.

        * folder-browser.h: declaration of new verb handler to the menu entry
        that turn caret mode on/off. The function just set the new introduced
        gconf key.

        * folder-browser.c: ditto

        * mail-config.c: lstione to the new gconf key, and when caret mode
        flag is set/unset,change the style of gtkhtml widget. see bug
        #44607.

svn path=/trunk/; revision=21776
2003-07-09 18:04:54 +00:00
fb32aa52b6 Removed camel-pgp-mime.h, it no longer exists.
2003-07-09  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.h: Removed camel-pgp-mime.h, it no longer exists.

	* mail-format.c: Remove camel-pgp-mime.h

svn path=/trunk/; revision=21775
2003-07-09 18:04:53 +00:00
f402f80205 add a menu entry corresponding to new introduced caret mode, see bug
2003-07-10  Yuedong Du  <yuedong.du@sun.com>

        * evolution-mail-message.xml: add a menu entry corresponding to new
        introduced caret mode, see bug #44607

svn path=/trunk/; revision=21773
2003-07-09 16:53:05 +00:00
37f0b21395 Change the accelerator for "Mark All Read" to be "R". Fixes bug #45811.
2003-07-09  Anna Marie Dirks  <anna@ximian.com>

	* evolution-mail-list.xml: Change the accelerator for "Mark All Read"
	to be "R". Fixes bug #45811.

svn path=/trunk/; revision=21772
2003-07-09 16:53:04 +00:00
447b846a9b check null after conversions. (e_utf8_strftime_fix_am_pm): ditto. fixes
2003-07-09  Mike Kestner  <mkestner@ximian.com>

	* gal/util/e-util.c (e_utf8_strftime): check null after conversions.
	(e_utf8_strftime_fix_am_pm): ditto.  fixes [44904].

svn path=/trunk/; revision=21771
2003-07-09 15:40:23 +00:00
9b7443310d remove reference to camel-pgp-mime.h
2003-07-09  Larry Ewing  <lewing@ximian.com>

	* camel.h: remove reference to camel-pgp-mime.h

svn path=/trunk/; revision=21770
2003-07-09 12:49:59 +00:00
a82c55f31d Fixes #46075.
2003-07-10  Harry Lu <harry.lu@sun.com>

	Fixes #46075.

	* gui/e-date-time-list.c (compare_datetime): new function to compare
	two CalComponentDateTime instances.
	(e_date_time_list_append): check whether the date already exists
	before adding it to the list.

svn path=/trunk/; revision=21767
2003-07-09 08:20:57 +00:00
cc5771c655 Removed.
2003-07-08  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-mime.[c,h]: Removed.

svn path=/trunk/; revision=21760
2003-07-08 19:29:58 +00:00
11b8f83aad Updated (new copy/paste from e-iconv).
2003-07-08  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-iconv.c: Updated (new copy/paste from e-iconv).

	* camel-block-file.c (camel_block_file_get_block): Use
	camel_read() rather than libc read.

	* 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=21759
2003-07-08 18:36:40 +00:00
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