Commit Graph

391 Commits

Author SHA1 Message Date
4d6913170e Fixes #43775
2003-05-29  JP Rosevear  <jpr@ximian.com>

	Fixes #43775

	* e-time-utils.c (locale_supports_12_hour_format): use
e_utf8_strftime
	(e_time_format_date_and_time): ditto
	(e_time_format_time): ditto

svn path=/trunk/; revision=21354
2003-05-30 17:32:52 +00:00
47ae0b0247 Removing trailing / in key name passed to gconf_client_notify_add to kill
* e-proxy.c (e_proxy_init): Removing trailing / in key name passed
	to gconf_client_notify_add to kill a warning. (Part of #43159)

svn path=/trunk/; revision=21223
2003-05-16 19:20:34 +00:00
9c69964a52 Use glib macros for pointer/int conversion.
2003-05-16  Jeremy Katz  <katzj@redhat.com>

	* e-sexp.c (term_eval_and): Use glib macros for pointer/int
	conversion.

svn path=/trunk/; revision=21221
2003-05-16 18:50:08 +00:00
d6092b270f Fixes crash in #42212
2003-05-07  Rodrigo Moya <rodrigo@ximian.com>

	Fixes crash in #42212

	* e-url.c (e_uri_new): check for 'uri_string' being NULL.

svn path=/trunk/; revision=21130
2003-05-08 14:18:45 +00:00
31289d7eb3 remove the assert, if we dont understand the response, assume it's a
2003-05-02  Not Zed  <NotZed@Ximian.com>

        * e-request.c (e_request_string): remove the assert, if we dont
        understand the response, assume it's a cancel.
        GTK_RESPONSE_DELETE_EVENT wasn't handled [#42038].

svn path=/trunk/; revision=21100
2003-05-05 00:56:34 +00:00
9a9c42d1f6 (e_request_string): Handle GTK_RESPONSE_NONE.
[#42038]

svn path=/trunk/; revision=21034
2003-04-30 19:47:16 +00:00
119759ca6d [ for bug #41211 ]
2003-04-24  Chris Toshok  <toshok@ximian.com>

	[ for bug #41211 ]

	* e-gui-utils.h (e_button_new_with_stock_icon): add prototype.

	* e-gui-utils.c (e_button_new_with_stock_icon): new function,
	allow us to create a custom labeled button with a stock icon.

svn path=/trunk/; revision=21022
2003-04-29 21:33:46 +00:00
56bb2117f0 Added #include <netinet/in.h> for the sockaddr_in6 typedef for at least
2003-04-28  Jeffrey Stedfast  <fejj@ximian.com>

	* e-host-utils.c: Added #include <netinet/in.h> for the
	sockaddr_in6 typedef for at least MacOS X.

svn path=/trunk/; revision=20998
2003-04-29 02:14:37 +00:00
1a3b2e594c Keep our buf ptr aligned to sizeof (char *). Should fix bug #41362.
2003-04-17  Jeffrey Stedfast  <fejj@ximian.com>

	* e-host-utils.c (e_gethostbyname_r): Keep our buf ptr aligned to
	sizeof (char *). Should fix bug #41362.
	(e_gethostbyaddr_r): Same.

svn path=/trunk/; revision=20956
2003-04-24 17:05:13 +00:00
4167920c36 Added appropriate spacing/padding to the rename dialogs. Fixes bugs
2003-04-18  Anna Marie Dirks  <anna@ximian.com>

	* e-request.c (e_request_string): Added appropriate spacing/padding
	to the rename dialogs. Fixes bugs #41040, #41036, #41038

svn path=/trunk/; revision=20916
2003-04-22 16:00:38 +00:00
3a26734567 (e_gtk_button_new_with_icon): Remove debugging
message.

svn path=/trunk/; revision=20886
2003-04-18 16:54:39 +00:00
3c0ee2d3df Finished an #if 0'd out port to GObject from an #if 0'd out GtkObject
2003-04-14  Jeffrey Stedfast  <fejj@ximian.com>

	* e-sexp.c: Finished an #if 0'd out port to GObject from an #if
	0'd out GtkObject subclassing.

svn path=/trunk/; revision=20864
2003-04-16 17:01:24 +00:00
106c466ccd Make sure any old symbol with the same name as the one being added, is
2003-04-15  Hans Petter Jansson  <hpj@ximian.com>

	* e-sexp.c (e_sexp_add_function)
	(e_sexp_add_ifunction): Make sure any old symbol with the same name
	as the one being added, is removed first.

svn path=/trunk/; revision=20852
2003-04-15 21:31:22 +00:00
0cf177cc2d Utility function to create a button with a stock icon.
2003-04-14  Not Zed  <NotZed@Ximian.com>

        * e-gtk-utils.c (e_gtk_button_new_with_icon): Utility function to
        create a button with a stock icon.

svn path=/trunk/; revision=20843
2003-04-15 01:08:52 +00:00
891b85f5e0 Change the 'len' argument to 'addrlen' so that when IPv6 is enabled, our
2003-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* e-host-utils.c (e_gethostbyaddr_r): Change the 'len' argument to
	'addrlen' so that when IPv6 is enabled, our temp vriable (also
	named len) does not cause confusion. Fixes bug #40979.

svn path=/trunk/; revision=20791
2003-04-09 18:41:17 +00:00
3ac3210947 (e_passwords_remember_password): Removed debugging
message that would spit out the actual password, albeit in encoded
form.

svn path=/trunk/; revision=20682
2003-04-06 00:18:09 +00:00
51ee0c1f2d Don't start emitting ACCOUNT_ADDED signals until we've added all of the
* e-account-list.c (gconf_accounts_changed): Don't start emitting
	ACCOUNT_ADDED signals until we've added all of the new accounts to
	our list. Otherwise if the signal handler calls
	e_account_list_get_default_account() it will end up causing the
	first account in the list to become the default. #40675

svn path=/trunk/; revision=20680
2003-04-04 23:22:04 +00:00
3fd8d4f4f7 fix abr. (e_name_western_get_suffix_at_str_end): same.
2003-04-04  Chris Toshok  <toshok@ximian.com>

	* ename/e-name-western.c (e_name_western_extract_middle): fix abr.
	(e_name_western_get_suffix_at_str_end): same.

svn path=/trunk/; revision=20676
2003-04-04 20:59:48 +00:00
4ffc3d3e7a Delete all Passwords-* sections. Should make this work.
2003-04-02  Not Zed  <NotZed@Ximian.com>

	* e-passwords.c (e_passwords_forget_passwords): Delete all
	Passwords-* sections.  Should make this work.

svn path=/trunk/; revision=20631
2003-04-02 04:48:22 +00:00
c689dd7130 print "" if the value is NULL. (main): add a couple of utf8 test cases
2003-03-31  Chris Toshok  <toshok@ximian.com>

	* ename/test-ename-western.c (do_name): print "" if the value is
	NULL.
	(main): add a couple of utf8 test cases (that still use western
	orderings).

	* ename/e-name-western.c (e_name_western_str_count_words):
	utf8-ize this.
	(e_name_western_cleanup_string): same.
	(e_name_western_get_words_at_idx): same.
	(e_name_western_get_one_prefix_at_str): same.
	(e_name_western_get_prefix_at_str): same.
	(e_name_western_extract_first): same.
	(e_name_western_extract_middle): same.
	(e_name_western_extract_nickname): same.
	(e_name_western_extract_last): same.
	(e_name_western_get_preceding_word): same.
	(e_name_western_get_suffix_at_str_end): same.
	(e_name_western_detect_backwards): same.
	(e_name_western_reorder_asshole): same.
	(FINISH_CHECK_MIDDLE_NAME_FOR_CONJUNCTION): same.
	(e_name_western_fixup): same.
	(e_name_western_parse): validate the string and truncate it if
	need be.

svn path=/trunk/; revision=20594
2003-03-31 09:41:46 +00:00
f4d239adc8 guard against NULL keys
2003-03-27  JP Rosevear  <jpr@ximian.com>

	* e-account-list.c (e_account_list_find): guard against NULL keys

svn path=/trunk/; revision=20554
2003-03-27 22:31:19 +00:00
264ed440fd (e_dialog_set_transient_for_xid): #ifdef out gtk 2.2 api usage
svn path=/trunk/; revision=20505
2003-03-25 16:28:33 +00:00
233ec93774 Move this here from gal. Use e_dialog_set_transient_for so it DTRT for
* e-dialog-utils.c (e_notice): Move this here from gal. Use
	e_dialog_set_transient_for so it DTRT for out-of-proc components.
	(e_notice_with_xid): Like e_notice but with an X Window ID as the
	parent window
	(e_gnome_dialog_set_parent): Remove this, since it was marked
	deprecated and only used in one place.
	(e_file_dialog_save): Make this use GtkMessageDialog instead of
	GnomeDialog

svn path=/trunk/; revision=20498
2003-03-25 15:47:45 +00:00
e1476cffd4 fix a typo & some missing headers.
2003-03-25  Not Zed  <NotZed@Ximian.com>

	* e-meta.c (meta_filename): fix a typo & some missing headers.

svn path=/trunk/; revision=20490
2003-03-25 01:00:31 +00:00
71defb68b9 Rename, rewrite, make them actually work.
* e-dialog-utils.c (e_dialog_set_transient_for,
	e_dialog_set_transient_for_xid): Rename, rewrite, make them
	actually work.

svn path=/trunk/; revision=20482
2003-03-24 17:13:28 +00:00
ed0a0ca716 Added e-meta.[ch] to libeutil
2003-03-25  Not Zed  <NotZed@Ximian.com>

	* Makefile.am: Added e-meta.[ch] to libeutil

	* e-meta.[ch]: simple api to implement meta-data for keyed
	objects.

svn path=/trunk/; revision=20477
2003-03-24 13:25:43 +00:00
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