Commit Graph

49 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
dc8927136a Changed the license announcement at the top of these files.
2001-10-26  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-paned/e-hpaned.c, gal/e-paned/e-hpaned.h,
	gal/e-paned/e-paned.c, gal/e-paned/e-paned.h,
	gal/e-paned/e-vpaned.c, gal/e-paned/e-vpaned.h,
	gal/e-text/e-completion-match.c, gal/e-text/e-completion-match.h,
	gal/e-text/e-completion-test.c, gal/e-text/e-completion-view.c,
	gal/e-text/e-completion-view.h, gal/e-text/e-completion.c,
	gal/e-text/e-completion.h, gal/e-text/e-entry-test.c,
	gal/e-text/e-entry.c, gal/e-text/e-entry.h,
	gal/e-text/e-table-text-model.c, gal/e-text/e-table-text-model.h,
	gal/e-text/e-text-model-repos.c, gal/e-text/e-text-model-repos.h,
	gal/e-text/e-text-model-test.c, gal/e-text/e-text-model-uri.c,
	gal/e-text/e-text-model-uri.h, gal/e-text/e-text-model.c,
	gal/e-text/e-text-model.h, gal/e-text/e-text.c,
	gal/e-text/e-text.h, gal/util/e-bit-array.c,
	gal/util/e-bit-array.h, gal/util/e-cache.c, gal/util/e-cache.h,
	gal/util/e-iconv.c, gal/util/e-iconv.h, gal/util/e-sorter-array.c,
	gal/util/e-sorter-array.h, gal/util/e-sorter.c,
	gal/util/e-sorter.h, gal/util/e-text-event-processor-emacs-like.c,
	gal/util/e-text-event-processor-emacs-like.h,
	gal/util/e-text-event-processor-types.h,
	gal/util/e-text-event-processor.c,
	gal/util/e-text-event-processor.h, gal/util/e-util.c,
	gal/util/e-util.h, gal/util/e-xml-utils.c, gal/util/e-xml-utils.h,
	gal/widgets/color-group.c, gal/widgets/color-group.h,
	gal/widgets/color-palette.c, gal/widgets/color-palette.h,
	gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h,
	gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas-vbox.h,
	gal/widgets/e-canvas.c, gal/widgets/e-canvas.h,
	gal/widgets/e-categories-master-list-array.c,
	gal/widgets/e-categories-master-list-array.h,
	gal/widgets/e-categories-master-list-combo.c,
	gal/widgets/e-categories-master-list-combo.h,
	gal/widgets/e-categories-master-list-dialog-model.c,
	gal/widgets/e-categories-master-list-dialog-model.h,
	gal/widgets/e-categories-master-list-dialog.c,
	gal/widgets/e-categories-master-list-dialog.h,
	gal/widgets/e-categories-master-list.c,
	gal/widgets/e-categories-master-list.h,
	gal/widgets/e-categories.c, gal/widgets/e-categories.h,
	gal/widgets/e-colors.c, gal/widgets/e-colors.h,
	gal/widgets/e-cursors.c, gal/widgets/e-cursors.h,
	gal/widgets/e-font.c, gal/widgets/e-font.h,
	gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h,
	gal/widgets/e-hscrollbar.c, gal/widgets/e-hscrollbar.h,
	gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h,
	gal/widgets/e-printable.c, gal/widgets/e-printable.h,
	gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h,
	gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h,
	gal/widgets/e-reflow.c, gal/widgets/e-reflow.h,
	gal/widgets/e-scroll-frame.c, gal/widgets/e-scroll-frame.h,
	gal/widgets/e-selection-model-array.c,
	gal/widgets/e-selection-model-array.h,
	gal/widgets/e-selection-model-simple.c,
	gal/widgets/e-selection-model-simple.h,
	gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h,
	gal/widgets/e-unicode.c, gal/widgets/e-unicode.h,
	gal/widgets/e-vscrollbar.c, gal/widgets/e-vscrollbar.h,
	gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-box.h,
	gal/widgets/gtk-combo-stack.c, gal/widgets/gtk-combo-stack.h,
	gal/widgets/gtk-combo-text.c, gal/widgets/gtk-combo-text.h,
	gal/widgets/test-color.c, gal/widgets/test-e-font.c,
	gal/widgets/test-e-font.h, gal/widgets/test-font-loading.c,
	gal/widgets/widget-color-combo.c,
	gal/widgets/widget-color-combo.h,
	gal/widgets/widget-pixmap-combo.c,
	gal/widgets/widget-pixmap-combo.h,
	src/e-table/e-table-sorted-variable.c, tests/test-define-views.c,
	tests/test-shortcut-bar.c, tests/test-table-1.c,
	tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c,
	tests/test-unicode.c: Changed the license announcement at the top
	of these files.

