Commit Graph

32 Commits

Author SHA1 Message Date
93012d3c36 add wombat-private-moniker.[ch].
2001-10-11  Chris Toshok  <toshok@ximian.com>

	* Makefile.am (wombat_SOURCES): add wombat-private-moniker.[ch].

	* GNOME_Evolution_WombatLDAP.oaf.in: add wombat-private
	factory/moniker.

	* GNOME_Evolution_WombatNOLDAP.oaf.in: same.

	* wombat-private-moniker.[ch]: xmldb for private database -- non
	configuration settings, basically.

svn path=/trunk/; revision=13593
2001-10-11 19:06:09 +00:00
0d1f3b890a add OAFIID parameter to the call to the pas_book_factory_activate
2001-09-26  Chris Toshok  <toshok@ximian.com>

	* wombat.c (setup_pas): add OAFIID parameter to the call to the
	pas_book_factory_activate function, as with the calendar stuff.

svn path=/trunk/; revision=13181
2001-09-27 00:06:11 +00:00
6445ac7538 add OAFIID parameter to the call to the cal_factory_oaf_register function
2001-09-19  Rodrigo Moya <rodrigo@ximian.com>

	* wombat.c (setup_pcs): add OAFIID parameter to the call to the
	cal_factory_oaf_register function

svn path=/trunk/; revision=12978
2001-09-19 12:47:55 +00:00
1965d493f2 Shut down gnome-vfs.
2001-06-24  Federico Mena Quintero  <federico@ximian.com>

	* wombat.c (main): Shut down gnome-vfs.

svn path=/trunk/; revision=10452
2001-06-24 22:39:53 +00:00
91cc026904 Update the copyrights, replacing Helix Code with Ximian and
helixcode.com with ximian.com all over the place.

svn path=/trunk/; revision=10440
2001-06-23 08:52:02 +00:00
b32ab1a0c9 Replace <gnome.h> <and <bonobo.h> includes and add <stdlib.h> to remove
2001-03-26  Kjartan Maraas  <kmaraas@gnome.org>

	* wombat.c: Replace <gnome.h> <and <bonobo.h> includes
	and add <stdlib.h> to remove warnings from newer gcc.

2001-03-21  JP Rosevear  <jpr@ximian.com>

svn path=/trunk/; revision=8939
2001-03-26 11:32:15 +00:00
0cf839a464 initialise the moniker factory
2001-03-21  Dietmar Maurer  <dietmar@ximian.com>

	* wombat.c (setup_config): initialise the moniker factory

	* GNOME_Evolution_Wombat.oaf.in: added the necessary entries for
	the wombat moniker.

	* wombat-moniker.[ch]: wombat is now a moniker

svn path=/trunk/; revision=8866
2001-03-21 14:55:09 +00:00
57de6972c8 Added addressbook querying and "cardification" functions, which are turned
2001-03-15  Jon Trowbridge  <trow@ximian.com>

        * gui/component/e-address-widget.c: Added addressbook querying and
        "cardification" functions, which are turned off by default for now
        because of addressbook bugs.  Added a popup menu option to turn
        queries on, so that others can enjoy the thrill of massive flaming
        death.

        * gui/component/addressbook-factory.c (main): Made warnings always
        be fatal.

        * backend/pas/pas-book-view.c: Added some debugging spew.

        * backend/pas/pas-backend-file.c (pas_backend_file_search): Added
        a little experimental code to try to make file searches scale
        better.  #if 0/#endif-ed out for now.

        * contact-editor/e-contact-quick-add.c: #included e-book-util.h.

        * backend/ebook/e-card.c (e_card_name_match_string): Added.
        Looser name-matching function.
        (e_card_email_match_string): Added.  Loose e-mail matching.

        * backend/ebook/e-book-view-listener.c
        (e_book_view_listener_check_queue): Added code to cause us to
        abort rather than get trapped in a 100%-CPU-consuming loop in
        certain situations.  Now we just need to figure out how to avoid
        these situations altogether.

        * backend/ebook/e-book-util.c: Added.  Now contains the simple
        query stuff and the open local addressbook functions.

        * backend/ebook/e-book.c: Moved simple query stuff and open local
        addressbook functions into e-book-util.c.

