Commit Graph

4157 Commits

Author SHA1 Message Date
151fb928c3 Don't wrap printed strings in quotes, makes things messy
2000-08-30  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-remote-store.c (remote_send_string): Don't wrap printed
	strings in quotes, makes things messy

	* providers/imap/camel-imap-folder.c (imap_get_message): Updated
	to use the camel_imap_fetch_command

	* providers/imap/camel-imap-stream.c (stream_read): Updated to use
	camel_imap_fetch_command

	* providers/imap/camel-imap-store.c (camel_imap_command_extended):
	No longer handles FETCH requests so no longer needs to be
	concerned with checking to make sure that server responses are
	valid (they have to be).
	(camel_imap_fetch_command): New convenience function that handles
	all FETCH requests

svn path=/trunk/; revision=5122
2000-08-30 21:01:59 +00:00
b7f6c874fd switched to using new ECalendar widget, and a few other fixes.
2000-08-30  Damon Chaplin  <damon@helixcode.com>

	* gui/e-day-view.[hc]:
	* gui/e-day-view-main-item.c:
	* gui/e-week-view.[hc]:
	* gui/e-week-view-main-item.c:
	* gui/calendar-commands.c:
	* gui/gnome-cal.[hc]: switched to using new ECalendar widget,
	and a few other fixes.

svn path=/trunk/; revision=5121
2000-08-30 20:50:55 +00:00
c03e143c6c Updated.
2000-08-30  Damon Chaplin  <damon@helixcode.com>

	* e-calendar-item.[hc]:
	* e-calendar.[hc]: Updated.

svn path=/trunk/; revision=5120
2000-08-30 20:46:55 +00:00
e9fd9ec066 Typo fix
svn path=/trunk/; revision=5119
2000-08-30 20:14:17 +00:00
a52e0a601e Robustify the kerberos checks
svn path=/trunk/; revision=5118
2000-08-30 19:46:06 +00:00
b76a505040 Add a name to the minicard viewer.
* gui/component/addressbook.oafinfo: Add a name to the minicard
	viewer.

svn path=/trunk/; revision=5117
2000-08-30 17:56:54 +00:00
2bdcfe5c47 Make CamelServices connect only when told to (old behavior). Make CamelRemoteStore do its stuff in service::connect, not ::post_connect.
svn path=/trunk/; revision=5116
2000-08-30 17:09:42 +00:00
e8df3eea83 General cleanup / moving stuff around to make things easier to follow.
2000-08-30  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-store.c: General cleanup / moving
	stuff around to make things easier to follow.

svn path=/trunk/; revision=5115
2000-08-30 16:24:36 +00:00
ccda437a9a make e-util depend on libunicode
* Makefile.am (libeutil_la_LIBADD): make e-util depend on
	libunicode

	* e-popup-menu.c (make_item): Use GtkMenuItem rather than
	GtkPixmapMenuItem for items with no pixmaps, so that if the whole
	menu is pixmapless, you don't get a column of blank pixmaps.

svn path=/trunk/; revision=5114
2000-08-30 15:28:36 +00:00
6c6dba281e Oops, set the dtstart/dtend on the component before adding it.
2000-08-30  Federico Mena Quintero  <federico@helixcode.com>

	* gui/e-day-view.c (e_day_view_key_press): Oops, set the
	dtstart/dtend on the component before adding it.
	(e_day_view_on_editing_stopped): No need to check for an UID.
	Update the summary properly.

svn path=/trunk/; revision=5113
2000-08-30 09:29:17 +00:00
1273d446f2 Make sure the is_utc flag is always FALSE for icaltime_from_timet
2000-08-30  JP Rosevear  <jpr@helixcode.com>

	* gui/e-week-view.c: Make sure the is_utc flag is always
	FALSE for icaltime_from_timet
	(e_week_view_on_unrecur_appointment): Use icaltimetype struct
	from the stack and make sure tzid is always NULL
	(e_week_view_key_press): ditto

svn path=/trunk/; revision=5112
2000-08-30 07:04:54 +00:00
f0ad82739a Make sure the is_utc flag is always FALSE for icaltime_from_timet
2000-08-30  JP Rosevear  <jpr@helixcode.com>

	* gui/e-day-view.c: Make sure the is_utc flag is always
	FALSE for icaltime_from_timet
	(e_day_view_on_unrecur_appointment): Use icaltimetype struct
	from the stack and make sure tzid is always NULL
	(e_day_view_finish_long_event_resize): ditto
	(e_day_view_finish_resize): ditto
	(e_day_view_on_top_canvas_drag_data_received): ditto
	(e_day_view_on_main_canvas_drag_data_received): ditto

