Commit Graph

285 Commits

Author SHA1 Message Date
8f183d269e Included information about db3.
2001-05-31  Christopher James Lahey  <clahey@ximian.com>

	* README: Included information about db3.

	* acconfig.h: Added HAVE_DB_H and HAVE_DB3_DB_H.

	* configure.in: Added various checks for db3 libraries and
	includes.  Of note are the new configure options
	--with-db3-includes=PREFIX and --with-db3-libs=PREFIX to specify
	the location for your db3 library.

From addressbook/ChangeLog:

2001-05-31  Christopher James Lahey  <clahey@ximian.com>

	* backend/pas/Makefile.am (INCLUDES): Added db3 cflags.

	* backend/pas/pas-backend-file.c: Updated this to use db3.

From e-util/ChangeLog:

2001-05-31  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (INCLUDES): Added db3 cflags.

	* e-dbhash.c: Made this use db3.

	* e-db3-utils.c, e-db3-utils.h: New files with some helper
	functions.

From wombat/ChangeLog:

2001-05-31  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (wombat_LDADD): Added db3 libs.

svn path=/trunk/; revision=10077
2001-06-01 01:02:12 +00:00
d129a4a8fc Remove e_pixmaps_update (moved to libeshell) so libeutil won't depend on
* e-gui-utils.c: Remove e_pixmaps_update (moved to libeshell) so
	libeutil won't depend on bonobo.

svn path=/trunk/; revision=10017
2001-05-27 18:00:25 +00:00
e2edef6e5e Modify `e_gethostbyname_r()' so that it doesn't report an error if the
5-argument `gethostbyname_r()' returns a non-NULL hostent and a
nonzero herr.

This fixes the "Cannot resolve localhost" error on GNU/Linux with libc
2.2.x.

svn path=/trunk/; revision=9888
2001-05-19 12:38:39 +00:00
23bcf6e31a add E_TEXT_TO_HTML_ESCAPE_8BIT to turn non-US-ASCII characters into "?"s.
* e-html-utils.c (e_text_to_html_full): add
	E_TEXT_TO_HTML_ESCAPE_8BIT to turn non-US-ASCII characters into
	"?"s.

svn path=/trunk/; revision=9859
2001-05-16 22:30:44 +00:00
05817ac122 Replicate the semantics of the libunicode utf8 functions by returning NULL
2001-05-14  Jon Trowbridge  <trow@ximian.com>

        * camel-search-private.c (utf8_get): Replicate the semantics of
        the libunicode utf8 functions by returning NULL in the arg
        on invalid utf8.

        * camel-pgp-context.c (pgp_verify): Check for valid utf8,
        terminate loop if something looks wrong.

        * camel-mime-utils.c (header_encode_phrase_get_words): Properly
        check for invalid utf8.
        (header_encode_string): Properly check for invalid utf8.

        * camel-charset-map.c (camel_charset_step): Properly check for
        invalid utf8.

2001-05-14  Jon Trowbridge  <trow@ximian.com>

        * e-html-utils.c (is_citation): Check for bad utf8.

svn path=/trunk/; revision=9798
2001-05-14 21:04:35 +00:00
9bcfef421b Walk a hierarchy using the "/subfolders/" convention and call a callback
* e-path.c (e_path_find_folders): Walk a hierarchy using the
        "/subfolders/" convention and call a callback for each folder
        found.

svn path=/trunk/; revision=9721
2001-05-08 22:05:00 +00:00
5d4895eb43 Added util/e-sorter-array.lo and widgets/e-reflow-model.lo. Removed
2001-05-07  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added util/e-sorter-array.lo
	and widgets/e-reflow-model.lo.  Removed
	widgets/e-reflow-sorted.lo.

	* gal/util/Makefile.am (libutil_la_SOURCES): Added
	e-sorter-array.c.
	(libgalinclude_HEADERS): Added e-sorter-array.h.

	* gal/util/e-sorter-array.c, gal/util/e-sorter-array.h: A sorter
	for use with a single compare function to do sorting.

	* gal/util/e-util.c, gal/util/e-util.h
	(e_marshal_INT__OBJECT_POINTER): Added this marshaller.

	* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
	e-reflow-model.c.  Removed e-reflow-sorted.c.
	(libwidgetsinclude_HEADERS): Added e-reflow-sorted.h.  Removed
	e-reflow-model.h.

	* gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h:
	Model for EReflow.  Has a number of items and generates canvas
	items on the fly.

	* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Major rewrite.
	This now uses a model to generate its canvas items instead of
	having canvas items added to it.  It doesn't create the canvas
	items now until they will be shown on screen.