2001-03-15  Jon Trowbridge  <trow@ximian.com>

        * wombat.c (main): If we can't initialize a service on startup,
        tell us which one before terminating.

svn path=/trunk/; revision=8754
2001-03-16 08:16:29 +00:00
8e4a426f29 Use VERSION and the Wombat description for gnome_init_with_popt_table().
2001-02-27  Federico Mena Quintero  <federico@ximian.com>

	* wombat.c (init_corba): Use VERSION and the Wombat description
	for gnome_init_with_popt_table().

svn path=/trunk/; revision=8410
2001-02-27 20:08:49 +00:00
a056c8466d Unref the factories if we failed to initialize anything. (setup_pcs): Call
2001-02-16  Federico Mena Quintero  <federico@ximian.com>

	* wombat.c (main): Unref the factories if we failed to initialize
	anything.
	(setup_pcs): Call cal_factory_oaf_register().  Removed the OAF
	registration code from here; now it is in the CalFactory itself.

svn path=/trunk/; revision=8309
2001-02-20 22:35:49 +00:00
89b7488000 Return a success value. (setup_pas): Likewise. (setup_config): Likewise.
2001-01-17  Federico Mena Quintero  <federico@ximian.com>

	* wombat.c (setup_pcs): Return a success value.
	(setup_pas): Likewise.
	(setup_config): Likewise.
	(main): Exit if we could not initialize all of the Wombat
	services.
	(init_corba): Check the return value of gnome_init_with_popt_table().
	(main): Call bindtextdomain() and textdomain().

svn path=/trunk/; revision=7623
2001-01-18 17:24:12 +00:00
042e514a26 return NULL if we can't create a view.
2000-12-04  Michael Meeks  <michael@helixcode.com>

	* e-shell-view.c (get_control_for_uri): return NULL if we can't
	create a view.
	(setup_evolution_shell_view_interface): add precondition.

+

	lots of cleans.

svn path=/trunk/; revision=6778
2000-12-04 17:56:54 +00:00
330aead96c Remove gnorba related code
2000-08-26  JP Rosevear  <jpr@helixcode.com>

	* Makefile.am: Remove gnorba related code

	* wombat.c: Remove gnorba related code

	* wombat.gnorba: Kill

svn path=/trunk/; revision=5047
2000-08-26 05:33:24 +00:00
4de1f796a4 Big sync. Disable calendar compilation for a few hours - Federico
2000-08-07  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (cal_component_get_as_string): Doh,
	libical owns the string's memory, so do not free it.

	* cal-client/client-test.c (create_client): Connect to the destroy
	signal of the client here.

	* cal-client/test.ics: New test file, modified from Eric Busboom's
	test file from RFC 2445.

2000-08-05  Federico Mena Quintero  <federico@helixcode.com>

	* cal-client/client-test.c (dump_component): This was gone for
	some reason.
	(main): Load a new test file.

2000-08-04  Federico Mena Quintero  <federico@helixcode.com>

	* cal-util/cal-component.c (cal_component_commit_sequence): New
	function to commit changes to the SEQUENCE property.
	(cal_component_get_as_string): Ensure that the sequence has been
	committed.

	* cal-client/cal-client.c (cal_client_get_object): Use
	CalComponent instead of the old iCalObject.
	(cal_client_update_object): Use iCalObject.  Commit the SEQUENCE
	property before stringifying the object and piping it over to the
	Wombat.

svn path=/trunk/; revision=4585
2000-08-07 21:38:28 +00:00
84ba8642c5 As a quasi-hack, do a gdk_flush() when the shell view is unrealized so
2000-07-10  Federico Mena Quintero  <federico@helixcode.com>

	* e-shell-view.c (unrealize): As a quasi-hack, do a gdk_flush()
	when the shell view is unrealized so that the DeleteEvent gets
	sent to the remote plugs as soon as possible before we start
	making other CORBA calls.  The problem is that our CORBA pipe is
	synchronous while our X pipe is asynch.  We have to ensure
	ordering for certain operations.  This is NOT the correct and
	complete fix, which should go in Bonobo.

