aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
Commit message (Collapse)AuthorAgeFilesLines
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-2328-45/+45
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Split e-db3-utils and e-dbhash off into libedb3util so eutil won't dependDan Winship2001-06-192-5/+12
| | | | | | | * Makefile.am: Split e-db3-utils and e-dbhash off into libedb3util so eutil won't depend on db3. svn path=/trunk/; revision=10271
* REmove a silly hardcoded term limit, oops forgot about that.Not Zed2001-06-152-10/+24
| | | | | | | | | 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
* skip any non-digits while looking for dates and times. This should fixDamon Chaplin2001-06-142-18/+14
| | | | | | | | | | | 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
* got rid of '%n' at end of each format string for strptime. I don't knowDamon Chaplin2001-06-112-8/+14
| | | | | | | | | | 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
* Included information about db3.Christopher James Lahey2001-06-015-23/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove e_pixmaps_update (moved to libeshell) so libeutil won't depend onDan Winship2001-05-283-70/+5
| | | | | | | * e-gui-utils.c: Remove e_pixmaps_update (moved to libeshell) so libeutil won't depend on bonobo. svn path=/trunk/; revision=10017
* Modify `e_gethostbyname_r()' so that it doesn't report an error if theEttore Perazzoli2001-05-192-1/+17
| | | | | | | | | | 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
* add E_TEXT_TO_HTML_ESCAPE_8BIT to turn non-US-ASCII characters into "?"s.Dan Winship2001-05-173-1/+13
| | | | | | | | * 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
* Replicate the semantics of the libunicode utf8 functions by returning NULLJon Trowbridge2001-05-152-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Walk a hierarchy using the "/subfolders/" convention and call a callbackDan Winship2001-05-093-2/+106
| | | | | | | | * 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
* Added util/e-sorter-array.lo and widgets/e-reflow-model.lo. RemovedChristopher James Lahey2001-05-084-11/+365
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Debugging routine. (Only works for recursive mutexes right now.)Dan Winship2001-05-023-0/+12
| | | | | | | * e-msgport.c (e_mutex_assert_locked): Debugging routine. (Only works for recursive mutexes right now.) svn path=/trunk/; revision=9638
* Don't use g_utf8_next_char on text that isn't valid UTF8, since it won'tDan Winship2001-05-022-3/+11
| | | | | | | | * 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
* Make this smarter. Now e_text_to_html_full calls it when it sees a '@',Dan Winship2001-04-302-62/+61
| | | | | | | | | | | * 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
* Make the Solaris and no-gethostbyname_r implementations behave more likeDan Winship2001-04-272-4/+24
| | | | | | | | * 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
* Remove UNICODE_CFLAGS (libeutil_la_LIBADD): Change UNICODE_LIBS toDan Winship2001-04-272-2/+6
| | | | | | | * Makefile.am (INCLUDES): Remove UNICODE_CFLAGS (libeutil_la_LIBADD): Change UNICODE_LIBS to GAL_LIBS svn path=/trunk/; revision=9587
* Modified to match e_strv_get behaviour. Assert on bad cases, and return ""Not Zed2001-04-263-6/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* If the buffer is too small, making it twice as big does not guarantee itDan Winship2001-04-252-16/+23
| | | | | | | | | * 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
* Added #include <glib.h> and move corresponding local headers to the top toKjartan Maraas2001-04-246-8/+17
| | | | | | | | | | 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
* remove prototype for e_gethostbyname_init.Chris Toshok2001-04-243-41/+43
| | | | | | | | | | | | | | 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
* Removed attempts to use Radek's evil <DATA> hacks, which were just causingJon Trowbridge2001-04-242-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Include glib.h, so that the g_warning in e_gethostbyname_r will be treatedJon Trowbridge2001-04-242-0/+7
| | | | | | | | | | 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
* add e-host-utils.[ch]Chris Toshok2001-04-234-0/+188
| | | | | | | | | | | | 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
* ">From" is not a citation unless the previous or following line is aDan Winship2001-04-192-7/+44
| | | | | | | | | * 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
* Start parsing the sexp with parse_value(), not parse_list(), because weFederico Mena Quintero2001-04-162-1/+7
| | | | | | | | | | 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
* Added e-table/e-cell-spin-button.lo Added e-table/e-cell-float.loMikael Hallendal2001-04-132-0/+64
| | | | | | | | | | | | | | | | | 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
* New function to translate a string and then convert it to utf8. Acts justChristopher James Lahey2001-04-112-13/+53
| | | | | | | | | | | | | | | | | | | | | 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
* Setup up the conduit library building better so the files get distedJP Rosevear2001-04-082-7/+15
| | | | | | | | | 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
* Added a question mark to the set of valid characters for symbol names.Federico Mena Quintero2001-04-062-14/+38
| | | | | | | | | | | 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
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-052-1/+4
| | | | svn path=/trunk/; revision=9191
* Some small header cleanups & fixes, and fix to translate all popup menusGediminas Paulauskas2001-04-052-4/+2
| | | | | | | | | | | | (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
* Fix headers.Kjartan Maraas2001-04-052-1/+7
| | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * ename/test-ename-western-gtk.c: Fix headers. svn path=/trunk/; revision=9185
* Fixed headers. Moved the .h associated with each .c to the top of the listChristopher James Lahey2001-04-043-7/+8
| | | | | | | | | | | | | | | | | | | | | | 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
* Fix headers. Ditto. Ditto. Ditto. Ditto. Ditto. Ditto. Same. Ditto. SameKjartan Maraas2001-04-047-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added ESEXP_RES_TIME for time values. (ESExpResult): Added a "time_tFederico Mena Quintero2001-04-043-2/+92
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed this function to properly format numbers that have leading zeros inRusty Conover2001-04-031-1/+1
| | | | | | | | | | | 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
* Blessed by Ettore.Gediminas Paulauskas2001-04-023-2/+80
| | | | | | | | | | | | | | 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
* Added e_bit_array_cross_and and e_bit_array_cross_or.Christopher James Lahey2001-03-312-1/+29
| | | | | | | | | 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
* Handle NULL args semi-gracefully.Jon Trowbridge2001-03-311-1/+8
| | | | | | | | | 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
* Check that first_colon < last_at, to prevent horrible things fromJon Trowbridge2001-03-312-6/+8
| | | | | | | | | | 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
* Add support for converting e-mail addresses to links. (is_email_address):Jon Trowbridge2001-03-316-5/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove #include <glib.h> Shuffle some headers. Remove #includeKjartan Maraas2001-03-3025-35/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added util/e-bit-array.lo.Christopher James Lahey2001-03-272-0/+466
| | | | | | | | | | | | | | | | | | | | | | | | 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
* new function, extracted from e_text_to_html, added color parameterRadek Doulik2001-03-213-3/+66
| | | | | | | | | | | | | | | | 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
* Fixed the GTK_RETLOC calls for these marshallers.Christopher James Lahey2001-03-201-2/+2
| | | | | | | | | | 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
* Upped the version number to 0.5.99.4.Christopher James Lahey2001-03-202-75/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* added function to format just the time.Damon Chaplin2001-03-193-10/+63
| | | | | | | | | 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
* Fix a bug noticed by kmaraasDan Winship2001-03-172-1/+5
| | | | | | * e-path.c (e_path_to_physical): Fix a bug noticed by kmaraas svn path=/trunk/; revision=8763
* Fix a bit: [mailto:foo] shouldn't grab the ']'Dan Winship2001-03-152-1/+6
| | | | | | | * e-html-utils.c (url_extract): Fix a bit: [mailto:foo] shouldn't grab the ']' svn path=/trunk/; revision=8736
* update cflag macrosJP Rosevear2001-03-132-1/+5
| | | | | | | | 2001-03-12 JP Rosevear <jpr@ximian.com> * Makefile.am: update cflag macros svn path=/trunk/; revision=8648
* Added condition and fallback to LC_CTYPE if system doesn't defineTimur Bakeyev2001-03-121-0/+4
| | | | | | | | | | | 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
* Fix an off-by-one in the "is this for real?" check so that "http:// "Dan Winship2001-03-072-1/+6
| | | | | | | * 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
* new files to contain functions to parse and format dates and times forDamon Chaplin2001-03-054-0/+334
| | | | | | | | | 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
* New function to turn foo/bar into foo/subfolders/bar. The inverse functionDan Winship2001-03-024-0/+155
| | | | | | | | | | | * 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
* Make it handle a NULL string as an empty string.Not Zed2001-03-022-1/+9
| | | | | | | | | 2001-03-01 Not Zed <NotZed@Ximian.com> * e-sexp.c (e_sexp_encode_string): Make it handle a NULL string as an empty string. svn path=/trunk/; revision=8448
* Added e-sorter.lo and e-selection-model.lo.Christopher James Lahey2001-02-282-0/+201
| | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am: Added e-sorter.lo and e-selection-model.lo. * gal/util/Makefile.am: Added e-sorter.c and e-sorter.h. * gal/util/e-sorter.c, gal/util/e-sorter.h: New class. This is a new simple virtual class for use with ESelectionModel. It implements the same set of methods as ETableSorter but the default behavior is as if the sorting was a no-op. * gal/widgets/Makefile.am: Added e-selection-model.c and e-selection-model.h. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: New class. Implements all of the semantics of ETableSelectionModel except for the connection to the ETableModel. svn path=/trunk/; revision=8421
* Turned off some of the debug.Not Zed2001-02-232-2/+3
| | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * e-msgport.c : Turned off some of the debug. svn path=/trunk/; revision=8364
* Wait a lot lot longer for threads to finish.Not Zed2001-02-232-2/+7
| | | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_thread_destroy): Wait a lot lot longer for threads to finish. svn path=/trunk/; revision=8352
* implement.Michael Meeks2001-02-211-0/+23
| | | | | | | | 2001-02-21 Michael Meeks <michael@ximian.com> * gal/util/e-util.h (E_MAKE_X_TYPE): implement. svn path=/trunk/; revision=8315
* Changed the version number to 0.5.99.1.Christopher James Lahey2001-02-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-19 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed the version number to 0.5.99.1. * gal/Makefile.am (libgal_la_LIBADD): Change the directories for e-table-text-model.lo, e-text-event-processor.lo, and e-text-event-processor-emacs-like.lo. Reordered the e-text directory to be after the e-table directory in build order. * gal/e-text/Makefile.am: Removed e-text-event-processor-emacs-like.c, e-text-event-processor-emacs-like.h, e-text-event-processor-types.h, e-text-event-processor.c, and e-text-event-processor.h. Added e-table-text-model.c and e-table-text-model.h. * gal/e-text/e-table-text-model.c: Changed the signature of these mehtods to match the changed signature in ETextModel. * gal/e-text/e-text-event-processor-emacs-like.c, gal/e-text/e-text-event-processor-emacs-like.h, gal/e-text/e-text-event-processor-types.h, gal/e-text/e-text-event-processor.c, gal/e-text/e-text-event-processor.h: Moved these to gal/util/. * gal/e-text/e-text.c, gal/e-text/e-text.h: Changed the includes to match the moved files. * gal/util/Makefile.am: Added e-text-event-processor-emacs-like.c, e-text-event-processor-emacs-like.h, e-text-event-processor-types.h, e-text-event-processor.c, and e-text-event-processor.h. * gal/util/e-text-event-processor-emacs-like.h, gal/util/e-text-event-processor.h: Changed the includes to match the moved files. 2001-02-19 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Removed e-table-text-model.c and e-table-text-model.h. * e-table-text-model.c, e-table-text-model.h: Moved these to gal/e-text/. * e-cell-text.c: Changed the include line for e-text-event-processor.h and e-text-event-processor-emacs-like.h. svn path=/trunk/; revision=8298
* Fix it so that numbers containing inner zeros will be formatted correctly.Rusty Conover2001-02-191-1/+7
| | | | | | | | | | | 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
* From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com>Christopher James Lahey2001-02-172-0/+14
| | | | | | | | | | | | | | 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
* New marshallersDan Winship2001-02-152-8/+88
| | | | | | | * gal/util/e-util.c (e_marshal_INT__POINTER_POINTER, e_marshal_INT__POINTER_POINTER_POINTER_POINTER): New marshallers svn path=/trunk/; revision=8235
* Don't handle C-Enter.Christopher James Lahey2001-02-091-4/+4
| | | | | | | | | 2001-02-08 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text-event-processor-emacs-like.c (e_text_event_processor_emacs_like_event): Don't handle C-Enter. svn path=/trunk/; revision=8107
* Changed to allocate raw blocks for the data, and keep track of them withNot Zed2001-02-082-44/+29
| | | | | | | | | | 2001-02-08 Not Zed <NotZed@Ximian.com> * e-memory.c (EMemChunk): Changed to allocate raw blocks for the data, and keep track of them with an array, this is so the native malloc alignment is not lost at the allocation stage. svn path=/trunk/; revision=8100
* Added a comment.Christopher James Lahey2001-02-071-0/+1
| | | | | | | | 2001-02-06 Christopher James Lahey <clahey@ximian.com> * gal/util/e-i18n.h: Added a comment. svn path=/trunk/; revision=8045
* Added e_format_number and e_create_directory.Christopher James Lahey2001-02-072-55/+189
| | | | | | | | | 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
* Rearranged the includes here a bit.Christopher James Lahey2001-02-051-2/+2
| | | | | | | | 2001-02-05 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-xml-utils.c: Rearranged the includes here a bit. svn path=/trunk/; revision=7969
* Added declarations for all the functions declared in gnome-i18n.h.Christopher James Lahey2001-02-051-0/+15
| | | | | | | | | 2001-02-05 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-i18n.h: Added declarations for all the functions declared in gnome-i18n.h. svn path=/trunk/; revision=7968
* Revert last patchMiguel de Icaza2001-02-051-2/+8
| | | | svn path=/trunk/; revision=7964
* Turn on joining of cancelled threads. (e_msgport_wait): Put a cleanupNot Zed2001-01-312-1/+18
| | | | | | | | | | 2001-01-30 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_thread_destroy): Turn on joining of cancelled threads. (e_msgport_wait): Put a cleanup handler to clear the mp lock if it happens in cond_wait, since it will be locked again. svn path=/trunk/; revision=7919
* If we have waiting threads, then dont start a new one for the NEW case.Not Zed2001-01-292-8/+98
| | | | | | | | | | | | | 2001-01-29 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_thread_put): If we have waiting threads, then dont start a new one for the NEW case. (thread_dispatch): For the NEW case, dont exit, just keep running, waiting for a new message to come along. (e_thread_destroy): When cleaning up NEW threads, cancel any non-busy threads. svn path=/trunk/; revision=7883
* Don't #define __GNOME_I18N_H__ if it's already defined.Chyla Zbigniew2001-01-283-110/+259
| | | | | | | | | | | | | | | | | | | | | | | * gal/util/e-i18n.h: Don't #define __GNOME_I18N_H__ if it's already defined. *gal/util/e-xml-utils.c: Functions moved from Gnumeric: e_xml_get_child_by_name_by_lang_list, e_xml_get_child_by_name_by_lang_list_with_score (static), e_xml_get_child_by_name_no_lang. New functions (for completness): e_xml_get_integer_prop_by_name_with_default, e_xml_get_string_prop_by_name_with_default, e_xml_get_uint_prop_by_name, e_xml_get_uint_prop_by_name_with_default, e_xml_set_uint_prop_by_name. Now every e_xml_get_*_prop_by_name function just calls e_xml_get_*_prop_by_name_with_default with some sensible default value. Formatting fixes here and there. svn path=/trunk/; revision=7874
* Add chunk allocators.Not Zed2001-01-253-58/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-24 Not Zed <NotZed@Ximian.com> * e-sexp.h (ESExp): Add chunk allocators. * e-sexp.c: Removed some redundant debug printfs. (e_sexp_term_eval): Dont allocate result till we have it. so we can have a fatal error, and not leak it. (term_eval_plus): If we have to abort, free our arguments. (term_eval_sub): Same. (parse_new_term): Renamed to parse_term_new for consistency. Fixed callers. (e_sexp_result_new): Add the esexp as an argument. Ouch, lots of code to change for this. Allocate blocks from an ememchunk. Fixed all callers. (e_sexp_result_free): Same as above, free blocks from the ememchunk. Fixed all callers. (parse_term_new): (parse_term_free): Similarly, add the esexp to the argument, and alloc/free from memchunks. Fixed all local callers. (e_sexp_init): Setup the memory chunk allocators. (e_sexp_finalise): Destroy memchunk allocators. svn path=/trunk/; revision=7795
* Removed some redundant debug printfs. (e_sexp_term_eval): Dont allocateNot Zed2001-01-243-57/+64
| | | | | | | | | | | | | | 2001-01-24 Not Zed <NotZed@Ximian.com> * e-sexp.c: Removed some redundant debug printfs. (e_sexp_term_eval): Dont allocate result till we have it. so we can have a fatal error, and not leak it. (term_eval_plus): If we have to abort, free our arguments. (term_eval_sub): Same. (parse_new_term): Renamed to parse_term_new for consistency. Fixed callers. svn path=/trunk/; revision=7766
* Setup error return and return error on parse error. (parse_list): Fail ifNot Zed2001-01-233-14/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-23 Not Zed <NotZed@Ximian.com> * e-sexp.c (e_sexp_parse): Setup error return and return error on parse error. (parse_list): Fail if we have a problem. (parse_value): Here too. (fatal_error): Fatal error handling function, jumps back to the top caller. (term_eval_and): (e_sexp_term_eval): (term_eval_sub): (term_eval_plus): (term_eval_gt): (term_eval_lt): (term_eval_or): Fail on error. (e_sexp_term_eval): Added a comment about where this can be called, which is only from inside e_sexp_eval(). (e_sexp_eval): Setup setjmp error handler. (e_sexp_error): Error accessor function. * e-sexp.h: Added a longjmp environment to the structure, and an error return to parse. svn path=/trunk/; revision=7738
* New function, can't use strlen on the md5 hash because it might have nullJP Rosevear2001-01-234-1/+63
| | | | | | | | | | 2001-01-22 JP Rosevear <jpr@ximian.com> * e-dbhash.c (md5_to_dbt): New function, can't use strlen on the md5 hash because it might have null chars in it. (e_dbhash_add): use md5_to_dbt svn path=/trunk/; revision=7726
* Added function e_xml_get_bool_prop_by_name_with_default.Christopher James Lahey2001-01-212-0/+23
| | | | | | | | | 2001-01-21 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Added function e_xml_get_bool_prop_by_name_with_default. svn path=/trunk/; revision=7675
* New function, name describes it well. (gtk_radio_button_select_nth): NewJason Leach2001-01-193-0/+65
| | | | | | | | | | 2001-01-17 Jason Leach <jasonleach@usa.net> * e-gtk-utils.c (gtk_radio_button_get_nth_selected): New function, name describes it well. (gtk_radio_button_select_nth): New function. svn path=/trunk/; revision=7629
* Ximianified.Federico Mena Quintero2001-01-173-2/+8
| | | | | | | | 2001-01-17 Federico Mena Quintero <federico@ximian.com> * e-dialog-widgets.[ch]: Ximianified. svn path=/trunk/; revision=7574
* This fixes translations of library messages compared to applicationMiguel de Icaza2001-01-172-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes translations of library messages compared to application messages. 2001-01-17 Miguel de Icaza <miguel@gnu.org> * po/POTFILES.in: update. * gal/widgets/color-palette.c: use e-i18n.h * gal/util/e-i18n.h: Avoid inclussion of the GNOME i18n file as we provide our own. 2001-01-17 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c: Use e-i18n.h here. * e-table.c (et_col_spec_to_col): Use gettext here. (et_real_construct): Use gettext too. (et_col_spec_to_col): Use gettext here. * e-cell-date.c: Use e-i18n.h here. * e-table-config.c (config_sort_info_update): Simplify column grabbing code and drop item layout code. (config_group_info_update): ditto. * e-table-config.c: Get correct translation setup working. 2001-01-17 Miguel de Icaza <miguel@gnu.org> * e-group-bar.c: Use e-i18n.h svn path=/trunk/; revision=7565
* Dup the string passed in, not the temporary string. d'oh.JP Roseveaer2001-01-152-1/+6
| | | | | | | | | 2001-01-15 JP Roseveaer <jpr@ximian.com> * e-pilot-util.c (e_pilot_utf8_from_pchar): Dup the string passed in, not the temporary string. d'oh. svn path=/trunk/; revision=7501
* remove old config messageJP Rosevear2001-01-151-1/+1
| | | | | | | | 2001-01-14 JP Rosevear <jpr@ximian.com> * configure.in: remove old config message svn path=/trunk/; revision=7492
* #define E_THREAD_NONE as ((pthread_t)~0) and use that instead of ~0Dan Winship2001-01-062-10/+18
| | | | | | | | * e-msgport.c: #define E_THREAD_NONE as ((pthread_t)~0) and use that instead of ~0 throughout. (pthread_t is a pointer type on my system, so there are lots of warnings without the cast.) svn path=/trunk/; revision=7271
* Added functions for encoding utf8 safely into libxml brokennessLauris Kaplinski2001-01-031-0/+1
| | | | svn path=/trunk/; revision=7225
* Some debug commented out, static list intialiser.Michael Zucci2001-01-032-6/+9
| | | | svn path=/trunk/; revision=7221
* Merge from camel-mt-branch.Not Zed2000-12-246-66/+938
| | | | | | | | 2000-12-24 Not Zed <NotZed@HelixCode.com> * Merge from camel-mt-branch. svn path=/trunk/; revision=7152
* Added e_xml_get_double_prop_by_name_with_default.Christopher James Lahey2000-12-232-2/+25
| | | | | | | | | 2000-12-23 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Added e_xml_get_double_prop_by_name_with_default. svn path=/trunk/; revision=7137
* Check for null strings (e_pilot_utf8_from_pchar): dittoJP Rosevear2000-12-212-0/+11
| | | | | | | | | 2000-12-20 JP Rosevear <jpr@helixcode.com> * e-pilot-util.c (e_pilot_utf8_to_pchar): Check for null strings (e_pilot_utf8_from_pchar): ditto svn path=/trunk/; revision=7106
* Convert cal component strings to pilot character setJP Rosevear2000-12-204-3/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-19 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): Convert cal component strings to pilot character set (comp_from_remote_record): vice versa * conduits/todo/todo-conduit.c: Same as above 2000-12-19 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (local_record_from_ecard): Convert ecard strings to pilot encodings 2000-12-19 JP Rosevear <jpr@helixcode.com> * e-pilot-util.c (e_pilot_utf8_to_pchar): Convert utf8 strings to pilot character set (e_pilot_utf8_from_pchar): vice versa * Makefile.am: Conditionally build e-pilot-util.[hc] because they depend on pilot-link stuff svn path=/trunk/; revision=7090
* Made the parameter type of e_strdup_string a const. Made it not callChristopher James Lahey2000-12-192-66/+61
| | | | | | | | | | | 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
* make sure we actually make enough space for "&nbsp;".Larry Ewing2000-12-132-1/+6
| | | | | | | | | 2000-12-13 Larry Ewing <lewing@helixcode.com> * e-html-utils.c (e_text_to_html): make sure we actually make enough space for "&nbsp;". svn path=/trunk/; revision=6964
* Fixed a warning by making e_strstrcase return a const gchar.Christopher James Lahey2000-12-122-60/+64
| | | | | | | | | 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
* Work to get a Gtk-Doc infrastructure in place for Gal.Miguel de Icaza2000-12-091-19/+12
| | | | | | | | Work to get a Gtk-Doc infrastructure in place for Gal. Miguel. svn path=/trunk/; revision=6883
* Updated documentation comment.Federico Mena Quintero2000-12-092-1/+8
| | | | | | | | | 2000-12-08 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.c (e_dialog_editable_get): Updated documentation comment. svn path=/trunk/; revision=6869
* Increased the version number to 0.3. Increased the so number.Christopher James Lahey2000-12-071-1/+0
| | | | | | | | | | | | 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
* Fixed some warnings.Christopher James Lahey2000-12-071-1/+1
| | | | | | | | 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
* New `e-corba-utils.c' module, for now just containing a function toEttore Perazzoli2000-12-054-0/+77
| | | | | | get a safe CORBA string from a possibly NULL string pointer. svn path=/trunk/; revision=6786
* macro that calls e_filename_make_safeJeffrey Stedfast2000-12-052-8/+9
| | | | | | | | | | | | | 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
* Bump the version to 0.2.99.4Jeffrey Stedfast2000-12-012-5/+20
| | | | | | | | | | | | | 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
* Fix typename of args (for all funcs). (e_strv_set_ref): Assert the indexNot Zed2000-11-303-21/+37
| | | | | | | | | | | | 2000-11-30 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_strv_new): Fix typename of args (for all funcs). (e_strv_set_ref): Assert the index is in range. (e_strv_set_ref_free): " (e_strv_set): " (e_strv_get): " svn path=/trunk/; revision=6733
* Plug a memleak, need to free results from term_eval(). (term_eval_gt):Not Zed2000-11-293-0/+28
| | | | | | | | | | | | | | | | | 2000-11-29 Not Zed <NotZed@HelixCode.com> * e-sexp.c (term_eval_lt): Plug a memleak, need to free results from term_eval(). (term_eval_gt): (term_eval_eq): 2000-11-27 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_mempool_new): Added some locking to global data. This should make the interfaces mt-safe, although each object is only per-thread safe. svn path=/trunk/; revision=6710
* New function, set a reference to a string that is then owned/free'd by theNot Zed2000-11-223-18/+64
| | | | | | | | | | | | 2000-11-22 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_strv_set_ref_free): New function, set a reference to a string that is then owned/free'd by the strv. (e_strv_destroy): If there are any strings to destroy, free them here. svn path=/trunk/; revision=6645
* If we dont get a big enough chunk in the first node, give up. Otherwise weNot Zed2000-11-212-9/+17
| | | | | | | | | | | | 2000-11-22 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_mempool_alloc): If we dont get a big enough chunk in the first node, give up. Otherwise we spend too much time searching. (e_mempool_strdup): Doh, and allocate enough for the terminating NUL at that. svn path=/trunk/; revision=6631
* New function to strdup into a mempool.Not Zed2000-11-213-0/+12
| | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_mempool_strdup): New function to strdup into a mempool. svn path=/trunk/; revision=6630
* New function to allocate a zero'd out chunk.Not Zed2000-11-213-0/+16
| | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_memchunk_alloc0): New function to allocate a zero'd out chunk. svn path=/trunk/; revision=6624
* New routines for fast memory management and compact string array storage.Not Zed2000-11-214-0/+902
| | | | | | | | | | | 2000-11-20 Not Zed <NotZed@HelixCode.com> * e-memory.[ch]: New routines for fast memory management and compact string array storage. * Makefile.am (libeutil_la_SOURCES): Added e-memory.[ch]. svn path=/trunk/; revision=6619
* oops thats func not *funcJP Rosevear2000-11-103-4/+9
| | | | | | | | | | 2000-11-09 JP Rosevear <jpr@helixcode.com> * e-dbhash.h: oops thats func not *func * e-dbhash.c (e_dbhash_foreach_key): Memset the data DBT to 0 svn path=/trunk/; revision=6521
* Build e-dbhash.[hc]JP Rosevear2000-11-084-0/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-07 JP Rosevear <jpr@helixcode.com> * Makefile.am: Build e-dbhash.[hc] * e-dbhash.[hc]: New routines to manage a db database on disk that contains md5 hashed data and indexed by uids. Provides comparison functions and such so the caller does not have to do the md5 bits. 2000-11-07 JP Rosevear <jpr@helixcode.com> * backend/pas/pas-book.h: Update PASRequest structure * backend/pas/pas-book.c (impl_Evolution_Book_get_changes): update param name (pas_book_queue_get_changes): Use PASRequest change_id slot * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): Properly copy change_id and change_context (pas_backend_file_book_view_free): Free change_id/change_context (pas_backend_file_changes_foreach_key): Callback to figure out the deleted cards (pas_backend_file_changes): Use new e-dbhash stuff to implement. Write out updated hash * backend/idl/addressbook.idl: Rename get_changes param svn path=/trunk/; revision=6489
* #include <string.h> to quench warning. #include <stdlib.h> for sameKjartan Maraas2000-10-313-0/+7
| | | | | | | | | 200-10-30 Kjartan Maraas <kmaraas@gnome.org> * e-dialog-widgets.c: #include <string.h> to quench warning. * e-sexp.c: #include <stdlib.h> for same reason. svn path=/trunk/; revision=6288
* build md5-utils72000-10-284-1/+426
| | | | | | | | | | | | | | | | | | | | | | | | 2000-10-27 <jpr@helixcode.com> * Makefile.am: build md5-utils * md5-utils.c: Make part of util, get rid of camel stream util function include string.h * md5-utils.h: ditto 2000-10-27 <jpr@helixcode.com> * providers/pop3/Makefile.am: Tidy up build * providers/smtp/Makefile.am: ditto * Makefile.am: Move md5-utils.[hc] to e-util because the addressbook is going to use md5 hashes for pilot syncing. Maybe the calendar conduits as well because this is a good idea Chris had. svn path=/trunk/; revision=6234
* Return null if no pnode was found.72000-10-272-2/+10
| | | | | | | | | 2000-10-27 <jpr@helixcode.com> * e-pilot-map.c (e_pilot_map_lookup_uid): Return null if no pnode was found. svn path=/trunk/; revision=6229
* Added an "allow_newlines" argument.Christopher James Lahey2000-10-274-20/+62
| | | | | | | | | | | | | 2000-10-27 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-entry.c, gal/e-text/e-text-event-processor-emacs-like.c, gal/e-text/e-text-event-processor-emacs-like.h, gal/e-text/e-text-event-processor.c, gal/e-text/e-text-event-processor.h, gal/e-text/e-text.c: Added an "allow_newlines" argument. svn path=/trunk/; revision=6226
* Get archive field while parsing (map_write_foreach): Write out archiveJP Rosevear2000-10-272-26/+78
| | | | | | | | | | | | | | | | 2000-10-27 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c (map_sax_start_element): Get archive field while parsing (map_write_foreach): Write out archive field (e_pilot_map_pid_is_archived): implement (e_pilot_map_uid_is_archived): ditto (e_pilot_map_insert): Insert new node structures (e_pilot_map_lookup_pid): Take into account the list is now a list of structures (e_pilot_map_lookup_uid): ditto svn path=/trunk/; revision=6224
* unsigned chars.Michael Meeks2000-10-273-3/+13
| | | | | | | | | | | | 2000-10-26 Michael Meeks <michael@helixcode.com> * ename/e-address-western.c (e_address_western_is_postal): unsigned chars. * ename/e-name-western.c (e_name_western_get_one_prefix_at_str): cast to unsigned char. svn path=/trunk/; revision=6212
* Add another marshalling function.Dan Winship2000-10-262-0/+19
| | | | | | | * gal/util/e-util.c (e_marshal_NONE__POINTER_POINTER_INT): Add another marshalling function. svn path=/trunk/; revision=6171
* Deal properly with URLs at the end of the buffer. (The old code wouldDan Winship2000-10-262-0/+8
| | | | | | | | * e-html-utils.c (e_text_to_html): Deal properly with URLs at the end of the buffer. (The old code would append a "&#0;" to the text.) svn path=/trunk/; revision=6169
* Lookup a pid by uid. (e_pilot_map_lookup_uid): Lookup a uid by pid. NowJP Rosevear2000-10-253-2/+35
| | | | | | | | | | | | | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c (e_pilot_map_lookup_pid): Lookup a pid by uid. (e_pilot_map_lookup_uid): Lookup a uid by pid. Now this is wrapped, we can store archive info internally * e-pilot-map.h: New accessor prototype 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (local_record_from_comp): Use new e-pilot-map lookup function (match): ditto * conduits/calendar/calendar-conduit.c (local_record_from_comp): Use new e-pilot-map lookup function (match): ditto svn path=/trunk/; revision=6146
* Remove unused GNOMELOCALEDIR setting.Dan Winship2000-10-242-1/+5
| | | | | | | * ename/Makefile.am (INCLUDES): Remove unused GNOMELOCALEDIR setting. svn path=/trunk/; revision=6142
* Use new libeconduit calls and abstractionJP Rosevear2000-10-243-34/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.h: Use new libeconduit calls and abstraction * conduit/address-conduit.c: ditto 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.h: Use new libeconduit calls and abstraction * conduits/calendar/calendar-conduit.c: ditto * conduits/calendar/calendar-conduit.h: ditto * conduits/todo/todo-conduit.c: ditto * conduits/calendar/Makefile.am: Add libeconduit-static.la * conduits/calendar/calendar-conduit.c (post_sync): Use e_pilot_map_write (pre_sync): Use e_pilot_map_read 2000-10-23 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c: Operate with EPilotMap structure so things are abstract to the caller (e_pilot_map_pid_is_archived): Infrastructure for marking records as archived (e_pilot_map_uid_is_archived): ditto * e-pilot-map.h: Add more to public interface, including EPilotMap structure svn path=/trunk/; revision=6134
* Pilot map functions grabbed from existing conduitsJP Rosevear2000-10-244-1/+209
| | | | | | | | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c: Pilot map functions grabbed from existing conduits * e-pilot-map.h (e_pilot_map_write): Header 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduits/todo/Makefile.am: Add libeconduit-static.la * conduits/todo/todo-conduit.c (post_sync): Use e_pilot_map_write (pre_sync): Use e_pilot_map_read svn path=/trunk/; revision=6116
* Made the number keys on the number pad work in ETexts and ECellTexts.Christopher James Lahey2000-10-191-1/+108
| | | | | | | | | 2000-10-19 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-text-event-processor-emacs-like.c: Made the number keys on the number pad work in ETexts and ECellTexts. svn path=/trunk/; revision=6027
* If unicode_get_utf8 returns -1, assume it was actually undeclaredDan Winship2000-10-192-58/+18
| | | | | | | * e-html-utils.c (e_text_to_html): If unicode_get_utf8 returns -1, assume it was actually undeclared iso-8859-1 text. svn path=/trunk/; revision=6002
* *** empty log message ***Jesse Pavel2000-10-182-25/+6
| | | | svn path=/trunk/; revision=5969
* g_strconcat needs a NULL.Iain Holmes2000-10-122-2/+7
| | | | svn path=/trunk/; revision=5861
* Included a missing #include.Christopher James Lahey2000-10-113-22/+84
| | | | | | | | | | | | 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
* New function to make a directory and (if needed), its parentsDan Winship2000-10-082-1/+38
| | | | | | | * gal/util/e-util.c (e_mkdir_hier): New function to make a directory and (if needed), its parents svn path=/trunk/; revision=5778
* Added $(EXTRA_GNOME_CFLAGS).Christopher James Lahey2000-09-272-0/+5
| | | | | | | | Tue Sep 26 16:48:49 2000 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS). svn path=/trunk/; revision=5597
* add ename as a SUBDIRJeffrey Stedfast2000-09-262-1/+7
| | | | | | | | 2000-09-25 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: add ename as a SUBDIR svn path=/trunk/; revision=5580
* Added a ton of new prefixes and suffixes.Nat Friedman2000-09-261-10/+30
| | | | | | | | | 2000-09-25 Nat Friedman <nat@helixcode.com> * ename/e-name-western-tables.h: Added a ton of new prefixes and suffixes. svn path=/trunk/; revision=5571
* Fixed operation of the keypad keys in EText and ECellText.Christopher James Lahey2000-09-221-6/+23
| | | | | | | | | 2000-09-22 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-text-event-processor-emacs-like.c: Fixed operation of the keypad keys in EText and ECellText. svn path=/trunk/; revision=5548
* Made e_list a bit more reentrant. If a iterator gets its data pulled outChristopher James Lahey2000-09-214-8/+31
| | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * e-list-iterator.c, e-list.c, e-list.h: Made e_list a bit more reentrant. If a iterator gets its data pulled out from under it while in a loop, it goes back one so that loops will be able to continue. svn path=/trunk/; revision=5533
* Moved files, fixed header files and paths - FedericoFederico Mena Quintero2000-09-204-2/+4
| | | | svn path=/trunk/; revision=5513
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-1828-4689/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* Merging in additional type functions (e_xml_get_string_prop_by_name):JP Rosevear2000-09-182-7/+80
| | | | | | | | | | | | 2000-09-17 JP Rosevear <jpr@helixcode.com> * src/util/e-xml-utils.c (e_xml_set_string_prop_by_name): Merging in additional type functions (e_xml_get_string_prop_by_name): ditto (e_xml_set_double_prop_by_name): ditto (e_xml_get_double_prop_by_name): ditto svn path=/trunk/; revision=5485
* Remove ifdefed 0 prototypesMiguel de Icaza2000-09-181-7/+4
| | | | svn path=/trunk/; revision=5478
* redo Chris's previous change to match the surrounding code styleDan Winship2000-09-141-2/+2
| | | | svn path=/trunk/; revision=5420
* Fixed an uninitialized variable.Christopher James Lahey2000-09-142-1/+5
| | | | | | | | 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * e-font.c: Fixed an uninitialized variable. svn path=/trunk/; revision=5407
* Use underscores for untranslated characters fro Gtk+Lauris Kaplinski2000-09-132-52/+48
| | | | svn path=/trunk/; revision=5391
* Change this a bit so that if you pass it a bold font, it puts that inDan Winship2000-09-132-24/+82
| | | | | | | | | | * e-font.c (e_font_from_gdk_font): Change this a bit so that if you pass it a bold font, it puts that in font->bold and finds a lighter font for font->font (if it can). This is for themes like Metal where the default font is bold. (find_variants): renamed from find_best_bold svn path=/trunk/; revision=5384
* Thou shalt leave space for the trailing \0.Dan Winship2000-09-122-1/+4
| | | | | | | * e-font.c (find_best_bold): Thou shalt leave space for the trailing \0. svn path=/trunk/; revision=5355
* The return value should not be const. (Well, unless the input was, but youDan Winship2000-09-125-6/+11
| | | | | | | * 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
* Fixed some warnings.Christopher James Lahey2000-09-121-3/+5
| | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * ename/e-address-western.c: Fixed some warnings. svn path=/trunk/; revision=5333
* *** empty log message ***Jesse Pavel2000-09-121-9/+85
| | | | svn path=/trunk/; revision=5324
* Removed a bunch of redundant code. Made it so that when you set an addressChristopher James Lahey2000-09-112-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Removed a bunch of redundant code. Made it so that when you set an address label, it sets the delivery address as well. Added functions to set and get the delivery address. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added code to convert and address label to a delivery address. * contact-editor/Makefile.am: Added e-contact-editor-address.[ch], fulladdr.glade, fulladdr.glade.h. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Switched from a label to a button to show the parsed address. * contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-address.h: New class to implement the parsed address dialog. * contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor-fullname.h: Added const to the _new function. * contact-editor/e-contact-editor.c: Implemented clicking on the address button. * contact-editor/fulladdr.glade, contact-editor/fulladdr.glade.h: New glade files for the parsed address dialog. * contact-editor/fullname-strings.h, fullname.glade: Changed these accellabels to labels. * ename/Makefile.am: Added e-address-western.c. * ename/e-address-western.c: Fixed some warnings. svn path=/trunk/; revision=5317
* Added e_utf8_gtk_editable_get_text and e_utf8_gtk_editable_set_text.Christopher James Lahey2000-09-113-10/+41
| | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * e-unicode.c, e-unicode.h: Added e_utf8_gtk_editable_get_text and e_utf8_gtk_editable_set_text. svn path=/trunk/; revision=5316
* EFont should now use real bold typeface, if availableLauris Kaplinski2000-09-112-18/+125
| | | | svn path=/trunk/; revision=5309
* Implemented a new `e_gtk_signal_connect_full_while_alive()' utilityEttore Perazzoli2000-09-114-9/+163
| | | | | | | that does what `gtk_signal_connect_full()' does, but with additional destruction safety as provided by `gtk_signal_connect_while_alive()'. svn path=/trunk/; revision=5303
* Fixed a bug regarding the extraction of the region.Jesse Pavel2000-09-111-3/+21
| | | | svn path=/trunk/; revision=5302
* Some UTF-8 fixes and experimental 16-bit unicode font supportLauris Kaplinski2000-09-092-59/+155
| | | | svn path=/trunk/; revision=5279
* *** empty log message ***Jesse Pavel2000-09-092-0/+393
| | | | svn path=/trunk/; revision=5278
* remove consts from the EPopupMenu structure: the caller may want to modifyDan Winship2000-09-092-4/+10
| | | | | | | | * e-popup-menu.h: remove consts from the EPopupMenu structure: the caller may want to modify its own EPopupMenu before calling e_popup_menu_run. svn path=/trunk/; revision=5261
* Bunch of unicode related changesLauris Kaplinski2000-09-085-18/+77
| | | | svn path=/trunk/; revision=5235
* Remove incorrect optimization. Events are read-only!Federico Mena Quintero2000-09-072-12/+13
| | | | | | | | | 2000-09-07 Federico Mena Quintero <federico@helixcode.com> * e-canvas.c (emit_event): Remove incorrect optimization. Events are read-only! svn path=/trunk/; revision=5228
* New font translation code for utf-8, but commented out at momentLauris Kaplinski2000-09-054-36/+177
| | | | svn path=/trunk/; revision=5194
* A bit more e_utf8 wrappers here and thereLauris Kaplinski2000-09-023-4/+59
| | | | svn path=/trunk/; revision=5180
* Email should now display correctly in GtkHTMLLauris Kaplinski2000-09-014-13/+975
| | | | svn path=/trunk/; revision=5154
* #define gnome_font_lookup_default for gnome-print 0.20Lauris Kaplinski2000-08-312-1/+3
| | | | svn path=/trunk/; revision=5133
* Made it compilable both with gnome-print 0.20 and 0.21+Lauris Kaplinski2000-08-312-0/+11
| | | | svn path=/trunk/; revision=5126
* make e-util depend on libunicodeDan Winship2000-08-303-1/+12
| | | | | | | | | | | * Makefile.am (libeutil_la_LIBADD): make e-util depend on libunicode * e-popup-menu.c (make_item): Use GtkMenuItem rather than GtkPixmapMenuItem for items with no pixmaps, so that if the whole menu is pixmapless, you don't get a column of blank pixmaps. svn path=/trunk/; revision=5114
* More UTF-8 handlingLauris Kaplinski2000-08-253-0/+24
| | | | svn path=/trunk/; revision=5032
* Unicode in addressbook basically works, including simple searchingLauris Kaplinski2000-08-245-3/+65
| | | | svn path=/trunk/; revision=4997
* Constify.Federico Mena Quintero2000-08-243-2/+6
| | | | | | | | 2000-08-23 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.c (e_dialog_editable_set): Constify. svn path=/trunk/; revision=4992
* Added missing e-unicode.h and e-unicode.cLauris Kaplinski2000-08-232-0/+186
| | | | svn path=/trunk/; revision=4977
* UTF-8 in contact editor + some fixes for dealing with illegal stringsLauris Kaplinski2000-08-232-0/+14
| | | | svn path=/trunk/; revision=4976
* Handle iso-8859-1 keys nicely in e-text and e-table. Other encodings toLauris Kaplinski2000-08-232-1/+10
| | | | | | come... svn path=/trunk/; revision=4972
* Changed UTF-8 handling syntax from char based to byte basedLauris Kaplinski2000-08-223-39/+54
| | | | svn path=/trunk/; revision=4913
* Little teeny bug fix in e_text_to_html tab expansion.Peter Williams2000-08-222-1/+6
| | | | svn path=/trunk/; revision=4905
* many fixes to make it compile with strange prefixes...Mathieu Lacage2000-08-211-0/+1
| | | | | | | neither mail nor the calendar components work though... evil stuff. svn path=/trunk/; revision=4892
* added use of UNICODE_CFLAGS... thanks ian...Arik Devens2000-08-201-1/+2
| | | | svn path=/trunk/; revision=4887
* Moved e-text to UTF-8Lauris Kaplinski2000-08-202-0/+6
| | | | svn path=/trunk/; revision=4886
* First step moving to UTF-8 stringsLauris Kaplinski2000-08-204-1/+189
| | | | svn path=/trunk/; revision=4885
* Infrastructure for date-based queriesPeter Williams2000-08-152-1/+6
| | | | svn path=/trunk/; revision=4838
* Fix a crash with tab expansion in e_text_to_htmlPeter Williams2000-08-112-0/+8
| | | | svn path=/trunk/; revision=4736
* Remove. The shell tells the components where the evolution homedir is now.Dan Winship2000-08-114-115/+5
| | | | | | | | | * e-setup.[ch]: Remove. The shell tells the components where the evolution homedir is now. * Makefile.am (libeutil_la_SOURCES): Remove e-setup.c svn path=/trunk/; revision=4711
* If converting both spaces and newlines, then convert tabs too. The joys ofDan Winship2000-08-112-3/+33
| | | | | | | * e-html-utils.c (e_text_to_html): If converting both spaces and newlines, then convert tabs too. The joys of pseudo-<PRE>. svn path=/trunk/; revision=4695
* Fix the bug where it truncates the last itemChristopher James Lahey2000-08-092-1/+5
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Fix the bug where it truncates the last item svn path=/trunk/; revision=4648
* Added some military prefixes.Nat Friedman2000-08-091-1/+2
| | | | | | | | 2000-08-09 Nat Friedman <nat@helixcode.com> * ename/e-name-western-tables.h: Added some military prefixes. svn path=/trunk/; revision=4644
* Ooops.Christopher James Lahey2000-08-092-6/+11
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Ooops. svn path=/trunk/; revision=4630
* Added uncompiled e_read_uri function.Christopher James Lahey2000-08-095-2/+108
| | | | | | | | 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
* Added a hide_mask argument to the two popup menu functions.Christopher James Lahey2000-08-093-23/+45
| | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c, e-popup-menu.h: Added a hide_mask argument to the two popup menu functions. svn path=/trunk/; revision=4625
* Added e_container_change_tab_order.Christopher James Lahey2000-08-083-1/+88
| | | | | | | | | 2000-08-07 Christopher James Lahey <clahey@helixcode.com> * e-gui-utils.c, e-gui-utils.c: Added e_container_change_tab_order. svn path=/trunk/; revision=4580
* Fix silly error of not chaining destructor for canvas.Matthew Loper2000-07-282-1/+8
| | | | svn path=/trunk/; revision=4390
* A few fixes to the ECanvas selection item a miniature cleanup of the event ↵Matthew Loper2000-07-272-8/+31
| | | | | | handler. svn path=/trunk/; revision=4364
* Typo fixPeter Williams2000-07-262-3/+7
| | | | svn path=/trunk/; revision=4324
* build static versions of some util libraries for the conduit to link withSeth Alves2000-07-263-0/+14
| | | | svn path=/trunk/; revision=4320
* Added a bunch of e_marshal functions.Christopher James Lahey2000-07-255-8/+248
| | | | | | | | 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
* From addressbook/ChangeLog:Christopher James Lahey2000-07-135-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Removed some debugging printfs.Christopher James Lahey2000-07-123-3/+12
| | | | | | | | | | 2000-07-11 Christopher James Lahey <clahey@helixcode.com> * e-canvas-vbox.c: Removed some debugging printfs. * e-canvas.c (e_canvas_unrealize): Call parent unrealize method. svn path=/trunk/; revision=4102
* Warning cleanup: `#if 0' an unused function and add a missing publicEttore Perazzoli2000-07-113-3/+16
| | | | | | function prototype. svn path=/trunk/; revision=4060
* Fix warnings.Dan Winship2000-07-112-3/+8
| | | | | | * e-html-utils.c: Fix warnings. svn path=/trunk/; revision=4048
* Added e_list_duplicate.Christopher James Lahey2000-07-093-0/+23
| | | | | | | | 2000-07-08 Christopher James Lahey <clahey@helixcode.com> * e-list.c, e-list.h: Added e_list_duplicate. svn path=/trunk/; revision=4002
* Added e_strsplit to work around a bug in g_strsplit.Christopher James Lahey2000-07-085-0/+121
| | | | | | | | | 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
* Added last and insert functions.Christopher James Lahey2000-07-084-33/+111
| | | | | | | | | 2000-07-07 Christopher James Lahey <clahey@helixcode.com> * e-iterator.c, e-iterator.h, e-list-iterator.c, e-list-iterator.h: Added last and insert functions. svn path=/trunk/; revision=3946
* Added docstrings. This file did not have them at all. EEEEEEK!Federico Mena Quintero2000-07-072-0/+179
| | | | | | | | | 2000-07-06 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.c: Added docstrings. This file did not have them at all. EEEEEEK! svn path=/trunk/; revision=3941
* Kill debugging messageDan Winship2000-07-062-3/+4
| | | | | | * e-sexp.c (e_sexp_parse): Kill debugging message svn path=/trunk/; revision=3905
* New list class with iterators.Christopher James Lahey2000-07-049-0/+707
| | | | | | | | | | | | | 2000-07-03 Christopher James Lahey <clahey@helixcode.com> * e-iterator.c, e-iterator.h, e-list-iterator.c, e-list-iterator.h, e-list.c, e-list.h: New list class with iterators. * e-canvas.c: Made it so that you don't get the same selection in the selection list more than once. svn path=/trunk/; revision=3871
* Added an extra @allowed_types parameter to the shell's folderEttore Perazzoli2000-07-022-0/+8
| | | | | | selection dialog, and update the code that uses it accordingly. svn path=/trunk/; revision=3854
* Add simple deadkey support.Jody Goldberg2000-06-303-30/+85
| | | | | | | | | | | | | 2000-06-29 Jody Goldberg <jgoldberg@home.com> * e-canvas.c (e_canvas_init) : Init the InputContext members (e_canvas_class_init) : Add a handler for unrealize. (e_canvas_focus_in) : enable the input context. (e_canvas_focus_out) : enable the input context. (e_canvas_realize) : Create an input context. (e_canvas_unrealize) : New function to release the input context. svn path=/trunk/; revision=3817
* add ")" to the set of characters to back up over at the end of a potentialDan Winship2000-06-292-1/+6
| | | | | | | * e-html-utils.c (url_extract): add ")" to the set of characters to back up over at the end of a potential URL. svn path=/trunk/; revision=3778
* Fix typo.Ettore Perazzoli2000-06-272-1/+6
| | | | svn path=/trunk/; revision=3758
* Fix compilation with builddir != srcdir.Ettore Perazzoli2000-06-272-0/+6
| | | | svn path=/trunk/; revision=3757
* Calculate height including if clip_height is set to -1.Christopher James Lahey2000-06-274-0/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Calculate height including if clip_height is set to -1. From addressbook/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c, addressbook/gui/component/e-cardlist-model.c: Added value_to_string handlers. * demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and "y" arguments. * addressbook/gui/component/addressbook.c: Activated Click To Add and set the click to add message. * addressbook/gui/component/e-addressbook-model.c: Added value_to_string and append_row handlers. * addressbook/gui/component/e-select-names.c: Added a column. From calendar/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Added an #ifdefed value_to_string handler assignment. From camel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * providers/mbox/camel-mbox-summary.c: Added debugging information. From composer/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-msg-composer-select-file.h for make distcheck. From e-util/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h. * e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like a vbox using the reflow system. From mail/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Added a value_to_string handler. From shell/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * glade/Makefile.am: Added EXTRA_DIST for make distcheck. From widgets/e-table/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-click-to-add.c, e-table-click-to-add.h, e-table-one.c, and e-table-one.h. * e-table-click-to-add.c, e-table-click-to-add.h: A new canvas item that represents a single row that sometimes exists. It's for adding new rows to your table. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Added value_to_string handlers. * e-table-group-container.c: Use value_to_string to make grouping not crash for non string columns. Made some changes to work properly in an ECanvasVbox. * e-table-group-leaf.c, e-table-item.c: Made some changes to work properly in an ECanvasVbox. * e-table-model.c, e-table-model.h: Added append_row and value_to_string methods. * e-table-one.c, e-table-one.h: Given a source ETableModel, this provides a single row model that uses the initialize_value, duplicate_value, free_value, and value_is_empty methods of the original source to implement set_value and value_at (and proxies most of the other methods.) This is used for ETableClickToAdd. * e-table-simple.c, e-table-simple.h: Added append_row and value_to_string handlers. append_row uses a GtkArg instead of a parameter to e_table_simple_new. * e-table-subset.c: Added append_row and value_to_string handlers. * e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd and an ETableItem instead of an ETableItem directly. Only show the ETableClickToAdd if the top level of the xml SPEC has the attribute click-to-add set to some non-zero integer. (click-to-add="1"). Add a "click_to_add_message" argument. * e-tree-model.c: Add a commented out value_to_string handler. From widgets/meeting-time-sel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added the include path to top_srcdir. svn path=/trunk/; revision=3744
* Added a variable to keep track of the cursor. Set the cursor whenChristopher James Lahey2000-06-213-10/+35
| | | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c, e-canvas.h: Added a variable to keep track of the cursor. Set the cursor when selection_add is called. Properly unset the cursor at the right times. svn path=/trunk/; revision=3663
* Grab the focus when setting the cursor.Christopher James Lahey2000-06-212-0/+16
| | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c: Grab the focus when setting the cursor. svn path=/trunk/; revision=3659
* Built a system for doing selections and/or a cursor in canvas.Christopher James Lahey2000-06-213-3/+164
| | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c, e-canvas.h: Built a system for doing selections and/or a cursor in canvas. svn path=/trunk/; revision=3655
* Changed the needed e_marshal functions.Christopher James Lahey2000-06-137-31/+147
| | | | | | | | | | | 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
* Added e-printable.c and e-printable.h.Christopher James Lahey2000-06-118-22/+374
| | | | | | | | | | | | | | | | 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
* Fixed e_marshal_INT__INT_INT_POINTER.Christopher James Lahey2000-06-023-2/+6
| | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-util.c: Fixed e_marshal_INT__INT_INT_POINTER. svn path=/trunk/; revision=3369
* Added e_marshal_INT__INT_INT_POINTER.Christopher James Lahey2000-06-025-0/+54
| | | | | | | | 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
* Duh! -1 != 1. :)Dan Winship2000-06-023-2/+6
| | | | | | * e-util.c (g_int_compare): Duh! -1 != 1. :) svn path=/trunk/; revision=3363
* g_return_val_if_fail to prevent a crash.Christopher James Lahey2000-06-022-0/+6
| | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-sexp.c (e_sexp_term_eval): g_return_val_if_fail to prevent a crash. svn path=/trunk/; revision=3337
* Utility function to build a bool as part of an expression string.Not Zed2000-05-313-0/+52
| | | | | | | | | | 2000-05-30 Not Zed <NotZed@HelixCode.com> * e-sexp.c (e_sexp_encode_bool): Utility function to build a bool as part of an expression string. (e_sexp_encode_string): Likewise for strings. svn path=/trunk/; revision=3300
* Added e_canvas_item_show_area which makes sure that a particular area of aChristopher James Lahey2000-05-313-0/+38
| | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * e-canvas-utils.c, e-canvas-utils.h: Added e_canvas_item_show_area which makes sure that a particular area of a given item is in the scroll area. svn path=/trunk/; revision=3289
* Flush - FedericoFederico Mena Quintero2000-05-302-88/+43
| | | | svn path=/trunk/; revision=3280
* Moved over from event-editor-utils.c. (e_dialog_editable_get): Likewise.Federico Mena Quintero2000-05-283-13/+274
| | | | | | | | | | | | | | | | | | | | | 2000-05-27 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.c (e_dialog_editable_set): Moved over from event-editor-utils.c. (e_dialog_editable_get): Likewise. (e_dialog_toggle_set): Likewise. (e_dialog_toggle_get): Likewise. (e_dialog_spin_set): Likewise. (e_dialog_spin_get_double): Likewise. (e_dialog_spin_get_int): Likewise. (e_dialog_option_menu_set): Likewise, and added a value map. (e_dialog_option_menu_get): Likewise. (e_dialog_dateedit_set): Likewise. (e_dialog_dateedit_get): Likewise. (e_dialog_radio_set): New function. (e_dialog_radio_get): New function. svn path=/trunk/; revision=3232
* Removed.Christopher James Lahey2000-05-253-272/+4
| | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * e-paned.c, e-paned.h: Removed. svn path=/trunk/; revision=3196
* Added widgets/e-paned/Makefile.Christopher James Lahey2000-05-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-paned/Makefile. * tests/ui-tests/message-browser.c: Switched from GtkPaned to EPaned. * widgets/Makefile.am: Added e-paned directory. * widgets/e-paned/, widgets/e-paned/.cvsignore, widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c, widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c, widgets/e-paned/e-vpaned.h: New widget based completely on GtkPaned from 1.4. This will be more advanced soon. From calendar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added libepaned.a. * gui/gnome-cal.c: Switched from GtkPaned to EPaned. From mail/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * folder-browser.c: Switched from GtkPaned to EPaned. From shell/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * e-shell-view.c: Switched from GtkPaned to EPaned. From widgets/shortcut-bar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * test-shortcut-bar.c: Switched from GtkPaned to EPaned. svn path=/trunk/; revision=3191
* Commit for if my laptop dies - FedericoFederico Mena Quintero2000-05-242-5/+219
| | | | svn path=/trunk/; revision=3185
* Added e_write_file.Christopher James Lahey2000-05-235-0/+58
| | | | | | | | 2000-05-23 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Added e_write_file. svn path=/trunk/; revision=3181
* New files with utilities for hooking up widgets in Glade-generatedFederico Mena Quintero2000-05-204-22/+362
| | | | | | | | | | | 2000-05-19 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.[ch]: New files with utilities for hooking up widgets in Glade-generated dialogs. * Makefile.am (libeutil_la_SOURCES): Added e-dialog-widgets.[ch]. svn path=/trunk/; revision=3141
* Added e_container_foreach_leaf.Christopher James Lahey2000-05-193-1/+34
| | | | | | | | 2000-05-19 Christopher James Lahey <clahey@helixcode.com> * e-gui-utils.c, e-gui-utils.h: Added e_container_foreach_leaf. svn path=/trunk/; revision=3130
* Add imagesdir support.Christopher James Lahey2000-05-194-0/+59
| | | | | | | | | | | 2000-05-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Add imagesdir support. * e-gui-utils.c, e-gui-utils.h: Added e_create_image_widget for glade use. svn path=/trunk/; revision=3120
* xmlGetProp appears to return malloced memory. Thus we must free it.Christopher James Lahey2000-05-163-8/+19
| | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * e-xml-utils.c: xmlGetProp appears to return malloced memory. Thus we must free it. svn path=/trunk/; revision=3087
* Fixed some memory leaks.Christopher James Lahey2000-05-161-0/+2
| | | | | | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor.c, ename/e-name-western.c, gui/component/addressbook.c, gui/minicard/e-minicard-view.c: Fixed some memory leaks. * backend/ebook/e-card.c: Rearranged some code. svn path=/trunk/; revision=3085
* Utility function to free a GList of strings.Ettore Perazzoli2000-05-165-10/+40
| | | | svn path=/trunk/; revision=3048
* Added e_strdup_strip which returns a copy of the string with the leadingChristopher James Lahey2000-05-145-0/+45
| | | | | | | | | 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
* Destroy the g_scanner when cleaning up. (e_sexp_finalise): Free symbolNotZed2000-05-122-0/+17
| | | | | | | | | 2000-05-11 NotZed <NotZed@HelixCode.com> * e-sexp.c (e_sexp_finalise): Destroy the g_scanner when cleaning up. (e_sexp_finalise): Free symbol table on finalise. svn path=/trunk/; revision=2988
* Removed dist-hook section.Christopher James Lahey2000-05-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h, e-card-types.h. * backend/pas/Makefile.am: Added pas-backend-ldap.h. * contact-editor/Makefile.am: Added a proper EXTRA_DIST section. Removed some old defines. * ename/Makefile.am: Added e-name-western-tables.h. * gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added a proper EXTRA_DIST section. * gui/minicard/e-reflow.c: Added a missed cast. * printing/Makefile.am: Added a proper EXTRA_DIST section. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* Remove reflow idle when being destroyed.Christopher James Lahey2000-05-092-0/+15
| | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c: Remove reflow idle when being destroyed. svn path=/trunk/; revision=2934
* comment function, and fix an ABR.Chris Toshok2000-05-081-3/+6
| | | | | | | * ename/e-name-western.c (e_name_western_extract_middle): comment function, and fix an ABR. svn path=/trunk/; revision=2894
* comment function, and fix an ABR.Chris Toshok2000-05-081-6/+13
| | | | | | | * ename/e-name-western.c (e_name_western_cleanup_string): comment function, and fix an ABR. svn path=/trunk/; revision=2893
* Got rid of some warnings.Christopher James Lahey2000-05-076-2/+115
| | | | | | | | | | | | 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
* New function to free a list of referenced objects.Ettore Perazzoli2000-05-035-6/+46
| | | | svn path=/trunk/; revision=2772
* set and reset the GTK_HAS_FOCUS flag. We now get focus_out eventsDamon Chaplin2000-05-032-0/+10
| | | | | | | | | | 2000-05-02 Damon Chaplin <damon@helixcode.com> * e-canvas.c (e_canvas_focus_in): (e_canvas_focus_out): set and reset the GTK_HAS_FOCUS flag. We now get focus_out events correctly. svn path=/trunk/; revision=2758
* Free the parse tree if we have one. (e_sexp_parse): If we already have aNotZed2000-05-032-0/+26
| | | | | | | | | 2000-05-02 NotZed <NotZed@HelixCode.com> * e-sexp.c (e_sexp_finalise): Free the parse tree if we have one. (e_sexp_parse): If we already have a parse tree, free it. svn path=/trunk/; revision=2757
* Set G_LOG_DOMAIN in following files.Matthew Loper2000-05-032-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | addressbook/demo/Makefile.am addressbook/printing/Makefile.am camel/Makefile.am camel/providers/MH/Makefile.am camel/providers/maildir/Makefile.am camel/providers/mbox/Makefile.am camel/providers/nntp/Makefile.am camel/providers/pop3/Makefile.am camel/providers/sendmail/Makefile.am camel/providers/smtp/Makefile.am composer/Makefile.am e-util/Makefile.am filter/Makefile.am libibex/Makefile.am mail/Makefile.am shell/Makefile.am tests/Makefile.am tests/ui-tests/Makefile.am widgets/e-table/Makefile.am widgets/e-text/Makefile.am widgets/meeting-time-sel/Makefile.am widgets/shortcut-bar/Makefile.am svn path=/trunk/; revision=2756
* Constified XML utility functions.Ettore Perazzoli2000-05-025-16/+22
| | | | svn path=/trunk/; revision=2722
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-281-4/+4
| | | | svn path=/trunk/; revision=2673
* Moved here from the mailer, since it's of general use, and the composerDan Winship2000-04-284-0/+287
| | | | | | | * e-html-utils.c (e_text_to_html): Moved here from the mailer, since it's of general use, and the composer needs it too. svn path=/trunk/; revision=2662
* Added addressbook/ename/Makefile.Christopher James Lahey2000-04-284-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added addressbook/ename/Makefile. From addressbook/ChangeLog: 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c, backend/ebook/e-card.h: Added file as, office, manager, assistant, spouse, and anniversary fields. These all use "X-EVOLUTION-" fields in the VCards. * backend/pas/pas-backend-file.c: Added all the new fields (except anniversary) to the list of fields. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Fixed some misnamed fields and fixed the placement of the comments field. * contact-editor/e-contact-editor.c: Made the newly added fields display properly. * Makefile.am: Added ename. * ename/e-name-western.h, ename/test-ename-western-gtk.c, ename/test-ename-western.c: Fixed up some #includes. * ename/.cvsignore: Added .cvsignore. svn path=/trunk/; revision=2658
* Oops, forgot this.Nat Friedman2000-04-271-0/+856
| | | | svn path=/trunk/; revision=2657
* add e-popup-menu.[ch]Miguel de Icaza2000-04-262-0/+115
| | | | svn path=/trunk/; revision=2635
* move #include <locale.h> above the others because it was gettingSeth Alves2000-04-262-2/+4
| | | | | | wigged out on a solaris build. svn path=/trunk/; revision=2634
* New file. Implements easy to use popup menus.Miguel de Icaza2000-04-262-5/+11
| | | | | | | | 2000-04-24 Miguel de Icaza <miguel@helixcode.com> * e-popup-menu.c: New file. Implements easy to use popup menus. svn path=/trunk/; revision=2633
* Made the tooltip show up in the correct place and configuration when usingChristopher James Lahey2000-04-242-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Made the tooltip show up in the correct place and configuration when using the "max_lines", "anchor" (untested), or "justification" arguments. From a patch by Iain Holmes <ih@csd.abdn.ac.uk> * widgets/e-text/e-text-event-processor-emacs-like.c, widget/e-text/e-text-event-processor-types.h, widgets/e-text/e-text.c, widgets/e-text/e-text.h: Changed C-w and C-y to control the X clipboard. Added double and triple click events. From widgets/e-table/: 2000-04-24 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Fixed some warnings. svn path=/trunk/; revision=2581
* + * widgets/Makefile.am: Added e-paned directory.Matthew Loper2000-04-244-1/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * default_user/Makefile.am: new file. + + * default_user/Main_Shortcuts.xml: New file; is used to fill the + shortcut bar's "main shortcuts" pane. + + * default_user/Other_Shortcuts.xml: New file, used to fill the + shortcut bar's "other shortcuts" pane. + + * default_user/Inbox.mbox: New file. This is the first message a + new user will see when they fire up Evolution. Needs work. + + * Makefile.am: added default_user directory. + * configure.in: same. + + * e-paned.c: New file. Makes a GtkPaned with more than two + children. + * e-paned.h: same. + + * Makefile.am: added e-paned.[ch]. + + * e-shell-view.h: Added hpaned and treeview widgets to + EShellView. Added e_shell_view_toggle_shortcut_bar() and + e_shell_view_toggle_treeview(). + + * e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned + widget to house our shortcut bar. + (e_shell_view_toggle_shortcut_bar): New function; toggles whether + the shortcut bar is showing. + (e_shell_view_toggle_treeview): Same, for the treeview (NYI). + (e_shell_view_new): Put the notebook view in our EPaned widget. + + * e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function; + toggles whether the shortcut bar is viewed. + (esv_cmd_toggle_treeview): Same, but with the treeview. Added + menuitems in the "view" menu to allow access to the above. + svn path=/trunk/; revision=2575
* Added e_xml_get_child_by_name_by_lang.Christopher James Lahey2000-04-195-0/+71
| | | | | | | | | 2000-04-19 Christopher James Lahey <clahey@helixcode.com> * e-xml-utils.c, e-xml-utils.h: Added e_xml_get_child_by_name_by_lang. svn path=/trunk/; revision=2493
* Add realize. (e_canvas_realize): Set the back pixmap to NULL to reduceAnders Carlsson2000-04-162-4/+19
| | | | | | | | | 2000-04-16 Anders Carlsson <andersca@gnu.org> * e-canvas.c (e_canvas_class_init): Add realize. (e_canvas_realize): Set the back pixmap to NULL to reduce flicker. svn path=/trunk/; revision=2456