svn path=/trunk/; revision=9710
2001-05-08 04:56:03 +00:00
4ce894e3ab Debugging routine. (Only works for recursive mutexes right now.)
* e-msgport.c (e_mutex_assert_locked): Debugging routine. (Only
	works for recursive mutexes right now.)

svn path=/trunk/; revision=9638
2001-05-01 17:37:31 +00:00
eba2691d5d Don't use g_utf8_next_char on text that isn't valid UTF8, since it won't
* e-html-utils.c (e_text_to_html_full): Don't use g_utf8_next_char
	on text that isn't valid UTF8, since it won't work (and might even
	get into an infinite loop).

svn path=/trunk/; revision=9637
2001-05-01 16:46:31 +00:00
9071df0d8f Make this smarter. Now e_text_to_html_full calls it when it sees a '@',
* e-html-utils.c (email_address_extract): Make this smarter. Now
	e_text_to_html_full calls it when it sees a '@', and
	email_address_extract deals with scanning both forward and
	backward to find the bounds of the email address. It's still
	fooled by Message-IDs, but there's not a whole lot we can do
	there...

svn path=/trunk/; revision=9628
2001-04-29 17:41:33 +00:00
e06a2c8d52 Make the Solaris and no-gethostbyname_r implementations behave more like
* e-host-utils.c (e_gethostbyname_r): Make the Solaris and
	no-gethostbyname_r implementations behave more like the Linux one.
	Document.

svn path=/trunk/; revision=9594
2001-04-26 20:26:08 +00:00
acaff5acfb Remove UNICODE_CFLAGS (libeutil_la_LIBADD): Change UNICODE_LIBS to
* Makefile.am (INCLUDES): Remove UNICODE_CFLAGS
	(libeutil_la_LIBADD): Change UNICODE_LIBS to GAL_LIBS

svn path=/trunk/; revision=9587
2001-04-26 18:23:55 +00:00
36cac270be Modified to match e_strv_get behaviour. Assert on bad cases, and return ""
2001-04-26  Not Zed  <NotZed@Ximian.com>

        * e-memory.c (e_poolv_get): Modified to match e_strv_get
        behaviour.  Assert on bad cases, and return "" rather than NULL
        for empty/unset strings.
        (e_poolv_new): Simplify the mutex cases, only have a single mutex
        for mempool and hashtable references.
        (e_poolv_set): Simplify mutex code.  Fixed a #ifdef orde prob in
        profile stuff.  Always copy string to our own memory when we add
        it to the hash, even if we free it; I think this would have led to
        dangling references otherwise.
        (e_poolv_destroy): Renamed from poolv_free, for consistency with
        the rest of the allocators here.
        (e_poolv_set): Add optional refcounting code here, not currently
        enabled/used, but should make proper string collection work
        easily.
        (e_poolv_destroy): Unrefcount the strings here.
        (e_poolv_cpy): Add refcounting code here.

        * e-memory.[ch]: Applied Jacob's patches <jacob@ximian.com> for
        'e-poolv' type, added his name to the authors list.

svn path=/trunk/; revision=9570
2001-04-26 01:07:44 +00:00
ec67eb41a7 If the buffer is too small, making it twice as big does not guarantee it
* e-html-utils.c (check_size): If the buffer is too small, making
	it twice as big does not guarantee it will be big enough. "Duh".
	Also, a bunch of the check_size calls don't seem to be taking
	trailing NULs into account, so add in a +1 here.

svn path=/trunk/; revision=9549
2001-04-24 20:00:38 +00:00
4c2f2ea4a7 Added #include <glib.h> and move corresponding local headers to the top to
2001-04-24  Kjartan Maraas  <kmaraas@gnome.org>

	* e-gui-utils.c, e-memory, e-msgport.c, e-pilot-map, e-sexp.c:
	Added #include <glib.h> and move corresponding local headers
	to the top to catch missing includes in them. Tip from clahey.

