Commit Graph

265 Commits

Author SHA1 Message Date
4e6779f2fd compile new files
2002-01-14  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: compile new files

	* e-pilot-settings.[hc]: beginnings of a general conduit
	configuration gui

svn path=/trunk/; revision=15321
2002-01-14 21:05:48 +00:00
7ea986d8c4 Allow for a period after suffixes. Fixes Ximian bug #17012.
2002-01-10  Christopher James Lahey  <clahey@ximian.com>

	* ename/e-name-western.c (e_name_western_word_is_suffix): Allow
	for a period after suffixes.  Fixes Ximian bug #17012.

svn path=/trunk/; revision=15289
2002-01-10 22:33:42 +00:00
5269a7d1e2 Prune free'd nodes from our free list otherwise we'll end up re-using
2002-01-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-memory.c (e_memchunk_clean): Prune free'd nodes from our free
	list otherwise we'll end up re-using free'd memory blocks and
	that's not a Good Thing (tm).

svn path=/trunk/; revision=15250
2002-01-05 00:03:05 +00:00
b0a8f5c028 Reverted.
2002-01-02  Jeffrey Stedfast  <fejj@ximian.com>

	* md5-utils.h: Reverted.

svn path=/trunk/; revision=15228
2002-01-02 20:48:39 +00:00
ae2d0ca936 Move the struct into md5-utils.c - this is a kludgey hack around the fact
2002-01-02  Jeffrey Stedfast  <fejj@ximian.com>

	* md5-utils.h: Move the struct into md5-utils.c - this is a
	kludgey hack around the fact that NSS also defines
	MD5Context. Besides, this should be a private struct anyway.

svn path=/trunk/; revision=15227
2002-01-02 20:45:42 +00:00
178c7af85f remove e_gnome_dialog util functions and use e-util ones instead
2002-01-02  JP Rosevear  <jpr@ximian.com>

	* mail-callbacks.c: remove e_gnome_dialog util functions and use
	e-util ones instead

2002-01-02  JP Rosevear  <jpr@ximian.com>

	* e-dialog-utils.c (e_gnome_dialog_set_parent): util function
	moved from mail-callbacks, also destroys the dialog if the parent
	is destroyed
	(e_gnome_warning_dialog_parented): similarly
	(e_gnome_ok_cancel_dialog_parented): ditto

	* e-dialog-utils.h: new protos

svn path=/trunk/; revision=15225
2002-01-02 19:11:03 +00:00
d7e3011f51 clear all info from the map
2001-12-17  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.c (e_pilot_map_clear): clear all info from the map

	* e-pilot-map.h: add proto

svn path=/trunk/; revision=15177
2001-12-19 15:15:22 +00:00
12b70e06ff use UTF-8 as the char set when testing pilot link
2001-12-10  JP Rosevear  <jpr@ximian.com>

 	* configure.in: use UTF-8 as the char set when testing pilot link

2001-12-10  JP Rosevear  <jpr@ximian.com>

	* e-pilot-util.c (e_pilot_utf8_to_pchar): use UTF-8 instead of
	UTF8 as the source char set
	(e_pilot_utf8_from_pchar): use UTF-8 instead of UTF8 as the
	destination char set

svn path=/trunk/; revision=14995
2001-12-11 22:00:12 +00:00
3bbe7554d7 Clear the password in bonobo-conf as well. Fixes ximian 14893.
* e-passwords.c (e_passwords_forget_password): Clear the password
        in bonobo-conf as well. Fixes ximian 14893.

