Commit Graph

15 Commits

Author SHA1 Message Date
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
abfe422139 Fix compilation with builddir != srcdir (again).
svn path=/trunk/; revision=2441
2000-04-14 22:42:54 +00:00
99bef7a598 use BONOBO_VFS_GNOME_LIBS instead of BONOBO_HTML_GNOME_LIBS. fixes
* Makefile.am (wombat_LDADD): use BONOBO_VFS_GNOME_LIBS instead of
	BONOBO_HTML_GNOME_LIBS.  fixes freebsd's problem running wombat.

svn path=/trunk/; revision=2426
2000-04-14 16:28:33 +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
467a428552 change the empty search string ("") to the valid (contains "full_name"
* addressbook/gui/minicard/e-minicard-view.c (get_view): change
	the empty search string ("") to the valid (contains "full_name" "").

	* wombat/Makefile.am (wombat_LDADD): reorder so libeutil.la comes
	after libpas (since it uses the sexp stuff now.)

	* addressbook/backend/pas/Makefile.am (INCLUDES): add
	-I$(top_srcdir)/addressbook/backend/ebook

	* addressbook/backend/pas/pas-backend-file.c
	(view_destroy): free the search context and unref the sexp.
	(string_to_dbt): save the zero byte of strings, so we don't have
	to g_strndup everywhere.
	(func_contains): new function, implementing the (contains) search
	function.
	(vcard_matches_search): generic predicate to tell whether or not a
	vcard entry matches the current book view.
	(pas_backend_file_search): rip some of this code out of
	get_book_view (the portion building the list of cards) and make it
	use the e-sexp stuff.
	(pas_backend_file_process_create_card): use vcard_matches_search
	to only notify if the card will appear in the view.
	(pas_backend_file_process_remove_card): use vcard_matches_search
	to only notify if the card will be removed from the view.
	(pas_backend_file_process_modify_card): use vcard_matches_search
	to notify if the modified card was added, removed, or changed in
	the view.

svn path=/trunk/; revision=2382
2000-04-10 22:09:27 +00:00
99700ad43d Fixed a bug where I was sending the wrong information to some callbacks.
2000-04-10  Christopher James Lahey  <clahey@helixcode.com>

	* addressbook/backend/ebook/e-book-view.c: Fixed a bug where I was
	sending the wrong information to some callbacks.

	* addressbook/backend/ebook/e-card.c,
	addressbook/backend/ebook/e-card.h: Added an e_card_duplicate
	function.  Made ids get stored in vcards.  Made sure to delete the
	url if it exists.

	* addressbook/backend/pas/Makefile.am: Made pas include
	addressbook/backend/ebook/ in the search path.

	* addressbook/backend/pas/pas-backend-file.c: Fixed some bugs and
	made the create card function store the generated id in the card
	being saved.

	* addressbook/backend/pas/pas-book-view.c: Fixed a double free
	bug.

	* addressbook/contact-editor/e-contact-editor.c: Fixed some bugs.
	Made the contact editor actually return a valid card when
	gtk_object_get(editor, "card", ...) is called.

	* addressbook/contact-editor/e-contact-editor.h: Fixed a copy and
	paste error.

	* addressbook/gui/component/addressbook.c: Made this get the card
	properly.

	* addressbook/gui/minicard/Makefile.am: Made this include
	contact-editor directory in the search path and link against
	libecontacteditor so that double clicking can open a dialog.

	* addressbook/gui/minicard/e-minicard.c: Fixed some small bugs.
	Made double clicking open a contact editor dialog if this minicard
	is contained in a minicard view.  (It needs the minicard view to
	get the EBook to save to.

	* wombat/Makefile.am: Link wombat against libebook, since
	pas-backend-file now uses ECard.

svn path=/trunk/; revision=2360
2000-04-10 15:46:25 +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