svn path=/trunk/; revision=9537
2001-04-24 09:23:12 +00:00
a525821bc7 remove prototype for e_gethostbyname_init.
2001-04-24  Chris Toshok  <toshok@ximian.com>

	* e-host-utils.h: remove prototype for e_gethostbyname_init.

	* e-host-utils.c (e_gethostbyname_r): don't dynamically allocate
	anything - store everything in the buffer that's passed in.  Also,
	stop using EMutex.  Switch to a static GMutex (so we can
	initialize it without having e_gethostbyname_init).
	(e_gethostbyname_init): removed.

svn path=/trunk/; revision=9535
2001-04-24 07:09:06 +00:00
038d1a932c Removed attempts to use Radek's evil <DATA> hacks, which were just causing
2001-04-23  Jon Trowbridge  <trow@ximian.com>

        * e-html-utils.c (e_text_to_html_full): Removed attempts to use
        Radek's evil <DATA> hacks, which were just causing me
        (and GtkHTML) grief.

2001-04-23  Jon Trowbridge  <trow@ximian.com>

        * gui/component/e-address-popup.c: Lots of code has been
        simplified here.
        (e_address_popup_factory_new_control): Rather than directly pop
        our control up in a window (via the e_address_popup_popup
        function, which is now gone), just return the widget and let the
        caller do the popping.  This works better, since it means we don't
        have to work around the vagaries of bonobo focus & event handling.
        (e_address_popup_set_name): Refresh when both name & email have
        been set, rather than checking a stupid counter.
        (e_address_popup_set_email): Ditto.

2001-04-23  Jon Trowbridge  <trow@ximian.com>

        * mail-display.c (html_button_press_event): Check for mailto:
        links, and pop up our mail address menu when we find one.
        (make_popup_window): The main piece of code (ignoring a zillion
        little callbacks) to pop up our windows with reasonable semantics
        for having them close automatically.
        (mail_text_write): Enable converting addresses to mailto links
        in message bodies.

        * mail-format.c (write_address): Simplify code, removing Radek's
        <DATA> hacks.  Write out addresses as mailto: links.

svn path=/trunk/; revision=9534
2001-04-24 02:51:45 +00:00
2b9cb3edda Include glib.h, so that the g_warning in e_gethostbyname_r will be treated
2001-04-23  Jon Trowbridge  <trow@ximian.com>

        * e-host-utils.c: Include glib.h, so that the g_warning in
        e_gethostbyname_r will be treated as a macro and not as an
        unresolved symbol.

svn path=/trunk/; revision=9528
2001-04-23 22:44:58 +00:00
f726a8e69e add e-host-utils.[ch]
2001-04-22  Chris Toshok  <toshok@ximian.com>

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

	* e-host-utils.c: new file, with e_gethostbyname_r.

	* e-host-utils.h: new file.

svn path=/trunk/; revision=9502
2001-04-23 02:53:27 +00:00
a50c888bbe ">From" is not a citation unless the previous or following line is a
* e-html-utils.c (is_citation): ">From" is not a citation unless
        the previous or following line is a citation.
        (e_text_to_html_full): Update for is_citation change. Also, when
        marking citations, unmangle mbox From-mangling.

svn path=/trunk/; revision=9458
2001-04-19 14:37:05 +00:00
5c2d405738 Start parsing the sexp with parse_value(), not parse_list(), because we
2001-04-15  Federico Mena Quintero  <federico@ximian.com>

	* e-sexp.c (e_sexp_parse): Start parsing the sexp with
	parse_value(), not parse_list(), because we may have immediate
	values (e.g. "#f") as the whole sexp.

svn path=/trunk/; revision=9332
2001-04-15 21:26:28 +00:00
9d81248e5f Added e-table/e-cell-spin-button.lo Added e-table/e-cell-float.lo
2001-04-13  Mikael Hallendal  <micke@codefactory.se>

	* gal/Makefile.am (libgal_la_LIBADD):
	  Added e-table/e-cell-spin-button.lo
	  Added e-table/e-cell-float.lo

	* gal/util/e-util.[ch]
	(e_format_number_float):
  	  Added function to format floats. Uses e_format_number for the
	  integer part.
	(e_marshal_NONE__POINTER_INT_INT_INT): Added used by
	  gal/e-table/e-cell-spin-button.c

