Commit Graph

365 Commits

Author SHA1 Message Date
0179e4a206 If the gunichar is 0xfffe, just skip processing it. Maybe this will fix
2003-03-20  Jeffrey Stedfast  <fejj@ximian.com>

	* e-trie.c (e_trie_search): If the gunichar is 0xfffe, just skip
	processing it. Maybe this will fix bug #39900.
	(trie_utf8_getc): Removed unused labels to shutup the compiler.

svn path=/trunk/; revision=20448
2003-03-21 00:46:26 +00:00
8d9be87caa If the gunichar is 0xfffe, just skip processing it. Maybe this will fix
2003-03-20  Jeffrey Stedfast  <fejj@ximian.com>

	* e-trie.c (e_trie_search): If the gunichar is 0xfffe, just skip
	processing it. Maybe this will fix bug #39900.

svn path=/trunk/; revision=20436
2003-03-20 19:06:49 +00:00
790c00fa27 Fix ESExpClass to never be an empty struct. Also make ESExp optionally a
2003-03-19  Jeffrey Stedfast  <fejj@ximian.com>

	* e-sexp.h: Fix ESExpClass to never be an empty struct. Also make
	ESExp optionally a subclass of GObject rather than GtkObject (not
	that we'll probably ever make it so, but for completeness sake?).

2003-03-18  Jeffrey Stedfast  <fejj@ximian.com>

	* e-trie.c (trie_utf8_getc): Don't use __inline__ as it is not
	always defined.

svn path=/trunk/; revision=20360
2003-03-19 19:02:14 +00:00
94ff918c13 When declaring a line to be part of "extended" because we don't know what
* ename/e-address-western.c (e_address_western_parse): When
        declaring a line to be part of "extended" because we don't know
        what else to call it, keep the preceding "\n" so that the address
        still looks the same when we reassemble the pieces later. Fixes
        handling of non-US addresses

svn path=/trunk/; revision=20306
2003-03-16 21:52:05 +00:00
8d1a4eb49d Update for a libxml2 change that was making this code g_warn a lot
* e-xml-hash-utils.c (e_xml_to_hash): Update for a libxml2 change
	that was making this code g_warn a lot

svn path=/trunk/; revision=20264
2003-03-12 17:28:35 +00:00
2e4ccf263e (e_request_string): Make the entry activate the
default response in the dialog.

svn path=/trunk/; revision=20207
2003-03-06 18:25:23 +00:00
93f4a72318 Use gnome2 proxy settings
2003-03-03  Rodney Dawes  <dobey@ximian.com>

	* e-proxy.c: Use gnome2 proxy settings

svn path=/trunk/; revision=20124
2003-03-03 18:03:37 +00:00
afcd36fa38 s/gnome-xml/libxml/
2003-03-02  Rodney Dawes  <dobey@ximian.com>

	* e-pilot-util.c: s/gnome-xml/libxml/

svn path=/trunk/; revision=20119
2003-03-02 19:07:44 +00:00
acfd354729 include gnome-pilot cflags
2003-02-27  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: include gnome-pilot cflags

svn path=/trunk/; revision=20092
2003-02-27 23:05:14 +00:00
aca5cd95de 'uid' should not be const.
2003-02-23  Jeffrey Stedfast  <fejj@ximian.com>

	* e-account-list.c (gconf_accounts_changed): 'uid' should not be
	const.

svn path=/trunk/; revision=20025
2003-02-24 04:44:12 +00:00
9491a06552 helper to get the dfault account. (e_account_list_set_default): helper to
2003-02-20  Not Zed  <NotZed@Ximian.com>

        * e-account-list.c (e_account_list_get_default): helper to get the
        dfault account.
        (e_account_list_set_default): helper to set the default account.
        (e_account_list_find): Helper to find accounts based on differnet
        key types.
        (e_account_list_add): helper to add account + emit added event.
        (e_account_list_change): helper to emit changed event.
        (e_account_list_remove): herlper to remove account + emit changed event.

svn path=/trunk/; revision=20015
2003-02-24 02:51:01 +00:00
c21c4013cc A result of 0 no longer indicates success; GTK_RESPONSE_OK does.
2003-02-22  Hans Petter Jansson  <hpj@ximian.com>

	* e-categories-config.c (e_categories_config_open_dialog_for_entry):
	A result of 0 no longer indicates success; GTK_RESPONSE_OK does.

svn path=/trunk/; revision=19998
2003-02-22 23:00:59 +00:00
21efc37a51 fix memleak - free uid.
2003-02-17  Chris Toshok  <toshok@ximian.com>

	* e-account-list.c (gconf_accounts_changed): fix memleak - free
	uid.

svn path=/trunk/; revision=19958
2003-02-20 00:48:16 +00:00
39bc77da50 Instead of simply ignoring bad chars, return the sentinal invalid char
2003-02-11  Not Zed  <NotZed@Ximian.com>

        * e-trie.c (trie_utf8_getc): Instead of simply ignoring bad chars,
        return the sentinal invalid char 0xfffe, so that we properly track
        the start of sequences.

svn path=/trunk/; revision=19881
2003-02-11 10:51:41 +00:00
48c9c3dc71 (libeutil_static_la_DEPENDENCIES): Make
libeutil-static.la depend on libeutil.la so that parallel
compilations work; building them at the same time confuses
libtool.
(e-util-marshal.h, e-util-marshal.c): Use different tmp files so
these rules can happen in parallel.

svn path=/trunk/; revision=19871
2003-02-10 17:01:40 +00:00
022bfface0 define in terms of privincludedir.
* Makefile.am (eutilincludedir, etc): define in terms of
	privincludedir.

	* ename/Makefile.am (libenameincludedir): Likewise

	* e-account.c: Fix warnings
	* e-account-list.c: Likewise
	* e-config-listener.c: Likewise
	* e-gui-utils.c: Likewise.
	* e-lang-utils.c: Likewise
	* e-msgport.c: Likewise
	* e-passwords.c: Likewise

	* e-categories-config.c
	(e_categories_config_open_dialog_for_entry): Use g_object_get/_set
	rather than gtk_

	* e-url.c (e_uri_new): Use g_ascii_strdown instead of deprecated
	g_strdown.

svn path=/trunk/; revision=19771
2003-02-05 21:58:39 +00:00
dd15703ae5 Port to GtkDialog. Strdup the text returned by GtkEntry after destroying
* e-request.c (e_request_string): Port to GtkDialog.  Strdup the
text returned by GtkEntry after destroying the dialog, not before.
Use gtk_editable_select_region() instead of
gtk_entry_select_region().  Add a little bit of padding to make it
look less crampy and set a default width.

* e-dialog-utils.h (e_gnome_dialog_set_parent): Declare only if
GNOME_DISABLE_DEPRECATED is not #defined.
(e_gnome_warning_dialog_parented): Likewise.
(e_gnome_ok_cancel_dialog_parented): Likewise.

svn path=/trunk/; revision=19657
2003-01-27 21:08:46 +00:00
d79f733942 ref/sink the pilot settings to clear up that gtk warning.
2003-01-26  Chris Toshok  <toshok@ximian.com>

	* e-pilot-settings.c (e_pilot_settings_new): ref/sink the pilot
	settings to clear up that gtk warning.

svn path=/trunk/; revision=19644
2003-01-27 06:23:58 +00:00
d890e1c9c9 g_file_exists -> g_file_test. (e_pilot_map_write): don't use doc->root.
2003-01-25  Chris Toshok  <toshok@ximian.com>

	* e-pilot-map.c (e_pilot_map_read): g_file_exists -> g_file_test.
	(e_pilot_map_write): don't use doc->root.

svn path=/trunk/; revision=19631
2003-01-26 04:34:29 +00:00
9d51279ace GObjectify this.
2003-01-25  Chris Toshok  <toshok@ximian.com>

	* e-pilot-settings.[ch]: GObjectify this.

svn path=/trunk/; revision=19629
2003-01-26 04:04:52 +00:00
be30d82733 Enable getting the categories master list from wombat.
2003-01-24  Hans Petter Jansson  <hpj@ximian.com>

	* e-categories-config.c (initialize_categories_config): Enable
	getting the categories master list from wombat.
	(e_categories_config_open_dialog_for_entry): It's now a GtkDialog.

svn path=/trunk/; revision=19625
2003-01-24 22:06:38 +00:00
5b0772653d Version using $(BASE_VERSION). (econdincludedir): Likewise.
* Makefile.am (eutilincludedir): Version using $(BASE_VERSION).
(econdincludedir): Likewise.
(edb3includedir): Likewise.
(imagesdir): Likewise.

* ename/Makefile.am: Install libename in $(privlibdir) and
$(includedir)/evolution-$(BASE_VERSION)/ename.

svn path=/trunk/; revision=19558
2003-01-22 20:10:06 +00:00
650c61584f Changed signal names to use - instead of _ like the rest of Gtk2.
2003-01-17  Jeffrey Stedfast  <fejj@ximian.com>

	* e-account-list.c: Changed signal names to use - instead of _
	like the rest of Gtk2.

	* e-account.c (e_account_import): New function that is basically
	the old account_copy().

svn path=/trunk/; revision=19508
2003-01-17 23:30:37 +00:00
9b1888365c New, sort of from evolution-recurid-branch.
* e-xml-hash-utils.c: New, sort of from evolution-recurid-branch.

svn path=/trunk/; revision=19503
2003-01-17 19:32:19 +00:00
2596671b87 New class, based on MailConfigAccount, for describing an evolution (mail)
* e-account.c: New class, based on MailConfigAccount, for
	describing an evolution (mail) account.

	* e-account-list.c: New class for tracking the list of configured
	accounts. (Also uses some code from mail-config.)

	* e-list.c (e_list_construct, e_list_remove): New

svn path=/trunk/; revision=19495
2003-01-16 19:38:44 +00:00
3be3c9494b Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove the
* e-dialog-utils.c: Do not #include <e-bonobo-widget.h>.
(e_set_dialog_parent): Remove the BonoboWidget handling stuff (it
doesn't really work anyways).

* e-shell-view.c: Do not #include "e-bonobo-widget.h".

* Makefile.am (widgetsinclude_HEADERS): Ooops, remove
e-bonobo-widget.h.
(libemiscwidgets_a_SOURCES): Likewise, remove e-bonobo-widget.c.

svn path=/trunk/; revision=19460
2003-01-14 20:19:26 +00:00
47196d3ea3 (eutilinclude_HEADERS): Add e-dialog-utils.h.
svn path=/trunk/; revision=19453
2003-01-14 18:27:04 +00:00
1c3f1f0d68 change this to use GtkImage instead of GnomeCanvas.
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* e-gui-utils.c (e_create_image_widget): change this to use
	GtkImage instead of GnomeCanvas.

svn path=/trunk/; revision=19373
2003-01-09 21:58:39 +00:00
86033606aa Images are now in $(datadir)/evolution/images
instead of $(datadir)/images/evolution.

svn path=/trunk/; revision=19294
2003-01-08 22:36:12 +00:00
186d1089e5 New.
* e-config-listener.c (e_config_listener_remove_value): New.

	* e-passwords.c (e_passwords_get_password): Don't look at the
	passwords hash until calling e_passwords_init().

svn path=/trunk/; revision=19253
2003-01-07 15:04:07 +00:00
24ee471cb1 Add this back: Connector needs it, and there's no reason for addressbook
* e-html-utils.c: Add this back: Connector needs it, and there's
	no reason for addressbook and calendar to be using camel to get
	this functionality.

	* Makefile.am (libeutil_la_SOURCES): re-add e-html-utils

svn path=/trunk/; revision=19246
2003-01-06 18:55:31 +00:00
64ea8d10a8 A bunch of fixes to make e-util build with -DG_DISABLE_DEPRECATED and
2003-01-02  Jeffrey Stedfast  <fejj@ximian.com>

	A bunch of fixes to make e-util build with -DG_DISABLE_DEPRECATED
	and -DGTK_DISABLE_DEPRECATED.

svn path=/trunk/; revision=19210
2003-01-02 21:32:14 +00:00
070543d8c2 (e_signal_connect_full_while_alive): Get to
compile.
(e_signal_connect_while_alive): Like.

svn path=/trunk/; revision=19201
2003-01-02 16:54:56 +00:00
128eba1c6d (e_signal_connect_while_alive): New.
(e_signal_connect_full_while_alive): Renamed from
e_gtk_signal_connect_full_while_alive().

svn path=/trunk/; revision=19171
2002-12-19 22:11:01 +00:00
d3d65d9bec Removed. Back to the fiery depths of hell from whence ye came!
2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-html-utils.[c,h]: Removed. Back to the fiery depths of hell
	from whence ye came!

svn path=/trunk/; revision=19130
2002-12-16 19:47:33 +00:00
2dd7fb3a14 new function.
2002-12-10  Rodrigo Moya <rodrigo@ximian.com>

	* e-config-listener.[ch] (e_config_listener_remove_dir): new function.

svn path=/trunk/; revision=19086
2002-12-10 17:03:03 +00:00
3b74718def New implementation of an Aho-Corasick trie.
2002-12-09  Jeffrey Stedfast  <fejj@ximian.com>

	* e-trie.c: New implementation of an Aho-Corasick trie.

svn path=/trunk/; revision=19074
2002-12-09 23:16:38 +00:00
2efdf9ac4a track changes to api (e_passwords_init is gone, and several functions take
2002-12-09  Chris Toshok  <toshok@ximian.com>

	* e-passwords.h: track changes to api (e_passwords_init is gone,
	and several functions take the component name as an arg.)

	* e-passwords.c (e_passwords_init): make this static, and allow
	multiple calls.  Also, it no longer takes the component name.
	(e_passwords_shutdown): make this deal with the case where
	e_passwords_init wasn't called (no hashtable), and it no longer
	needs to free component_name.
	(e_passwords_forget_passwords): call e_passwords_init.
	(e_passwords_clear_component_passwords): take component_name as an
	arg, and call e_passwords_init.
	(password_path): take component_name as an arg.
	(e_passwords_remember_password): same, and call e_passwords_init.
	(e_passwords_forget_password): same.
	(e_passwords_get_password): same.
	(e_passwords_add_password): call e_passwords_init.
	(e_passwords_ask_password): take component_name as an arg.

svn path=/trunk/; revision=19071
2002-12-09 21:39:41 +00:00
c43c83145a Allow an e-mutex to be used with standard condition variables.
2002-12-07  Not Zed  <NotZed@Ximian.com>

        * e-msgport.c (e_mutex_cond_wait): Allow an e-mutex to be used
        with standard condition variables.

svn path=/trunk/; revision=19055
2002-12-09 00:23:58 +00:00
2e2fa87f50 change to a more gconf-like path (with underscores, etc.) (ecmlw_save):
2002-12-06  Chris Toshok  <toshok@ximian.com>

	* e-categories-master-list-wombat.c (ecmlw_load): change to a more
	gconf-like path (with underscores, etc.)
	(ecmlw_save): same.

svn path=/trunk/; revision=19051
2002-12-07 05:15:26 +00:00
57d76d9b31 If the language is something like "fr_FR", return both "fr_FR" and "fr" in
* e-lang-utils.c (e_get_language_list): If the language is
	something like "fr_FR", return both "fr_FR" and "fr" in the list.
	Oaf doesn't consider "fr_FR" to match a "-fr" translation.

svn path=/trunk/; revision=18926
2002-11-26 17:20:16 +00:00
554b987da7 Added an optional nspr pipe field. (e_msgport_new): Init nspr pipe to
2002-11-22  Not Zed  <NotZed@Ximian.com>

	* e-msgport.c (EMsgPort): Added an optional nspr pipe field.
	(e_msgport_new): Init nspr pipe to null.
	(e_msgport_destroy): close prfiledesc's if they're open.
	(e_msgport_prfd): get the prfiledesc to wait asynchronously on.
	(e_msgport_put): Write notify to nspr pipe if it exists.
	(e_msgport_wait): poll nspr pipe fd if it is set, and the pipe fd
	isn't.
	(e_msgport_get): skim off a notify byte on the pr pipe if set.
	(): Include config.h, and nspr stuff if HAVE_NSS is set.

svn path=/trunk/; revision=18893
2002-11-22 22:28:49 +00:00
777954dd8a (e_config_listener_get_string_with_default):
Make sure we don't use a string value from a GConfValue that got
freed.

svn path=/trunk/; revision=18743
2002-11-13 19:54:55 +00:00
becc84e5c5 add e-password.h (libeutil_la_SOURCES): add e-password.c
2002-11-12  Chris Toshok  <toshok@ximian.com>

	* Makefile.am
	(eutilinclude_HEADERS): add e-password.h
	(libeutil_la_SOURCES): add e-password.c

	* e-passwords.[ch]: port this to gnome2's gnome-config-private.

svn path=/trunk/; revision=18727
2002-11-12 23:05:06 +00:00
bffbf68143 (add_key): g_strdup() the value in the case
of a string value.

svn path=/trunk/; revision=18708
2002-11-11 19:53:06 +00:00
46612a17c3 Re-add e-proxy.c to the build.
2002-11-11  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Re-add e-proxy.c to the build.

svn path=/trunk/; revision=18693
2002-11-11 15:35:26 +00:00
0a9f515185 add e-categories-config.h and e-categories-master-list-wombat.h
2002-11-08  Chris Toshok  <toshok@ximian.com>

	* Makefile.am (eutilinclude_HEADERS): add e-categories-config.h
	and e-categories-master-list-wombat.h
	(libeutil_la_SOURCES): add e-categories-master-list-wombat.c

	* e-categories-master-list-wombat.[ch]: port work.

svn path=/trunk/; revision=18683
2002-11-09 03:45:48 +00:00
4f21ad07f0 pass extra pixbuf param
2002-11-07  JP Rosevear  <jpr@ximian.com>

	* e-categories-config.c (e_categories_config_get_icon_for): pass
	extra pixbuf param

	* e-categories-config.h: use G_*_DECLS

	* e-dialog-utils.c (save_ok): update g_file_test params

	* Makefile.am: Compile some additional files

svn path=/trunk/; revision=18646
2002-11-07 22:37:32 +00:00
e27effde19 init err to NULL so if there isn't an error we aren't left with an
2002-11-06  Chris Toshok  <toshok@ximian.com>

	* e-config-listener.c (e_config_listener_set_boolean): init err to
	NULL so if there isn't an error we aren't left with an unitialized
	GError.  Fixes crash.
	(e_config_listener_set_float): same.
	(e_config_listener_set_long): same.
	(e_config_listener_set_string): same.

svn path=/trunk/; revision=18593
2002-11-06 08:30:39 +00:00
f8bad51867 ported to GObject.
2002-11-05  Rodrigo Moya <rodrigo@ximian.com>

	* e-component-listener.[ch]: ported to GObject.

	* Makefile.am: re-enabled e-component-listener.[ch]

svn path=/trunk/; revision=18546
2002-11-05 11:37:58 +00:00