Commit Graph

598 Commits

Author SHA1 Message Date
6435a460bb free word before breaking out of the loop.
2003-06-14  Larry Ewing  <lewing@ximian.com>

	* e-name-western.c (e_name_western_get_suffix_at_str_end): free
	word before breaking out of the loop.

svn path=/trunk/; revision=21446
2003-06-14 20:26:52 +00:00
0769fbfea6 use GCONF_CLIENT_PRELOAD_RECURSIVE when adding watched directories to
2003-06-12  Rodrigo Moya <rodrigo@ximian.com>

	* e-config-listener.c (add_key): use GCONF_CLIENT_PRELOAD_RECURSIVE
	when adding watched directories to avoid GConfd round-trips.

svn path=/trunk/; revision=21431
2003-06-13 15:22:18 +00:00
e69481e6e7 Free the fail_states array.
2003-06-12  Jeffrey Stedfast  <fejj@ximian.com>

	* e-trie.c (e_trie_free): Free the fail_states array.

svn path=/trunk/; revision=21429
2003-06-13 07:25:52 +00:00
51ca9977c7 Put the ChangeLog.pre-1-4 in the Makefiles.
svn path=/trunk/; revision=21426
2003-06-12 21:13:59 +00:00
c6c4d95cb8 Stat the file to make sure it exists before trying to parse it using
2003-05-30  Jeffrey Stedfast  <fejj@ximian.com>

	* e-meta.c (meta_load): Stat the file to make sure it exists
	before trying to parse it using xmlParseFile().

svn path=/trunk/; revision=21394
2003-06-10 20:44:25 +00:00
fd2f3a6d7a Roll over ChangeLogs.
svn path=/trunk/; revision=21387
2003-06-09 17:31:26 +00:00
e9e1b3c40c use ORBit_small_listen/_unlisten instead of Bonobo_Unknown_ping'ing the
2003-06-04  Rodrigo Moya <rodrigo@ximian.com>

	* e-component-listener.[ch]: use ORBit_small_listen/_unlisten instead
	of Bonobo_Unknown_ping'ing the components.

svn path=/trunk/; revision=21382
2003-06-04 15:05:09 +00:00
f0a3dbe3e7 mangle the %'s out too so that libxml2 doesn't convert the encoded hex
2003-05-31  Mike Kestner  <mkestner@ximian.com>

	* gal/util/e-util.c (e_filename_make_safe): mangle the %'s out
	too so that libxml2 doesn't convert the encoded hex values.

svn path=/trunk/; revision=21358
2003-05-31 17:21:23 +00:00
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
0701e570aa bump libtool version for api addition new, utf8 in/out
2003-05-28  Mike Kestner  <mkestner@ximian.com>

	* configure.in : bump libtool version for api addition
	* gal/util/e-util.c (e_utf8_strftime): new, utf8 in/out
	(e_utf8_strftime_fix_am_pm): new, utf8 in/out

2003-05-28  Mike Kestner  <mkestner@ximian.com>

	* e-cell-date.c (ecd_get_text): use e_utf8_strftime_fix_am_pm
	and remove locale to utf8 conversion at end.  [43485]

svn path=/trunk/; revision=21343
2003-05-28 21: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
bbe28c9d76 use E_I18N_DOMAIN
2003-05-08  Radek Doulik  <rodo@ximian.com>

	* gal/util/e-util.c (e_gettext): use E_I18N_DOMAIN

	* gal/util/e-i18n.h: use e_gettext as we need our text domain to
	be binded

svn path=/trunk/; revision=21131
2003-05-08 14:58:57 +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
99a26e26b6 fix logic for updating selection after a delete when @move_selection_mode
2003-04-28  Chris Toshok  <toshok@ximian.com>

	* gal/util/e-bit-array.c (e_bit_array_delete_real): fix logic for
	updating selection after a delete when @move_selection_mode ==
	TRUE.

