Commit Graph

27 Commits

Author SHA1 Message Date
cf479fb7dc Fix it so that numbers containing inner zeros will be formatted correctly.
2001-02-18  Rusty Conover  <rconover@zootweb.com>

	* gal/util/e-util.c (e_format_number): Fix it so that numbers
	containing inner zeros will be formatted correctly.  For instance
	the number 5005 when formatted was coming out as 5,5.  It now
	comes out at 5,005.

svn path=/trunk/; revision=8272
2001-02-18 23:31:27 +00:00
43449a554f New marshallers
* gal/util/e-util.c (e_marshal_INT__POINTER_POINTER,
	e_marshal_INT__POINTER_POINTER_POINTER_POINTER): New marshallers

svn path=/trunk/; revision=8235
2001-02-14 22:53:44 +00:00
758b87ad37 Added e_format_number and e_create_directory.
2001-02-06  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-util.c, gal/util/e-util.h (e_format_number,
	e_create_directory): Added e_format_number and e_create_directory.

svn path=/trunk/; revision=8042
2001-02-07 03:28:54 +00:00
5d5a132d18 Made the parameter type of e_strdup_string a const. Made it not call
2000-12-19  Christopher James Lahey  <clahey@helixcode.com>

	* gal/util/e-util.c, gal/util/e-util.h (e_strdup_strip): Made the
	parameter type of e_strdup_string a const.  Made it not call
	isspace on signed characters.  Made the return type of
	e_strstrcase non const again.

svn path=/trunk/; revision=7078
2000-12-19 15:52:10 +00:00
f0761e8f6c Fixed a warning by making e_strstrcase return a const gchar.
2000-12-11  Christopher James Lahey  <clahey@helixcode.com>

	* gal/util/e-util.c, gal/util/e-util.h: Fixed a warning by making
	e_strstrcase return a const gchar.

svn path=/trunk/; revision=6936
2000-12-12 02:47:58 +00:00
3f2af99788 Fixed some warnings.
2000-12-06  Christopher James Lahey  <clahey@helixcode.com>

	* gal/util/e-util.c, gal/widgets/e-font.c: Fixed some warnings.

svn path=/trunk/; revision=6818
2000-12-06 18:50:26 +00:00
79737076b8 macro that calls e_filename_make_safe
2000-12-04  Jeffrey Stedfast  <fejj@helixcode.com>

	* gal/util/e-util.h (e_str_make_safe): macro that calls
	e_filename_make_safe

	* gal/util/e-util.c (e_filename_make_safe): Renamed from
	e_str_make_safe
	(e_strstrcase): go back to returning gchar * rather than const.

svn path=/trunk/; revision=6780
2000-12-04 20:19:12 +00:00
be13fec343 Bump the version to 0.2.99.4
2000-11-30  Jeffrey Stedfast  <fejj@helixcode.com>

	* configure.in: Bump the version to 0.2.99.4

	* gal/util/e-util.c (e_strstrcase): This should return a const
	gchar *.
	(e_str_make_safe): New convenience function to replace risky chars
	with an underscore.

svn path=/trunk/; revision=6744
2000-11-30 22:23:44 +00:00
56704ecef4 Add another marshalling function.
* gal/util/e-util.c (e_marshal_NONE__POINTER_POINTER_INT): Add
	another marshalling function.

svn path=/trunk/; revision=6171
2000-10-25 18:59:36 +00:00
4d5ebbc363 Included a missing #include.
2000-10-11  Christopher James Lahey  <clahey@helixcode.com>

	* gal/util/e-util.c: Included a missing #include.

	* gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Added
	e_xml_get_bool_prop_by_name, e_xml_set_bool_prop_by_name, and
	e_xml_get_translated_string_prop_by_name.  Reindented prototypes.

svn path=/trunk/; revision=5835
2000-10-11 07:54:51 +00:00
9acde37ac5 New function to make a directory and (if needed), its parents
* gal/util/e-util.c (e_mkdir_hier): New function to make a
	directory and (if needed), its parents

