aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
Commit message (Collapse)AuthorAgeFilesLines
...
* New class, based on MailConfigAccount, for describing an evolution (mail)Dan Winship2003-01-179-4/+990
| | | | | | | | | | | | * e-account.c: New class, based on MailConfigAccount, for describing an evolution (mail) account. * e-account-list.c: New class for tracking the list of configured accounts. (Also uses some code from mail-config.) * e-list.c (e_list_construct, e_list_remove): New svn path=/trunk/; revision=19495
* Back to the land of the living we shall go.Jeffrey Stedfast2003-01-162-4/+65
| | | | | | | | | 2003-01-15 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-xml-utils.c (e_xml_save_file): Back to the land of the living we shall go. svn path=/trunk/; revision=19482
* Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove theEttore Perazzoli2003-01-152-6/+13
| | | | | | | | | | | | | | * e-dialog-utils.c: Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove the BonoboWidget handling stuff (it doesn't really work anyways). * e-shell-view.c: Do not #include "e-bonobo-widget.h". * Makefile.am (widgetsinclude_HEADERS): Ooops, remove e-bonobo-widget.h. (libemiscwidgets_a_SOURCES): Likewise, remove e-bonobo-widget.c. svn path=/trunk/; revision=19460
* (eutilinclude_HEADERS): Add e-dialog-utils.h.Ettore Perazzoli2003-01-152-0/+5
| | | | svn path=/trunk/; revision=19453
* change this to use GtkImage instead of GnomeCanvas.Chris Toshok2003-01-102-29/+16
| | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * e-gui-utils.c (e_create_image_widget): change this to use GtkImage instead of GnomeCanvas. svn path=/trunk/; revision=19373
* Images are now in $(datadir)/evolution/imagesEttore Perazzoli2003-01-092-1/+6
| | | | | | instead of $(datadir)/images/evolution. svn path=/trunk/; revision=19294
* New.Dan Winship2003-01-074-3/+37
| | | | | | | | | * e-config-listener.c (e_config_listener_remove_value): New. * e-passwords.c (e_passwords_get_password): Don't look at the passwords hash until calling e_passwords_init(). svn path=/trunk/; revision=19253
* Add this back: Connector needs it, and there's no reason for addressbookDan Winship2003-01-074-0/+457
| | | | | | | | | | * e-html-utils.c: Add this back: Connector needs it, and there's no reason for addressbook and calendar to be using camel to get this functionality. * Makefile.am (libeutil_la_SOURCES): re-add e-html-utils svn path=/trunk/; revision=19246
* A bunch of fixes to make e-util build with -DG_DISABLE_DEPRECATED andJeffrey Stedfast2003-01-038-234/+205
| | | | | | | | | 2003-01-02 Jeffrey Stedfast <fejj@ximian.com> A bunch of fixes to make e-util build with -DG_DISABLE_DEPRECATED and -DGTK_DISABLE_DEPRECATED. svn path=/trunk/; revision=19210
* (e_signal_connect_full_while_alive): Get toEttore Perazzoli2003-01-032-3/+9
| | | | | | | compile. (e_signal_connect_while_alive): Like. svn path=/trunk/; revision=19201
* (e_signal_connect_while_alive): New.Ettore Perazzoli2002-12-203-25/+55
| | | | | | | (e_signal_connect_full_while_alive): Renamed from e_gtk_signal_connect_full_while_alive(). svn path=/trunk/; revision=19171
* Removed. Back to the fiery depths of hell from whence ye came!Jeffrey Stedfast2002-12-174-450/+7
| | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * e-html-utils.[c,h]: Removed. Back to the fiery depths of hell from whence ye came! svn path=/trunk/; revision=19130
* new function.Rodrigo Moya2002-12-113-0/+27
| | | | | | | | 2002-12-10 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch] (e_config_listener_remove_dir): new function. svn path=/trunk/; revision=19086
* fix parameter list for e_trie_searchChris Toshok2002-12-101-1/+1
| | | | svn path=/trunk/; revision=19082
* oops, forgot to add the pattern_id arg to e_trie_addJeffrey Stedfast2002-12-101-1/+1
| | | | svn path=/trunk/; revision=19081
* EMemChunk, duhJeffrey Stedfast2002-12-101-2/+2
| | | | svn path=/trunk/; revision=19080
* s/E_MemChunk/EMemChunk/Jeffrey Stedfast2002-12-101-2/+2
| | | | svn path=/trunk/; revision=19079
* New implementation of an Aho-Corasick trie.Jeffrey Stedfast2002-12-104-0/+397
| | | | | | | | 2002-12-09 Jeffrey Stedfast <fejj@ximian.com> * e-trie.c: New implementation of an Aho-Corasick trie. svn path=/trunk/; revision=19074
* track changes to api (e_passwords_init is gone, and several functions takeChris Toshok2002-12-103-30/+66
| | | | | | | | | | | | | | | | | | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * e-passwords.h: track changes to api (e_passwords_init is gone, and several functions take the component name as an arg.) * e-passwords.c (e_passwords_init): make this static, and allow multiple calls. Also, it no longer takes the component name. (e_passwords_shutdown): make this deal with the case where e_passwords_init wasn't called (no hashtable), and it no longer needs to free component_name. (e_passwords_forget_passwords): call e_passwords_init. (e_passwords_clear_component_passwords): take component_name as an arg, and call e_passwords_init. (password_path): take component_name as an arg. (e_passwords_remember_password): same, and call e_passwords_init. (e_passwords_forget_password): same. (e_passwords_get_password): same. (e_passwords_add_password): call e_passwords_init. (e_passwords_ask_password): take component_name as an arg. svn path=/trunk/; revision=19071
* Allow an e-mutex to be used with standard condition variables.Not Zed2002-12-093-0/+26
| | | | | | | | | 2002-12-07 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_mutex_cond_wait): Allow an e-mutex to be used with standard condition variables. svn path=/trunk/; revision=19055
* change to a more gconf-like path (with underscores, etc.) (ecmlw_save):Chris Toshok2002-12-072-2/+8
| | | | | | | | | | 2002-12-06 Chris Toshok <toshok@ximian.com> * e-categories-master-list-wombat.c (ecmlw_load): change to a more gconf-like path (with underscores, etc.) (ecmlw_save): same. svn path=/trunk/; revision=19051
* Add a "collate" sort callback that uses the new g_collate_compare().Jeffrey Stedfast2002-12-062-9/+24
| | | | | | | | | | | | | | | | 2002-12-05 Jeffrey Stedfast <fejj@ximian.com> * e-table-extras.c (ete_init): Add a "collate" sort callback that uses the new g_collate_compare(). 2002-12-05 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-util.c (g_str_compare): Revert back to using just strcmp - this fixes bug #33933 but reopens bug #26355. (g_collate_compare): New function meant to address the sorting required by bug #26335. svn path=/trunk/; revision=19014
* If the language is something like "fr_FR", return both "fr_FR" and "fr" inDan Winship2002-11-272-4/+21
| | | | | | | | * e-lang-utils.c (e_get_language_list): If the language is something like "fr_FR", return both "fr_FR" and "fr" in the list. Oaf doesn't consider "fr_FR" to match a "-fr" translation. svn path=/trunk/; revision=18926
* Added an optional nspr pipe field. (e_msgport_new): Init nspr pipe toNot Zed2002-11-233-14/+128
| | | | | | | | | | | | | | | | 2002-11-22 Not Zed <NotZed@Ximian.com> * e-msgport.c (EMsgPort): Added an optional nspr pipe field. (e_msgport_new): Init nspr pipe to null. (e_msgport_destroy): close prfiledesc's if they're open. (e_msgport_prfd): get the prfiledesc to wait asynchronously on. (e_msgport_put): Write notify to nspr pipe if it exists. (e_msgport_wait): poll nspr pipe fd if it is set, and the pipe fd isn't. (e_msgport_get): skim off a notify byte on the pr pipe if set. (): Include config.h, and nspr stuff if HAVE_NSS is set. svn path=/trunk/; revision=18893
* fix c&p typo.Chris Toshok2002-11-174-17/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_class_init): fix c&p typo. * gal/widgets/e-categories-master-list-dialog.c: switch to GtkDialogism's. * gal/widgets/gal-categories.[ch]: same. * gal/widgets/e-categories-master-list-dialog.glade: libglade-convert. * gal/widgets/e-categories.glade: same. * gal/util/e-text-event-processor.[ch]: subclass this from GObject. * gal/util/e-text-event-processor-emacs-like.[ch]: clean up the gtk cruft a bit. * gal/e-text/e-text.c (_get_tep): remove the _sink call. (e_text_init): same. * gal/e-text/e-text-model.[ch]: subclass this from GObject instead of GtkObject. svn path=/trunk/; revision=18808
* add lots of marshallers (most, if not all, for etable).Chris Toshok2002-11-176-96/+82
| | | | | | | | | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/util/e-marshal.list: add lots of marshallers (most, if not all, for etable). * gal/util/e-text-event-processor-emacs-like.[ch]: lotsa GObject work. * gal/util/e-text-event-processor.[ch]: lotsa GObject work. * gal/util/e-util.c: same. * gal/e-paned/e-hpaned.[ch]: lotsa GObject work. * gal/e-paned/e-paned.[ch]: same. * gal/e-paned/e-vpaned.[ch]: same. svn path=/trunk/; revision=18797
* deal with EBitArray/ESorter being a GObject now.Chris Toshok2002-11-156-91/+53
| | | | | | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * gal/widgets/e-selection-model-array.c: deal with EBitArray/ESorter being a GObject now. * gal/widgets/e-selection-model-simple.c: same. * gal/util/e-bit-array.[ch]: this derives from GObject now. * gal/util/e-sorter.[ch]: same. * gal/util/e-sorter-array.[ch]: same. svn path=/trunk/; revision=18774
* add more marshallers for e-table.Chris Toshok2002-11-141-0/+4
| | | | | | | | 2002-11-13 Chris Toshok <toshok@ximian.com> * gal/util/e-marshal.list: add more marshallers for e-table. svn path=/trunk/; revision=18750
* (e_config_listener_get_string_with_default):Ettore Perazzoli2002-11-142-5/+11
| | | | | | | Make sure we don't use a string value from a GConfValue that got freed. svn path=/trunk/; revision=18743
* add e-password.h (libeutil_la_SOURCES): add e-password.cChris Toshok2002-11-134-96/+68
| | | | | | | | | | | | 2002-11-12 Chris Toshok <toshok@ximian.com> * Makefile.am (eutilinclude_HEADERS): add e-password.h (libeutil_la_SOURCES): add e-password.c * e-passwords.[ch]: port this to gnome2's gnome-config-private. svn path=/trunk/; revision=18727
* (add_key): g_strdup() the value in the caseEttore Perazzoli2002-11-122-1/+6
| | | | | | of a string value. svn path=/trunk/; revision=18708
* Re-add e-proxy.c to the build.Jeffrey Stedfast2002-11-112-1/+6
| | | | | | | | 2002-11-11 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Re-add e-proxy.c to the build. svn path=/trunk/; revision=18693
* add e-categories-config.h and e-categories-master-list-wombat.hChris Toshok2002-11-094-85/+66
| | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * Makefile.am (eutilinclude_HEADERS): add e-categories-config.h and e-categories-master-list-wombat.h (libeutil_la_SOURCES): add e-categories-master-list-wombat.c * e-categories-master-list-wombat.[ch]: port work. svn path=/trunk/; revision=18683
* fix a comment (e_localtime_with_offset returns the offset in secondsDan Winship2002-11-081-1/+1
| | | | | | after UTC, not minutes) svn path=/trunk/; revision=18670
* pass extra pixbuf paramJP Rosevear2002-11-085-7/+21
| | | | | | | | | | | | | | | 2002-11-07 JP Rosevear <jpr@ximian.com> * e-categories-config.c (e_categories_config_get_icon_for): pass extra pixbuf param * e-categories-config.h: use G_*_DECLS * e-dialog-utils.c (save_ok): update g_file_test params * Makefile.am: Compile some additional files svn path=/trunk/; revision=18646
* init err to NULL so if there isn't an error we aren't left with anChris Toshok2002-11-062-4/+13
| | | | | | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * e-config-listener.c (e_config_listener_set_boolean): init err to NULL so if there isn't an error we aren't left with an unitialized GError. Fixes crash. (e_config_listener_set_float): same. (e_config_listener_set_long): same. (e_config_listener_set_string): same. svn path=/trunk/; revision=18593
* ported to GObject.Rodrigo Moya2002-11-054-50/+55
| | | | | | | | | | 2002-11-05 Rodrigo Moya <rodrigo@ximian.com> * e-component-listener.[ch]: ported to GObject. * Makefile.am: re-enabled e-component-listener.[ch] svn path=/trunk/; revision=18546
* new simpler functions, without a default value.Rodrigo Moya2002-11-043-0/+35
| | | | | | | | | | | 2002-11-03 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch] (e_config_listener_get_boolean, e_config_listener_get_float, e_config_listener_get_long, e_config_listener_get_string): new simpler functions, without a default value. svn path=/trunk/; revision=18516
* Removed unused variable. (e_config_listener_get_long_with_default):Ettore Perazzoli2002-11-043-4/+11
| | | | | | | | | | | * e-config-listener.c (e_config_listener_get_float_with_default): Removed unused variable. (e_config_listener_get_long_with_default): Likewise. (e_config_listener_get_string_with_default): Likewise. * Makefile.am: Compile e-config-listener.[ch]. svn path=/trunk/; revision=18507
* add marshal building stuff, add e-util-marshal.c to SOURCES, and addChris Toshok2002-11-0310-124/+167
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-02 Chris Toshok <toshok@ximian.com> * Makefile.am: add marshal building stuff, add e-util-marshal.c to SOURCES, and add e-util-marshal.list to EXTRA_DIST. * e-util-marshal.list: add marshallers for e-util. * e-list.c: convert to GObject. * e-list.h: convert to GObject. * e-iterator.c: convert to GObject. * e-iterator.h: convert to GObject. * e-list-iterator.c: convert to GObject. * e-list-iterator.h: convert to GObject. * .cvsignore: ignore e-util-marshal.[ch] svn path=/trunk/; revision=18504
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-0214-35/+54
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* ported to GConf and GObject.Rodrigo Moya2002-11-024-184/+175
| | | | | | | | 2002-11-02 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch]: ported to GConf and GObject. svn path=/trunk/; revision=18500
* compilation fixes for GNOME 2 porting.Rodrigo Moya2002-11-023-7/+10
| | | | | | | | | 2002-11-01 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch]: * e-component-listener.[ch]: compilation fixes for GNOME 2 porting. svn path=/trunk/; revision=18494
* (E_MAKE_X_TYPE): Update for libbonobo 2.0.Ettore Perazzoli2002-11-021-20/+25
| | | | svn path=/trunk/; revision=18491
* merging the gal-2 branch back to the trunk.Mike Kestner2002-11-0112-1087/+145
| | | | | | merging the gal-2 branch back to the trunk. svn path=/trunk/; revision=18471
* Fixes #32764Rodrigo Moya2002-10-252-27/+50
| | | | | | | | | | | | | | | | | | | | 2002-10-24 Rodrigo Moya <rodrigo@ximian.com> Fixes #32764 * e-config-listener.c (add_key): store the value returned by bonobo_event_source_client_add_listener, so that we can remove it later, when freeing the key structure. (free_key_hash): remove listener. (e_config_listener_set_boolean): (e_config_listener_set_float): (e_config_listener_set_long): (e_config_listener_set_string): only set the cache values if there's no exception. (e_config_listener_destroy): remove all keys before unrefing the db component. svn path=/trunk/; revision=18429
* Cast chars to unsigned char before passing to ctype macros since they areDan Winship2002-10-252-17/+24
| | | | | | | | | * ename/e-name-western.c: Cast chars to unsigned char before passing to ctype macros since they are not defined on negative numbers. Fixes parsing problems with names with accented characters on Solaris. (At least part of #32146) svn path=/trunk/; revision=18427
* [ Fixes evolution bug #26355 ] use g_utf8_collate here instead of strcmp.Chris Toshok2002-10-211-2/+3
| | | | | | | | | | | | | 2002-10-20 Chris Toshok <toshok@ximian.com> [ Fixes evolution bug #26355 ] * gal/util/e-util.c (g_str_compare): use g_utf8_collate here instead of strcmp. * gal/e-text/Makefile.am (e_completion_test_LDADD): reorder so that util comes before unicode. svn path=/trunk/; revision=18400
* new helper function, g_strdown with forced C locale (e_iconv_init): useRadek Doulik2002-09-271-4/+21
| | | | | | | | | | | 2002-09-26 Radek Doulik <rodo@ximian.com> * gal/util/e-iconv.c (C_g_strdown): new helper function, g_strdown with forced C locale (e_iconv_init): use C_g_strdown (e_iconv_charset_name): ditto svn path=/trunk/; revision=18235
* added a comment about the fix for #30918.Rodrigo Moya2002-09-262-0/+7
| | | | | | | | | 2002-09-25 Rodrigo Moya <rodrigo@ximian.com> * e-component-listener.c (ping_component_callback): added a comment about the fix for #30918. svn path=/trunk/; revision=18214
* gtk_object_ref the component listener before emitting the "component_died"Rodrigo Moya2002-09-232-0/+10
| | | | | | | | | | | 2002-09-23 Rodrigo Moya <rodrigo@ximian.com> * e-component-listener.c (ping_component_callback): gtk_object_ref the component listener before emitting the "component_died" signal, since in most cases, the component listener will be destroyed in the callbacks for that signal. svn path=/trunk/; revision=18164
* Fix some non-ANSI switch statementsDan Winship2002-09-233-0/+9
| | | | | | | | * e-config-listener.c: Fix some non-ANSI switch statements * e-path.c: #include <sys/types.h> for OS X svn path=/trunk/; revision=18156
* Make locale_charset a char *, not const char *. Kills a warning in theDan Winship2002-09-202-2/+3
| | | | | | | | | | | | | * gal/util/e-iconv.c: Make locale_charset a char *, not const char *. Kills a warning in the !HAVE_CODESET case. (e_iconv_init): No longer need to cast locale_charset to (char *) while mangling it in the HAVE_CODESET case. * gal/util/e-xml-utils.c: #include <stdlib.h> for free() * gal/widgets/e-categories-master-list-array.c: Likewise svn path=/trunk/; revision=18129
* apply patch for 27447 from Matt Avery for a bug in the solaris iconvMike Kestner2002-09-181-2/+3
| | | | | | | | | 2002-09-17 Mike Kestner <mkestner@ximian.com> * gal/util/e-iconv.c : apply patch for 27447 from Matt Avery for a bug in the solaris iconv implementation. svn path=/trunk/; revision=18100
* [ Fixes #27546 ] add "di" to e_name_western_complex_last_table.Chris Toshok2002-09-122-1/+8
| | | | | | | | | | | 2002-09-11 Chris Toshok <toshok@ximian.com> [ Fixes #27546 ] * ename/e-name-western-tables.h (e_name_western_complex_last_table): add "di" to e_name_western_complex_last_table. svn path=/trunk/; revision=18054
* update the local copy (if we've got one) so that we don't return values ifRodrigo Moya2002-09-052-0/+34
| | | | | | | | | | | | 2002-09-05 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c (e_config_listener_set_boolean, e_config_listener_set_float, e_config_listener_set_long, e_config_listener_set_string): update the local copy (if we've got one) so that we don't return values if asked before getting the change notification. svn path=/trunk/; revision=17985
* New. Like mktime(3), but assumes the input time is UTC.Dan Winship2002-09-053-5/+68
| | | | | | | | | * e-time-utils.c (e_mktime_utc): New. Like mktime(3), but assumes the input time is UTC. (e_localtime_with_offset): New. Like localtime_r(3), but also returns an offset from UTC. svn path=/trunk/; revision=17971
* Don't call g_list_foreach with the free func if the free func is NULL.Dan Winship2002-08-302-1/+7
| | | | | | | * e-list.c (e_list_destroy): Don't call g_list_foreach with the free func if the free func is NULL. svn path=/trunk/; revision=17928
* Convert file: urls too. Fixes bug #29557.Jeffrey Stedfast2002-08-292-1/+5
| | | | | | | | | 2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * e-html-utils.c (e_text_to_html_full): Convert file: urls too. Fixes bug #29557. svn path=/trunk/; revision=17899
* New convenience function to initialise the proxy settings for soup to use.Jeffrey Stedfast2002-08-295-0/+142
| | | | | | | | | 2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * e-proxy.[c,h] (e_proxy_init): New convenience function to initialise the proxy settings for soup to use. svn path=/trunk/; revision=17896
* new functions. (property_change_cb, add_key): added support for FLOATRodrigo Moya2002-08-273-2/+110
| | | | | | | | | | | | 2002-08-27 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c[ch] (e_config_listener_get_float_with_default, e_config_listener_set_boolean, e_config_listener_set_float): new functions. (property_change_cb, add_key): added support for FLOAT values. (e_config_listener_set_string): free strings before returning. svn path=/trunk/; revision=17873
* If gdk_window_foreign_new returned NULL, we're probably screwed, but tryPeter Williams2002-08-272-0/+15
| | | | | | | | | | 2002-08-26 Peter Williams <peterw@ximian.com> * e-dialog-utils.c (set_transient_for_gdk): If gdk_window_foreign_new returned NULL, we're probably screwed, but try to avoid a segfault. (Preemptive fix suggested by kmaraas). svn path=/trunk/; revision=17866
* call g_strdup in the correct place, or we'll return the internal copy.Rodrigo Moya2002-08-272-2/+7
| | | | | | | | | 2002-08-26 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c (e_config_listener_get_string_with_default): call g_strdup in the correct place, or we'll return the internal copy. svn path=/trunk/; revision=17860
* only set the key if the value is different from what we've already readRodrigo Moya2002-08-262-0/+18
| | | | | | | | | | | 2002-08-26 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c (e_config_listener_set_long): only set the key if the value is different from what we've already read from the database, to avoid extra change notifications. (e_config_listener_set_string): likewise. svn path=/trunk/; revision=17858
* added "key_changed" signal to class. (property_change_cb): emitRodrigo Moya2002-08-233-34/+156
| | | | | | | | | | | 2002-08-22 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch]: added "key_changed" signal to class. (property_change_cb): emit "key_changed" signal. (e_config_listener_set_long): new function. (e_config_listener_get_long_with_default): new function. svn path=/trunk/; revision=17847
* Remove an e_path directory, and its parent "subfolders" dir if it's nowDan Winship2002-08-233-0/+54
| | | | | | | * e-path.c (e_path_rmdir): Remove an e_path directory, and its parent "subfolders" dir if it's now empty. svn path=/trunk/; revision=17837
* Add bug fix number.JP Rosevear2002-08-221-0/+2
| | | | svn path=/trunk/; revision=17836
* if the year was two digits, add the current centuryJP Rosevear2002-08-222-1/+25
| | | | | | | | | 2002-08-22 JP Rosevear <jpr@ximian.com> * e-time-utils.c (e_time_parse_date): if the year was two digits, add the current century svn path=/trunk/; revision=17833
* new class for config database access and monitoring.Rodrigo Moya2002-08-204-0/+375
| | | | | | | | | | | 2002-08-16 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch]: new class for config database access and monitoring. * Makefile.am: added new files. svn path=/trunk/; revision=17816
* new class for controlling a component, to detect when it dies.Rodrigo Moya2002-08-164-0/+284
| | | | | | | | | 2002-08-14 Rodrigo Moya <rodrigo@ximian.com> * e-component-listener.[ch]: new class for controlling a component, to detect when it dies. svn path=/trunk/; revision=17786
* Do slightly better error handling for close() and loop until it closesJeffrey Stedfast2002-08-081-3/+4
| | | | | | | | | 2002-08-07 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-xml-utils.c (e_xml_save_file): Do slightly better error handling for close() and loop until it closes successfully. svn path=/trunk/; revision=17733
* Changed to handle saving to a temp file first, this allows us to remove aJeffrey Stedfast2002-08-071-3/+26
| | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-xml-utils.c (e_xml_save_file): Changed to handle saving to a temp file first, this allows us to remove a lot of duplicate code from everywhere. svn path=/trunk/; revision=17725
* Bumped version to 0.19.99.18Jeffrey Stedfast2002-08-072-1/+312
| | | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Bumped version to 0.19.99.18 * gal/util/e-xml-utils.c (e_xml_save_file): New convenience function to save an xmlDocPtr. Replaces xmlSaveFile because xmlSaveFile isn't dependable. svn path=/trunk/; revision=17718
* Remove the logic that assumes "Rupert> " is a citation, since it misfiresDan Winship2002-08-052-28/+22
| | | | | | | | * e-html-utils.c (is_citation): Remove the logic that assumes "Rupert> " is a citation, since it misfires more often than it hits. svn path=/trunk/; revision=17696
* Don't use "isprint(c)" to mean "c >= 32 && c < 128" since it doesn't inDan Winship2002-08-012-13/+24
| | | | | | | | | | | * e-html-utils.c (is_addr_char, is_trailing_garbage): Don't use "isprint(c)" to mean "c >= 32 && c < 128" since it doesn't in most locales. (is_domain_name_char): new macro for dns-valid characters (email_address_extract): Use is_domain_name_char rather than is_addr_char for the part after the @. svn path=/trunk/; revision=17655
* If the user has enabled IPv6 support, use getaddrinfo to resolve hostnamesJeffrey Stedfast2002-07-312-9/+183
| | | | | | | | | | | 2002-07-30 Jeffrey Stedfast <fejj@ximian.com> * e-host-utils.c (e_gethostbyname_r): If the user has enabled IPv6 support, use getaddrinfo to resolve hostnames and then manually fit the result into a struct hostent. (e_gethostbyaddr_r): Same. svn path=/trunk/; revision=17650
* Return the actual count, rather than always 0!Not Zed2002-07-252-1/+6
| | | | | | | | | 2002-07-25 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_dlist_length): Return the actual count, rather than always 0! svn path=/trunk/; revision=17587
* Install libversit.a so that people compiling against the addressbook canPeter Williams2002-07-182-37/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so that people compiling against the addressbook can do so successfully. * Makefile.am: create our *Conf.sh files and dist them and install them. * configure.in: Define and subst some variables that the Conf.sh file need. 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/Makefile.am: Install libebook-static.la. Also change --all-static to -all-static, which is the right flag. * backend/pas/Makefile.am: Install the PAS headers in $(includedir)/evolution/pas. Install libpas.a 2002-07-08 Peter Williams <peterw@ximian.com> * cal-util/Makefile.am: Install libcal-util-static.la and fix the -all-static flag to make it install statically. * pcs/Makefile.am: Install libpcs.a and its headers. * pcs/cal-backend-util.h: Same sort of include namespacing fix, but for pcs. * pcs/cal.h: * pcs/query.h: * pcs/cal-factory.h: * pcs/cal-backend.h: * pcs/cal-backend-file.h: Same. 2002-07-17 Peter Williams <peterw@ximian.com> * calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're using libtool as our LD, we can reference .la's and libtool will DTRT for us. * calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here. 2002-07-03 Peter Williams <peterw@ximian.com> * Makefile.am: Install libeutil, libeconduit, and libedb3util and their headers. 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Reference the new libefilterbar.a. 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical for the generated ical.h (some headers rely on this because they too get installed.) 2002-07-09 Peter Williams <peterw@ximian.com> * e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical; some headers that we rely on get installed, so they point to the ical.h that gets generated and installed; consequently we need to be able to find the generated ical.h * misc/Makefile.am: Install libemiscwidgets.a and its headers. However, break EFilterBar into a separate libefilterbar.a because we don't want the installed library to depend on libfilter. svn path=/trunk/; revision=17496
* Cast to a string type. (term_eval_castint): Cast to an int type.Not Zed2002-07-163-3/+83
| | | | | | | | | | | | 2002-07-15 Not Zed <NotZed@Ximian.com> * e-sexp.c (term_eval_caststring): Cast to a string type. (term_eval_castint): Cast to an int type. (symbols[]): Add to symbol table. * e-memory.c: Some more profiling for epoolv's. svn path=/trunk/; revision=17474
* #include <string.h>Dan Winship2002-07-102-0/+5
| | | | | | * e-categories-config.c: #include <string.h> svn path=/trunk/; revision=17395
* *** empty log message ***Rodrigo Moya2002-07-031-1/+1
| | | | svn path=/trunk/; revision=17358
* Ñchanged to return a gboolean (TRUE if the icon is found, FALSE if not).Rodrigo Moya2002-07-033-7/+14
| | | | | | | | | 2002-07-02 Rodrigo Moya <rodrigo@ximian.com> * e-categories-config.c (e_categories_config_get_icon_for):Ñchanged to return a gboolean (TRUE if the icon is found, FALSE if not). svn path=/trunk/; revision=17356
* Use connect_while_alive, so we're not called after we've quit. See bugNot Zed2002-06-172-4/+10
| | | | | | | | | | 2002-06-07 Not Zed <NotZed@Ximian.com> * e-dialog-utils.c (e_gnome_warning_dialog_parented): (e_gnome_ok_cancel_dialog_parented): Use connect_while_alive, so we're not called after we've quit. See bug #15397. svn path=/trunk/; revision=17207
* Protect against EINTR (irix?), see bug #24086.Not Zed2002-06-032-4/+12
| | | | | | | | | 2002-06-03 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_msgport_wait): Protect against EINTR (irix?), see bug #24086. svn path=/trunk/; revision=17074
* New.Ettore Perazzoli2002-05-073-1/+12
| | | | | | * e-corba-utils.c (e_safe_corba_string_dup): New. svn path=/trunk/; revision=16702
* Destroy our mutex too. (e_thread_new): Add thread to a new list of allNot Zed2002-05-063-0/+55
| | | | | | | | | | | | 2002-05-06 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_thread_destroy): Destroy our mutex too. (e_thread_new): Add thread to a new list of all threads. (e_thread_destroy): Remove thread from list of all threads. (e_thread_busy): New function, returh true if we're busy somewhere processing work. svn path=/trunk/; revision=16683
* Documented this function as not necessarily stripping shellChristopher James Lahey2002-05-022-0/+2
| | | | | | | | | | 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c, gal/util/e-util.h (e_filename_make_safe): Documented this function as not necessarily stripping shell metacharacters. Fixes Ximian bug #21223. svn path=/trunk/; revision=16660
* Set the gettext-domain here.Christopher James Lahey2002-05-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-completion-view.c (simple_spec), gal/widgets/e-categories-master-list-dialog.c (SPEC), gal/widgets/e-categories.c (INITIAL_SPEC): Set the gettext-domain here. * gal/util/e-i18n.h (E_I18N_DOMAIN): #define as makes sense in the different cases. From gal/e-table/ChangeLog: 2002-05-01 Christopher James Lahey <clahey@ximian.com> * e-table-config.c, e-table-config.h, e-table-specification.c, e-table-specification.h, e-table-utils.c, e-table-utils.h, e-table.c, e-table.h: Made these pay attention to the gettext-domain in the etspec. * e-table-config.c: Set the gettext-domain in the etspec here. From gal/menus/ChangeLog: 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c (SPEC), gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain here. svn path=/trunk/; revision=16658
* Added a sed job on po/Makefile.in.in here.Christopher James Lahey2002-04-301-1/+5
| | | | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * configure.in: Added a sed job on po/Makefile.in.in here. * gal/util/e-i18n.h: Made this use GNOME_EXPLICIT_TRANSLATION_DOMAIN if it's set. svn path=/trunk/; revision=16641
* Changed this to handle large numbers. (e_create_directory): Changed thisChristopher James Lahey2002-04-301-65/+111
| | | | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c (e_format_number_float): Changed this to handle large numbers. (e_create_directory): Changed this to be a wrapper around e_mkdir_hier. svn path=/trunk/; revision=16639
* Use DBL_DIG to compute how much buffer space to use here.Christopher James Lahey2002-04-272-3/+8
| | | | | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.h (E_ASCII_DTOSTR_BUF_SIZE): Use DBL_DIG to compute how much buffer space to use here. * gal/util/e-xml-utils.c (e_xml_set_double_prop_by_name): Use DBL_DIG here to decide how many digits to print. svn path=/trunk/; revision=16604
* Ansification patch from danw.Christopher James Lahey2002-04-264-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | 2002-04-25 Christopher James Lahey <clahey@ximian.com> * gal/e-paned/e-paned.c, gal/e-text/e-entry.c, gal/util/e-bit-array.c, gal/util/e-sorter-array.c, gal/util/e-sorter.c, gal/util/e-text-event-processor.c, gal/widgets/color-group.c, gal/widgets/color-palette.c, gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas.c, gal/widgets/e-canvas.h, gal/widgets/e-categories-master-list-array.c, gal/widgets/e-categories-master-list-combo.c, gal/widgets/e-categories-master-list-dialog-model.c, gal/widgets/e-categories-master-list-dialog.c, gal/widgets/e-categories.c, gal/widgets/e-reflow-model.c, gal/widgets/e-reflow.c, gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h, gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-stack.c, gal/widgets/widget-color-combo.c, gal/widgets/widget-pixmap-combo.c: Ansification patch from danw. svn path=/trunk/; revision=16589
* Don't leak the base64 encoded password buffer.Jeffrey Stedfast2002-04-202-11/+19
| | | | | | | | | 2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-passwords.c (e_passwords_get_password): Don't leak the base64 encoded password buffer. svn path=/trunk/; revision=16551
* New wrapper around gethostbyaddr_r if the system has it, else a whole newJeffrey Stedfast2002-04-173-79/+150
| | | | | | | | | | 2002-04-16 Jeffrey Stedfast <fejj@ximian.com> * e-host-utils.c (e_gethostbyaddr_r): New wrapper around gethostbyaddr_r if the system has it, else a whole new implementation. svn path=/trunk/; revision=16483
* Handle parsing negative integers.Jeffrey Stedfast2002-04-122-7/+23
| | | | | | | | 2002-04-11 Jeffrey Stedfast <fejj@ximian.com> * e-sexp.c (parse_value): Handle parsing negative integers. svn path=/trunk/; revision=16441
* #include <parser.h> and <xmlmemory.h> instead of <gnome-xml/parser.h> andEttore Perazzoli2002-04-111-2/+4
| | | | | | | | | | * gal/util/e-xml-utils.c: #include <parser.h> and <xmlmemory.h> instead of <gnome-xml/parser.h> and <gnome-xml/xmlmemory.h>. In fact, the latter is incompatible with what `gnome-config --cflags xml' is assuming, and breaks in the case where gnome-xml is not installed in /usr/local. svn path=/trunk/; revision=16424
* open a file selection dialog with the given title and return the selectedJP Rosevear2002-03-303-0/+70
| | | | | | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * e-dialog-utils.c (e_file_dialog_save): open a file selection dialog with the given title and return the selected file name (save_ok): if the ok button is clicked, make sure the file doesn't already exist and if it does, see if the user wants to over write it * e-dialog-utils.h: new proto svn path=/trunk/; revision=16284
* Use iconv-detect.c to generate a iconv-detect.h file containingJeffrey Stedfast2002-03-301-13/+33
| | | | | | | | | | | | | | | | 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Use iconv-detect.c to generate a iconv-detect.h file containing information about the preferred charset formats to use with the system iconv. * iconv-detect.c: New program to detect the preferred charset formats for use with the system iconv. * gal/util/e-iconv.c (e_iconv_charset_name): Update to use macros defined in iconv-detect which is created at configure time. svn path=/trunk/; revision=16282
* Added widgets/e-option-menu.lo.Christopher James Lahey2002-03-262-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-25 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added widgets/e-option-menu.lo. * gal/util/e-util.c, gal/util/e-util.h (e_strdupv): Copied this function from glib2. (GET_STRING_ARRAY_FROM_ELLIPSIS, GET_DUPLICATED_STRING_ARRAY_FROM_ELLIPSIS): Added these macros to automate getting a NULL terminated array off of the stack. * gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added e-option-menu.c. (libwidgetsinclude_HEADERS): Added e-option-menu.h. * gal/widgets/e-canvas.c (e_canvas_class_init): Reformatted this function. * gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h (e_glade_xml_connect_widget, e_glade_xml_set_sensitive): Two new functions to automate pulling a widget from a GladeXML and either connecting a signal or setting the sensitivity. * gal/widgets/e-option-menu.c, gal/widgets/e-option-menu.h: New class to simplify the interface to GtkOptionMenu. svn path=/trunk/; revision=16246
* New. New.Ettore Perazzoli2002-03-234-0/+96
| | | | | | | * e-lang-utils.c: New. * e-lang-utils.h: New. svn path=/trunk/; revision=16231
* Document the fact that this takes two locale charset strings and one UTF8Dan Winship2002-03-222-7/+13
| | | | | | | | * e-request.c (e_request_string): Document the fact that this takes two locale charset strings and one UTF8 string and returns a UTF8 string. (Huh.) svn path=/trunk/; revision=16226
* Replaced e_marshal_BOOL__STRING with this since the function it was usedChristopher James Lahey2002-03-132-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING_INT): Replaced e_marshal_BOOL__STRING with this since the function it was used for has been modified. From gal/e-table/ChangeLog: 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-table-extras.c (e_string_search): Check for a NULL haystack here. * e-table-search.c, e-table-search.h: Added a parameter to the search signal here to pass in flags. Specifically, added the E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST flag. Improved the search behavior here. * e-table.c, e-tree.c: Handle the new signature for the search signal here. svn path=/trunk/; revision=16139
* Added e-table-search.lo.Christopher James Lahey2002-03-122-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-table-search.lo. * gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING): Added this marshal function. From gal/e-table/ChangeLog: 2002-03-12 Christopher James Lahey <clahey@ximian.com> * Makefile.am (libetable_la_SOURCES): Added e-table-search.c. (libetableinclude_HEADERS): Added e-table-search.h. * e-cell.h: Added ETableSearchFun here. * e-table-col.h: Added search here. * e-table-column-specification.c, e-table-column-specification.h: Added search here. * e-table-extras.c, e-table-extras.h (e_table_extras_add_search): Added ETableSearchFuncs here. * e-table-memory-store.c (e_table_memory_store_insert, e_table_memory_store_insert_adopt): Handle row == -1 here. * e-table-search.c, e-table-search.h: New class to reusably handle the semantics of searching for a string. * e-table-simple.c, e-table-simple.h: Added a bunch of simple functions here for if your table is all strings. Should be reusable. * e-table-utils.c (et_col_spec_to_col): Added support for searches here. * e-table.c, e-table.h: Added an ETableSearch here. svn path=/trunk/; revision=16119
* #include <string.h> for strcmp.Jeffrey Stedfast2002-03-052-2/+9
| | | | | | | | 2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * e-mktemp.c: #include <string.h> for strcmp. svn path=/trunk/; revision=15907
* Fix for if the buffer ends with an email address (and no newline).Dan Winship2002-02-232-0/+7
| | | | | | | * e-html-utils.c (e_text_to_html_full): Fix for if the buffer ends with an email address (and no newline). svn path=/trunk/; revision=15802
* New signal for when the width of the column changes.Christopher James Lahey2002-02-132-0/+22
| | | | | | | | | | | | | | | | | | | | | 2002-02-13 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h (column_width_changed): New signal for when the width of the column changes. * gal/util/e-util.c, gal/util/e-util.h (e_marshal_NONE__DOUBLE): New marshaller. From gal/menus/ChangeLog: 2002-02-13 Christopher James Lahey <clahey@ximian.com> * gal-view-etable.c (detach_table): Set view->table_state_changed_id to 0. (detach_tree): Set view->tree_state_changed_id to 0. svn path=/trunk/; revision=15705
* add row and column definesJP Rosevear2002-02-092-0/+7
| | | | | | | | 2002-02-09 JP Rosevear <jpr@ximian.com> * e-pilot-settings.h: add row and column defines svn path=/trunk/; revision=15634
* Emit E_TEP_CAPS for the right values for M-l, M-c, and M-u.Christopher James Lahey2002-02-072-4/+12
| | | | | | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gal/util/e-text-event-processor-emacs-like.c: Emit E_TEP_CAPS for the right values for M-l, M-c, and M-u. * gal/util/e-text-event-processor-types.h (ETextEventProcessorCommandAction): New action E_TEP_CAPS. (ETextEventProcessorCaps): New enum giving values for E_TEP_CAPS action. svn path=/trunk/; revision=15589
* Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-283-23/+19
| | | | svn path=/trunk/; revision=15486
* AIX and IRIX are like Sun systems - they use ISO8859-1 rather than namesJeffrey Stedfast2002-01-261-2/+2
| | | | | | | | | 2002-01-25 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-iconv.c: AIX and IRIX are like Sun systems - they use ISO8859-1 rather than names like ISO-8859-1. svn path=/trunk/; revision=15478
* Yet Another Stupid Marshaller.Ettore Perazzoli2002-01-232-0/+20
| | | | | | * gal/util/e-util.c (e_marshal_NONE__POINTER_POINTER_POINTER_POINTER): New. svn path=/trunk/; revision=15423
* Added #include <libgnome/gnome-defs.h>.Christopher James Lahey2002-01-171-1/+1
| | | | | | | | | | | | | 2002-01-16 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-entry.h, gal/e-text/e-table-text-model.h, gal/e-text/e-text-model-uri.h, gal/e-text/e-text.h, gal/util/e-i18n.h, gal/widgets/e-canvas-utils.h, gal/widgets/e-gui-utils.h, gal/widgets/e-printable.h, gal/widgets/gtk-combo-stack.h: Added #include <libgnome/gnome-defs.h>. svn path=/trunk/; revision=15340
* compile new filesJP Rosevear2002-01-154-3/+231
| | | | | | | | | | | 2002-01-14 JP Rosevear <jpr@ximian.com> * Makefile.am: compile new files * e-pilot-settings.[hc]: beginnings of a general conduit configuration gui svn path=/trunk/; revision=15321
* Allow for a period after suffixes. Fixes Ximian bug #17012.Christopher James Lahey2002-01-112-4/+11
| | | | | | | | | 2002-01-10 Christopher James Lahey <clahey@ximian.com> * ename/e-name-western.c (e_name_western_word_is_suffix): Allow for a period after suffixes. Fixes Ximian bug #17012. svn path=/trunk/; revision=15289
* Prune free'd nodes from our free list otherwise we'll end up re-usingJeffrey Stedfast2002-01-052-0/+23
| | | | | | | | | | 2002-01-04 Jeffrey Stedfast <fejj@ximian.com> * e-memory.c (e_memchunk_clean): Prune free'd nodes from our free list otherwise we'll end up re-using free'd memory blocks and that's not a Good Thing (tm). svn path=/trunk/; revision=15250
* Reverted.Jeffrey Stedfast2002-01-033-8/+10
| | | | | | | | 2002-01-02 Jeffrey Stedfast <fejj@ximian.com> * md5-utils.h: Reverted. svn path=/trunk/; revision=15228
* Move the struct into md5-utils.c - this is a kludgey hack around the factJeffrey Stedfast2002-01-033-6/+15
| | | | | | | | | | 2002-01-02 Jeffrey Stedfast <fejj@ximian.com> * md5-utils.h: Move the struct into md5-utils.c - this is a kludgey hack around the fact that NSS also defines MD5Context. Besides, this should be a private struct anyway. svn path=/trunk/; revision=15227
* remove e_gnome_dialog util functions and use e-util ones insteadJP Rosevear2002-01-033-4/+66
| | | | | | | | | | | | | | | | | | | 2002-01-02 JP Rosevear <jpr@ximian.com> * mail-callbacks.c: remove e_gnome_dialog util functions and use e-util ones instead 2002-01-02 JP Rosevear <jpr@ximian.com> * e-dialog-utils.c (e_gnome_dialog_set_parent): util function moved from mail-callbacks, also destroys the dialog if the parent is destroyed (e_gnome_warning_dialog_parented): similarly (e_gnome_ok_cancel_dialog_parented): ditto * e-dialog-utils.h: new protos svn path=/trunk/; revision=15225
* clear all info from the mapJP Rosevear2001-12-193-1/+20
| | | | | | | | | | 2001-12-17 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (e_pilot_map_clear): clear all info from the map * e-pilot-map.h: add proto svn path=/trunk/; revision=15177
* Merging changes:Christopher James Lahey2001-12-182-5/+40
| | | | | | | | | | | | | | 2001-12-17 Christopher James Lahey <clahey@ximian.com> From a patch by Dan Nguyen <dnn@austin.ibm.com> * configure.in: Added configure check for %l and %k in strftime. * gal/util/e-util.c, gal/util/e-util.h (e_strftime): New function. Handles %l and %k even on platforms that don't support them by translating to %I and %H. svn path=/trunk/; revision=15146
* use UTF-8 as the char set when testing pilot linkJP Rosevear2001-12-122-2/+9
| | | | | | | | | | | | | | | 2001-12-10 JP Rosevear <jpr@ximian.com> * configure.in: use UTF-8 as the char set when testing pilot link 2001-12-10 JP Rosevear <jpr@ximian.com> * e-pilot-util.c (e_pilot_utf8_to_pchar): use UTF-8 instead of UTF8 as the source char set (e_pilot_utf8_from_pchar): use UTF-8 instead of UTF8 as the destination char set svn path=/trunk/; revision=14995
* Clear the password in bonobo-conf as well. Fixes ximian 14893.Dan Winship2001-11-202-18/+36
| | | | | | | * e-passwords.c (e_passwords_forget_password): Clear the password in bonobo-conf as well. Fixes ximian 14893. svn path=/trunk/; revision=14754
* Remove `-lc'. It makes the mailer do strange things when it callsEttore Perazzoli2001-11-142-1/+7
| | | | | | | | * Makefile.am (libeutil_la_LIBADD): Remove `-lc'. It makes the mailer do strange things when it calls `fork()', thus breaking e.g. mail sending through sendmail. svn path=/trunk/; revision=14694
* only insert non-0 pids into the pid map (e_pilot_map_insert): remove andJP Rosevear2001-11-142-26/+69
| | | | | | | | | | | | | 2001-11-13 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (real_e_pilot_map_insert): only insert non-0 pids into the pid map (e_pilot_map_insert): remove and free old keys/values here - including possibly orphaned keys (e_pilot_map_remove_by_uid): only free things if they should have been found svn path=/trunk/; revision=14687
* Explicitly add -lcJP Rosevear2001-11-142-1/+5
| | | | | | | | 2001-11-13 JP Rosevear <jpr@ximian.com> * Makefile.am (libeutil_la_LIBADD): Explicitly add -lc svn path=/trunk/; revision=14686
* added a 2nd format, with the weekday and the date. We need this so we canDamon Chaplin2001-10-302-2/+11
| | | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * e-time-utils.c (e_time_parse_date): added a 2nd format, with the weekday and the date. We need this so we can try to parse DATE values in the ECalendarTable. svn path=/trunk/; revision=14457
* CVS surgeryJoe Shaw2001-10-302-76/+0
| | | | svn path=/trunk/; revision=14428
* Require gal 0.15.99.8Joe Shaw2001-10-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Joe Shaw <joe@ximian.com> * configure.in: Require gal 0.15.99.8 * addressbook/backend/ebook/e-card-simple.c, addressbook/gui/component/addressbook-storage.c, addressbook/gui/widgets/e-addressbook-view.c, calendar/gui/e-calendar-table.c, calendar/gui/e-itip-control.c, calendar/gui/e-meeting-model.c, calendar/gui/itip-utils.c, calendar/gui/print.c, calendar/gui/alarm-notify/alarm-notify-dialog.c, filter/rule-editor.c, mail/mail-config.c, mail/mail-folder-cache.c, mail/mail-format.c, mail/mail-local.c, mail/mail-ops.c, mail/mail-vfolder.c, shell/e-local-storage.c, shell/e-summary-storage.c: Change includes of e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h svn path=/trunk/; revision=14427
* Remove a g_warning.Ettore Perazzoli2001-10-302-2/+4
| | | | | | * e-dialog-utils.c (e_set_dialog_parent): Remove a g_warning. svn path=/trunk/; revision=14405
* Added French conjunction.Christopher James Lahey2001-10-303-0/+12
| | | | | | | | | | | 2001-10-29 Christopher James Lahey <clahey@ximian.com> * ename/e-name-western.c (e_name_western_fixup): Added French conjunction. * e-host-utils.c: Don't define gethost_mutex unless we need it. svn path=/trunk/; revision=14373
* Cleaned this up a bit.Christopher James Lahey2001-10-292-4/+9
| | | | | | | | 2001-10-29 Christopher James Lahey <clahey@ximian.com> * ename/e-name-western.c: Cleaned this up a bit. svn path=/trunk/; revision=14333
* ChangeLog fix.Chris Lahey2001-10-291-1/+1
| | | | svn path=/trunk/; revision=14330
* Check for compound first names here (X & Y).Christopher James Lahey2001-10-292-2/+89
| | | | | | | | | 2001-10-29 Christopher James Lahey <clahey@ximian.com> * ename/e-name-western.c (e_name_western_fixup): Check for compound first names here (X & Y). svn path=/trunk/; revision=14329
* make sure to free the keys as well (e_pilot_map_remove_by_uid): dittoJP Rosevear2001-10-292-12/+25
| | | | | | | | | | 2001-10-28 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (e_pilot_map_remove_by_pid): make sure to free the keys as well (e_pilot_map_remove_by_uid): ditto svn path=/trunk/; revision=14315
* Return 1 from the button_release event.Christopher James Lahey2001-10-281-4/+1
| | | | | | | | | | 2001-10-28 Christopher James Lahey <clahey@ximian.com> * gal/util/e-text-event-processor-emacs-like.c (e_text_event_processor_emacs_like_event): Return 1 from the button_release event. svn path=/trunk/; revision=14273
* More fixing of the license texts.Ettore Perazzoli2001-10-282-24/+22
| | | | svn path=/trunk/; revision=14242
* More fixing of the license texts.Ettore Perazzoli2001-10-286-54/+54
| | | | svn path=/trunk/; revision=14241
* Fixing the license text.Ettore Perazzoli2001-10-2823-23/+0
| | | | svn path=/trunk/; revision=14212
* update protoJP Rosevear2001-10-273-4/+31
| | | | | | | | | | | | 2001-10-27 JP Rosevear <jpr@ximian.com> * e-pilot-map.h: update proto * e-pilot-map.c (e_pilot_map_lookup_pid): touch the nodes if indicated and found (e_pilot_map_lookup_uid): ditto svn path=/trunk/; revision=14208
* take an extra param on whether to mark touched (map_sax_start_element):JP Rosevear2001-10-273-41/+81
| | | | | | | | | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (real_e_pilot_map_insert): take an extra param on whether to mark touched (map_sax_start_element): use above (e_pilot_map_insert): ditto (e_pilot_map_write): pass in extra info to foreach call (map_write_foreach): if we are in touched only mode, write out the map only if its been touched * e-pilot-map.h: add new member svn path=/trunk/; revision=14196
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-2723-46/+46
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* Bump up to 0.15.99.5.Ettore Perazzoli2001-10-272-1/+26
| | | | | | | | | | | * configure.in: Bump up to 0.15.99.5. * gal/util/e-util.c (e_marshal_INT__POINTER_POINTER_POINTER_POINTER_POINTER): pass `args[4]' as the fourth argument instead of `args[3]' again. (e_marshal_INT__POINTER_POINTER_POINTER_BOOL): New. svn path=/trunk/; revision=14175
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-271-1/+22
| | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text-test.c, gal/util/e-i18n.h, gal/widgets/e-hsv-utils.c, gal/widgets/e-hsv-utils.h: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14169
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-2717-151/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/e-paned/e-hpaned.c, gal/e-paned/e-hpaned.h, gal/e-paned/e-paned.c, gal/e-paned/e-paned.h, gal/e-paned/e-vpaned.c, gal/e-paned/e-vpaned.h, gal/e-text/e-completion-match.c, gal/e-text/e-completion-match.h, gal/e-text/e-completion-test.c, gal/e-text/e-completion-view.c, gal/e-text/e-completion-view.h, gal/e-text/e-completion.c, gal/e-text/e-completion.h, gal/e-text/e-entry-test.c, gal/e-text/e-entry.c, gal/e-text/e-entry.h, gal/e-text/e-table-text-model.c, gal/e-text/e-table-text-model.h, gal/e-text/e-text-model-repos.c, gal/e-text/e-text-model-repos.h, gal/e-text/e-text-model-test.c, gal/e-text/e-text-model-uri.c, gal/e-text/e-text-model-uri.h, gal/e-text/e-text-model.c, gal/e-text/e-text-model.h, gal/e-text/e-text.c, gal/e-text/e-text.h, gal/util/e-bit-array.c, gal/util/e-bit-array.h, gal/util/e-cache.c, gal/util/e-cache.h, gal/util/e-iconv.c, gal/util/e-iconv.h, gal/util/e-sorter-array.c, gal/util/e-sorter-array.h, gal/util/e-sorter.c, gal/util/e-sorter.h, gal/util/e-text-event-processor-emacs-like.c, gal/util/e-text-event-processor-emacs-like.h, gal/util/e-text-event-processor-types.h, gal/util/e-text-event-processor.c, gal/util/e-text-event-processor.h, gal/util/e-util.c, gal/util/e-util.h, gal/util/e-xml-utils.c, gal/util/e-xml-utils.h, gal/widgets/color-group.c, gal/widgets/color-group.h, gal/widgets/color-palette.c, gal/widgets/color-palette.h, gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h, gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas-vbox.h, gal/widgets/e-canvas.c, gal/widgets/e-canvas.h, gal/widgets/e-categories-master-list-array.c, gal/widgets/e-categories-master-list-array.h, gal/widgets/e-categories-master-list-combo.c, gal/widgets/e-categories-master-list-combo.h, gal/widgets/e-categories-master-list-dialog-model.c, gal/widgets/e-categories-master-list-dialog-model.h, gal/widgets/e-categories-master-list-dialog.c, gal/widgets/e-categories-master-list-dialog.h, gal/widgets/e-categories-master-list.c, gal/widgets/e-categories-master-list.h, gal/widgets/e-categories.c, gal/widgets/e-categories.h, gal/widgets/e-colors.c, gal/widgets/e-colors.h, gal/widgets/e-cursors.c, gal/widgets/e-cursors.h, gal/widgets/e-font.c, gal/widgets/e-font.h, gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h, gal/widgets/e-hscrollbar.c, gal/widgets/e-hscrollbar.h, gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h, gal/widgets/e-printable.c, gal/widgets/e-printable.h, gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h, gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h, gal/widgets/e-reflow.c, gal/widgets/e-reflow.h, gal/widgets/e-scroll-frame.c, gal/widgets/e-scroll-frame.h, gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-array.h, gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model-simple.h, gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h, gal/widgets/e-unicode.c, gal/widgets/e-unicode.h, gal/widgets/e-vscrollbar.c, gal/widgets/e-vscrollbar.h, gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-box.h, gal/widgets/gtk-combo-stack.c, gal/widgets/gtk-combo-stack.h, gal/widgets/gtk-combo-text.c, gal/widgets/gtk-combo-text.h, gal/widgets/test-color.c, gal/widgets/test-e-font.c, gal/widgets/test-e-font.h, gal/widgets/test-font-loading.c, gal/widgets/widget-color-combo.c, gal/widgets/widget-color-combo.h, gal/widgets/widget-pixmap-combo.c, gal/widgets/widget-pixmap-combo.h, src/e-table/e-table-sorted-variable.c, tests/test-define-views.c, tests/test-shortcut-bar.c, tests/test-table-1.c, tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c, tests/test-unicode.c: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14158
* add archived records with pilot id of 0 (map_write_foreach): use the uidJP Rosevear2001-10-272-21/+59
| | | | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (map_sax_start_element): add archived records with pilot id of 0 (map_write_foreach): use the uid map for writing (e_pilot_map_write): write using the uid map svn path=/trunk/; revision=14147
* free up old memory first (e_pilot_map_destroy): free allocated memory whenJP Rosevear2001-10-262-8/+29
| | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (e_pilot_map_insert): free up old memory first (e_pilot_map_destroy): free allocated memory when destroying svn path=/trunk/; revision=14143
* Fixed warnings here.Christopher James Lahey2001-10-261-1/+1
| | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/util/e-iconv.c (e_iconv), gal/widgets/e-font.c (e_font_to_native), gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized, e_utf8_to_iconv_string_sized, e_utf8_from_gtk_string_sized, e_utf8_to_gtk_string_sized): Fixed warnings here. svn path=/trunk/; revision=14132
* Bumped version to 0.15.99.4 for e-iconv changes.52001-10-262-0/+6
| | | | | | | | | | | | | | | | | | | 2001-10-25 <NotZed@Ximian.com> * configure.in: Bumped version to 0.15.99.4 for e-iconv changes. * gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized): " (e_utf8_to_iconv_string_sized): " (e_utf8_from_gtk_string_sized): " (e_utf8_to_gtk_string_sized): " * gal/widgets/e-font.c (e_font_to_native): s/iconv/e_iconv/ * gal/util/e-iconv.c (e_iconv): Implement a wrapper for iconv() to make sure we link with and execute the right iconv to match the right iconv_open. (BLAH!) svn path=/trunk/; revision=14111
* plug leakJP Rosevear2001-10-242-1/+6
| | | | | | | | 2001-10-22 JP Rosevear <jpr@ximian.com> * e-pilot-map.c (map_set_node_timet): plug leak svn path=/trunk/; revision=13945
* Change " " to "&nbsp;" at start of line.Dan Winship2001-10-232-1/+7
| | | | | | | * e-html-utils.c (e_text_to_html_full): Change " " to "&nbsp;" at start of line. svn path=/trunk/; revision=13940
* Make C-w not do anything here. (e_text_event_processor_emacs_like_event):Christopher James Lahey2001-10-231-5/+5
| | | | | | | | | | | 2001-10-22 Christopher James Lahey <clahey@ximian.com> * gal/util/e-text-event-processor-emacs-like.c (control_keys): Make C-w not do anything here. (e_text_event_processor_emacs_like_event): Make C-A-* not do anything here. svn path=/trunk/; revision=13889
* Pass a CORBA_Environment to bonobo_config_get_string so it doesn't g_warnDan Winship2001-10-233-63/+81
| | | | | | | | | | | | | | | * e-passwords.c (e_passwords_get_password): Pass a CORBA_Environment to bonobo_config_get_string so it doesn't g_warn on error. (Since the "error" is most likely just that the password isn't cached.) (e_passwords_remember_password, e_passwords_get_password, e_passwords_add_password): Change "if (foo) { entire function; }" to "if (!foo) return;" * e-html-utils.c (special_chars): Don't allow single quote or backtick in email addresses, or pipes following URLs. svn path=/trunk/; revision=13887
* null out DBT memory prior to usage (from Edd Dumbill <edd@usefulinc.com>)JP Rosevear2001-10-222-0/+7
| | | | | | | | | 2001-10-22 JP Rosevear <jpr@ximian.com> * e-dbhash.c (e_dbhash_foreach_key): null out DBT memory prior to usage (from Edd Dumbill <edd@usefulinc.com>) svn path=/trunk/; revision=13869
* Bumped the version number to 0.15.99.1.Christopher James Lahey2001-10-192-1/+33
| | | | | | | | | | | | 2001-10-18 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.15.99.1. * gal/util/e-util.c, gal/util/e-util.h (e_write_file_mkstemp): New function to create a unique file. (e_write_file): Check the return value of close here. svn path=/trunk/; revision=13772
* Fix the WM problems related to the folder selection dialog beingEttore Perazzoli2001-10-193-2/+28
| | | | | | | out-of-proc. Now it can be set to be a transient window correctly, and fakes its WindowGroup hint appropriately. svn path=/trunk/; revision=13765
* Want to check nn not in for end of list condition.62001-10-171-1/+1
| | | | | | | | | 2001-10-16 <NotZed@Ximian.com> * gal/util/e-iconv.c (flush_entry): Want to check nn not in for end of list condition. svn path=/trunk/; revision=13699
* work around broken behavior in some iconv implementions that require theLarry Ewing2001-10-141-1/+6
| | | | | | | | | | 2001-10-13 Larry Ewing <lewing@ximian.com> * gal/util/e-iconv.c (e_iconv_open): work around broken behavior in some iconv implementions that require the length arguments to be valid pointers event if both buffers are NULL. svn path=/trunk/; revision=13665
* Added special case for iso-10646-1 -> ucs-2be encoding since its notNot Zed2001-10-141-0/+10
| | | | | | | | | 2001-10-14 Not Zed <NotZed@Ximian.com> * gal/util/e-iconv.c: Added special case for iso-10646-1 -> ucs-2be encoding since its not always available. svn path=/trunk/; revision=13663
* (flush_entry): free the conv string and make sure we remove all the theLarry Ewing2001-10-131-1/+2
| | | | | | | | | 2001-10-12 Larry Ewing <lewing@ximian.com> (flush_entry): free the conv string and make sure we remove all the the items not all but the last one. svn path=/trunk/; revision=13652
* fix the test for "cp".Larry Ewing2001-10-131-2/+4
| | | | | | | | | 2001-10-12 Larry Ewing <lewing@ximian.com> * gal/util/e-iconv.c (e_iconv_charset_name): fix the test for "cp". svn path=/trunk/; revision=13651
* Fix for Debian systems which apparently can use a ';' as a codesetJeffrey Stedfast2001-10-131-11/+13
| | | | | | | | | | 2001-10-12 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-iconv.c (e_iconv_init): Fix for Debian systems which apparently can use a ';' as a codeset terminator? Cleaned up the code in the process, the parser is a little nicer now. svn path=/trunk/; revision=13650
* (e_iconv_charset_name): fix microsoft fix.Larry Ewing2001-10-131-2/+7
| | | | | | | | 2001-10-12 Larry Ewing <lewing@ximian.com> (e_iconv_charset_name): fix microsoft fix. svn path=/trunk/; revision=13649
* tweak the conversion routine slightly for microsoft charsets.Larry Ewing2001-10-131-2/+4
| | | | | | | | | 2001-10-12 Larry Ewing <lewing@ximian.com> * gal/util/e-iconv.c (e_iconv_charset_name): tweak the conversion routine slightly for microsoft charsets. svn path=/trunk/; revision=13648
* Fix case of some entries to work with solaris, incl adding UTF-8.22001-10-131-19/+23
| | | | | | | | | | | | | | 2001-10-12 <NotZed@Ximian.com> * gal/util/e-iconv.c: Fix case of some entries to work with solaris, incl adding UTF-8. (e_iconv_init): Dont down-case the name, only the key. (e_iconv_charset_name): Use capitals for ISO and CP for Solaris's iconv to work. (e_iconv_open): If we can't convert, say we're not busy, so it gets re-used next open, spit out a warning. svn path=/trunk/; revision=13638
* new parameter to e_passwords_init, and add prototype forChris Toshok2001-10-133-5/+61
| | | | | | | | | | | | | | | | | | | | 2001-10-12 Chris Toshok <toshok@ximian.com> * e-passwords.h: new parameter to e_passwords_init, and add prototype for e_passwords_clear_component_passwords. * e-passwords.c (e_passwords_init): copy off the component name. (e_passwords_shutdown): free/NULL the component name. (e_passwords_clear_component_passwords): new function. remove the subtree rooted at /Passwords/<ComponentName>. (e_passwords_remember_password): use component_name when building up the path. (e_passwords_get_password): same. (e_passwords_add_password): remove/free the currently stored session password for this key if there is one, before adding the new one. svn path=/trunk/; revision=13637
* Changed the crash fix to just return -1.Christopher James Lahey2001-10-131-4/+4
| | | | | | | | | 2001-10-12 Christopher James Lahey <clahey@ximian.com> * gal/util/e-iconv.c (e_iconv_open): Changed the crash fix to just return -1. svn path=/trunk/; revision=13629
* Fixed a crash here for NULL ofrom.Christopher James Lahey2001-10-121-0/+4
| | | | | | | | | 2001-10-12 Christopher James Lahey <clahey@ximian.com> * gal/util/e-iconv.c (e_iconv_open): Fixed a crash here for NULL ofrom. svn path=/trunk/; revision=13622
* change prototype for e_passwords_get_password.Chris Toshok2001-10-123-3/+12
| | | | | | | | | | | | 2001-10-11 Chris Toshok <toshok@ximian.com> * e-passwords.h: change prototype for e_passwords_get_password. * e-passwords.c (e_passwords_get_password): remove 'const' from return type - the return type is now allocated and must be freed by the caller. svn path=/trunk/; revision=13608
* Left in some test code, shit.Michael Zucci2001-10-121-2/+0
| | | | svn path=/trunk/; revision=13606
* missed locale.h for some system that requires it.Michael Zucci2001-10-121-0/+2
| | | | svn path=/trunk/; revision=13605
* bumped revision to .112001-10-122-0/+458
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-11 <NotZed@Ximian.com> * configure.in: bumped revision to .1 * gal/widgets/test-font-loading.c (print_gdk_font_name): Close iconv when done. * gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Close iconv when dont with it. (e_utf8_from_charset_string_sized): Changed for e_iconv api changes. (e_utf8_to_charset_string_sized): " (e_utf8_from_gtk_string_sized): Close iconv when done with it. (e_utf8_from_locale_string_sized): " (e_utf8_to_locale_string_sized): " * gal/widgets/e-font.c (e_locale_encoding): Removed. (e_iconv_from_charset): Removed. (e_iconv_to_charset): Removed. (e_iconv_from_locale): Removed. (e_iconv_to_locale): Removed. (e_iconv_from_gdk_font): Changd to use new e-iconv apis. (e_iconv_to_gdk_font): " (e_font_unref): Close iconv's when done with them. (translate_encoding): Removed. (get_locale_charset): Removed. (e_gdk_font_encoding): Fix for api changes. * gal/util/e-iconv.c: New stuff to commonify/fix up some problems with the iconv cache/conversion stuff inside e-font. svn path=/trunk/; revision=13601
* open the bonobo config db for our passwords. (e_passwords_shutdown): syncChris Toshok2001-10-122-51/+116
| | | | | | | | | | | | | | | | | | | | 2001-10-11 Chris Toshok <toshok@ximian.com> * e-passwords.c (e_passwords_init): open the bonobo config db for our passwords. (e_passwords_shutdown): sync and unref the bonobo db, and clear out the per session hash. (e_passwords_forget_passwords): remove the bonobo config db /Passwords path, and free up the session hash (but don't destroy it). (e_passwords_remember_password): remove the key/value from the session hash, after inserting it into the bonobo db. (e_passwords_get_password): look up a session password for the uri, and if it's not there, consult the bonobo db. (e_passwords_ask_password): quiet gcc's warnings, and only consult the toggle button state if we actaully created it. svn path=/trunk/; revision=13598
* Based on patches from Fredrik Nilsson <jymdman@home.se>.Christopher James Lahey2001-10-121-4/+2
| | | | | | | | | | | 2001-10-11 Christopher James Lahey <clahey@ximian.com> Based on patches from Fredrik Nilsson <jymdman@home.se>. * gal/util/e-util.c (e_format_number): Made this work properly for numbers with a full set of 0s for one of the grouping elements. svn path=/trunk/; revision=13586
* Use e_strdup_append_strings here instead of g_strdup_printf becauseChristopher James Lahey2001-10-122-0/+57
| | | | | | | | | | | | | | | | 2001-10-11 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-table-text-model.c (e_table_text_model_insert, e_table_text_model_insert_length, e_table_text_model_delete), gal/e-text/e-text-model.c (e_text_model_real_insert, e_text_model_real_insert_length): Use e_strdup_append_strings here instead of g_strdup_printf because printf("%.*s") is locale dependent on some systems. * gal/util/e-util.c (e_strdup_append_strings): New function to append a bunch of strings with optional lengths. svn path=/trunk/; revision=13581
* don't add the host if it's nullRodrigo Moya2001-10-102-2/+6
| | | | | | | | 2001-10-09 Rodrigo Moya <rodrigo@ximian.com> * e-url.c (e_uri_to_string): don't add the host if it's null svn path=/trunk/; revision=13526
* Made this refuse to parse more than 2047 characters of address.Christopher James Lahey2001-10-072-1/+6
| | | | | | | | | 2001-10-06 Christopher James Lahey <clahey@ximian.com> * ename/e-address-western.c (e_address_western_parse): Made this refuse to parse more than 2047 characters of address. svn path=/trunk/; revision=13484
* New function that parses a string as a double either in the C locale orChristopher James Lahey2001-10-063-130/+368
| | | | | | | | | | | | | | | | | 2001-10-06 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c, gal/util/e-util.h (e_flexible_strtod): New function that parses a string as a double either in the C locale or the current locale. (e_ascii_dtostr): New function that saves a double as a string as it would be saved in the C locale. * gal/util/e-xml-utils.c (e_xml_get_double_prop_by_name_with_default): Use e_flexible_strtod here. (e_xml_set_double_prop_by_name): Use e_ascii_dtostr here. svn path=/trunk/; revision=13479
* *.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