aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
Commit message (Collapse)AuthorAgeFilesLines
* *.c s/->childs/->xmlChildrenNode/g;Michael Meeks2001-10-051-4/+4
| | | | | | | | 2001-10-06 Michael Meeks <michael@ximian.com> * *.c s/->childs/->xmlChildrenNode/g; svn path=/trunk/; revision=13431
* add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migrationMichael Meeks2001-10-052-2/+13
| | | | | | | | | | | | | | | 2001-10-05 Michael Meeks <michael@ximian.com> * gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from a single source base. * All C files: s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g; s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/ E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/; svn path=/trunk/; revision=13428
* Make this dup the strings it's passed. (*) Add lots of docs.Dan Winship2001-10-052-6/+56
| | | | | | | | * e-passwords.c (e_passwords_add_password): Make this dup the strings it's passed. (*) Add lots of docs. svn path=/trunk/; revision=13409
* Fixed typo in the ChangeLogRodrigo Moya2001-10-041-1/+1
| | | | svn path=/trunk/; revision=13378
* default protocol to file: if not specifiedRodrigo Moya2001-10-042-0/+6
| | | | | | | | 2001-10-03 Rodrigo Moya <rodrigo@ximian.com> * e-url.c (e_url_new): default protocol to file: if not specified svn path=/trunk/; revision=13377
* Don't handle control-enter if allow_newlines is off. Fixes Ximian bugChristopher James Lahey2001-10-031-6/+16
| | | | | | | | | | 2001-10-02 Christopher James Lahey <clahey@ximian.com> * gal/util/e-text-event-processor-emacs-like.c (e_text_event_processor_emacs_like_event): Don't handle control-enter if allow_newlines is off. Fixes Ximian bug #3742. svn path=/trunk/; revision=13345
* duplicate also the params memberRodrigo Moya2001-10-022-1/+17
| | | | | | | | 2001-10-02 Rodrigo Moya <rodrigo@ximian.com> * e-url.c (e_uri_copy): duplicate also the params member svn path=/trunk/; revision=13303
* new functionsRodrigo Moya2001-10-023-0/+69
| | | | | | | | 2001-10-02 Rodrigo Moya <rodrigo@ximian.com> * e-url.[ch] (e_uri_copy, e_uri_to_string): new functions svn path=/trunk/; revision=13301
* added basic URI management functionsRodrigo Moya2001-10-024-0/+203
| | | | | | | | | | | 2001-10-01 Rodrigo Moya <rodrigo@ximian.com> * e-url.[ch]: added basic URI management functions * Makefile.am: added BONOBO flags to make it compile with latest Bonobo, which installs headers in a version-based directory svn path=/trunk/; revision=13274
* New, copied/renamed from mailer and gnome-libs.Dan Winship2001-10-023-0/+121
| | | | | | | * e-passwords.c (e_passwords_ask_password): New, copied/renamed from mailer and gnome-libs. svn path=/trunk/; revision=13261
* add e-passwords.[ch]Chris Toshok2001-09-302-0/+6
| | | | | | | | 2001-09-30 Chris Toshok <toshok@ximian.com> * Makefile.am (libeutil_la_SOURCES): add e-passwords.[ch] svn path=/trunk/; revision=13253
* copy/rename the mail specific password stuff here.Chris Toshok2001-09-303-0/+398
| | | | | | | | | | | 2001-09-30 Chris Toshok <toshok@ximian.com> * e-passwords.c: copy/rename the mail specific password stuff here. * e-passwords.h: same. svn path=/trunk/; revision=13252
* Write the pipe notification outside the lock. This way if the pipe fills82001-09-292-3/+16
| | | | | | | | | | | | 2001-09-28 <NotZed@Ximian.com> * e-msgport.c (e_msgport_put): Write the pipe notification outside the lock. This way if the pipe fills up because of too many outstanding request, the queue isn't deadlocked. This only happens wiht 4096 outstanding messages, so something is getting VERY busy! Fixes #11121. svn path=/trunk/; revision=13218
* Make the printouts here conditionally compiled out.Christopher James Lahey2001-09-252-2/+7
| | | | | | | | | 2001-09-24 Christopher James Lahey <clahey@ximian.com> * e-categories-master-list-wombat.c (ecmlw_load, ecmlw_save): Make the printouts here conditionally compiled out. svn path=/trunk/; revision=13100
* Bumped the version number to 0.12.99.0.Christopher James Lahey2001-09-232-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | 2001-09-22 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.12.99.0. From a patch by Damian Ivereigh <damian@cisco.com>: * gal/util/e-util.c, gal/util/e-util.h (e_strftime_fix_am_pm): New function, takes the same arguments as strftime, but does some fixup if the given string is in 12 hour mode but the locale doesn't have AM/PM descriptors. From gal/e-table/ChangeLog: 2001-09-22 Christopher James Lahey <clahey@ximian.com> From a patch by Damian Ivereigh <damian@cisco.com>: * e-cell-date.c: Made this use e_strftime_fix_am_pm instead of strftime. svn path=/trunk/; revision=13081
* Instead of using pthread_cancel() which seems to have numerous12001-09-212-62/+56
| | | | | | | | | | | 2001-09-21 <NotZed@Ximian.com> * e-msgport.c (e_thread_destroy): Instead of using pthread_cancel() which seems to have numerous implementation issues, send a special quit message to the subordinate thread. (thread_dispatch): When it gets a quit message, well, quit! svn path=/trunk/; revision=13043
* Fixed a typo here. esa->rows += count, not esa->rows = count.Christopher James Lahey2001-09-201-1/+1
| | | | | | | | | 2001-09-19 Christopher James Lahey <clahey@ximian.com> * gal/util/e-sorter-array.c (e_sorter_array_append): Fixed a typo here. esa->rows += count, not esa->rows = count. svn path=/trunk/; revision=12991
* Use ->bin_window [instead of ->window] if the widget is a GtkLayout.Ettore Perazzoli2001-09-192-2/+14
| | | | | | | * e-gtk-utils.c (widget_realize_callback_for_backing_store): Use ->bin_window [instead of ->window] if the widget is a GtkLayout. svn path=/trunk/; revision=12943
* only use 1 format, so we are consistent everywhere. If we support multipleDamon Chaplin2001-09-182-141/+183
| | | | | | | | | | | | | | | 2001-09-17 Damon Chaplin <damon@ximian.com> * e-time-utils.c (e_time_parse_date): only use 1 format, so we are consistent everywhere. If we support multiple formats we have to support that in e_time_parse_date_and_time() which means an explosion of different formats. I don't think the alternatives are that useful, anyway. (e_time_parse_date_and_time): parse everything in one go, to avoid i18n problems. Also only use '%p' if the locale has am/pm strings. (e_time_parse_time): Only use '%p' if locale has am/pm strings. svn path=/trunk/; revision=12924
* Removed. (gtk_radio_button_select_nth): Removed.Ettore Perazzoli2001-09-183-47/+35
| | | | | | | | * e-gtk-utils.c (gtk_radio_button_get_nth_selected): Removed. (gtk_radio_button_select_nth): Removed. (e_make_widget_backing_stored): New. svn path=/trunk/; revision=12919
* Make sure the dir pointer is non-NULL before using it.Jeffrey Stedfast2001-09-142-8/+15
| | | | | | | | | 2001-09-13 Jeffrey Stedfast <fejj@ximian.com> * e-mktemp.c (e_mktemp_cleanup): Make sure the dir pointer is non-NULL before using it. svn path=/trunk/; revision=12807
* Fix some broken calls to check_size that could result in memory corruptionDan Winship2001-09-092-3/+9
| | | | | | | | * e-html-utils.c (e_text_to_html_full): Fix some broken calls to check_size that could result in memory corruption displaying short replies. svn path=/trunk/; revision=12705
* Add E_TEXT_TO_HTML_CITE, to prepend "> " to each line.Dan Winship2001-09-073-1/+13
| | | | | | | * e-html-utils.c (e_text_to_html_full): Add E_TEXT_TO_HTML_CITE, to prepend "> " to each line. svn path=/trunk/; revision=12655
* Fix the check for the case when mkdir() returns EEXIST to check S_ISDIR onDan Winship2001-09-062-1/+7
| | | | | | | | * e-mktemp.c (get_path): Fix the check for the case when mkdir() returns EEXIST to check S_ISDIR on the right structure component. Fixes bug #8775. svn path=/trunk/; revision=12644
* Added format for "7 PM" and equivalents. Fixes bug #7456.Federico Mena Quintero2001-09-012-4/+16
| | | | | | | | | | 2001-08-31 Federico Mena Quintero <federico@ximian.com> * e-time-utils.c (e_time_parse_date_and_time): Added format for "7 PM" and equivalents. Fixes bug #7456. (e_time_parse_time): Likewise. svn path=/trunk/; revision=12549
* Patch to fix few 64bit issuesGeorge Lebl2001-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | Tue Aug 28 18:29:28 2001 George Lebl <jirka@5z.com> Patch to fix few 64bit issues * gal/e-table/e-table-header-item.c (ethi_draw) (ethi_start_drag) gal/widgets/e-categories.c (e_categories_value_at) (e_categories_value_to_string): Use GINT_TO_POINTER and GPOINTER_TO_INT to cast between pointers and ints to fix 64bit issues connected with that. * gal/e-table/e-table-sorting-utils.c (e_table_sorting_utils_tree_check_position) gal/util/e-sorter-array.c (e_sorter_array_append): Use size_t for size not ints to fix crashes * gal/e-text/e-completion-match.c, gal/e-text/e-completion.c: Include <string.h> svn path=/trunk/; revision=12507
* Dont call g_print with a NULL string. See bug #7396.Not Zed2001-08-282-1/+6
| | | | | | | | | 2001-08-28 Not Zed <NotZed@Ximian.com> * e-categories-master-list-wombat.c (ecmlw_load): Dont call g_print with a NULL string. See bug #7396. svn path=/trunk/; revision=12498
* robustificationJeffrey Stedfast2001-08-252-6/+44
| | | | svn path=/trunk/; revision=12468
* Added e-mktemp.[c,h] to the build.Jeffrey Stedfast2001-08-254-6/+281
| | | | | | | | | | | | | 2001-08-24 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Added e-mktemp.[c,h] to the build. * e-mktemp.c (e_mktemp): A new wrapper around mktemp so that we can keep track of temp files for later cleanup. (e_mkstemp): Same but obviously for the mkstemp call. (e_mkdtemp): And finally a mkdtemp wrapper. svn path=/trunk/; revision=12460
* Added e-unicode-i18n.c and e-unicode-i18n.h.Chyla Zbigniew2001-08-254-0/+87
| | | | | | | | | | | * Makefile.am (libeutil_la_SOURCES): Added e-unicode-i18n.c and e-unicode-i18n.h. * e-unicode-i18n.[ch]: New files with two extra functions (e_utf8_gettext, e_utf8_dgettext) and U_() macro. Should be used instead of _() if we need UTF-8 string. svn path=/trunk/; revision=12459
* Modified to accept and return UTF-8 string.Zbigniew Chyla2001-08-252-2/+10
| | | | | | | | | 2001-08-23 Zbigniew Chyla <cyba@gnome.pl> * e-request.c (e_request_string): Modified to accept and return UTF-8 string. svn path=/trunk/; revision=12442
* added comments to help translators a bit.Damon Chaplin2001-08-202-0/+15
| | | | | | | | | 2001-08-20 Damon Chaplin <damon@ximian.com> * e-time-utils.c (e_time_parse_date): added comments to help translators a bit. svn path=/trunk/; revision=12260
* return when there's no icon associated with the categoryRodrigo Moya2001-08-102-0/+4
| | | | | | | | | 2001-08-09 Rodrigo Moya <rodrigo@ximian.com> * e-categories-config.c (e_categories_config_get_icon_for): return when there's no icon associated with the category svn path=/trunk/; revision=11860
* reworked to use the ECategoriesMasterListWombat class. Also, loadRodrigo Moya2001-08-102-215/+58
| | | | | | | | | 2001-08-09 Rodrigo Moya <rodrigo@ximian.com> * e-categories-config.c: reworked to use the ECategoriesMasterListWombat class. Also, load correctly images (fixes #6794) svn path=/trunk/; revision=11856
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-094-1/+19
| | | | | | | | | | | | | 2001-08-09 Federico Mena Quintero <federico@ximian.com> * e-categories-master-list-wombat.c (ecmlw_destroy): Chain to the destroy handler in the parent class! * e-list-iterator.c (e_list_iterator_destroy): Likewise. Sigh. * e-list.c (e_list_destroy): Likewise. Double sigh. svn path=/trunk/; revision=11819
* Quintuple sigh. See below.Federico Mena Quintero2001-08-091-0/+3
| | | | | | | | | | 2001-08-09 Federico Mena Quintero <federico@ximian.com> * gal/e-text/e-entry.c (e_entry_destroy): Quintuple sigh. See below. * gal/util/e-bit-array.c (eba_destroy): Sextuple sigh. svn path=/trunk/; revision=11815
* Ooops. Committed the wrong version of the file.Ettore Perazzoli2001-08-081-3/+0
| | | | svn path=/trunk/; revision=11769
* New. New.Ettore Perazzoli2001-08-084-0/+192
| | | | | | | * e-dialog-utils.h: New. * e-dialog-utils.c: New. svn path=/trunk/; revision=11767
* New function to create a factory that creates separate component instancesEttore Perazzoli2001-08-054-44/+140
| | | | | | | | | * e-bonobo-factory-util.c (e_bonobo_generic_factory_multi_display_new): New function to create a factory that creates separate component instances for different displays. svn path=/trunk/; revision=11686
* p2001-08-03 Christopher James Lahey <clahey@ximian.com>Chris Lahey2001-08-032-0/+13
| | | | | | | | | | | * e-list-iterator.c (e_list_iterator_next): Made it so that e_list_iterator_next goes to the first element if it's set to NULL. This makes deleting the first element and then doing e_list_iterator_next go to the new first element. Did the analogy for e_list_iterator_prev for completeness and consistency's sakes. Fixes Ximian bug #6057. svn path=/trunk/; revision=11614
* Fixed the load statement here by just using array_from_string.Christopher James Lahey2001-08-022-47/+10
| | | | | | | | | | | | 2001-08-01 Christopher James Lahey <clahey@ximian.com> * e-categories-master-list-wombat.c (ecmlw_load): Fixed the load statement here by just using array_from_string. (ecmlw_save): Removed the part where we save the icons and colors since that's handled in the array_to_string function. Fixes Ximian bug #4451. svn path=/trunk/; revision=11561
* memset everything to 0 (md5_to_dbt): dittoJP Rosevear2001-07-282-0/+7
| | | | | | | | | 2001-07-27 JP Rosevear <jpr@ximian.com> * e-dbhash.c (string_to_dbt): memset everything to 0 (md5_to_dbt): ditto svn path=/trunk/; revision=11462
* use the 2 new category icons (16_category_suppliers.png andRodrigo Moya2001-07-202-2/+8
| | | | | | | | | | 2001-07-20 Rodrigo Moya <rodrigo@ximian.com> * e-categories-config.c (initialize_categories_config): use the 2 new category icons (16_category_suppliers.png and 16_category_time-and-expenses.png) svn path=/trunk/; revision=11261
* use the 2 new category iconsRodrigo Moya2001-07-202-2/+5
| | | | | | | | | 2001-07-19 Rodrigo Moya <rodrigo@ximian.com> * e-categories-config.c (initialize_categories_config): use the 2 new category icons svn path=/trunk/; revision=11232
* s/imagedir/imagesdirRodrigo Moya2001-07-192-1/+5
| | | | | | | | 2001-07-19 Rodrigo Moya <rodrigo@ximian.com> * Makefile.am: s/imagedir/imagesdir svn path=/trunk/; revision=11224
* generate default configuration for icons-per-category the first time. AndRodrigo Moya2001-07-183-59/+116
| | | | | | | | | | | | | | | | 2001-07-17 Rodrigo Moya <rodrigo@ximian.com> * e-categories-config.c (initialize_categories_config): generate default configuration for icons-per-category the first time. And use a global (for this file) Bonobo_ConfigDatabase 2001-07-16 Rodrigo Moya <rodrigo@ximian.com> * e-categories-config.c (e_categories_config_get_icon_for): (e_categories_config_get_icon_file_for): (e_categories_config_set_icon_file_for): use GdkPixbuf to load images svn path=/trunk/; revision=11189
* Generalized function for trying a number of strptime() formats on aFederico Mena Quintero2001-07-173-53/+110
| | | | | | | | | | | | 2001-07-16 Federico Mena Quintero <federico@ximian.com> * e-time-utils.c (parse_with_strptime): Generalized function for trying a number of strptime() formats on a string. (e_time_parse_time): Use parse_with_strptime(). (e_time_parse_date): New function, analogous to the previous one, but uses a number of date formats. svn path=/trunk/; revision=11138
* Added is_addr_char_no_pipes macro, which specifically does not considerJon Trowbridge2001-07-122-2/+10
| | | | | | | | | | | | 2001-07-12 Jon Trowbridge <trow@ximian.com> * e-html-utils.c: Added is_addr_char_no_pipes macro, which specifically does not consider '|' ("pipe") to be a legal address character. (email_address_extract): Use is_addr_char_no_pipes when looking for e-mail addresses to turn into HTML links. (Bug #3940) svn path=/trunk/; revision=11029
* Added some malloc check stuff.Not Zed2001-07-092-7/+76
| | | | | | | | 2001-07-05 Not Zed <NotZed@Ximian.com> * e-memory.c: Added some malloc check stuff. svn path=/trunk/; revision=10899
* Allocate one byte for the terminating zero as well.Richard Hult2001-07-051-1/+1
| | | | | | | | | 2001-07-05 Richard Hult <rhult@codefactory.se> * gal/util/e-util.c (e_format_number): Allocate one byte for the terminating zero as well. svn path=/trunk/; revision=10792
* load all icons and colors for each categoryRodrigo Moya2001-07-054-11/+115
| | | | | | | | | | | | | | | | 2001-07-04 Rodrigo Moya <rodrigo@ximian.com> * e-categories-master-list-wombat.c (ecmlw_load): load all icons and colors for each category (ecmlw_save): save all icons and categories associated with each category * e-categories-config.c: use BonoboConf to store/retrieve settings, and use ECategoriesMasterListWombat when creating a ECategories dialog widget svn path=/trunk/; revision=10781
* use BonoboConf to store/retrieve settings, and useRodrigo Moya2001-07-042-11/+84
| | | | | | | | | | 2001-07-04 Rodrigo Moya <rodrigo@ximian.com> * e-categories-config.c: use BonoboConf to store/retrieve settings, and use ECategoriesMasterListWombat when creating a ECategories dialog widget svn path=/trunk/; revision=10779
* Forgot to commit this bit.Chris Lahey2001-07-031-0/+1
| | | | svn path=/trunk/; revision=10721
* Added e-categories-master-list-wombat.c andChristopher James Lahey2001-07-034-0/+247
| | | | | | | | | | | | | | | 2001-07-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (libeutil_la_SOURCES): Added e-categories-master-list-wombat.c and e-categories-master-list-wombat.h. (INCLUDES): Added $(BONOBO_CONF_CFLAGS). * e-categories-master-list-wombat.c, e-categories-master-list-wombat.h: New class implementing a master list that stores its state using bonobo-conf. svn path=/trunk/; revision=10720
* new file for a set of functions for managing category-related (icons,Rodrigo Moya2001-07-034-0/+248
| | | | | | | | | 2001-07-02 Rodrigo Moya <rodrigo@ximian.com> * e-categories-config.[ch]: new file for a set of functions for managing category-related (icons, colors) configuration svn path=/trunk/; revision=10698
* Added a simple `e_request_string()' utility function.Ettore Perazzoli2001-07-014-0/+145
| | | | svn path=/trunk/; revision=10650
* Add e_free_string_slist() and e_free_object_slist().Ettore Perazzoli2001-06-302-0/+25
| | | | svn path=/trunk/; revision=10613
* Add a new `e_marshal_INT__POINTER_POINTER_POINTER_POINTER' marshallerEttore Perazzoli2001-06-272-0/+29
| | | | | | | | and bump version number. (BTW, did I mention that GTK+ marshalling sucks?) svn path=/trunk/; revision=10518
* When ANDing two bools, don't use a bitwise AND.Jeffrey Stedfast2001-06-262-3/+8
| | | | | | | | | 2001-06-25 Jeffrey Stedfast <fejj@ximian.com> * e-sexp.c (term_eval_and): When ANDing two bools, don't use a bitwise AND. svn path=/trunk/; revision=10499
* 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