svn path=/trunk/; revision=14158
2001-10-26 18:33:33 +00:00
5f5b342dbd Bumped the version number to 0.15.99.1.
2001-10-18  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.15.99.1.

	* gal/util/e-util.c, gal/util/e-util.h (e_write_file_mkstemp): New
	function to create a unique file.
	(e_write_file): Check the return value of close here.

svn path=/trunk/; revision=13772
2001-10-18 21:10:04 +00:00
69b2e6d8ee Use e_strdup_append_strings here instead of g_strdup_printf because
2001-10-11  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-table-text-model.c (e_table_text_model_insert,
	e_table_text_model_insert_length, e_table_text_model_delete),
	gal/e-text/e-text-model.c (e_text_model_real_insert,
	e_text_model_real_insert_length): Use e_strdup_append_strings here
	instead of g_strdup_printf because printf("%.*s") is locale
	dependent on some systems.

	* gal/util/e-util.c (e_strdup_append_strings): New function to
	append a bunch of strings with optional lengths.

svn path=/trunk/; revision=13581
2001-10-11 16:17:41 +00:00
8c8bf81c61 New function that parses a string as a double either in the C locale or
2001-10-06  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-util.c, gal/util/e-util.h (e_flexible_strtod): New
	function that parses a string as a double either in the C locale
	or the current locale.
	(e_ascii_dtostr): New function that saves a double as a string as
	it would be saved in the C locale.

	* gal/util/e-xml-utils.c
	(e_xml_get_double_prop_by_name_with_default): Use
	e_flexible_strtod here.
	(e_xml_set_double_prop_by_name): Use e_ascii_dtostr here.

svn path=/trunk/; revision=13479
2001-10-06 14:23:10 +00:00
c5f392ca0e add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migration
2001-10-05  Michael Meeks  <michael@ximian.com>

	* gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and
	E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from
	a single source base.

	* All C files:
	s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g;
	s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/
	E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/;

svn path=/trunk/; revision=13428
2001-10-04 23:52:20 +00:00
12ecaf7cef Bumped the version number to 0.12.99.0.
2001-09-22  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.12.99.0.

	From a patch by Damian Ivereigh <damian@cisco.com>:

	* gal/util/e-util.c, gal/util/e-util.h (e_strftime_fix_am_pm): New
	function, takes the same arguments as strftime, but does some
	fixup if the given string is in 12 hour mode but the locale
	doesn't have AM/PM descriptors.

From gal/e-table/ChangeLog:

2001-09-22  Christopher James Lahey  <clahey@ximian.com>

	From a patch by Damian Ivereigh <damian@cisco.com>:

	* e-cell-date.c: Made this use e_strftime_fix_am_pm instead of
	strftime.

