2001-08-28 Not Zed <NotZed@Ximian.com>
* e-categories-master-list-wombat.c (ecmlw_load): Dont call
g_print with a NULL string. See bug #7396.
svn path=/trunk/; revision=12498
2001-08-24 Jeffrey Stedfast <fejj@ximian.com>
* Makefile.am: Added e-mktemp.[c,h] to the build.
* e-mktemp.c (e_mktemp): A new wrapper around mktemp so that we
can keep track of temp files for later cleanup.
(e_mkstemp): Same but obviously for the mkstemp call.
(e_mkdtemp): And finally a mkdtemp wrapper.
svn path=/trunk/; revision=12460
* Makefile.am (libeutil_la_SOURCES): Added e-unicode-i18n.c and
e-unicode-i18n.h.
* e-unicode-i18n.[ch]: New files with two extra functions
(e_utf8_gettext, e_utf8_dgettext) and U_() macro.
Should be used instead of _() if we need UTF-8 string.
svn path=/trunk/; revision=12459
2001-08-09 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-config.c (e_categories_config_get_icon_for): return
when there's no icon associated with the category
svn path=/trunk/; revision=11860
* e-bonobo-factory-util.c
(e_bonobo_generic_factory_multi_display_new): New function to
create a factory that creates separate component instances for
different displays.
svn path=/trunk/; revision=11686
* e-list-iterator.c (e_list_iterator_next): Made it so that
e_list_iterator_next goes to the first element if it's set to
NULL. This makes deleting the first element and then doing
e_list_iterator_next go to the new first element. Did the analogy
for e_list_iterator_prev for completeness and consistency's sakes.
Fixes Ximian bug #6057.
svn path=/trunk/; revision=11614
2001-08-01 Christopher James Lahey <clahey@ximian.com>
* e-categories-master-list-wombat.c (ecmlw_load): Fixed the load
statement here by just using array_from_string.
(ecmlw_save): Removed the part where we save the icons and colors
since that's handled in the array_to_string function. Fixes
Ximian bug #4451.
svn path=/trunk/; revision=11561
2001-07-20 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-config.c (initialize_categories_config): use the 2
new category icons (16_category_suppliers.png and
16_category_time-and-expenses.png)
svn path=/trunk/; revision=11261
2001-07-17 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-config.c (initialize_categories_config): generate
default configuration for icons-per-category the first time. And
use a global (for this file) Bonobo_ConfigDatabase
2001-07-16 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-config.c (e_categories_config_get_icon_for):
(e_categories_config_get_icon_file_for):
(e_categories_config_set_icon_file_for): use GdkPixbuf to load images
svn path=/trunk/; revision=11189
2001-07-16 Federico Mena Quintero <federico@ximian.com>
* e-time-utils.c (parse_with_strptime): Generalized function for
trying a number of strptime() formats on a string.
(e_time_parse_time): Use parse_with_strptime().
(e_time_parse_date): New function, analogous to the previous one,
but uses a number of date formats.
svn path=/trunk/; revision=11138
2001-07-12 Jon Trowbridge <trow@ximian.com>
* e-html-utils.c: Added is_addr_char_no_pipes macro, which
specifically does not consider '|' ("pipe") to be a legal address
character.
(email_address_extract): Use is_addr_char_no_pipes when looking
for e-mail addresses to turn into HTML links. (Bug #3940)
svn path=/trunk/; revision=11029
2001-07-05 Richard Hult <rhult@codefactory.se>
* gal/util/e-util.c (e_format_number): Allocate one byte for the
terminating zero as well.
svn path=/trunk/; revision=10792
2001-07-04 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-master-list-wombat.c (ecmlw_load): load all icons
and colors for each category
(ecmlw_save): save all icons and categories associated with
each category
* e-categories-config.c: use BonoboConf to store/retrieve settings,
and use ECategoriesMasterListWombat when creating a ECategories
dialog widget
svn path=/trunk/; revision=10781
2001-07-04 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-config.c: use BonoboConf to store/retrieve settings,
and use ECategoriesMasterListWombat when creating a ECategories
dialog widget
svn path=/trunk/; revision=10779
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (libeutil_la_SOURCES): Added
e-categories-master-list-wombat.c and
e-categories-master-list-wombat.h.
(INCLUDES): Added $(BONOBO_CONF_CFLAGS).
* e-categories-master-list-wombat.c,
e-categories-master-list-wombat.h: New class implementing a master
list that stores its state using bonobo-conf.
svn path=/trunk/; revision=10720
2001-07-02 Rodrigo Moya <rodrigo@ximian.com>
* e-categories-config.[ch]: new file for a set of functions for
managing category-related (icons, colors) configuration
svn path=/trunk/; revision=10698
2001-06-25 Jeffrey Stedfast <fejj@ximian.com>
* e-sexp.c (term_eval_and): When ANDing two bools, don't use a
bitwise AND.
svn path=/trunk/; revision=10499
2001-06-15 Not Zed <NotZed@Ximian.com>
* e-sexp.c (parse_values): REmove a silly hardcoded term limit,
oops forgot about that.
svn path=/trunk/; revision=10248
2001-06-11 Damon Chaplin <damon@ximian.com>
* e-time-utils.c (e_time_parse_date_and_time): skip any non-digits
while looking for dates and times. This should fix some translation
problems. Though there is still a problem with Japanese, where the
am/pm flag comes before the time so we will skip it incorrectly.
svn path=/trunk/; revision=10224
2001-06-10 Damon Chaplin <damon@ximian.com>
* e-time-utils.c (e_time_parse_date_and_time):
(e_time_parse_time): got rid of '%n' at end of each format string
for strptime. I don't know how I managed to put them in there.
svn path=/trunk/; revision=10177
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
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-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
* 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-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
* 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
* 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
* 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