svn path=/trunk/; revision=14754
2001-11-20 05:37:27 +00:00
779f6f2b35 Remove `-lc'. It makes the mailer do strange things when it calls
* Makefile.am (libeutil_la_LIBADD): Remove `-lc'.  It makes the
mailer do strange things when it calls `fork()', thus breaking
e.g. mail sending through sendmail.

svn path=/trunk/; revision=14694
2001-11-14 06:07:34 +00:00
541cb80af5 only insert non-0 pids into the pid map (e_pilot_map_insert): remove and
2001-11-13  JP Rosevear  <jpr@ximian.com>

 	* e-pilot-map.c (real_e_pilot_map_insert): only insert non-0 pids
 	into the pid map
 	(e_pilot_map_insert): remove and free old keys/values here -
 	including possibly orphaned keys
 	(e_pilot_map_remove_by_uid): only free things if they should have
 	been found

svn path=/trunk/; revision=14687
2001-11-13 19:24:55 +00:00
c132868844 Explicitly add -lc
2001-11-13  JP Rosevear  <jpr@ximian.com>

	* Makefile.am (libeutil_la_LIBADD): Explicitly add -lc

svn path=/trunk/; revision=14686
2001-11-13 18:18:55 +00:00
14fda1ed48 added a 2nd format, with the weekday and the date. We need this so we can
2001-10-30  Damon Chaplin  <damon@ximian.com>

	* e-time-utils.c (e_time_parse_date): added a 2nd format, with the
	weekday and the date. We need this so we can try to parse DATE values
	in the ECalendarTable.

svn path=/trunk/; revision=14457
2001-10-30 13:01:36 +00:00
c3eee80636 Remove a g_warning.
* e-dialog-utils.c (e_set_dialog_parent): Remove a g_warning.

svn path=/trunk/; revision=14405
2001-10-30 02:44:15 +00:00
2e21780aad Added French conjunction.
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* ename/e-name-western.c (e_name_western_fixup): Added French
	conjunction.

	* e-host-utils.c: Don't define gethost_mutex unless we need it.

svn path=/trunk/; revision=14373
2001-10-29 22:51:21 +00:00
e8c8a7a088 Cleaned this up a bit.
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* ename/e-name-western.c: Cleaned this up a bit.

svn path=/trunk/; revision=14333
2001-10-29 12:15:13 +00:00
ef079d460a ChangeLog fix.
svn path=/trunk/; revision=14330
2001-10-29 10:40:35 +00:00
db58727d13 Check for compound first names here (X & Y).
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* ename/e-name-western.c (e_name_western_fixup): Check for
	compound first names here (X & Y).

svn path=/trunk/; revision=14329
2001-10-29 10:40:03 +00:00
891310bddb make sure to free the keys as well (e_pilot_map_remove_by_uid): ditto
2001-10-28  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.c (e_pilot_map_remove_by_pid): make sure to free the
	keys as well
	(e_pilot_map_remove_by_uid): ditto

svn path=/trunk/; revision=14315
2001-10-29 02:33:16 +00:00
716da0ac90 update proto
2001-10-27  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.h: update proto

	* e-pilot-map.c (e_pilot_map_lookup_pid): touch the nodes if
	indicated and found
	(e_pilot_map_lookup_uid): ditto

svn path=/trunk/; revision=14208
2001-10-27 15:33:10 +00:00
a06095af85 take an extra param on whether to mark touched (map_sax_start_element):
2001-10-26  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.c (real_e_pilot_map_insert): take an extra param on
	whether to mark touched
	(map_sax_start_element): use above
	(e_pilot_map_insert): ditto
	(e_pilot_map_write): pass in extra info to foreach call
	(map_write_foreach): if we are in touched only mode, write out the
	map only if its been touched

	* e-pilot-map.h: add new member

svn path=/trunk/; revision=14196
2001-10-27 03:44:02 +00:00
743527c36f add archived records with pilot id of 0 (map_write_foreach): use the uid
2001-10-26  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.c (map_sax_start_element): add archived records
	with pilot id of 0
	(map_write_foreach): use the uid map for writing
	(e_pilot_map_write): write using the uid map

svn path=/trunk/; revision=14147
2001-10-26 17:23:18 +00:00
f113b35e50 free up old memory first (e_pilot_map_destroy): free allocated memory when
2001-10-26  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.c (e_pilot_map_insert): free up old memory first
	(e_pilot_map_destroy): free allocated memory when destroying

svn path=/trunk/; revision=14143
2001-10-26 15:29:49 +00:00
2ea98fb813 plug leak
2001-10-22  JP Rosevear  <jpr@ximian.com>

	* e-pilot-map.c (map_set_node_timet): plug leak

svn path=/trunk/; revision=13945
2001-10-23 17:40:27 +00:00
6a76e39e37 Change " " to "&nbsp;" at start of line.
* e-html-utils.c (e_text_to_html_full): Change " " to "&nbsp;" at
	start of line.

svn path=/trunk/; revision=13940
2001-10-23 13:54:38 +00:00
44faa44bff Pass a CORBA_Environment to bonobo_config_get_string so it doesn't g_warn
* e-passwords.c (e_passwords_get_password): Pass a
	CORBA_Environment to bonobo_config_get_string so it doesn't g_warn
	on error. (Since the "error" is most likely just that the password
	isn't cached.)
	(e_passwords_remember_password, e_passwords_get_password,
	e_passwords_add_password): Change "if (foo) { entire function; }"
	to "if (!foo) return;"

	* e-html-utils.c (special_chars): Don't allow single quote or
	backtick in email addresses, or pipes following URLs.

svn path=/trunk/; revision=13887
2001-10-22 18:46:46 +00:00
3b3c44b51c null out DBT memory prior to usage (from Edd Dumbill <edd@usefulinc.com>)
2001-10-22  JP Rosevear  <jpr@ximian.com>

	* e-dbhash.c (e_dbhash_foreach_key): null out DBT memory prior to
	usage (from Edd Dumbill <edd@usefulinc.com>)

svn path=/trunk/; revision=13869
2001-10-22 13:54:12 +00:00
cb0ed21028 Fix the WM problems related to the folder selection dialog being
out-of-proc.  Now it can be set to be a transient window correctly,
and fakes its WindowGroup hint appropriately.

svn path=/trunk/; revision=13765
2001-10-18 19:58:22 +00:00
1641994074 new parameter to e_passwords_init, and add prototype for
2001-10-12  Chris Toshok  <toshok@ximian.com>

	* e-passwords.h: new parameter to e_passwords_init, and add
	prototype for e_passwords_clear_component_passwords.

	* e-passwords.c (e_passwords_init): copy off the component name.
	(e_passwords_shutdown): free/NULL the component name.
	(e_passwords_clear_component_passwords): new function.  remove the
	subtree rooted at /Passwords/<ComponentName>.
	(e_passwords_remember_password): use component_name when building
	up the path.
	(e_passwords_get_password): same.
	(e_passwords_add_password): remove/free the currently stored
	session password for this key if there is one, before adding the
	new one.

svn path=/trunk/; revision=13637
2001-10-12 22:19:34 +00:00
88e80089d1 change prototype for e_passwords_get_password.
2001-10-11  Chris Toshok  <toshok@ximian.com>

	* e-passwords.h: change prototype for e_passwords_get_password.

	* e-passwords.c (e_passwords_get_password): remove 'const' from
	return type - the return type is now allocated and must be freed
	by the caller.

svn path=/trunk/; revision=13608
2001-10-12 02:01:38 +00:00
7d7fcc9aea open the bonobo config db for our passwords. (e_passwords_shutdown): sync
2001-10-11  Chris Toshok  <toshok@ximian.com>

	* e-passwords.c (e_passwords_init): open the bonobo config db for
	our passwords.
	(e_passwords_shutdown): sync and unref the bonobo db, and clear
	out the per session hash.
	(e_passwords_forget_passwords): remove the bonobo config db
	/Passwords path, and free up the session hash (but don't destroy
	it).
	(e_passwords_remember_password): remove the key/value from the
	session hash, after inserting it into the bonobo db.
	(e_passwords_get_password): look up a session password for the
	uri, and if it's not there, consult the bonobo db.
	(e_passwords_ask_password): quiet gcc's warnings, and only consult
	the toggle button state if we actaully created it.

svn path=/trunk/; revision=13598
2001-10-11 20:13:23 +00:00
20d8a18413 don't add the host if it's null
2001-10-09  Rodrigo Moya <rodrigo@ximian.com>

	* e-url.c (e_uri_to_string): don't add the host if it's null

svn path=/trunk/; revision=13526
2001-10-09 18:40:20 +00:00
f7f5a3032f Made this refuse to parse more than 2047 characters of address.
2001-10-06  Christopher James Lahey  <clahey@ximian.com>

	* ename/e-address-western.c (e_address_western_parse): Made this
	refuse to parse more than 2047 characters of address.

svn path=/trunk/; revision=13484
2001-10-06 16:30:54 +00:00
59b0684415 Make this dup the strings it's passed. (*) Add lots of docs.
* e-passwords.c (e_passwords_add_password): Make this dup the
	strings it's passed.
	(*) Add lots of docs.

svn path=/trunk/; revision=13409
2001-10-04 17:45:42 +00:00
a9155f28dd Fixed typo in the ChangeLog
svn path=/trunk/; revision=13378
2001-10-03 16:53:38 +00:00
818f16f74f default protocol to file: if not specified
2001-10-03  Rodrigo Moya <rodrigo@ximian.com>

	* e-url.c (e_url_new): default protocol to file: if not specified

svn path=/trunk/; revision=13377
2001-10-03 16:51:50 +00:00
2bef0f376d duplicate also the params member
2001-10-02  Rodrigo Moya <rodrigo@ximian.com>

	* e-url.c (e_uri_copy): duplicate also the params member

svn path=/trunk/; revision=13303
2001-10-02 14:50:59 +00:00
8828ff2fa3 new functions
2001-10-02  Rodrigo Moya <rodrigo@ximian.com>

	* e-url.[ch] (e_uri_copy, e_uri_to_string): new functions

svn path=/trunk/; revision=13301
2001-10-02 14:40:45 +00:00
f3730d9037 added basic URI management functions
2001-10-01  Rodrigo Moya <rodrigo@ximian.com>

	* e-url.[ch]: added basic URI management functions

	* Makefile.am: added BONOBO flags to make it compile with latest
	Bonobo, which installs headers in a version-based directory

svn path=/trunk/; revision=13274
2001-10-01 19:25:06 +00:00
d74b078aeb New, copied/renamed from mailer and gnome-libs.
* e-passwords.c (e_passwords_ask_password): New, copied/renamed
	from mailer and gnome-libs.

svn path=/trunk/; revision=13261
2001-10-01 16:27:02 +00:00
2491a3506c add e-passwords.[ch]
2001-09-30  Chris Toshok  <toshok@ximian.com>

	* Makefile.am (libeutil_la_SOURCES): add e-passwords.[ch]

svn path=/trunk/; revision=13253
2001-09-30 06:07:18 +00:00
432496bdf0 copy/rename the mail specific password stuff here.
2001-09-30  Chris Toshok  <toshok@ximian.com>

	* e-passwords.c: copy/rename the mail specific password stuff
	here.

	* e-passwords.h: same.

svn path=/trunk/; revision=13252
2001-09-30 05:16:25 +00:00
8
2ca8993160 Write the pipe notification outside the lock. This way if the pipe fills
2001-09-28    <NotZed@Ximian.com>

	* e-msgport.c (e_msgport_put): Write the pipe notification outside
	the lock.  This way if the pipe fills up because of too many
	outstanding request, the queue isn't deadlocked.  This only
	happens wiht 4096 outstanding messages, so something is getting
	VERY busy!  Fixes #11121.

svn path=/trunk/; revision=13218
2001-09-28 18:38:45 +00:00
e779a92583 Make the printouts here conditionally compiled out.
2001-09-24  Christopher James Lahey  <clahey@ximian.com>

	* e-categories-master-list-wombat.c (ecmlw_load, ecmlw_save): Make
	the printouts here conditionally compiled out.

svn path=/trunk/; revision=13100
2001-09-24 21:15:59 +00:00
1
03238847a7 Instead of using pthread_cancel() which seems to have numerous
2001-09-21    <NotZed@Ximian.com>

	* e-msgport.c (e_thread_destroy): Instead of using
	pthread_cancel() which seems to have numerous implementation
	issues, send a special quit message to the subordinate thread.
	(thread_dispatch): When it gets a quit message, well, quit!

svn path=/trunk/; revision=13043
2001-09-21 05:56:03 +00:00
26d26391da Use ->bin_window [instead of ->window] if the widget is a GtkLayout.
* e-gtk-utils.c (widget_realize_callback_for_backing_store): Use
->bin_window [instead of ->window] if the widget is a GtkLayout.

svn path=/trunk/; revision=12943
2001-09-18 18:48:36 +00:00
5772dcbe43 only use 1 format, so we are consistent everywhere. If we support multiple
2001-09-17  Damon Chaplin  <damon@ximian.com>

	* e-time-utils.c (e_time_parse_date): only use 1 format, so we are
	consistent everywhere. If we support multiple formats we have to
	support that in e_time_parse_date_and_time() which means an explosion
	of different formats. I don't think the alternatives are that useful,
	anyway.
	(e_time_parse_date_and_time): parse everything in one go, to avoid
	i18n problems. Also only use '%p' if the locale has am/pm strings.
	(e_time_parse_time): Only use '%p' if locale has am/pm strings.

svn path=/trunk/; revision=12924
2001-09-18 01:23:11 +00:00
f88ca730db Removed. (gtk_radio_button_select_nth): Removed.
* e-gtk-utils.c (gtk_radio_button_get_nth_selected): Removed.
(gtk_radio_button_select_nth): Removed.
(e_make_widget_backing_stored): New.

svn path=/trunk/; revision=12919
2001-09-17 23:21:20 +00:00
02fecf70e2 Make sure the dir pointer is non-NULL before using it.
2001-09-13  Jeffrey Stedfast  <fejj@ximian.com>

	* e-mktemp.c (e_mktemp_cleanup): Make sure the dir pointer is
	non-NULL before using it.

svn path=/trunk/; revision=12807
2001-09-13 19:42:28 +00:00
f6a949c349 Fix some broken calls to check_size that could result in memory corruption
* e-html-utils.c (e_text_to_html_full): Fix some broken calls to
	check_size that could result in memory corruption displaying short
	replies.

svn path=/trunk/; revision=12705
2001-09-08 16:34:21 +00:00