svn path=/trunk/; revision=13081
2001-09-22 19:03:48 +00:00
d55e49c51f Add e_free_string_slist() and e_free_object_slist().
svn path=/trunk/; revision=10613
2001-06-29 23:42:14 +00:00
6fdce740b0 Add a new `e_marshal_INT__POINTER_POINTER_POINTER_POINTER' marshaller
and bump version number.

(BTW, did I mention that GTK+ marshalling sucks?)

svn path=/trunk/; revision=10518
2001-06-27 00:17:18 +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
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
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
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
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
2f099e392d implement.
2001-02-21  Michael Meeks  <michael@ximian.com>

	* gal/util/e-util.h (E_MAKE_X_TYPE): implement.

svn path=/trunk/; revision=8315
2001-02-21 08:31:28 +00:00
238d4b2091 From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com>
2001-02-17  Christopher James Lahey  <clahey@ximian.com>

	From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com>

	* gal/util/e-util.h, gal/util/e-xml-utils.h,
	gal/widgets/e-canvas-utils.h, gal/widgets/e-colors.h,
	gal/widgets/e-cursors.h, gal/widgets/e-gui-utils.h,
	gal/widgets/e-popup-menu.h, gal/widgets/e-printable.h,
	gal/widgets/gtk-combo-stack.h: Added GNOME_DECLS.

svn path=/trunk/; revision=8267
2001-02-17 08:40:12 +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
bf5e92e96c Increased the version number to 0.3. Increased the so number.
2000-12-06  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in: Increased the version number to 0.3.  Increased
	the so number.

	* gal/util/e-util.h: Removed unnecessary #define e_str_make_safe
	e_filename_make_safe.

svn path=/trunk/; revision=6824
2000-12-06 21:37:38 +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
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
025b5a3e0d Remove ifdefed 0 prototypes
svn path=/trunk/; revision=5478
2000-09-17 18:38:39 +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
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
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
7699b8996a This were moved to widgets/e-text/ a while ago but never removed. They
2000-02-24  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/e-text.c, widgets/e-text.h, e-text-event-processor.c,
        e-text-event-processor.h, e-text-event-processor-emacs-like.c,
        e-text-event-processor-emacs-like.h,
        e-text-event-processor-types.h: This were moved to widgets/e-text/
        a while ago but never removed.  They have now been removed.

        * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed some
        warnings from this file.  Made tooltips disappear when you're
        finished with them.

        * widgets/e-minicard/test-reflow.c,
        widgets/e-minicard/test-minicard.c,
        widgets/e-minicard/test-minicard-label.c: Commented out unused
        about_callback functions.

        * widgets/e-minicard/e-reflow.c: Made e-reflow pass an EFocus to
        its e-minicard children.

        * widgets/e-minicard/e-minicard.c: Made e-minicard take and return
        an EFocus for its "has_focus" argument.  This makes shift-tab work properly.

        * widgets/e-minicard/e-minicard-label.c: Made e-minicard-label take and return
        an EFocus for its "has_focus" argument.  Made the font that
        e-minicard-label uses only be allocated once.

        * e-util/e-canvas-utils.h: Fixed the comment at the top and added
        #ifndef __E_CANVAS_UTILS__.

        * e-util/Makefile.am: Added e-xml-utils.c and
        e-xml-utils.h.

        * e-util/e-xml-utils.h, e-util/e-xml-utils.c: Added files for some
        xml utilities.

        * e-util/e-util.h: Added type EFocus which describes which
        direction the focus will be coming from.


in mail:

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

        * message-list.c: Changed this to not use the "x" and "y"
        arguments to e-table-item.


in widgets/e-table:

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

        * e-table-subset-variable.c, e-table-subset-variable.h: A new
        model which is a subset, but you can add and remove rows.

        * test-table.c: Added a thaw method for use with the
        e-table-subset (emits model_changed.)  Adapted to the changes to
        e_table_item.  Properly parse headers.  Adapted to the changes to
        e_table, including creating example xml spec data.

        * test-cols.c, test-check.c: Added a thaw method for use with the
        e-table-subset (emits model_changed.)  Adapted to the changes to
        e_table_item.

        * e-table.c, e-table.h: Reworked e-table to use the ETable
        grouping system.  The only difference for the interface is that
        instead of passing in a column_spec and a grouping_spec, you pass
        in a single string that is an xml format that includes both pieces
        of information.

        * e-table-subset.h: Added rules for emacs to do correct
        indentation.

        * e-table-subset.c: Implemented freezing.  No signals are emitted
        while frozen and "model_changed" is emitted when thawed.

        * e-table-sorted.h: ETableSortedClass has ETableSubset as its
        parent object instead of ETableSubsetClass.  Fixed this.

        * e-table-simple.c, e-table-simple.h: Implemented the thaw method.
        Use of simple now requires an extra argument (the thaw method.)

        * e-table-model.h, e-table-model.c: Added e_table_model_freeze and
        e_table_model_thaw.

        * e-table-item.h, e-table-item.c: Reworked this a bit to make it
        provide some things the new group system needed and to make
        inter-item keyboard focus work.  Changed the external interface
        only in the list of arguments it recognizes and signals it emits.
        Instead of "x" and "y", you have to use
        e_canvas_item_move_absolute and instead of emitting a
        "height_changed" signal, it emits a "resize" signal.  There's new
        "has_focus", "width", and "height" arguments and a function to get
        the currently focused column.

        * e-table-header-item.c: Got rid of some warnings here.  Changed
        the

        * e-table-group-leaf.h, e-table-group-leaf.c,
        e-table-group-container.h, e-table-group-container.c: New types to
        make e_table_group work properly.

        * e-table-group.h, e-table-group.c: Completely reworked e-table
        grouping.  e-table-group now uses a hierarchical structure.

        * e-cell.h: Added e_cell_print.  This doesn't work yet.

        * e-cell.c: Made e_cell_realize exist.  (It was improperly named
        e_cell_view_realize in the .c.)

        * e-cell-text.c: Made the blinking cursor disappear properly.

        * check-filled.xpm, check-empty.xpm: Made these const char *[]
        instead of char *[] to avoid compiler warnings.

        * Makefile.am: Added e-table-group-container.c,
        e-table-group-container.h, e-table-group-leaf.c,
        e-table-group-leaf.h, e-table-subset-variable.c,
        e-table-subset-variable.h.

svn path=/trunk/; revision=1915
2000-02-24 06:51:23 +00:00
fa93d70ade Add another
svn path=/trunk/; revision=1399
1999-11-17 18:51:45 +00:00