svn path=/trunk/; revision=20997
2003-04-28 21:22:28 +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
d2af55db1a [ either fixes #39702 or comes damn, damn close. also, fixes EText to not
2003-04-02  Chris Toshok  <toshok@ximian.com>

	[ either fixes #39702 or comes damn, damn close.  also, fixes EText
	to not suck *nearly* as much. ]
	* gal/util/e-marshal.list: add NONE:POINTER,INT,OBJECT.

	* gal/e-text/e-entry.h: (struct _EEntryClass): popup ->
	populate_popup.

	* gal/e-text/e-entry.c (proxy_changed): rename, the old name was
	too damn long.
	(proxy_activate): same.
	(proxy_populate_popup): same, and change from popup to
	populate_popup.
	(e_entry_init): track change to cb names, and populate_popup.
	also, pass the ECanvas's im_context to the EText.
	(e_entry_class_init): POPUP -> POPULATE_POPUP.

	* gal/e-text/e-text.h (struct _EText): remove the old selection
	stuff, and add im_context/reset_im_context fields.
	(struct _ETextClass): popup -> populate_popup.

	* gal/e-text/e-text.c (e_text_dispose): remove all the
	GtkInvisible based selection stuff, and disconnect from/unref the
	im_context.
	(e_text_set_property): add "im_context" handling.
	(e_text_get_property): same.
	(e_text_event): connect/disconnect from the IM context's signals
	in the FOCUS_CHANGE handler.  in the KEY_PRESS/RELEASE handler,
	use gtk_im_context_filter_keypress if we have an im_context.
	also, use e_text_do_popup now instead of just emitting the "popup"
	signal.
	(e_text_copy_clipboard): new function.
	(e_text_delete_selection): new function.
	(e_text_cut_clipboard): new function.
	(e_text_paste_clipboard): new function.
	(e_text_select_all): new function.
	(primary_get_cb): new function, handle requests for the primary
	selection when we're the owner.
	(primary_clear_cb): new function, unfinished.
	(e_text_update_primary_selection): new function.
	(paste_received): new function, insert pasted text.
	(e_text_paste): new function,
	(popup_menu_detach): new function, not needed really.
	(popup_targets_received): new function, pop up the popup once we
	have the selection information necessary to sensitize the c/c/p
	buttons.
	(e_text_do_popup): new function, request the selection.
	(e_text_reset_im_context): new function.
	(e_text_command): for E_TEP_SELECT, call
	e_text_update_primary_selection.  for E_TEP_DELETE/INSERT,
	_delete_selection -> e_text_delete_selection.  for E_TEP_COPY,
	call e_text_copy_clipboard.  for E_TEP_PASTE/E_TEP_GET_SELECTION
	call e_text_paste.
	(e_text_class_init): change the "popup" signal to
	"populate_popup".  Also, add the "im_context" property.
	(e_text_commit_cb): new function. IM context callback.
	(e_text_retrieve_surrounding_cb): new function.  IM context
	callback.
	(e_text_delete_surrounding_cb): new function.  IM context
	callback.  unfinished.

svn path=/trunk/; revision=20653
2003-04-03 06:06:20 +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
0b09ea1971 forgot to cvs add
svn path=/trunk/; revision=20489
2003-03-25 00:40:18 +00:00
9125d276f3 forgot to save before committing
svn path=/trunk/; revision=20483
2003-03-24 17:14:32 +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
619b6c4fc1 argh, make that IS_E_SEXP
svn path=/trunk/; revision=20362
2003-03-19 19:49:44 +00:00
71b37b0289 s/FILTER_IS_SEXP/E_IS_SEXP
svn path=/trunk/; revision=20361
2003-03-19 19:48:40 +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
ec640140b3 ugh, we need to make sure the file is opened for writing. or the flags
2003-03-14  Chris Toshok  <toshok@ximian.com>

	* gal/util/e-util.c (e_write_file): ugh, we need to make sure the
	file is opened for writing.  or the flags with O_WRONLY.

svn path=/trunk/; revision=20304
2003-03-15 00:34:11 +00:00
0b82cc7a34 use access() like camel
2003-03-14  Mike Kestner  <mkestner@ximian.com>

	* gal/util/e-util.c (e_mkdir_hier): use access() like camel

2003-03-14  Mike Kestner  <mkestner@ximian.com>

	* gal-view-collection.c (gal_view_collection_load): check failure
	on e_create_directory call and warn.
	* gal-view-instance.c (save_current_view): check for failure and
	warn.

svn path=/trunk/; revision=20291
2003-03-14 17:19:25 +00:00
7cff3a9cde Updated to use xmlDocDumpFormatMemory() so that we get structured xml
2003-03-13  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/util/e-xml-utils.c (e_xml_save_file): Updated to use
	xmlDocDumpFormatMemory() so that we get structured xml rather than
	just a clump of xml mess.

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