svn path=/trunk/; revision=5778
2000-10-07 19:41:42 +00:00
8600d3c205 The return value should not be const. (Well, unless the input was, but you
* e-util.c (e_strstrcase): The return value should not be
	const. (Well, unless the input was, but you can't know that.)

svn path=/trunk/; revision=5338
2000-09-11 18:45:32 +00:00
fbf55cd7f3 Added uncompiled e_read_uri function.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added uncompiled e_read_uri function.

svn path=/trunk/; revision=4629
2000-08-09 05:16:53 +00:00
55702ec70b Added a bunch of e_marshal functions.
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added a bunch of e_marshal functions.

svn path=/trunk/; revision=4311
2000-07-25 07:44:11 +00:00
5e764dcac9 From addressbook/ChangeLog:
2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* backend/pas/pas-backend-file.c: Do case insensitive compares.

	* addressbook/gui/component/addressbook.c: Make quick search
	search both name and company name.

From camel/ChangeLog:

2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* camel-folder-search.c, providers/imap/camel-imap-store.c:
	Changed from strstrcase to e_strstrcase.

	* string-utils.c, string-utils.h: Removed strstrcase (in favor of
	e_strstrcase in e-util/e-util.c.)

From e-util/ChangeLog:

2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added e_strstrcase function.

svn path=/trunk/; revision=4127
2000-07-12 22:59:25 +00:00
fc43959180 Added e_strsplit to work around a bug in g_strsplit.
2000-07-07  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added e_strsplit to work around a bug in
	g_strsplit.

svn path=/trunk/; revision=3953
2000-07-07 18:29:26 +00:00
c9bdd525e4 Changed the needed e_marshal functions.
2000-06-13  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Changed the needed e_marshal functions.

	* e-printable.c, e-printable.h: Added a quantize parameter to
	e_printable_height.  Also, added a e_printable_will_fit function.

svn path=/trunk/; revision=3551
2000-06-13 14:37:28 +00:00
5dc1015e96 Added e-printable.c and e-printable.h.
2000-06-10  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-printable.c and e-printable.h.

	* e-printable.c, e-printable.h: This new class is a printing
	context.  Other classes return an EPrintable which represents a
	context for printing that object.

	* e-util.c, e-util.h: Added
	e_marshal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL and
	e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE.

svn path=/trunk/; revision=3510
2000-06-10 21:13:07 +00:00
49b1027805 Fixed e_marshal_INT__INT_INT_POINTER.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c: Fixed e_marshal_INT__INT_INT_POINTER.

svn path=/trunk/; revision=3369
2000-06-02 03:36:22 +00:00
aae604c8ad Added e_marshal_INT__INT_INT_POINTER.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added e_marshal_INT__INT_INT_POINTER.

svn path=/trunk/; revision=3367
2000-06-02 03:03:03 +00:00
10639cdca9 Duh! -1 != 1. :)
* e-util.c (g_int_compare): Duh! -1 != 1. :)

svn path=/trunk/; revision=3363
2000-06-02 02:20:30 +00:00
cb227b68b3 Added e_write_file.
2000-05-23  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added e_write_file.

svn path=/trunk/; revision=3181
2000-05-23 10:27:16 +00:00
6dfcfd767d Utility function to free a GList of strings.
svn path=/trunk/; revision=3048
2000-05-15 17:16:55 +00:00
623ba9a279 Added e_strdup_strip which returns a copy of the string with the leading
2000-05-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added e_strdup_strip which returns a copy of
	the string with the leading and trailing spaces removed.

svn path=/trunk/; revision=3026
2000-05-14 14:17:51 +00:00
7453ffb6a8 Got rid of some warnings.
2000-05-06  Christopher James Lahey  <clahey@helixcode.com>

	* e-html-utils.c: Got rid of some warnings.

	* e-util.c, e-util.h: Added e_read_file which takes a filename and
	returns a newly allocated string containing the contents of that
	file.

svn path=/trunk/; revision=2828
2000-05-06 17:04:10 +00:00
72c77c6f4a New function to free a list of referenced objects.
svn path=/trunk/; revision=2772
2000-05-03 04:06:19 +00:00
c2ffbbece7 Added e_xml_get_integer_prop_by_name.
2000-02-24  Christopher James Lahey  <clahey@helixcode.com>

        * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added
        e_xml_get_integer_prop_by_name.

        * e-util/Makefile.am: Added e-util.c.

        * e-util/e-util.h: Added e-util.c functions.

        * e-util/e-util.c: New file for compare functions

from mail:

2000-02-24  Christopher James Lahey  <clahey@helixcode.com>

        * message-list.c: Changed to match new e_table_simple interface.

svn path=/trunk/; revision=1931
2000-02-25 04:28:14 +00:00