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
* 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-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 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-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
* 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-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-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-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-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-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-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-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-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 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
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-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-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
* 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-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-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-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 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-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-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-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-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
* 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