svn path=/trunk/; revision=4030
2000-07-10 09:30:28 +00:00
c219c79496 fixed a bunch of problems use libical instead of libversit
* cal-util/icalendar.c, icalendar-save.c: fixed a bunch of problems
	* cal-util/calobj.c (ical_object_find_in_string): use libical
	instead of libversit
	(ical_object_to_string): same
	(dump_icalobject): prints the contents of an icalobject for debugging

	* gui/Makefile.am (LINK_FLAGS): link libical.a instead of libical.la
	so we don't have to modify the build system of the released libical
	* cal-client/Makefile.am (client_test_LDADD): same
	* cal-util/Makefile.am (icalendar_test_LDADD): same

svn path=/trunk/; revision=3446
2000-06-06 21:56:20 +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
39f5d7e661 Doh, also unref the pas_book_factory when we are done.
2000-05-01  Federico Mena Quintero  <federico@helixcode.com>

	* wombat.c (main): Doh, also unref the pas_book_factory when we
	are done.

svn path=/trunk/; revision=2710
2000-05-01 11:57:53 +00:00
d4fcab3e7b Removed stale comment - Federico
svn path=/trunk/; revision=2709
2000-05-01 11:48:51 +00:00
c94793983e Connect to the "last_book_gone" signal of the book factory.
2000-04-30  Federico Mena Quintero  <federico@helixcode.com>

	* wombat.c (setup_pas): Connect to the "last_book_gone" signal of
	the book factory.
	(last_book_gone_cb): Handle the "last_book_gone" signal.
	(termination_handler): Check if the book factory has zero running
	backends.

svn path=/trunk/; revision=2706
2000-05-01 04:22:17 +00:00
9483369aa0 Made Evolution OAF-compatible.
svn path=/trunk/; revision=2673
2000-04-28 04:23:19 +00:00
8201b137c7 Eeek, remove "while(1);" debug code - Federico
svn path=/trunk/; revision=2622
2000-04-26 01:27:35 +00:00
390beacc98 New module-wide variables for the PAS and PCS factories. (setup_pcs):
2000-04-25  Federico Mena Quintero  <federico@helixcode.com>

	* wombat.c (cal_factory pas_book_factory): New module-wide
	variables for the PAS and PCS factories.
	(setup_pcs): Connect to the "last_calendar_gone" signal of the
	calendar factory.
	(last_calendar_gone_cb): Queue a termination job.
	(queue_termination): Function to queue a termination job.  We have
	to use a timeout to reduce the probability of running into GOAD's
	race condition with factories.
	(termination_handler): Check that the PCS and the PAS have zero
	backends.  If so, exit the main loop.
	(setup_vfs): Use EXIT_FAILURE instead of 1.
	(init_bonobo): Likewise.
	(main): Destroy the factories and exit Wombat.  Wheee!