svn path=/trunk/; revision=5111
2000-08-30 06:49:59 +00:00
5dba1bd7cd Oops, commit changelog
svn path=/trunk/; revision=5109
2000-08-30 05:46:10 +00:00
9536bcb19d Actually add the comp_instance struct to the instances list. We now appear
2000-08-30  JP Rosevear  <jpr@helixcode.com>

	* cal-client/cal-client.c (add_instance): Actually add the
	comp_instance struct to the instances list.  We now appear
	to able to keep events and todos between sessions. Yay!

svn path=/trunk/; revision=5108
2000-08-30 05:45:04 +00:00
149838c6df Prevent exceptions from being overwritten
2000-08-30  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-remote-store.c: Prevent exceptions from being overwritten

	* providers/imap/camel-imap-folder.c (imap_expunge): Beautified
	(imap_get_subfolder_names_internal): Removed old code as the
	replacement code has now been tested and proven to work

svn path=/trunk/; revision=5107
2000-08-30 04:03:07 +00:00
3242c4685b Removed old code that will never be needed again
2000-08-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-utils.c: Removed old code that will
	never be needed again

	* providers/imap/camel-imap-store.c: Removed old code for
	try_connect - will never need this code
	(slurp_response): Update to make sure we aren't falsely detecting
	EXPUNGE flags

svn path=/trunk/; revision=5106
2000-08-29 23:15:02 +00:00
1b087914b9 Now the views monitor the client by themselves; it does not make sense to
2000-08-29  Federico Mena Quintero  <federico@helixcode.com>

	Now the views monitor the client by themselves; it does not make
	sense to proxy all notifications through the GnomeCal.  The
	GnomeCal should just be a meta-widget that holds all the views.

	At some later point we'll want to decouple the views from the
	GnomeCal so that they can be embedded anywhere; they should emit
	signals to request appropriate actions from the toplevel GUI
	instead of calling the GnomeCal directly.

	* gui/e-day-view.c (e_day_view_set_cal_client): New function; now
	the day view monitors the client by itself.
	(cal_loaded_cb): New callback; moved over from
	e_day_view_update_all_events().
	(obj_updated_cb): New callback; moved over from
	e_day_view_update_event().
	(obj_removed_cb): New callback; moved over from
	e_day_view_remove_event().
	(e_day_view_update_all_events): Removed function.
	(e_day_view_update_event): Removed function.
	(e_day_view_remove_event): Removed function.
	(*): Use the day_view->client directly instead of fetching it from
	the GnomeCal.
	(e_day_view_destroy): Unref the client.
	(e_day_view_reload_events): Check if the client is loaded.
	(e_day_view_key_press): Set the vtype of the new component.

	* gui/e-week-view.c (e_week_view_set_cal_client): New function.
	(cal_loaded_cb): New callback.
	(obj_updated_cb): New callback.
	(obj_removed_cb): New callback.
	(e_week_view_update_all_events): Removed function.
	(e_week_view_update_event): Removed function.
	(e_week_view_remove_event): Removed function.
	(*): Use the week_view->client directly.
	(e_week_view_destroy): Unref the client.
	(e_week_view_reload_events): Check if the client is loaded.

	* gui/gnome-cal.c (setup_widgets): Set the cal_client on all the
	views.
	(gnome_calendar_update_all): Do not update the views, since now
	they do it themselves.
	(gnome_calendar_object_updated_cb): Likewise.
	(gnome_calendar_object_removed_cb): Likewise.
	(setup_widgets): Remove all to-do list cruft.
	(gnome_calendar_colors_changed): Likewise.
	(gnome_calendar_todo_properties_changed): Likewise.

	* gui/calendar-commands.h (todo_style_changed): Removed variable.

	* gui/gncal-todo.c: Removed old clist cruft; just left in the
	temporary dialog box for now.