svn path=/trunk/; revision=9295
2001-04-13 01:58:14 +00:00
8350463f84 New function to translate a string and then convert it to utf8. Acts just
2001-04-10  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-unicode.c, gal/widgets/e-unicode.h
	(e_xml_get_translated_utf8_string_prop_by_name): New function to
	translate a string and then convert it to utf8.  Acts just like
	e_xml_get_translated_string and then calls
	e_utf_from_locale_string on it.

	* gal/util/e-xml-utils.c: Changed e_xml_get_translated_string to
	take a string with no underscore at the beginning and search for
	both that prop and the same prop with the underscore prepended.
	If it finds it without the underscore, it returns it.  If it finds
	it with the underscore, it translates.

	* gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Reformatted
	these a bit.

svn path=/trunk/; revision=9216
2001-04-10 23:33:25 +00:00
b96649c911 Setup up the conduit library building better so the files get disted
2001-04-08  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: Setup up the conduit library building better so the
	files get disted

svn path=/trunk/; revision=9205
2001-04-08 11:14:27 +00:00
b2a698bb4b Added a question mark to the set of valid characters for symbol names.
2001-04-06  Federico Mena Quintero  <federico@ximian.com>

	* e-sexp.c (scanner_config): Added a question mark to the set of
	valid characters for symbol names.
	(parse_value): Fixed parsing of boolean values.
	(parse_term_free): Added missing clause for ESEXP_TERM_BOOL.

svn path=/trunk/; revision=9198
2001-04-06 13:47:51 +00:00
f66390af64 Here goes my additional simple include fixes.
svn path=/trunk/; revision=9191
2001-04-05 00:39:19 +00:00
c77e63e2cc Some small header cleanups & fixes, and fix to translate all popup menus
(woohoo!):

2001-04-05  Gediminas Paulauskas <menesis@delfi.lt>

	* gal/widgets/e-popup-menu.c: Copied gnome_app_helper_gettext function
	here, and use it for translating menu names (they are passed from app as
	well as from gal in arrays with N_(), and domains differ).

svn path=/trunk/; revision=9190
2001-04-05 00:26:43 +00:00
0e7ec05e9a Fix headers.
2001-04-04  Kjartan Maraas  <kmaraas@gnome.org>

	* ename/test-ename-western-gtk.c: Fix headers.

svn path=/trunk/; revision=9185
2001-04-04 20:50:57 +00:00
7957a3085c Fixed headers. Moved the .h associated with each .c to the top of the list
2001-04-04  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text-model-uri.c, gal/e-text/e-text.c,
	gal/e-text/e-text.h, gal/e-text/e-text-event-processor.c,
	gal/util/e-xml-utils.c, gal/widgets/e-cursors.c,
	gal/widgets/e-cursors.h: Fixed headers.  Moved the .h associated
	with each .c to the top of the list of included files.

	* gal/util/e-util.h: Removed the bonobo-xobject.h header here.

	* gal/util/e-xml-utils.c: Replaced strcasecmp with g_strcasecmp.

	* gal/widgets/e-canvas-vbox.c: Make this work even if the item is
	destroyed after the vbox.

	* gal/widgets/e-categories.c (do_parse_categories): Made this
	translate using e_utf8_from_locale string as it should.

svn path=/trunk/; revision=9175
2001-04-04 12:25:55 +00:00
8940bcc90c Fix headers. Ditto. Ditto. Ditto. Ditto. Ditto. Ditto. Same. Ditto. Same
2001-04-04  Kjartan Maraas  <kmaraas@gnome.org>

	* gal/e-text/e-entry.c: Fix headers.
	* gal/e-text/e-table-text-model.[ch]: Ditto.
	* gal/e-text/e-table-text-model-uri.c: Ditto.
	* gal/e-text/e-text-model-uri.[ch]: Ditto.
	* gal/e-text/e-text-model.[ch]: Ditto.
	* gal/e-text/e-text.[ch]: Ditto.
	* gal/util/e-text-event-processor-emacs-like.[ch]: Ditto.
	* gal/util/e-text-event-processor.[ch]: Same.
	* gal/util/e-util.h: Ditto.
	* gal/util/e-xml-utils.[ch]: Same here.
	* gal/widgets/color-group.[ch]: Ditto.
	* gal/widgets/color-palette.[ch]: Ditto.
	* gal/widgets/e-canvas-utils.h: Ditto.
	* gal/widgets/e-canvas-vbox.[ch]: Ditto.
	* gal/widgets/e-canvas.[ch]: Ditto.
	* gal/widgets/e-categories.h: Ditto.
	* gal/widgets/e-colors.[ch]: Ditto.
	* gal/widgets/e-cursors.c: Ditto.
	* gal/widgets/e-gui-utils.c: Ditto
	* gal/widgets/e-popup-menu.[ch]: Same.
	* gal/widgets/e-reflow-sorted.c: Same.
	* gal/widgets/e-reflow.[ch]: Same.
	* gal/widgets/e-selection-model.c: Same
	* gal/widgets/e-unicode.[ch]: Same.
	* gal/widgets/gtk-combo-stack.[ch]: Same.
	* gal/widgets/widget-color-combo.[ch]: Same.
	* gal/widgets/widget-pixmap-combo.[ch]: Same.