svn path=/trunk/; revision=2620
2000-04-26 01:09:09 +00:00
a2ee0e2ec9 Use "e-minicard" as the log domain.
2000-04-18  Federico Mena Quintero  <federico@helixcode.com>

	* gui/minicard/Makefile.am (INCLUDES): Use "e-minicard" as the log
	domain.

	* gui/component/Makefile.am (INCLUDES): Use
	"evolution-addressbook" as the log domain.

	* backend/pas/Makefile.am: Build libpas.a, not a shared library.
	Do not install any header files.
	(INCLUDES): Remove spurious include paths.

	* backend/pas/*.[ch]: Fix includes.

	* backend/ebook/Makefile.am: Do not install the test programs.
	Fixed some include weirdness.

	* backend/ebook/*.[ch]: Fix includes.

	* contact-editor/Makefile.am (INCLUDES): Set the log domain to
	"contact-editor".
	(INCLUDES): Fix.

	* contact-editor/*.[ch]: Fix includes.

	* gui/minicard/*.[ch]: Fix includes.

svn path=/trunk/; revision=2529
2000-04-20 23:18:51 +00:00
528fe3b08e set calendar's uri with a property bag
* e-shell-view.c (get_view): set calendar's uri with a property bag

	* gui/evolution-calendar-control.c (calendar_properties_init): create
	a property bag for this control
	(set_prop): callback for property sets
	(get_prop): callback for proprety gets

	* gui/calendar-commands.c (calendar_set_uri): new function,
	called when the "calendar_uri" property is set on the calendar-
	control's property bag.

svn path=/trunk/; revision=2501
2000-04-19 13:39:43 +00:00
fc3bb06c50 Removed spurious calendar directories from the include path. Added
2000-04-16  Federico Mena Quintero  <federico@helixcode.com>

	* Makefile.am (INCLUDES): Removed spurious calendar directories
	from the include path.  Added "wombat" log domain for glib.
	(wombat_LDADD): Link libpcs.a instead of the old shared library.

	* wombat.c: cal-factory.h is an internal include file.  * wombat.c
	(setup_pcs): We should NOT share a CORBA_environment across all
	functions!  Use our own CORBA_environment.
	(init_bonobo): Use our own CORBA_environment.  Free the exception
	after initializing GOAD, and present some error messages if
	necessary.  (Should g_message()s for exceptional situations be
	marked for translation?).

svn path=/trunk/; revision=2462
2000-04-16 19:26:57 +00:00
780baefeb6 Must pass "object" for the kind to goad_server_register(); "server" is
2000-04-14  Federico Mena Quintero  <federico@helixcode.com>

	* wombat.c (setup_pcs): Must pass "object" for the kind to
	goad_server_register(); "server" is meaningless.
	(setup_pcs): Do not free the CORBA environment more than once.
	Also, fix error messages.

	* wombat.gnorba: The GOAD ID is "evolution:calendar-factory", not
	"evolution:calendar-server".

	* ChangeLog: Started the ChangeLog for Wombat.

svn path=/trunk/; revision=2423
2000-04-14 11:09:04 +00:00
cce829e8a4 add LDAP_LIBS here.
* wombat/Makefile.am (wombat_LDADD): add LDAP_LIBS here.

	* configure.in: check for -lldap and -llber and if both are
	present include ldap support in the pas/wombat.

	* addressbook/backend/pas/Makefile.am (libpas_la_SOURCES): include
	pas-backend.ldap.c if ENABLE_LDAP.

	* addressbook/backend/pas/pas-backend-ldap.c: get searching
	working (converting between the sexp and ldap stuff.)

	* wombat/wombat.c (setup_pas): register the ldap pas backend if
	HAVE_LDAP is defined.

svn path=/trunk/; revision=2401
2000-04-12 00:58:20 +00:00
268aa743d5 + * wombat/wombat.c: Changed headerfile path.
+
+	* wombat/Makefile.am: Use relative paths to libraries in the build
+	tree, rather than requiring libraries (such as libpcs) to already
+	be installed.

svn path=/trunk/; revision=2245
2000-03-29 05:05:45 +00:00
c741f30353 + * wombat/Makefile.am: new file.
+	* wombat/wombat.gnorba: Cleaned up.
+
+	* wombat/wombat.c (setup_pcs): filled in the rest.
+
+	* e-table-text-model.c (e_table_text_model_destroy): made
+	assertion more accurate.

svn path=/trunk/; revision=2244
2000-03-29 04:47:57 +00:00
a74313d1af + * wombat/wombat.gnorba: new file.
+
+	* wombat/.cvsignore: new file.
+
+	* wombat/wombat.c (setup_pcs): fill out this function some.
+
+	* configure.in: added wombat.
+
+	* pcs/Makefile.am: create a libpcs.la library, for use in the
+	wombat.

svn path=/trunk/; revision=2241
2000-03-29 03:05:07 +00:00
4c9fe1015c For matt.
svn path=/trunk/; revision=2219
2000-03-28 21:18:13 +00:00