svn path=/trunk/; revision=5105
2000-08-29 22:36:38 +00:00
8b546f3dfa Fixing a spurious unref, or creating a circular reference? You decide.
svn path=/trunk/; revision=5104
2000-08-29 22:16:15 +00:00
da570c6660 CamelRemoteStore: a new generic store for stores that connect to servers. Prepare for the ability to cancel operations (much better exception handling). Clean up IMAP like nobody's business
svn path=/trunk/; revision=5103
2000-08-29 21:28:46 +00:00
ba2eaa68b1 Update this and related functions to no longer take a From address. (The
* mail-ops.c (mail_do_send_mail): Update this and related
	functions to no longer take a From address. (The composer deals
	with it itself now.)
	(do_send_mail): Add the Evolution version back to the X-Mailer
	header (this change got lost in the thread migration).

	* mail-callbacks.c (composer_send_cb): Don't re-fetch the From
	address. It's set by the composer now. Don't free the
	post_send_data from here.
	(mail_reply): Attach to the composer's destroy signal to free the
	psd. (The current code would free it more than once if an error
	occurred while trying to send the first time.)

svn path=/trunk/; revision=5102
2000-08-29 18:44:47 +00:00
ec4ed21ea9 decruft
* configure.in, acconfig.h: decruft

svn path=/trunk/; revision=5101
2000-08-29 18:18:18 +00:00
1e8e112a3e remove USING_OAF reference
svn path=/trunk/; revision=5100
2000-08-29 18:15:01 +00:00
3ad97477c9 Remove USING_OAF checks
svn path=/trunk/; revision=5099
2000-08-29 18:13:21 +00:00
e02a9171c4 Updated to check for EXPUNGE notifications
2000-08-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-store.c (camel_imap_command_extended):
	Updated to check for EXPUNGE notifications

	* providers/imap/camel-imap-folder.c (camel_imap_folder_changed):
	Updated to account for messages which have been expunged (now
	takes a new arg, a GPtrArray of message id's that have been
	expunged)
	(imap_expunge): Updated (we may want to just use the code in
	folder_changed now instead of doing our own summary
	expunging...but that can be fixed later)
	(imap_append_message): Updated.
	(imap_copy_message_to): Updated.
	(imap_move_message_to): Updated.

svn path=/trunk/; revision=5098
2000-08-29 17:04:54 +00:00
5fadb311e6 Use event_editor_set_event_object
2000-08-29  JP Rosevear  <jpr@helixcode.com>

	* gui/gnome-cal.c (gnome_calendar_edit_object): Use
	event_editor_set_event_object

	* gui/event-editor.c (event_editor_set_event_object): Rename
	from event_editor_set_ical_object

	* gui/event-editor.h: Update prototype

	* gui/e-week-view.c (e_week_view_on_new_appointment):
	Call cal_component_commit_sequence after event changes. Default
	to these being all day events.

svn path=/trunk/; revision=5097
2000-08-29 17:00:36 +00:00
1ed15f41e7 Updated Swedish translation
svn path=/trunk/; revision=5096
2000-08-29 15:03:13 +00:00
c0bf1a6780 Updated russian translation.
svn path=/trunk/; revision=5095
2000-08-29 14:44:16 +00:00
7c6a10ab04 Strip off newlines when setting the messages in the statusbar, so that
the statusbar's size doesn't change in a bad way if the component
gives us a message including a newline.  (The latter shouldn't happen
anyway, but this is a different issue.)

svn path=/trunk/; revision=5094
2000-08-29 08:46:15 +00:00
919e333a78 These are not UTC times
2000-08-29  JP Rosevear  <jpr@helixcode.com>

	* gui/event-editor.c (dialog_to_comp_object): These are not UTC
	times

svn path=/trunk/; revision=5093
2000-08-29 04:20:16 +00:00
d082be408a Fixed the hack around quoted string responses - should now handle them
2000-08-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_message): Fixed the
	hack around quoted string responses - should now handle them
	according to the specifications in the RFC

	* providers/imap/camel-imap-stream.c (stream_read): Updated to
	match the code currently used in camel-imap-folder.c

svn path=/trunk/; revision=5092
2000-08-28 23:47:21 +00:00
48ff93b644 New function. We need this from code that dynamically updates from a
2000-08-28  Federico Mena Quintero  <federico@helixcode.com>

	* cal-client/cal-client.c (cal_client_is_loaded): New function.
	We need this from code that dynamically updates from a client and
	could not have connected to the "cal_loaded" signal right after
	the client was created.

	* gui/calendar-model.c (load_objects): Do not try to load the
	objects if the client has not been loaded yet.
	(cal_loaded_cb): Check the status value.

	* gui/calendar-model.h (CalendarModel): Declare the private
	structure here so that gdb will give me love.

	* pcs/cal-factory.h (CalFactory): Likewise.

	* pcs/cal.h (Cal): Likewise.

	* cal-client/cal-listener.h (CalListener): Likewise.

	* cal-client/cal-client.h (CalClient): Likewise.

	* pcs/cal-backend.h (CalBackend): This no longer has a private
	structure, so remove it.

	* cal-util/Makefile.am (libcal_util_la_SOURCES): Removed the
	vCalendar and old iCalendar cruft.
	(libcal_utilinclude_HEADERS): Likewise.
	Removed the obsolete iCalendar test program.

svn path=/trunk/; revision=5091
2000-08-28 23:27:51 +00:00
a4789a176c We no longer need time_from_icaltimetype as libical has the API for this
2000-08-28  JP Rosevear  <jpr@helixcode.com>

	* cal-util/timeutil.h: We no longer need time_from_icaltimetype
	as libical has the API for this

	* cal-util/timeutil.c: ditto

	* cal-util/cal-recur.c: Replace time_from_icaltimetype with
	icaltime_as_timet

	* gui/calendar-model.c: ditto

	* gui/event-editor.c: ditto

	* gui/gnome-cal.c: ditto

