Commit Graph

2223 Commits

Author SHA1 Message Date
c943d7699c Enabled a couple more fields
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* backend/pas/pas-backend-ldap.c: Enabled a couple more fields

svn path=/trunk/; revision=2943
2000-05-09 15:24:42 +00:00
144ea8dfcf Removed double free of method_string in uri->method_string.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* pcs/cal-factory.c: Removed double free of method_string in
	uri->method_string.

svn path=/trunk/; revision=2942
2000-05-09 15:23:54 +00:00
3ee0a4c49e Fix misplaced `g_free()' that resulted in garbage to be printed out
in the case of an initialization failure.

svn path=/trunk/; revision=2941
2000-05-09 14:41:31 +00:00
c65e10b151 Removed addressbook.db since this is now handled by the pas.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* local/Contacts/Makefile.am, local/Contacts/addressbook.db:
	Removed addressbook.db since this is now handled by the pas.

svn path=/trunk/; revision=2940
2000-05-09 13:53:11 +00:00
318b5669cd Added a default card to all new file backends.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* backend/pas/pas-backend-file.c: Added a default card to all new
	file backends.

svn path=/trunk/; revision=2939
2000-05-09 13:52:52 +00:00
93a4ec1e20 o Undid changes to camel-internet-address.[c,h] o Fixed
Tue May  9 09:32:33 EDT 2000  Jeffrey Stedfast  <fejj@stampede.org>
  o Undid changes to camel-internet-address.[c,h]
  o Fixed providers/smtp/camel-smtp-transport.c _send to use camel_internet_address_get()
  o formatting changes to providers/smtp/camel-smtp-transport.c

svn path=/trunk/; revision=2938
2000-05-09 13:25:26 +00:00
a07fe2730b o Moved struct_address from camel-internet-address.c to
Tue May  9 09:03:18 EDT 2000  Jeffrey Stedfast  <fejj@stampede.org>
  o Moved struct_address from camel-internet-address.c to camel-internet-address.h (so it could be used in providers/smtp/camel-smtp-transport.h)
  o providers/smtp/camel-smtp-transport.c _send should now work like it was meant to

CVS

svn path=/trunk/; revision=2937
2000-05-09 12:56:51 +00:00
ee595f4b98 Listed myself as the author of the shell.
svn path=/trunk/; revision=2936
2000-05-09 09:02:59 +00:00
6692c3b3d4 Rearranged order of things getting destroyed.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/e-addressbook-model.c: Rearranged order of things
	getting destroyed.

	* gui/minicard/e-minicard-view.c: Rearranged order of things
	getting destroyed.  Don't set attributes of non-null or destroyed
	items.  Destroy parent object when destroyed.  Maintain ref_count
	of items in list.

	* gui/minicard/e-minicard.c: Don't set attributes of non-null
	items.

	* gui/minicard/e-reflow-sorted.c: Maintain ref_count of items in
	list.

	* gui/minicard/e-reflow.c: Maintain ref_count of items in list.
	Destroy parent object when destroyed.

svn path=/trunk/; revision=2935
2000-05-09 07:09:28 +00:00
3f6ddb02e8 Remove reflow idle when being destroyed.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Remove reflow idle when being destroyed.

svn path=/trunk/; revision=2934
2000-05-09 06:45:50 +00:00
c4e2cf13b8 Fixed some indentation.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-card-simple.c: Fixed some indentation.

	* contact-editor/contact-editor.glade,
	contact-editor/e-contact-editor-strings.h: Changed Email to
	Primary Email.

	* contact-editor/e-contact-editor.c: Added checkmarks to indicate
	if data exists in the pull down menus for the phone, address, and
	email fields.

svn path=/trunk/; revision=2933
2000-05-09 06:26:21 +00:00
32d76b8032 Fixed the string duplication problem. Fixed the business/home address
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-card-simple.c: Fixed the string duplication
	problem.  Fixed the business/home address string mix up.

	* gui/component/addressbook.c: Made the minicard view the default
	view.

svn path=/trunk/; revision=2932
2000-05-09 05:34:02 +00:00
c6de9ace9f make this a little less kludgy. Use gnome_error_dialog rather than printf
* folder-browser.c (folder_browser_load_folder): make this a
	little less kludgy. Use gnome_error_dialog rather than printf on
	errors.

	* mail-ops.c (fetch_mail): Fix to work with the new shell stuff...
	sorta. Will need more fixing later when the new shell framework is
	more done.

	* mail-config.c (finish): Call gnome_config_sync so the data
	actually gets written.

svn path=/trunk/; revision=2931
2000-05-09 05:08:25 +00:00
debd40014f one more refcounting fix I missed before.
* providers/mbox/camel-mbox-folder.c (mbox_get_message_by_uid):
	one more refcounting fix I missed before.

svn path=/trunk/; revision=2930
2000-05-09 04:57:31 +00:00
efb0b90afc o updated to use CamelException (as needed by new camel-stream.c) o no
Mon May  8 22:12:55 EDT 2000  Jeffrey Stedfast  <fejj@stampede.org>
  o updated to use CamelException (as needed by new camel-stream.c)
  o no longer frees memory it shouldn't touch

svn path=/trunk/; revision=2929
2000-05-09 02:07:01 +00:00
b3b4d6c45d Actually quit when the shell is destroyed.
svn path=/trunk/; revision=2928
2000-05-08 23:05:01 +00:00
39490b23e6 Fix compilation with builddir != srcdir. Boy I love this.
svn path=/trunk/; revision=2927
2000-05-08 22:58:13 +00:00
3ab48c957c update for camelstream changes
svn path=/trunk/; revision=2926
2000-05-08 22:33:39 +00:00
38165888d2 Update for CamelStream CamelException changes.
* mail-display.c (save_data_cb):
	(on_url_requested): Update for CamelStream CamelException changes.

	* mail-format.c: Pass NULL for a CamelException in a bunch of
	places... the user will see that the data is not being displayed,
	and there's not a lot we can do, and none of these things should
	be failing anyway. Maybe fix this later.

svn path=/trunk/; revision=2925
2000-05-08 22:28:11 +00:00
65ec43cb55 Use CamelException to signal failure. (camel_stream_write_strings):
* camel-stream.c (camel_stream_read, camel_stream_write,
	camel_stream_flush, camel_stream_reset, camel_stream_printf,
	camel_stream_write_to_stream): Use CamelException to signal
	failure.
	(camel_stream_write_strings): Remove. camel_stream_printf is more
	useful in most of the places that used this.
	(camel_stream_write_string): Change from macro to function to
	prevent problems with double-evaluation.

	* camel-seekable-stream.c (camel_seekable_stream_seek,
	camel_seekable_stream_set_bounds): Use CamelException.
	(reset): Update.

	* camel-seekable-substream.c, camel-stream-buffer.c,
	camel-stream-filter.c, camel-stream-fs.c, camel-stream-mem.c:
	Update.

	* camel-stream-fs.c: Remove the virtual init functions and move
	the code into the creator functions. Add CamelExceptions to
	creation functions that could fail.

	* camel-data-wrapper.c (camel_data_wrapper_write_to_stream): Use
	CamelException.
	* camel-mime-message.c, camel-mime-part.c, camel-multipart.c
	(write_to_stream): Update.

	* camel-mime-parser.c: add an exception to the mime parser private
	data and pass that to stream functions as needed.

	* gmime-content-field.c, md5-utils.c: Update (badly) for stream
	changes.

	* camel-exception.h (camel_exception_is_set): convenience macro.

	* providers/Makefile.am: disable SMTP for now

	* providers/mbox/camel-mbox-folder.c (mbox_append_message): Pass
	CamelException to the functions that now need it. Check the
	exception after calling camel_stream_flush, and fail if it fails.
	(mbox_get_message_by_uid): More updates.

	* providers/pop/camel-pop3-folder.c,
	providers/pop/camel-pop3-store.c,
	providers/sendmail/camel-sendmail/transport.c: Update.

svn path=/trunk/; revision=2924
2000-05-08 22:27:59 +00:00
3050b3ba05 Removed unused shortcuts which point to unimplemented folders.
* shortcuts.xml: Removed unused shortcuts which point to
	unimplemented folders.

svn path=/trunk/; revision=2923
2000-05-08 21:36:31 +00:00
465b7b48ee call e_day_view_stop_editing_event here to avoid a divide by zero a bit
* gui/e-day-view.c (e_day_view_on_delete_appointment): call
	e_day_view_stop_editing_event here to avoid a divide by zero
	a bit further on.  i'm not sure if this is the best fix for this.

svn path=/trunk/; revision=2922
2000-05-08 18:39:16 +00:00
8160d7388e CalBackendClass now is just an interface for calendar backends; this is an
2000-05-08  Federico Mena Quintero  <federico@helixcode.com>

	* pcs/cal-backend.h (CalBackendClass): CalBackendClass now is just
	an interface for calendar backends; this is an abstract class.
	Put in the vtable for the backend methods.

	* pcs/cal-backend.c (cal_backend_new): Removed function, since
	CalBackend is not just an abstract class.
	Removed implementation-specific functions and made public
	functions call the virtual methods instead.

	* pcs/cal-backend-imc.[ch]: New files with the CalBackendIMC
	implementation; this implements a backend for iCalendar and
	vCalendar files.  Moved the implementation-specific stuff from
	cal-backend.[ch] to here.

	* pcs/cal-backend-imc.c (CalendarFormat): Moved enumeration to
	here.  Added a CAL_UNKNOWN value for when the backend is not
	loaded yet.
	(cal_backend_imc_init): Initialize priv->format as CAL_UNKNOWN.
	(save_to_vcal): Use the same VCProdIdProp value as in
	cal-util/calobj.c.  Use "1.0" as the VCVersionProp as per the
	vCalendar spec.
	(ensure_uid): Return nothing, since the result value need not be
	used anymore.
	(add_object): Since we mark the calendar as dirty anyways, we do
	not need to check the result value of ensure_uid() anymore.
	(remove_object): Asssert that we know how to handle the object's
	type.  We do this in add_object() anyways.

	* pcs/Makefile.am (libpcs_a_SOURCES): Added cal-backend-imc.[ch].

	* gui/gnome-cal.c: Replaced debugging printf()s with g_message()
	so that we can see the line number where they occur.

	* gui/gnome-cal.c (gnome_calendar_load_cb): Sort of handle the
	LOAD_METHOD_NOT_SUPPORTED result code, and added a default for the
	switch.

	* cal-client/cal-listener.h (CalListenerLoadStatus): Removed
	enumeration; it is stupid to translate all values for the
	CalClient when it is going to translate them again.
	(CalListenerClass::cal_loaded): This signal now passes the
	LoadStatus directly from the CORBA side.

	* cal-client/cal-listener.c (Listener_cal_loaded): Do not
	translate the status value.

	* cal-client/cal-client.h (CalClientLoadStatus): Added the
	CAL_CLIENT_LOAD_METHOD_NOT_SUPPORTED error code.

	* cal-client/cal-client.c (cal_loaded_cb): Translate the CORBA
	version of the LoadStatus result code.

	* pcs/cal-factory.c (CalFactoryPrivate): New methods field for the
	hash table from method strings to the GtkTypes for backend class
	types.
	(cal_factory_init): Create the priv->methods hash table.
	(cal_factory_destroy): Free the priv->methods hash table.
	(cal_factory_register_method): New function to register a backend
	class for a particular URI method.
	(launch_backend_for_uri): New function to launch a backend for a
	particular URI's method.
	(load_backend): Use launch_backend_for_uri().  Move the error
	notification code from load_fn() to here.
	(create_backend): Use launch_backend_for_uri().  Move the error
	notification code form create_fn() to here; it is #ifdefed out
	since currently cal_backend_create() does not have any error
	reporting capabilities.

	* idl/evolution-calendar.idl (Listener::LoadStatus): Added a
	PROTOCOL_NOT_SUPPORTED error code.

	* pcs/cal-factory.c (cal_factory_load cal_factory_create): Removed
	functions, since they were supposed to be internal only.
	(CalFactory_load): Call queue_load_create_job() directly.
	(CalFactory_create): Likewise.

svn path=/trunk/; revision=2921
2000-05-08 16:58:27 +00:00
c2dde9ab64 don't set the ico->uid to NULL or we won't find any other occurrences of
2000-05-08  Damon Chaplin  <damon@helixcode.com>

        * gui/e-week-view.c (e_week_view_remove_event_cb):
        * gui/e-day-view.c (e_day_view_remove_event_cb): don't set the ico->uid
        to NULL or we won't find any other occurrences of the event. Set the
        editing_event_day/num to -1 instead.

        * gui/e-week-view-event-item.c (e_week_view_event_item_draw): fixed the
        positioning of the icons for long events.

        * cal-util/calobj.c (ical_object_normalize_summary): forgot to
        terminate the string.

svn path=/trunk/; revision=2920
2000-05-08 16:37:31 +00:00
402be120bd New update.sh script from Kenneth
svn path=/trunk/; revision=2919
2000-05-08 14:16:46 +00:00
7c704ed2e9 Updated Swedish translation
svn path=/trunk/; revision=2918
2000-05-08 14:11:53 +00:00
301eda4c87 *** empty log message ***
svn path=/trunk/; revision=2917
2000-05-08 12:51:03 +00:00
91ae7ee19c Fix const warning.
svn path=/trunk/; revision=2916
2000-05-08 12:50:35 +00:00
3f218d9d63 Adding es.po
svn path=/trunk/; revision=2915
2000-05-08 12:49:12 +00:00
d901164ccc make it really work with oaf. I need to recompile everyhting now.. shit
svn path=/trunk/; revision=2914
2000-05-08 12:08:21 +00:00
b74fafebab uh
svn path=/trunk/; revision=2913
2000-05-08 11:55:53 +00:00
980f3552f4 make the composer work with oaf
svn path=/trunk/; revision=2912
2000-05-08 11:42:33 +00:00
eb8d567158 Make multi-line texts display properly. Fixed some mem leaks.
2000-05-08  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c: Make multi-line texts display properly.  Fixed
	some mem leaks.

svn path=/trunk/; revision=2911
2000-05-08 06:54:46 +00:00
9a72bf0ee7 Fixed this up a bit. Syncing should work better now.
2000-05-08  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-card-simple.c: Fixed this up a bit.  Syncing
	should work better now.

svn path=/trunk/; revision=2910
2000-05-08 06:35:47 +00:00
c6386aa9b9 Install `addressbook.db'.
2000-05-08  Christopher James Lahey  <clahey@helixcode.com>

	* local/Contacts/Makefile.am: Install `addressbook.db'.

svn path=/trunk/; revision=2909
2000-05-08 06:34:42 +00:00
f168e3972c Format From and Reply-To to at least a decoded string. Should probably
2000-05-08  NotZed  <NotZed@HelixCode.com>

        * camel-mime-message.c (process_header): Format From and Reply-To
        to at least a decoded string.  Should probably store them as an
        camelinternetaddress.

svn path=/trunk/; revision=2908
2000-05-08 06:17:33 +00:00
b00a9126e5 blah
svn path=/trunk/; revision=2907
2000-05-08 05:39:29 +00:00
b7f49ccf57 Merged NEW_SUMMARY branch back to trunk, and resolved conflicts.
2000-05-08  NotZed  <NotZed@HelixCode.com>

	* Merged NEW_SUMMARY branch back to trunk, and resolved conflicts.

	* providers/mbox/camel-mbox-summary.c (camel_mbox_summary_update):
	Return status.

	* camel-stream-filter.c (do_close): We NEED a stream close.

svn path=/trunk/; revision=2906
2000-05-08 05:24:54 +00:00
4b0541ac33 Size moved to message info, rather than content info structure.
2000-05-07  NotZed  <NotZed@HelixCode.com>

        * message-list.c (ml_value_at): Size moved to message info, rather
        than content info structure.

svn path=/trunk/; revision=2905
2000-05-08 05:23:19 +00:00
918cfb0b28 Made a minimal number of things be destroyed and recreated when updating a
2000-05-08  Christopher James Lahey  <clahey@helixcode.com>

	* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c,
	gui/minicard/e-minicard.h, gui/minicard/e-reflow-sorted.c,
	gui/minicard/e-reflow-sorted.h: Made a minimal number of things be
	destroyed and recreated when updating a field.

svn path=/trunk/; revision=2904
2000-05-08 05:22:28 +00:00
2d5740212c xmlFree the return value of xmlGetProp.
2000-05-08  Larry Ewing  <lewing@helixcode.com>

	* e-shortcuts.c (load_shortcuts_into_view): xmlFree the return
	value of xmlGetProp.

svn path=/trunk/; revision=2903
2000-05-08 05:08:37 +00:00
68a38d1915 remove the no longer needed flatened_alpha member.
2000-05-07  Larry Ewing  <lewing@helixcode.com>

	* e-icon-bar.h (struct _EIconBarItem): remove the no longer needed
	flatened_alpha member.

	* e-icon-bar.c (flatten_alpha): using ~rgb can cause visual
	artifacts.
	(e_icon_bar_add_item): fixup refcounting of the flattend pixbuf,
	the canvas item should hold the reference not us. Stop using
	item.flattened_alpha since it no longer exists.
	(e_icon_bar_remove_item): remove the unref since destroying the
	item will take care of that for us.

	* e-shortcut-bar.c (e_shortcut_bar_add_item): make sure to unref
	the image we get back, the icon bar will hold any references it
	needs.
	(e_shortcut_bar_get_image_from_url): ref the default image each
	time we return it so that references are counted correctly.

svn path=/trunk/; revision=2902
2000-05-08 05:06:12 +00:00
d36891485a fix some bugs
svn path=/trunk/; revision=2900
2000-05-08 03:54:29 +00:00
62a9c29cca make sure to free the return value of e_card_simple_get.
* gui/minicard/e-minicard.c (remodel): make sure to free the
        return value of e_card_simple_get.

        * gui/component/addressbook.c (teardown_table_view): destroy the
        ECardSimple here, plug memory leak.
        (create_table_view): use view->simple so we can destroy the
        ECardSimple later on.

svn path=/trunk/; revision=2899
2000-05-08 03:39:23 +00:00
87eebb44a1 free cell.starting_text here to avoid a memory leak.
* e-cell-text.c (ect_draw): free cell.starting_text here to avoid
        a memory leak.

svn path=/trunk/; revision=2898
2000-05-08 03:35:52 +00:00
608783a45d call finiLex in error case to avoid a memleak.
svn path=/trunk/; revision=2895
2000-05-08 02:15:36 +00:00
9ce4dd5c57 comment function, and fix an ABR.
* ename/e-name-western.c (e_name_western_extract_middle): comment
        function, and fix an ABR.

svn path=/trunk/; revision=2894
2000-05-08 01:48:28 +00:00
5aa0abfff8 comment function, and fix an ABR.
* ename/e-name-western.c (e_name_western_cleanup_string): comment
	function, and fix an ABR.

svn path=/trunk/; revision=2893
2000-05-08 01:00:14 +00:00
0216552439 Add a horizontal scrollbar.
2000-05-07  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c: Add a horizontal scrollbar.

svn path=/trunk/; revision=2892
2000-05-08 00:53:26 +00:00
eb3a1331f1 Added saving in minicard view.
2000-05-08  Christopher James Lahey  <clahey@helixcode.com>

	* gui/minicard/e-minicard.c: Added saving in minicard view.

svn path=/trunk/; revision=2891
2000-05-08 00:27:11 +00:00