svn path=/trunk/; revision=9168
2001-04-04 07:33:09 +00:00
004034cf32 Added ESEXP_RES_TIME for time values. (ESExpResult): Added a "time_t
2001-04-03  Federico Mena Quintero  <federico@ximian.com>

	* e-sexp.h (ESExpResultType): Added ESEXP_RES_TIME for time
	values.
	(ESExpResult): Added a "time_t value.time" field.
	(ESExpTermType): Added ESEXP_TERM_TIME.
	(ESExpTerm): Added a "time_t value.time" field.

	* e-sexp.c (e_sexp_result_free): Deal with time values.  Also, be
	more paranoid; added a default clause with g_assert_not_reached().
	(term_eval_lt): Deal with time values.
	(term_eval_gt): Likewise.
	(term_eval_eq): Likewise.
	(term_eval_plus): Likewise.
	(term_eval_sub): Likewise.
	(e_sexp_term_eval): Likewise.
	(eval_dump_result): Likewise.
	(parse_dump_term): Likewise.
	(parse_term_free): Likewise.

svn path=/trunk/; revision=9130
2001-04-03 16:04:53 +00:00
784478463a Fixed this function to properly format numbers that have leading zeros in
2001-04-02  Rusty Conover  <rconover@zootweb.com>

	* gal/util/e-util.c (e_format_number): Fixed this function to
	properly format numbers that have leading zeros in sub groups.
	Case in point 3042423 should now come out as 3,042,423 not
	3,42,423.

svn path=/trunk/; revision=9116
2001-04-03 03:09:17 +00:00
042704ddd3 Blessed by Ettore.
Guided by Jacub Stener's mail, where he explaned which icons were renamed or
added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash
and Executive summary folder type icons. Fixed art/Makefile.am for these
changes.

Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made
all components and dialogs use cache and not load pixmaps every time.

Accidentally got a couple of includes fix in, but they won't break anything.

svn path=/trunk/; revision=9092
2001-04-02 03:59:11 +00:00
279a7d4091 Added e_bit_array_cross_and and e_bit_array_cross_or.
2001-03-31  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-bit-array.c, gal/util/e-bit-array.h: Added
	e_bit_array_cross_and and e_bit_array_cross_or.

svn path=/trunk/; revision=9069
2001-03-31 11:38:21 +00:00
0cdb4fef03 Handle NULL args semi-gracefully.
2001-03-31  Jon Trowbridge  <trow@ximian.com>

        * gal/util/e-util.c (g_str_compare): Handle NULL args
        semi-gracefully.

svn path=/trunk/; revision=9066
2001-03-31 06:51:17 +00:00
6ba2a1416e Check that first_colon < last_at, to prevent horrible things from
2001-03-31  Jon Trowbridge  <trow@ximian.com>

	* e-url.c (e_url_shroud): Check that first_colon < last_at,
	to prevent horrible things from happening.  Removed spew.
	(e_url_equal): Removed spew.

svn path=/trunk/; revision=9065
2001-03-31 06:08:30 +00:00
2067796514 Add support for converting e-mail addresses to links. (is_email_address):
2001-03-30  Jon Trowbridge  <trow@ximian.com>

        * e-html-utils.c (e_text_to_html_full): Add support for converting
        e-mail addresses to links.
        (is_email_address): Added.  Identifies e-mail addresses.
        (email_address_extract): Added.  Extracts a copy of the e-mail
        address from the text.

        * e-html-utils.h (E_TEXT_TO_HTML_CONVERT_ADDRESSES): Added.

        * e-url.c (e_url_shroud): Added.  Copy a url, replacing
        any plaintext passwords with a single *.
        (e_url_equal): Compare two urls, taking into account that
        they may or may not be shrouded.

2001-03-30  Jon Trowbridge  <trow@ximian.com>

        * camel-mime-message.c (camel_mime_message_set_source): Shrould
        our source URL before putting it into X-Evolution-Source.