svn path=/trunk/; revision=5090
2000-08-28 23:17:08 +00:00
b807448dce Remove the icalcomponent from the toplevel calendar here.
2000-08-28  Federico Mena Quintero  <federico@helixcode.com>

	* pcs/cal-backend-file.c (remove_component): Remove the
	icalcomponent from the toplevel calendar here.
	(cal_backend_file_update_object): Do not remove it here.
	(cal_backend_file_remove_object): Do not remove it here.
	(add_component): Add the icalcomponent to the toplevel calendar if
	asked to.
	(cal_backend_file_update_object): Do not add it here.

svn path=/trunk/; revision=5089
2000-08-28 22:15:22 +00:00
2a94d1f243 Add new news stores as well as mail sources
svn path=/trunk/; revision=5088
2000-08-28 21:39:19 +00:00
80c17fd907 Use the right argument name to turn on grid lines.
2000-08-28  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/addressbook.c: Use the right argument name to turn
	on grid lines.

svn path=/trunk/; revision=5087
2000-08-28 21:35:01 +00:00
2529bb621e Make printing of groups work better and make them print headers.
2000-08-28  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-group-container.c: Make printing of groups work better
	and make them print headers.

	* e-table-item.c: Turn off alternating row support.

svn path=/trunk/; revision=5086
2000-08-28 21:21:37 +00:00
248cb28e52 Always request to import the HTML version if at all possible so that we
2000-08-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Always
	request to import the HTML version if at all possible so that we
	maintain formatting and other nifty stuff :-)

svn path=/trunk/; revision=5085
2000-08-28 19:46:10 +00:00
1e291c07c0 Set the "From" address in the CamelMimeMessage. Also updated to use
2000-08-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Set the
	"From" address in the CamelMimeMessage. Also updated to use
	get_subject to both make our lives easier and prepare for using UTF8
	(e_msg_composer_hdrs_get_subject): Updated to behave similarly to
	get_from and return allocated memory (it will have to return
	allocated memory once it's converted to use UTF8 anyways)

	* e-msg-composer.c (setup_save_draft): Always set
	composer->send_html = TRUE so that formatting is preserved.

svn path=/trunk/; revision=5084
2000-08-28 19:33:45 +00:00
fe8cf8c71d Free the from address when we're done with it. Also,
2000-08-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-callbacks.c (composer_send_cb): Free the from address when
	we're done with it. Also, e_msg_composer_hdrs_get_from returns
	alloc'd memory so don't strdup it.

svn path=/trunk/; revision=5083
2000-08-28 19:31:45 +00:00
2c06d4b09c Add/fix .cvsignores.
svn path=/trunk/; revision=5082
2000-08-28 15:47:00 +00:00
876558f75f Remove a ton of (hopefully harmless) warnings from the ETable code.
svn path=/trunk/; revision=5081
2000-08-28 15:27:38 +00:00
e3913975e8 Make the shell start up components through a OAF query for
`Evolution::ShellComponent' instead of hardcoding the OAFIIDs.

Make a module-private variable static.

svn path=/trunk/; revision=5080
2000-08-28 15:19:25 +00:00
585d269229 Updated Japanese translation.
* ja.po: Updated Japanese translation.

svn path=/trunk/; revision=5079
2000-08-28 15:14:13 +00:00
483fe88892 Free()ing memory allocated through alloca() is Not A Good Thing.
svn path=/trunk/; revision=5078
2000-08-28 15:11:44 +00:00
6540f01ee0 update with emailed patch...
* update with emailed patch...

svn path=/trunk/; revision=5077
2000-08-28 15:03:37 +00:00
fce353e596 Add more user-friendly progress messages from the friendly folks at Helix Code (TM)
svn path=/trunk/; revision=5076
2000-08-28 15:02:23 +00:00
fd017fc993 Display the number of messages downloaded starting from one instead of
zero.

Improve the behavior of the mail view in a separate window by reusing
the same size as the last resize (we could have a better policy, but
this should be enough for now).  Also, create the toolbar the right
way so that we respect the global GNOME settings without doing it
manually.

svn path=/trunk/; revision=5075
2000-08-28 14:58:25 +00:00
906a178ce8 Goodbye, GDK_THREADS!
svn path=/trunk/; revision=5074
2000-08-28 14:36:26 +00:00
09a9a8cd34 Added pt to ALL_LINGUAS
svn path=/trunk/; revision=5073
2000-08-28 09:39:30 +00:00
de575ce758 Initiliaze tzid to null, only set recurrence rules and exception dates if
2000-08-28  JP Rosevear  <jpr@helixcode.com>

	* gui/event-editor.c (dialog_to_comp_object): Initiliaze tzid to
	null, only set recurrence rules and exception dates if there
	are any

svn path=/trunk/; revision=5072
2000-08-28 05:19:38 +00:00