Commit Graph

434 Commits

Author SHA1 Message Date
Jeffrey Stedfast c2dbcb18f2 Don't leak the base64 encoded password buffer.
2002-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* e-passwords.c (e_passwords_get_password): Don't leak the base64
	encoded password buffer.

svn path=/trunk/; revision=16551
2002-04-20 02:25:01 +00:00
Jeffrey Stedfast b06b0051c5 New wrapper around gethostbyaddr_r if the system has it, else a whole new
2002-04-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-host-utils.c (e_gethostbyaddr_r): New wrapper around
	gethostbyaddr_r if the system has it, else a whole new
	implementation.

svn path=/trunk/; revision=16483
2002-04-17 01:17:24 +00:00
Jeffrey Stedfast 48182f64e8 Handle parsing negative integers.
2002-04-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-sexp.c (parse_value): Handle parsing negative integers.

svn path=/trunk/; revision=16441
2002-04-11 21:53:44 +00:00
Ettore Perazzoli 796b9fe197 #include <parser.h> and <xmlmemory.h> instead of <gnome-xml/parser.h> and
* gal/util/e-xml-utils.c: #include <parser.h> and <xmlmemory.h>
instead of <gnome-xml/parser.h> and <gnome-xml/xmlmemory.h>.  In
fact, the latter is incompatible with what `gnome-config --cflags
xml' is assuming, and breaks in the case where gnome-xml is not
installed in /usr/local.

svn path=/trunk/; revision=16424
2002-04-10 19:13:28 +00:00
JP Rosevear 9104b3079a open a file selection dialog with the given title and return the selected
2002-03-29  JP Rosevear  <jpr@ximian.com>

	* e-dialog-utils.c (e_file_dialog_save): open a file selection
	dialog with the given title and return the selected file name
	(save_ok): if the ok button is clicked, make sure the file doesn't
	already exist and if it does, see if the user wants to over write
	it

	* e-dialog-utils.h: new proto

svn path=/trunk/; revision=16284
2002-03-29 21:30:46 +00:00
Jeffrey Stedfast 576273d806 Use iconv-detect.c to generate a iconv-detect.h file containing
2002-03-29  Jeffrey Stedfast  <fejj@ximian.com>

	* configure.in: Use iconv-detect.c to generate a iconv-detect.h
	file containing information about the preferred charset formats to
	use with the system iconv.

	* iconv-detect.c: New program to detect the preferred charset
	formats for use with the system iconv.

	* gal/util/e-iconv.c (e_iconv_charset_name): Update to use macros
	defined in iconv-detect which is created at configure time.

svn path=/trunk/; revision=16282
2002-03-29 19:28:00 +00:00
Christopher James Lahey a020c2bd2f Added widgets/e-option-menu.lo.
2002-03-25  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added
	widgets/e-option-menu.lo.

	* gal/util/e-util.c, gal/util/e-util.h (e_strdupv): Copied this
	function from glib2.
	(GET_STRING_ARRAY_FROM_ELLIPSIS,
	GET_DUPLICATED_STRING_ARRAY_FROM_ELLIPSIS): Added these macros to
	automate getting a NULL terminated array off of the stack.

	* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
	e-option-menu.c.
	(libwidgetsinclude_HEADERS): Added e-option-menu.h.

	* gal/widgets/e-canvas.c (e_canvas_class_init): Reformatted this
	function.

	* gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h
	(e_glade_xml_connect_widget, e_glade_xml_set_sensitive): Two new
	functions to automate pulling a widget from a GladeXML and either
	connecting a signal or setting the sensitivity.

	* gal/widgets/e-option-menu.c, gal/widgets/e-option-menu.h: New
	class to simplify the interface to GtkOptionMenu.

svn path=/trunk/; revision=16246
2002-03-25 19:33:20 +00:00
Ettore Perazzoli c197e1fd69 New. New.
* e-lang-utils.c: New.
* e-lang-utils.h: New.

svn path=/trunk/; revision=16231
2002-03-22 20:47:53 +00:00
Dan Winship 3e6b83577e Document the fact that this takes two locale charset strings and one UTF8
* e-request.c (e_request_string): Document the fact that this
	takes two locale charset strings and one UTF8 string and returns a
	UTF8 string. (Huh.)

svn path=/trunk/; revision=16226
2002-03-22 15:46:20 +00:00
Christopher James Lahey abd6567ea0 Replaced e_marshal_BOOL__STRING with this since the function it was used
2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-util.c, gal/util/e-util.h
	(e_marshal_BOOL__STRING_INT): Replaced e_marshal_BOOL__STRING with
	this since the function it was used for has been modified.

From gal/e-table/ChangeLog:

2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* e-table-extras.c (e_string_search): Check for a NULL haystack
	here.

	* e-table-search.c, e-table-search.h: Added a parameter to the
	search signal here to pass in flags.  Specifically, added the
	E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST flag.  Improved the search
	behavior here.

	* e-table.c, e-tree.c: Handle the new signature for the search
	signal here.

svn path=/trunk/; revision=16139
2002-03-13 07:10:22 +00:00
Christopher James Lahey fd4ffbd38c Added e-table-search.lo.
2002-03-12  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added e-table-search.lo.

	* gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING):
	Added this marshal function.

From gal/e-table/ChangeLog:

2002-03-12  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (libetable_la_SOURCES): Added e-table-search.c.
	(libetableinclude_HEADERS): Added e-table-search.h.

	* e-cell.h: Added ETableSearchFun here.

	* e-table-col.h: Added search here.

	* e-table-column-specification.c, e-table-column-specification.h:
	Added search here.

	* e-table-extras.c, e-table-extras.h (e_table_extras_add_search):
	Added ETableSearchFuncs here.

	* e-table-memory-store.c (e_table_memory_store_insert,
	e_table_memory_store_insert_adopt): Handle row == -1 here.

	* e-table-search.c, e-table-search.h: New class to reusably handle
	the semantics of searching for a string.

	* e-table-simple.c, e-table-simple.h: Added a bunch of simple
	functions here for if your table is all strings.  Should be
	reusable.

	* e-table-utils.c (et_col_spec_to_col): Added support for searches
	here.

	* e-table.c, e-table.h: Added an ETableSearch here.

svn path=/trunk/; revision=16119
2002-03-12 14:30:53 +00:00
Jeffrey Stedfast 046de2dc3f #include <string.h> for strcmp.
2002-03-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-mktemp.c: #include <string.h> for strcmp.

svn path=/trunk/; revision=15907
2002-03-04 20:33:34 +00:00
Dan Winship d7ea6022c1 Fix for if the buffer ends with an email address (and no newline).
* e-html-utils.c (e_text_to_html_full): Fix for if the buffer ends
	with an email address (and no newline).

svn path=/trunk/; revision=15802
2002-02-22 19:57:17 +00:00
Christopher James Lahey 9c5cceeeb8 New signal for when the width of the column changes.
2002-02-13  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h
	(column_width_changed): New signal for when the width of the
	column changes.

	* gal/util/e-util.c, gal/util/e-util.h (e_marshal_NONE__DOUBLE):
	New marshaller.

From gal/menus/ChangeLog:

2002-02-13  Christopher James Lahey  <clahey@ximian.com>

	* gal-view-etable.c (detach_table): Set
	view->table_state_changed_id to 0.
	(detach_tree): Set view->tree_state_changed_id to 0.

svn path=/trunk/; revision=15705
2002-02-13 13:03:48 +00:00
JP Rosevear d5ce9c3303 add row and column defines
2002-02-09  JP Rosevear  <jpr@ximian.com>

	* e-pilot-settings.h: add row and column defines

svn path=/trunk/; revision=15634
2002-02-09 06:12:41 +00:00
Christopher James Lahey 6190f4f687 Emit E_TEP_CAPS for the right values for M-l, M-c, and M-u.
2002-02-07  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-text-event-processor-emacs-like.c: Emit E_TEP_CAPS
	for the right values for M-l, M-c, and M-u.

	* gal/util/e-text-event-processor-types.h
	(ETextEventProcessorCommandAction): New action E_TEP_CAPS.
	(ETextEventProcessorCaps): New enum giving values for E_TEP_CAPS
	action.

svn path=/trunk/; revision=15589
2002-02-07 10:08:44 +00:00
Ettore Perazzoli 79a377ddf2 Final cleanup for the CFLAGS and LIBS in the Makefiles.
svn path=/trunk/; revision=15486
2002-01-27 17:21:36 +00:00
Jeffrey Stedfast f88a35a9d3 AIX and IRIX are like Sun systems - they use ISO8859-1 rather than names
2002-01-25  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/util/e-iconv.c: AIX and IRIX are like Sun systems - they use
	ISO8859-1 rather than names like ISO-8859-1.

svn path=/trunk/; revision=15478
2002-01-25 23:41:52 +00:00
Ettore Perazzoli cfe53117d6 Yet Another Stupid Marshaller.
* gal/util/e-util.c (e_marshal_NONE__POINTER_POINTER_POINTER_POINTER): New.

svn path=/trunk/; revision=15423
2002-01-22 20:14:17 +00:00
Christopher James Lahey 784886d534 Added #include <libgnome/gnome-defs.h>.
2002-01-16  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-entry.h, gal/e-text/e-table-text-model.h,
	gal/e-text/e-text-model-uri.h, gal/e-text/e-text.h,
	gal/util/e-i18n.h, gal/widgets/e-canvas-utils.h,
	gal/widgets/e-gui-utils.h, gal/widgets/e-printable.h,
	gal/widgets/gtk-combo-stack.h: Added #include
	<libgnome/gnome-defs.h>.

svn path=/trunk/; revision=15340
2002-01-16 17:21:25 +00:00
JP Rosevear 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
Christopher James Lahey 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
Jeffrey Stedfast 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
Jeffrey Stedfast 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
Jeffrey Stedfast 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
JP Rosevear 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
JP Rosevear 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
Christopher James Lahey 67802a09c4 Merging changes:
2001-12-17  Christopher James Lahey  <clahey@ximian.com>

From a patch by Dan Nguyen <dnn@austin.ibm.com>

	* configure.in: Added configure check for %l and %k in strftime.

	* gal/util/e-util.c, gal/util/e-util.h (e_strftime): New function.
	Handles %l and %k even on platforms that don't support them by
	translating to %I and %H.

svn path=/trunk/; revision=15146
2001-12-18 05:48:50 +00:00
JP Rosevear 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
Dan Winship 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
Ettore Perazzoli 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
JP Rosevear 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
JP Rosevear 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
Damon Chaplin 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
Joe Shaw aab1b48eae CVS surgery
svn path=/trunk/; revision=14428
2001-10-30 05:03:43 +00:00
Joe Shaw d6d55273d4 Require gal 0.15.99.8
2001-10-29  Joe Shaw  <joe@ximian.com>

	* configure.in: Require gal 0.15.99.8

	* addressbook/backend/ebook/e-card-simple.c,
	addressbook/gui/component/addressbook-storage.c,
	addressbook/gui/widgets/e-addressbook-view.c,
	calendar/gui/e-calendar-table.c,
	calendar/gui/e-itip-control.c,
	calendar/gui/e-meeting-model.c,
	calendar/gui/itip-utils.c,
	calendar/gui/print.c,
	calendar/gui/alarm-notify/alarm-notify-dialog.c,
	filter/rule-editor.c,
	mail/mail-config.c,
	mail/mail-folder-cache.c,
	mail/mail-format.c,
	mail/mail-local.c,
	mail/mail-ops.c,
	mail/mail-vfolder.c,
	shell/e-local-storage.c,
	shell/e-summary-storage.c: Change includes of
	e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h

svn path=/trunk/; revision=14427
2001-10-30 05:02:49 +00:00
Ettore Perazzoli 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
Christopher James Lahey 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
Christopher James Lahey 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
Chris Lahey ef079d460a ChangeLog fix.
svn path=/trunk/; revision=14330
2001-10-29 10:40:35 +00:00
Christopher James Lahey 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
JP Rosevear 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
Christopher James Lahey b1d36fe27d Return 1 from the button_release event.
2001-10-28  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-text-event-processor-emacs-like.c
	(e_text_event_processor_emacs_like_event): Return 1 from the
	button_release event.

svn path=/trunk/; revision=14273
2001-10-28 04:47:51 +00:00
Ettore Perazzoli 10b85c3677 More fixing of the license texts.
svn path=/trunk/; revision=14242
2001-10-27 23:42:27 +00:00
Ettore Perazzoli be7e0fd349 More fixing of the license texts.
svn path=/trunk/; revision=14241
2001-10-27 23:36:16 +00:00
Ettore Perazzoli 08fb7329cb Fixing the license text.
svn path=/trunk/; revision=14212
2001-10-27 16:59:46 +00:00
JP Rosevear 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
JP Rosevear 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
Ettore Perazzoli 02dcd0aadf Update the licensing information to require version 2 of the GPL
(instead of version 2 or any later version).

svn path=/trunk/; revision=14190
2001-10-27 00:25:49 +00:00
Ettore Perazzoli ef0da865b4 Bump up to 0.15.99.5.
* configure.in: Bump up to 0.15.99.5.

* gal/util/e-util.c
(e_marshal_INT__POINTER_POINTER_POINTER_POINTER_POINTER): pass
`args[4]' as the fourth argument instead of `args[3]' again.
(e_marshal_INT__POINTER_POINTER_POINTER_BOOL): New.

svn path=/trunk/; revision=14175
2001-10-26 22:19:33 +00:00