2001-03-30  Jon Trowbridge  <trow@ximian.com>

        * mail-display.c (mail_text_write): Add (commented-out)
        E_TEXT_TO_HTML_CONVERT_ADDRESSES.

        * mail-config.c (mail_config_get_account_by_source_url):
        Call e_url_equal to compare URLs.

svn path=/trunk/; revision=9050
2001-03-30 18:05:48 +00:00
6d9167de80 Remove #include <glib.h> Shuffle some headers. Remove #include
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-corba-utils.h: Remove #include <glib.h>
	* e-dialog-widgets.c: Shuffle some headers.
	* e-dialog-widgets.h: Remove #include <libgnomeui/gnome-propertybox.h>
	* e-gtk-utils.c: #include <gtk/gtksignal.h>
	* e-gtk-utils.h: Replace #include <gtk/gtk.h>
	* e-gui-utils.c: Replace #include <gnome.h>
	* e-html-utils.c: Shuffle headers.
	* e-iterator.c: Replace #include <gtk/gtk.h>
	* e-iterator.h: Replace #include <gtk/gtk.h>
	* e-list-iterator.c: Remove #include <gtk/gtk.h>
	* e-list-iterator.h: Replace #include <gtk/gtk.h>
	* e-list.c: Remove #include <gtk/gtk.h>
	* e-list.h: Replace #include <gtk/gtk.h>
	* e-memory.c: #include <string.h> and <stdlib.h>
	* e-msgport.c: Move around some includes. s/%d/%ld/g in a printf()
	call to fix a warning.
	* e-pilot-map.c: #include <string.h>. Replace #include <gnome.h>
	* e-pilot-util.c: Remove #include <gnome.h>
	* e-sexp.c: Remove #include <glib.h>
	* e-sexp.h: Replace #include <gtk/gtk.h>
	* e-time-utils.c: #include <string.h>
	* md5-utils.c: Shuffle headers.
	* test-ename-western-gtk.c: Replace #include <gnome.h>
	* test-ename-western.c: Same here.

svn path=/trunk/; revision=9016
2001-03-29 18:07:13 +00:00
5aab042fae Added util/e-bit-array.lo.
2001-03-26  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added util/e-bit-array.lo.

	* gal/util/Makefile.am: Added e-bit-array.c and e-bit-array.h.

	* gal/util/e-bit-array.c, gal/util/e-bit-array.h: New class
	containing the implementation of the bit array used in
	e-selection-model-array.

	* gal/widgets/e-selection-model-array.c,
	e-selection-model-array.h: Refactored the bit array implementation
	into a separate class.

	* gal/widgets/e-selection-model-simple.c: Changed how it clears
	the bit array of the ESelectionModelArray parent class.

	* gal/widgets/e-selection-model.h: Added code to make the
	declaration of EForeachFunc only get included once.

svn path=/trunk/; revision=8955
2001-03-26 20:42:15 +00:00
3e105b5bb7 new function, extracted from e_text_to_html, added color parameter
2001-03-20  Radek Doulik  <rodo@ximian.com>

	* e-html-utils.c (e_text_to_html_full): new function, extracted
	from e_text_to_html, added color parameter

2001-03-19  Radek Doulik  <rodo@ximian.com>

	* e-html-utils.c (e_text_to_html): support mark citation

	* e-html-utils.h (E_TEXT_TO_HTML_MARK_CITATION): added
	E_TEXT_TO_HTML_MARK_CITATION

svn path=/trunk/; revision=8847
2001-03-20 16:50:12 +00:00
8771680776 Fixed the GTK_RETLOC calls for these marshallers.
2001-03-20  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-util.c (e_marshal_INT__INT_POINTER_INT_POINTER,
	e_marshal_BOOL__INT_POINTER_INT_POINTER_INT_INT_INT): Fixed the
	GTK_RETLOC calls for these marshallers.

svn path=/trunk/; revision=8843
2001-03-20 09:51:26 +00:00
79aed0f7f0 Upped the version number to 0.5.99.4.
2001-03-19  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Upped the version number to 0.5.99.4.

	* Merged branch:

2001-03-18  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-selection-model.c,
	gal/widgets/e-selection-model.h: Added another semi-private
	function (e_selection_model_change_cursor.)

2001-03-18  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-selection-model.c,
	gal/widgets/e-selection-model.h: Added a couple of semi-private
	functions (e_selection_model_change_one_row and
	e_selection_model_confirm_row_count.)

2001-03-18  Christopher James Lahey  <clahey@ximian.com>

	* tests/test-tree-1.c, tests/test-tree-3.c: Added arguments for
	e_tree_memory_callbacks_new of get_save_id and has_save_id to
	NULL.

2001-03-17  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-util.c (e_sort): Switched to just using qsort
	directly here.

2001-03-17  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-util.c, gal/util/e-util.h (e_bsearch, e_sort): Added e_sort and
	e_bsearch.  They both take a closure.  e_sort guarantees a stable
	sort.  e_bsearch returns the range of matching elements including
	the position where an object would be if there are no matching
	elements.

2001-03-16  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added e-tree-sorted.lo.

2001-03-14  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-selection-model-simple.c,
	gal/widgets/e-selection-model-simple.h: Replaced the methods
	insert_row and delete_row with insert_rows and delete_rows.

	* gal/widgets/e-selection-model.c,
	gal/widgets/e-selection-model.h: Replaced the methods insert_row
	and delete_row with insert_rows and delete_rows.

2001-03-08  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am: Added e-table/e-table-utils.lo,
	e-table/e-tree-memory-callbacks.lo, e-table/e-tree-memory.lo,
	e-table/e-tree-scrolled.lo, e-table/e-tree-table-adapter.lo, and
	e-table/e-tree.lo.  Removed e-table/e-tree-simple.lo.

	* gal/util/e-util.c, gal/util/e-util.h: Added a whole bunch of
	e_marshal functions for ETree.

	* tests/test-tree-1.c, tests/test-tree-3.c: Reworked these to use
	the new tree stuff.

End of branch

svn path=/trunk/; revision=8840
2001-03-20 04:51:11 +00:00
79b4221f89 added function to format just the time.
2001-03-18  Damon Chaplin  <damon@ximian.com>

	* e-time-utils.c (e_time_format_time): added function to format just
	the time.

svn path=/trunk/; revision=8822
2001-03-19 15:46:32 +00:00
13afe78350 Fix a bug noticed by kmaraas
* e-path.c (e_path_to_physical): Fix a bug noticed by kmaraas

svn path=/trunk/; revision=8763
2001-03-16 21:00:39 +00:00
aa69aa95cd Fix a bit: [mailto:foo] shouldn't grab the ']'
* e-html-utils.c (url_extract): Fix a bit: [mailto:foo] shouldn't
	grab the ']'

svn path=/trunk/; revision=8736
2001-03-15 14:36:23 +00:00
48a7e88376 update cflag macros
2001-03-12  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: update cflag macros

svn path=/trunk/; revision=8648
2001-03-12 20:42:02 +00:00
ef9df95977 Added condition and fallback to LC_CTYPE if system doesn't define
2001-03-11  Timur Bakeyev  <timur@gnu.org>

	* gal/util/e-xml-utils.c: Added condition and fallback to LC_CTYPE
	if system doesn't define LC_MESSAGES. Usage of LC_CTYPE to determine
	language is hackish and questionable, then... Still, gives nice re-
	sults if there is no other ways to get that value.

svn path=/trunk/; revision=8632
2001-03-11 22:28:21 +00:00
bb6e7097e0 Fix an off-by-one in the "is this for real?" check so that "http:// "
* e-html-utils.c (url_extract): Fix an off-by-one in the "is this
	for real?" check so that "http:// " won't get URLified

svn path=/trunk/; revision=8581
2001-03-07 15:39:54 +00:00
0a60162f0b new files to contain functions to parse and format dates and times for
2001-03-04  Damon Chaplin  <damon@ximian.com>

	* e-time-utils.[hc]: new files to contain functions to parse and
	format dates and times for various calendar widgets.

svn path=/trunk/; revision=8546
2001-03-04 23:52:39 +00:00
ca443fec62 New function to turn foo/bar into foo/subfolders/bar. The inverse function
* e-path.c (e_path_to_physical): New function to turn foo/bar into
	foo/subfolders/bar. The inverse function doesn't exist yet because
	I didn't need it. Also, if the shell were going to use this, we'd
	need a few more tools...

	* Makefile.am (libeutil_la_SOURCES): Add e-path.[ch]

svn path=/trunk/; revision=8467
2001-03-02 00:31:23 +00:00