aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* free word before breaking out of the loop.Larry Ewing2003-06-151-0/+5
| | | | | | | | | 2003-06-14 Larry Ewing <lewing@ximian.com> * e-name-western.c (e_name_western_get_suffix_at_str_end): free word before breaking out of the loop. svn path=/trunk/; revision=21446
* use GCONF_CLIENT_PRELOAD_RECURSIVE when adding watched directories toRodrigo Moya2003-06-131-0/+5
| | | | | | | | | 2003-06-12 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c (add_key): use GCONF_CLIENT_PRELOAD_RECURSIVE when adding watched directories to avoid GConfd round-trips. svn path=/trunk/; revision=21431
* Free the fail_states array.Jeffrey Stedfast2003-06-131-0/+4
| | | | | | | | 2003-06-12 Jeffrey Stedfast <fejj@ximian.com> * e-trie.c (e_trie_free): Free the fail_states array. svn path=/trunk/; revision=21429
* Stat the file to make sure it exists before trying to parse it usingJeffrey Stedfast2003-06-111-3/+3
| | | | | | | | | 2003-05-30 Jeffrey Stedfast <fejj@ximian.com> * e-meta.c (meta_load): Stat the file to make sure it exists before trying to parse it using xmlParseFile(). svn path=/trunk/; revision=21394
* Roll over ChangeLogs.Ettore Perazzoli2003-06-101-2649/+0
| | | | svn path=/trunk/; revision=21387
* use ORBit_small_listen/_unlisten instead of Bonobo_Unknown_ping'ing theRodrigo Moya2003-06-041-0/+5
| | | | | | | | | 2003-06-04 Rodrigo Moya <rodrigo@ximian.com> * e-component-listener.[ch]: use ORBit_small_listen/_unlisten instead of Bonobo_Unknown_ping'ing the components. svn path=/trunk/; revision=21382
* Fixes #43775JP Rosevear2003-05-311-0/+8
| | | | | | | | | | | | | 2003-05-29 JP Rosevear <jpr@ximian.com> Fixes #43775 * e-time-utils.c (locale_supports_12_hour_format): use e_utf8_strftime (e_time_format_date_and_time): ditto (e_time_format_time): ditto svn path=/trunk/; revision=21354
* Removing trailing / in key name passed to gconf_client_notify_add to killDan Winship2003-05-171-0/+5
| | | | | | | * e-proxy.c (e_proxy_init): Removing trailing / in key name passed to gconf_client_notify_add to kill a warning. (Part of #43159) svn path=/trunk/; revision=21223
* Use glib macros for pointer/int conversion.Jeremy Katz2003-05-171-0/+5
| | | | | | | | | 2003-05-16 Jeremy Katz <katzj@redhat.com> * e-sexp.c (term_eval_and): Use glib macros for pointer/int conversion. svn path=/trunk/; revision=21221
* Fixes crash in #42212Rodrigo Moya2003-05-081-0/+6
| | | | | | | | | | 2003-05-07 Rodrigo Moya <rodrigo@ximian.com> Fixes crash in #42212 * e-url.c (e_uri_new): check for 'uri_string' being NULL. svn path=/trunk/; revision=21130
* remove the assert, if we dont understand the response, assume it's aNot Zed2003-05-051-0/+6
| | | | | | | | | | 2003-05-02 Not Zed <NotZed@Ximian.com> * e-request.c (e_request_string): remove the assert, if we dont understand the response, assume it's a cancel. GTK_RESPONSE_DELETE_EVENT wasn't handled [#42038]. svn path=/trunk/; revision=21100
* (e_request_string): Handle GTK_RESPONSE_NONE.Ettore Perazzoli2003-05-011-0/+5
| | | | | | [#42038] svn path=/trunk/; revision=21034
* [ for bug #41211 ]Chris Toshok2003-04-301-0/+9
| | | | | | | | | | | | | 2003-04-24 Chris Toshok <toshok@ximian.com> [ for bug #41211 ] * e-gui-utils.h (e_button_new_with_stock_icon): add prototype. * e-gui-utils.c (e_button_new_with_stock_icon): new function, allow us to create a custom labeled button with a stock icon. svn path=/trunk/; revision=21022
* Added #include <netinet/in.h> for the sockaddr_in6 typedef for at leastJeffrey Stedfast2003-04-291-0/+5
| | | | | | | | | 2003-04-28 Jeffrey Stedfast <fejj@ximian.com> * e-host-utils.c: Added #include <netinet/in.h> for the sockaddr_in6 typedef for at least MacOS X. svn path=/trunk/; revision=20998
* Keep our buf ptr aligned to sizeof (char *). Should fix bug #41362.Jeffrey Stedfast2003-04-251-0/+6
| | | | | | | | | | 2003-04-17 Jeffrey Stedfast <fejj@ximian.com> * e-host-utils.c (e_gethostbyname_r): Keep our buf ptr aligned to sizeof (char *). Should fix bug #41362. (e_gethostbyaddr_r): Same. svn path=/trunk/; revision=20956
* Added appropriate spacing/padding to the rename dialogs. Fixes bugsAnna Marie Dirks2003-04-231-0/+5
| | | | | | | | | 2003-04-18 Anna Marie Dirks <anna@ximian.com> * e-request.c (e_request_string): Added appropriate spacing/padding to the rename dialogs. Fixes bugs #41040, #41036, #41038 svn path=/trunk/; revision=20916
* (e_gtk_button_new_with_icon): Remove debuggingEttore Perazzoli2003-04-191-0/+5
| | | | | | message. svn path=/trunk/; revision=20886
* Finished an #if 0'd out port to GObject from an #if 0'd out GtkObjectJeffrey Stedfast2003-04-171-0/+5
| | | | | | | | | 2003-04-14 Jeffrey Stedfast <fejj@ximian.com> * e-sexp.c: Finished an #if 0'd out port to GObject from an #if 0'd out GtkObject subclassing. svn path=/trunk/; revision=20864
* Make sure any old symbol with the same name as the one being added, isHans Petter Jansson2003-04-161-0/+6
| | | | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * e-sexp.c (e_sexp_add_function) (e_sexp_add_ifunction): Make sure any old symbol with the same name as the one being added, is removed first. svn path=/trunk/; revision=20852
* Utility function to create a button with a stock icon.Not Zed2003-04-151-0/+5
| | | | | | | | | 2003-04-14 Not Zed <NotZed@Ximian.com> * e-gtk-utils.c (e_gtk_button_new_with_icon): Utility function to create a button with a stock icon. svn path=/trunk/; revision=20843
* Change the 'len' argument to 'addrlen' so that when IPv6 is enabled, ourJeffrey Stedfast2003-04-101-0/+6
| | | | | | | | | | 2003-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-host-utils.c (e_gethostbyaddr_r): Change the 'len' argument to 'addrlen' so that when IPv6 is enabled, our temp vriable (also named len) does not cause confusion. Fixes bug #40979. svn path=/trunk/; revision=20791
* (e_passwords_remember_password): Removed debuggingEttore Perazzoli2003-04-061-0/+6
| | | | | | | message that would spit out the actual password, albeit in encoded form. svn path=/trunk/; revision=20682
* Don't start emitting ACCOUNT_ADDED signals until we've added all of theDan Winship2003-04-051-0/+8
| | | | | | | | | | * e-account-list.c (gconf_accounts_changed): Don't start emitting ACCOUNT_ADDED signals until we've added all of the new accounts to our list. Otherwise if the signal handler calls e_account_list_get_default_account() it will end up causing the first account in the list to become the default. #40675 svn path=/trunk/; revision=20680
* fix abr. (e_name_western_get_suffix_at_str_end): same.Chris Toshok2003-04-051-0/+5
| | | | | | | | | 2003-04-04 Chris Toshok <toshok@ximian.com> * ename/e-name-western.c (e_name_western_extract_middle): fix abr. (e_name_western_get_suffix_at_str_end): same. svn path=/trunk/; revision=20676
* Delete all Passwords-* sections. Should make this work.Not Zed2003-04-021-0/+5
| | | | | | | | | 2003-04-02 Not Zed <NotZed@Ximian.com> * e-passwords.c (e_passwords_forget_passwords): Delete all Passwords-* sections. Should make this work. svn path=/trunk/; revision=20631
* print "" if the value is NULL. (main): add a couple of utf8 test casesChris Toshok2003-03-311-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-31 Chris Toshok <toshok@ximian.com> * ename/test-ename-western.c (do_name): print "" if the value is NULL. (main): add a couple of utf8 test cases (that still use western orderings). * ename/e-name-western.c (e_name_western_str_count_words): utf8-ize this. (e_name_western_cleanup_string): same. (e_name_western_get_words_at_idx): same. (e_name_western_get_one_prefix_at_str): same. (e_name_western_get_prefix_at_str): same. (e_name_western_extract_first): same. (e_name_western_extract_middle): same. (e_name_western_extract_nickname): same. (e_name_western_extract_last): same. (e_name_western_get_preceding_word): same. (e_name_western_get_suffix_at_str_end): same. (e_name_western_detect_backwards): same. (e_name_western_reorder_asshole): same. (FINISH_CHECK_MIDDLE_NAME_FOR_CONJUNCTION): same. (e_name_western_fixup): same. (e_name_western_parse): validate the string and truncate it if need be. svn path=/trunk/; revision=20594
* guard against NULL keysJP Rosevear2003-03-281-0/+4
| | | | | | | | 2003-03-27 JP Rosevear <jpr@ximian.com> * e-account-list.c (e_account_list_find): guard against NULL keys svn path=/trunk/; revision=20554
* (e_dialog_set_transient_for_xid): #ifdef out gtk 2.2 api usageDan Winship2003-03-261-0/+1
| | | | svn path=/trunk/; revision=20505
* Move this here from gal. Use e_dialog_set_transient_for so it DTRT forDan Winship2003-03-251-0/+11
| | | | | | | | | | | | | * e-dialog-utils.c (e_notice): Move this here from gal. Use e_dialog_set_transient_for so it DTRT for out-of-proc components. (e_notice_with_xid): Like e_notice but with an X Window ID as the parent window (e_gnome_dialog_set_parent): Remove this, since it was marked deprecated and only used in one place. (e_file_dialog_save): Make this use GtkMessageDialog instead of GnomeDialog svn path=/trunk/; revision=20498
* fix a typo & some missing headers.Not Zed2003-03-251-0/+4
| | | | | | | | 2003-03-25 Not Zed <NotZed@Ximian.com> * e-meta.c (meta_filename): fix a typo & some missing headers. svn path=/trunk/; revision=20490
* Rename, rewrite, make them actually work.Dan Winship2003-03-251-0/+6
| | | | | | | | * e-dialog-utils.c (e_dialog_set_transient_for, e_dialog_set_transient_for_xid): Rename, rewrite, make them actually work. svn path=/trunk/; revision=20482
* Added e-meta.[ch] to libeutilNot Zed2003-03-241-0/+7
| | | | | | | | | | | 2003-03-25 Not Zed <NotZed@Ximian.com> * Makefile.am: Added e-meta.[ch] to libeutil * e-meta.[ch]: simple api to implement meta-data for keyed objects. svn path=/trunk/; revision=20477
* If the gunichar is 0xfffe, just skip processing it. Maybe this will fixJeffrey Stedfast2003-03-211-0/+1
| | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * e-trie.c (e_trie_search): If the gunichar is 0xfffe, just skip processing it. Maybe this will fix bug #39900. (trie_utf8_getc): Removed unused labels to shutup the compiler. svn path=/trunk/; revision=20448
* If the gunichar is 0xfffe, just skip processing it. Maybe this will fixJeffrey Stedfast2003-03-211-0/+5
| | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * e-trie.c (e_trie_search): If the gunichar is 0xfffe, just skip processing it. Maybe this will fix bug #39900. svn path=/trunk/; revision=20436
* Fix ESExpClass to never be an empty struct. Also make ESExp optionally aJeffrey Stedfast2003-03-201-0/+11
| | | | | | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-sexp.h: Fix ESExpClass to never be an empty struct. Also make ESExp optionally a subclass of GObject rather than GtkObject (not that we'll probably ever make it so, but for completeness sake?). 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * e-trie.c (trie_utf8_getc): Don't use __inline__ as it is not always defined. svn path=/trunk/; revision=20360
* When declaring a line to be part of "extended" because we don't know whatDan Winship2003-03-171-0/+8
| | | | | | | | | | * ename/e-address-western.c (e_address_western_parse): When declaring a line to be part of "extended" because we don't know what else to call it, keep the preceding "\n" so that the address still looks the same when we reassemble the pieces later. Fixes handling of non-US addresses svn path=/trunk/; revision=20306
* Update for a libxml2 change that was making this code g_warn a lotDan Winship2003-03-131-0/+5
| | | | | | | * e-xml-hash-utils.c (e_xml_to_hash): Update for a libxml2 change that was making this code g_warn a lot svn path=/trunk/; revision=20264
* (e_request_string): Make the entry activate theEttore Perazzoli2003-03-071-0/+5
| | | | | | default response in the dialog. svn path=/trunk/; revision=20207
* Use gnome2 proxy settingsRodney Dawes2003-03-041-0/+4
| | | | | | | | 2003-03-03 Rodney Dawes <dobey@ximian.com> * e-proxy.c: Use gnome2 proxy settings svn path=/trunk/; revision=20124
* s/gnome-xml/libxml/Rodney Dawes2003-03-031-0/+4
| | | | | | | | 2003-03-02 Rodney Dawes <dobey@ximian.com> * e-pilot-util.c: s/gnome-xml/libxml/ svn path=/trunk/; revision=20119
* include gnome-pilot cflagsJP Rosevear2003-02-281-0/+4
| | | | | | | | 2003-02-27 JP Rosevear <jpr@ximian.com> * Makefile.am: include gnome-pilot cflags svn path=/trunk/; revision=20092
* 'uid' should not be const.Jeffrey Stedfast2003-02-241-0/+5
| | | | | | | | | 2003-02-23 Jeffrey Stedfast <fejj@ximian.com> * e-account-list.c (gconf_accounts_changed): 'uid' should not be const. svn path=/trunk/; revision=20025
* helper to get the dfault account. (e_account_list_set_default): helper toNot Zed2003-02-241-0/+11
| | | | | | | | | | | | | | | 2003-02-20 Not Zed <NotZed@Ximian.com> * e-account-list.c (e_account_list_get_default): helper to get the dfault account. (e_account_list_set_default): helper to set the default account. (e_account_list_find): Helper to find accounts based on differnet key types. (e_account_list_add): helper to add account + emit added event. (e_account_list_change): helper to emit changed event. (e_account_list_remove): herlper to remove account + emit changed event. svn path=/trunk/; revision=20015
* A result of 0 no longer indicates success; GTK_RESPONSE_OK does.Hans Petter Jansson2003-02-231-0/+5
| | | | | | | | | 2003-02-22 Hans Petter Jansson <hpj@ximian.com> * e-categories-config.c (e_categories_config_open_dialog_for_entry): A result of 0 no longer indicates success; GTK_RESPONSE_OK does. svn path=/trunk/; revision=19998
* fix memleak - free uid.Chris Toshok2003-02-201-0/+5
| | | | | | | | | 2003-02-17 Chris Toshok <toshok@ximian.com> * e-account-list.c (gconf_accounts_changed): fix memleak - free uid. svn path=/trunk/; revision=19958
* Instead of simply ignoring bad chars, return the sentinal invalid charNot Zed2003-02-111-0/+6
| | | | | | | | | | 2003-02-11 Not Zed <NotZed@Ximian.com> * e-trie.c (trie_utf8_getc): Instead of simply ignoring bad chars, return the sentinal invalid char 0xfffe, so that we properly track the start of sequences. svn path=/trunk/; revision=19881
* (libeutil_static_la_DEPENDENCIES): MakeEttore Perazzoli2003-02-111-0/+9
| | | | | | | | | | libeutil-static.la depend on libeutil.la so that parallel compilations work; building them at the same time confuses libtool. (e-util-marshal.h, e-util-marshal.c): Use different tmp files so these rules can happen in parallel. svn path=/trunk/; revision=19871
* define in terms of privincludedir.Dan Winship2003-02-061-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (eutilincludedir, etc): define in terms of privincludedir. * ename/Makefile.am (libenameincludedir): Likewise * e-account.c: Fix warnings * e-account-list.c: Likewise * e-config-listener.c: Likewise * e-gui-utils.c: Likewise. * e-lang-utils.c: Likewise * e-msgport.c: Likewise * e-passwords.c: Likewise * e-categories-config.c (e_categories_config_open_dialog_for_entry): Use g_object_get/_set rather than gtk_ * e-url.c (e_uri_new): Use g_ascii_strdown instead of deprecated g_strdown. svn path=/trunk/; revision=19771
* Port to GtkDialog. Strdup the text returned by GtkEntry after destroyingEttore Perazzoli2003-01-281-0/+13
| | | | | | | | | | | | | | | * e-request.c (e_request_string): Port to GtkDialog. Strdup the text returned by GtkEntry after destroying the dialog, not before. Use gtk_editable_select_region() instead of gtk_entry_select_region(). Add a little bit of padding to make it look less crampy and set a default width. * e-dialog-utils.h (e_gnome_dialog_set_parent): Declare only if GNOME_DISABLE_DEPRECATED is not #defined. (e_gnome_warning_dialog_parented): Likewise. (e_gnome_ok_cancel_dialog_parented): Likewise. svn path=/trunk/; revision=19657
* ref/sink the pilot settings to clear up that gtk warning.Chris Toshok2003-01-271-0/+5
| | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * e-pilot-settings.c (e_pilot_settings_new): ref/sink the pilot settings to clear up that gtk warning. svn path=/trunk/; revision=19644
* g_file_exists -> g_file_test. (e_pilot_map_write): don't use doc->root.Chris Toshok2003-01-261-0/+5
| | | | | | | | | 2003-01-25 Chris Toshok <toshok@ximian.com> * e-pilot-map.c (e_pilot_map_read): g_file_exists -> g_file_test. (e_pilot_map_write): don't use doc->root. svn path=/trunk/; revision=19631
* GObjectify this.Chris Toshok2003-01-261-0/+4
| | | | | | | | 2003-01-25 Chris Toshok <toshok@ximian.com> * e-pilot-settings.[ch]: GObjectify this. svn path=/trunk/; revision=19629
* Enable getting the categories master list from wombat.Hans Petter Jansson2003-01-251-0/+6
| | | | | | | | | | 2003-01-24 Hans Petter Jansson <hpj@ximian.com> * e-categories-config.c (initialize_categories_config): Enable getting the categories master list from wombat. (e_categories_config_open_dialog_for_entry): It's now a GtkDialog. svn path=/trunk/; revision=19625
* Version using $(BASE_VERSION). (econdincludedir): Likewise.Ettore Perazzoli2003-01-231-0/+10
| | | | | | | | | | | | * Makefile.am (eutilincludedir): Version using $(BASE_VERSION). (econdincludedir): Likewise. (edb3includedir): Likewise. (imagesdir): Likewise. * ename/Makefile.am: Install libename in $(privlibdir) and $(includedir)/evolution-$(BASE_VERSION)/ename. svn path=/trunk/; revision=19558
* Changed signal names to use - instead of _ like the rest of Gtk2.Jeffrey Stedfast2003-01-181-0/+8
| | | | | | | | | | | | 2003-01-17 Jeffrey Stedfast <fejj@ximian.com> * e-account-list.c: Changed signal names to use - instead of _ like the rest of Gtk2. * e-account.c (e_account_import): New function that is basically the old account_copy(). svn path=/trunk/; revision=19508
* New, sort of from evolution-recurid-branch.Dan Winship2003-01-181-0/+4
| | | | | | * e-xml-hash-utils.c: New, sort of from evolution-recurid-branch. svn path=/trunk/; revision=19503
* New class, based on MailConfigAccount, for describing an evolution (mail)Dan Winship2003-01-171-0/+10
| | | | | | | | | | | | * 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
* Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove theEttore Perazzoli2003-01-151-0/+6
| | | | | | | | | | | | | | * 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-151-0/+4
| | | | svn path=/trunk/; revision=19453
* change this to use GtkImage instead of GnomeCanvas.Chris Toshok2003-01-101-0/+5
| | | | | | | | | 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-091-0/+5
| | | | | | instead of $(datadir)/images/evolution. svn path=/trunk/; revision=19294
* New.Dan Winship2003-01-071-0/+7
| | | | | | | | | * 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-071-0/+8
| | | | | | | | | | * 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-031-0/+5
| | | | | | | | | 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-031-0/+6
| | | | | | | compile. (e_signal_connect_while_alive): Like. svn path=/trunk/; revision=19201
* (e_signal_connect_while_alive): New.Ettore Perazzoli2002-12-201-0/+6
| | | | | | | (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-171-1/+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-111-0/+4
| | | | | | | | 2002-12-10 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch] (e_config_listener_remove_dir): new function. svn path=/trunk/; revision=19086
* New implementation of an Aho-Corasick trie.Jeffrey Stedfast2002-12-101-0/+4
| | | | | | | | 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-101-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 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-091-0/+5
| | | | | | | | | 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-071-0/+6
| | | | | | | | | | 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
* If the language is something like "fr_FR", return both "fr_FR" and "fr" inDan Winship2002-11-271-0/+6
| | | | | | | | * 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-231-0/+12
| | | | | | | | | | | | | | | | 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
* (e_config_listener_get_string_with_default):Ettore Perazzoli2002-11-141-0/+6
| | | | | | | 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-131-0/+8
| | | | | | | | | | | | 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-121-0/+5
| | | | | | of a string value. svn path=/trunk/; revision=18708
* Re-add e-proxy.c to the build.Jeffrey Stedfast2002-11-111-0/+4
| | | | | | | | 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-091-0/+8
| | | | | | | | | | | | 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
* pass extra pixbuf paramJP Rosevear2002-11-081-0/+11
| | | | | | | | | | | | | | | 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-061-0/+9
| | | | | | | | | | | | | 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-051-0/+6
| | | | | | | | | | 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-041-0/+7
| | | | | | | | | | | 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-041-0/+9
| | | | | | | | | | | * 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-031-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 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-021-0/+33
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* ported to GConf and GObject.Rodrigo Moya2002-11-021-0/+4
| | | | | | | | 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-021-0/+5
| | | | | | | | | 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
* Fixes #32764Rodrigo Moya2002-10-251-0/+16
| | | | | | | | | | | | | | | | | | | | 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-251-0/+7
| | | | | | | | | * 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
* added a comment about the fix for #30918.Rodrigo Moya2002-09-261-0/+5
| | | | | | | | | 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-231-0/+7
| | | | | | | | | | | 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-231-0/+6
| | | | | | | | * 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
* [ Fixes #27546 ] add "di" to e_name_western_complex_last_table.Chris Toshok2002-09-121-0/+7
| | | | | | | | | | | 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-051-0/+8
| | | | | | | | | | | | 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-051-0/+7
| | | | | | | | | * 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-301-0/+5
| | | | | | | * 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-291-0/+3
| | | | | | | | | 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-291-0/+5
| | | | | | | | | 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-271-0/+8
| | | | | | | | | | | | 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-271-0/+6
| | | | | | | | | | 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-271-0/+5
| | | | | | | | | 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-261-0/+7
| | | | | | | | | | | 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-231-0/+7
| | | | | | | | | | | 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-231-0/+5
| | | | | | | * 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-221-0/+5
| | | | | | | | | 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-201-0/+7
| | | | | | | | | | | 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-161-0/+5
| | | | | | | | | 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
* Remove the logic that assumes "Rupert> " is a citation, since it misfiresDan Winship2002-08-051-0/+6
| | | | | | | | * 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-011-0/+9
| | | | | | | | | | | * 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-311-0/+7
| | | | | | | | | | | 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-251-0/+5
| | | | | | | | | 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-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-161-0/+6
| | | | | | | | | | | | 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-101-0/+4
| | | | | | * 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-031-0/+5
| | | | | | | | | 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-171-0/+6
| | | | | | | | | | 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-031-0/+5
| | | | | | | | | 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-071-0/+4
| | | | | | * 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-061-0/+8
| | | | | | | | | | | | 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
* Don't leak the base64 encoded password buffer.Jeffrey Stedfast2002-04-201-0/+5
| | | | | | | | | 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-171-0/+6
| | | | | | | | | | 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-121-0/+4
| | | | | | | | 2002-04-11 Jeffrey Stedfast <fejj@ximian.com> * e-sexp.c (parse_value): Handle parsing negative integers. svn path=/trunk/; revision=16441
* open a file selection dialog with the given title and return the selectedJP Rosevear2002-03-301-0/+10
| | | | | | | | | | | | | | 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
* New. New.Ettore Perazzoli2002-03-231-0/+5
| | | | | | | * 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-221-0/+6
| | | | | | | | * 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
* #include <string.h> for strcmp.Jeffrey Stedfast2002-03-051-0/+4
| | | | | | | | 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-231-0/+5
| | | | | | | * 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
* add row and column definesJP Rosevear2002-02-091-0/+4
| | | | | | | | 2002-02-09 JP Rosevear <jpr@ximian.com> * e-pilot-settings.h: add row and column defines svn path=/trunk/; revision=15634
* Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-281-0/+6
| | | | svn path=/trunk/; revision=15486
* compile new filesJP Rosevear2002-01-151-0/+7
| | | | | | | | | | | 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-111-0/+5
| | | | | | | | | 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-051-0/+6
| | | | | | | | | | 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-031-0/+4
| | | | | | | | 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-031-0/+6
| | | | | | | | | | 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-031-0/+10
| | | | | | | | | | | | | | | | | | | 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-191-0/+6
| | | | | | | | | | 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
* use UTF-8 as the char set when testing pilot linkJP Rosevear2001-12-121-0/+7
| | | | | | | | | | | | | | | 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-201-0/+5
| | | | | | | * 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-141-0/+6
| | | | | | | | * 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-141-0/+9
| | | | | | | | | | | | | 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-141-0/+4
| | | | | | | | 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-301-0/+6
| | | | | | | | | | 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
* Remove a g_warning.Ettore Perazzoli2001-10-301-0/+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-301-0/+7
| | | | | | | | | | | 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-291-0/+4
| | | | | | | | 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-291-0/+5
| | | | | | | | | 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-291-0/+6
| | | | | | | | | | 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
* update protoJP Rosevear2001-10-271-0/+8
| | | | | | | | | | | | 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-271-0/+12
| | | | | | | | | | | | | | | | 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
* add archived records with pilot id of 0 (map_write_foreach): use the uidJP Rosevear2001-10-271-0/+7
| | | | | | | | | | | 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-261-0/+5
| | | | | | | | | 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
* plug leakJP Rosevear2001-10-241-1/+5
| | | | | | | | 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-231-0/+5
| | | | | | | * e-html-utils.c (e_text_to_html_full): Change " " to "&nbsp;" at start of line. svn path=/trunk/; revision=13940
* Pass a CORBA_Environment to bonobo_config_get_string so it doesn't g_warnDan Winship2001-10-231-0/+13
| | | | | | | | | | | | | | | * 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-221-0/+5
| | | | | | | | | 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
* Fix the WM problems related to the folder selection dialog beingEttore Perazzoli2001-10-191-0/+4
| | | | | | | 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
* new parameter to e_passwords_init, and add prototype forChris Toshok2001-10-131-0/+16
| | | | | | | | | | | | | | | | | | | | 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
* change prototype for e_passwords_get_password.Chris Toshok2001-10-121-0/+8
| | | | | | | | | | | | 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
* open the bonobo config db for our passwords. (e_passwords_shutdown): syncChris Toshok2001-10-121-0/+16
| | | | | | | | | | | | | | | | | | | | 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
* don't add the host if it's nullRodrigo Moya2001-10-101-0/+4
| | | | | | | | 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-071-0/+5
| | | | | | | | | 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
* Make this dup the strings it's passed. (*) Add lots of docs.Dan Winship2001-10-051-0/+6
| | | | | | | | * 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-041-0/+4
| | | | | | | | 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
* duplicate also the params memberRodrigo Moya2001-10-021-0/+4
| | | | | | | | 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-021-0/+4
| | | | | | | | 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-021-0/+7
| | | | | | | | | | | 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-021-0/+5
| | | | | | | * 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-301-0/+4
| | | | | | | | 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-301-0/+7
| | | | | | | | | | | 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-291-0/+8
| | | | | | | | | | | | 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-251-0/+5
| | | | | | | | | 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
* Instead of using pthread_cancel() which seems to have numerous12001-09-211-0/+7
| | | | | | | | | | | 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
* Use ->bin_window [instead of ->window] if the widget is a GtkLayout.Ettore Perazzoli2001-09-191-0/+5
| | | | | | | * 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-181-0/+11
| | | | | | | | | | | | | | | 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-181-0/+6
| | | | | | | | * 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-141-0/+5
| | | | | | | | | 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-091-0/+6
| | | | | | | | * 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-071-0/+5
| | | | | | | * 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-061-0/+6
| | | | | | | | * 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-011-0/+6
| | | | | | | | | | 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
* Dont call g_print with a NULL string. See bug #7396.Not Zed2001-08-281-0/+5
| | | | | | | | | 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-251-0/+4
| | | | svn path=/trunk/; revision=12468
* Added e-mktemp.[c,h] to the build.Jeffrey Stedfast2001-08-251-6/+15
| | | | | | | | | | | | | 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-251-0/+9
| | | | | | | | | | | * 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-251-0/+7
| | | | | | | | | 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-201-0/+5
| | | | | | | | | 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-101-0/+3
| | | | | | | | | 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-101-0/+5
| | | | | | | | | 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-091-0/+9
| | | | | | | | | | | | | 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
* New. New.Ettore Perazzoli2001-08-081-0/+5
| | | | | | | * 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-051-0/+7
| | | | | | | | | * 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-031-0/+9
| | | | | | | | | | | * 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-021-0/+8
| | | | | | | | | | | | 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-281-0/+5
| | | | | | | | | 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-201-0/+6
| | | | | | | | | | 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-201-0/+3
| | | | | | | | | 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-191-0/+4
| | | | | | | | 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-181-0/+12
| | | | | | | | | | | | | | | | 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-171-0/+13
| | | | | | | | | | | | 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-121-0/+7
| | | | | | | | | | | | 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-091-0/+4
| | | | | | | | 2001-07-05 Not Zed <NotZed@Ximian.com> * e-memory.c: Added some malloc check stuff. svn path=/trunk/; revision=10899
* load all icons and colors for each categoryRodrigo Moya2001-07-051-0/+6
| | | | | | | | | | | | | | | | 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-041-0/+6
| | | | | | | | | | 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
* Added e-categories-master-list-wombat.c andChristopher James Lahey2001-07-031-0/+11
| | | | | | | | | | | | | | | 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-031-0/+5
| | | | | | | | | 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-011-0/+5
| | | | svn path=/trunk/; revision=10650
* When ANDing two bools, don't use a bitwise AND.Jeffrey Stedfast2001-06-261-0/+5
| | | | | | | | | 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
* Split e-db3-utils and e-dbhash off into libedb3util so eutil won't dependDan Winship2001-06-191-0/+5
| | | | | | | * 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-151-0/+5
| | | | | | | | | 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-141-0/+7
| | | | | | | | | | | 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-111-0/+6
| | | | | | | | | | 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-011-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-281-0/+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-191-0/+11
| | | | | | | | | | 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-171-0/+6
| | | | | | | | * 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-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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-091-0/+6
| | | | | | | | * 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
* Debugging routine. (Only works for recursive mutexes right now.)Dan Winship2001-05-021-0/+3
| | | | | | | * 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-021-0/+6
| | | | | | | | * e-html-utils.c (e_text_to_html_full): Don't use g_utf8_next_char on text that isn't valid UTF8, since it won't work (and might even get into an infinite loop). svn path=/trunk/; revision=9637
* Make this smarter. Now e_text_to_html_full calls it when it sees a '@',Dan Winship2001-04-301-0/+9
| | | | | | | | | | | * e-html-utils.c (email_address_extract): Make this smarter. Now e_text_to_html_full calls it when it sees a '@', and email_address_extract deals with scanning both forward and backward to find the bounds of the email address. It's still fooled by Message-IDs, but there's not a whole lot we can do there... svn path=/trunk/; revision=9628
* Make the Solaris and no-gethostbyname_r implementations behave more likeDan Winship2001-04-271-0/+4
| | | | | | | | * e-host-utils.c (e_gethostbyname_r): Make the Solaris and no-gethostbyname_r implementations behave more like the Linux one. Document. svn path=/trunk/; revision=9594
* Remove UNICODE_CFLAGS (libeutil_la_LIBADD): Change UNICODE_LIBS toDan Winship2001-04-271-0/+5
| | | | | | | * Makefile.am (INCLUDES): Remove UNICODE_CFLAGS (libeutil_la_LIBADD): Change UNICODE_LIBS to GAL_LIBS svn path=/trunk/; revision=9587
* Modified to match e_strv_get behaviour. Assert on bad cases, and return ""Not Zed2001-04-261-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-26 Not Zed <NotZed@Ximian.com> * e-memory.c (e_poolv_get): Modified to match e_strv_get behaviour. Assert on bad cases, and return "" rather than NULL for empty/unset strings. (e_poolv_new): Simplify the mutex cases, only have a single mutex for mempool and hashtable references. (e_poolv_set): Simplify mutex code. Fixed a #ifdef orde prob in profile stuff. Always copy string to our own memory when we add it to the hash, even if we free it; I think this would have led to dangling references otherwise. (e_poolv_destroy): Renamed from poolv_free, for consistency with the rest of the allocators here. (e_poolv_set): Add optional refcounting code here, not currently enabled/used, but should make proper string collection work easily. (e_poolv_destroy): Unrefcount the strings here. (e_poolv_cpy): Add refcounting code here. * e-memory.[ch]: Applied Jacob's patches <jacob@ximian.com> for 'e-poolv' type, added his name to the authors list. svn path=/trunk/; revision=9570
* If the buffer is too small, making it twice as big does not guarantee itDan Winship2001-04-251-0/+7
| | | | | | | | | * e-html-utils.c (check_size): If the buffer is too small, making it twice as big does not guarantee it will be big enough. "Duh". Also, a bunch of the check_size calls don't seem to be taking trailing NULs into account, so add in a +1 here. svn path=/trunk/; revision=9549
* Added #include <glib.h> and move corresponding local headers to the top toKjartan Maraas2001-04-241-0/+6
| | | | | | | | | | 2001-04-24 Kjartan Maraas <kmaraas@gnome.org> * e-gui-utils.c, e-memory, e-msgport.c, e-pilot-map, e-sexp.c: Added #include <glib.h> and move corresponding local headers to the top to catch missing includes in them. Tip from clahey. svn path=/trunk/; revision=9537
* remove prototype for e_gethostbyname_init.Chris Toshok2001-04-241-0/+10
| | | | | | | | | | | | | | 2001-04-24 Chris Toshok <toshok@ximian.com> * e-host-utils.h: remove prototype for e_gethostbyname_init. * e-host-utils.c (e_gethostbyname_r): don't dynamically allocate anything - store everything in the buffer that's passed in. Also, stop using EMutex. Switch to a static GMutex (so we can initialize it without having e_gethostbyname_init). (e_gethostbyname_init): removed. svn path=/trunk/; revision=9535
* Removed attempts to use Radek's evil <DATA> hacks, which were just causingJon Trowbridge2001-04-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-23 Jon Trowbridge <trow@ximian.com> * e-html-utils.c (e_text_to_html_full): Removed attempts to use Radek's evil <DATA> hacks, which were just causing me (and GtkHTML) grief. 2001-04-23 Jon Trowbridge <trow@ximian.com> * gui/component/e-address-popup.c: Lots of code has been simplified here. (e_address_popup_factory_new_control): Rather than directly pop our control up in a window (via the e_address_popup_popup function, which is now gone), just return the widget and let the caller do the popping. This works better, since it means we don't have to work around the vagaries of bonobo focus & event handling. (e_address_popup_set_name): Refresh when both name & email have been set, rather than checking a stupid counter. (e_address_popup_set_email): Ditto. 2001-04-23 Jon Trowbridge <trow@ximian.com> * mail-display.c (html_button_press_event): Check for mailto: links, and pop up our mail address menu when we find one. (make_popup_window): The main piece of code (ignoring a zillion little callbacks) to pop up our windows with reasonable semantics for having them close automatically. (mail_text_write): Enable converting addresses to mailto links in message bodies. * mail-format.c (write_address): Simplify code, removing Radek's <DATA> hacks. Write out addresses as mailto: links. svn path=/trunk/; revision=9534
* Include glib.h, so that the g_warning in e_gethostbyname_r will be treatedJon Trowbridge2001-04-241-0/+6
| | | | | | | | | | 2001-04-23 Jon Trowbridge <trow@ximian.com> * e-host-utils.c: Include glib.h, so that the g_warning in e_gethostbyname_r will be treated as a macro and not as an unresolved symbol. svn path=/trunk/; revision=9528
* add e-host-utils.[ch]Chris Toshok2001-04-231-0/+8
| | | | | | | | | | | | 2001-04-22 Chris Toshok <toshok@ximian.com> * Makefile.am (libeutil_la_SOURCES): add e-host-utils.[ch] * e-host-utils.c: new file, with e_gethostbyname_r. * e-host-utils.h: new file. svn path=/trunk/; revision=9502
* ">From" is not a citation unless the previous or following line is aDan Winship2001-04-191-0/+7
| | | | | | | | | * e-html-utils.c (is_citation): ">From" is not a citation unless the previous or following line is a citation. (e_text_to_html_full): Update for is_citation change. Also, when marking citations, unmangle mbox From-mangling. svn path=/trunk/; revision=9458
* Start parsing the sexp with parse_value(), not parse_list(), because weFederico Mena Quintero2001-04-161-0/+6
| | | | | | | | | | 2001-04-15 Federico Mena Quintero <federico@ximian.com> * e-sexp.c (e_sexp_parse): Start parsing the sexp with parse_value(), not parse_list(), because we may have immediate values (e.g. "#f") as the whole sexp. svn path=/trunk/; revision=9332
* Setup up the conduit library building better so the files get distedJP Rosevear2001-04-081-0/+5
| | | | | | | | | 2001-04-08 JP Rosevear <jpr@ximian.com> * Makefile.am: Setup up the conduit library building better so the files get disted svn path=/trunk/; revision=9205
* Added a question mark to the set of valid characters for symbol names.Federico Mena Quintero2001-04-061-0/+7
| | | | | | | | | | | 2001-04-06 Federico Mena Quintero <federico@ximian.com> * e-sexp.c (scanner_config): Added a question mark to the set of valid characters for symbol names. (parse_value): Fixed parsing of boolean values. (parse_term_free): Added missing clause for ESEXP_TERM_BOOL. svn path=/trunk/; revision=9198
* Fix headers.Kjartan Maraas2001-04-051-0/+4
| | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * ename/test-ename-western-gtk.c: Fix headers. svn path=/trunk/; revision=9185
* Added ESEXP_RES_TIME for time values. (ESExpResult): Added a "time_tFederico Mena Quintero2001-04-041-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2001-04-03 Federico Mena Quintero <federico@ximian.com> * e-sexp.h (ESExpResultType): Added ESEXP_RES_TIME for time values. (ESExpResult): Added a "time_t value.time" field. (ESExpTermType): Added ESEXP_TERM_TIME. (ESExpTerm): Added a "time_t value.time" field. * e-sexp.c (e_sexp_result_free): Deal with time values. Also, be more paranoid; added a default clause with g_assert_not_reached(). (term_eval_lt): Deal with time values. (term_eval_gt): Likewise. (term_eval_eq): Likewise. (term_eval_plus): Likewise. (term_eval_sub): Likewise. (e_sexp_term_eval): Likewise. (eval_dump_result): Likewise. (parse_dump_term): Likewise. (parse_term_free): Likewise. svn path=/trunk/; revision=9130
* Blessed by Ettore.Gediminas Paulauskas2001-04-021-0/+8
| | | | | | | | | | | | | | Guided by Jacub Stener's mail, where he explaned which icons were renamed or added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash and Executive summary folder type icons. Fixed art/Makefile.am for these changes. Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made all components and dialogs use cache and not load pixmaps every time. Accidentally got a couple of includes fix in, but they won't break anything. svn path=/trunk/; revision=9092
* Check that first_colon < last_at, to prevent horrible things fromJon Trowbridge2001-03-311-0/+6
| | | | | | | | | | 2001-03-31 Jon Trowbridge <trow@ximian.com> * e-url.c (e_url_shroud): Check that first_colon < last_at, to prevent horrible things from happening. Removed spew. (e_url_equal): Removed spew. svn path=/trunk/; revision=9065
* Add support for converting e-mail addresses to links. (is_email_address):Jon Trowbridge2001-03-311-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-30 Jon Trowbridge <trow@ximian.com> * e-html-utils.c (e_text_to_html_full): Add support for converting e-mail addresses to links. (is_email_address): Added. Identifies e-mail addresses. (email_address_extract): Added. Extracts a copy of the e-mail address from the text. * e-html-utils.h (E_TEXT_TO_HTML_CONVERT_ADDRESSES): Added. * e-url.c (e_url_shroud): Added. Copy a url, replacing any plaintext passwords with a single *. (e_url_equal): Compare two urls, taking into account that they may or may not be shrouded. 2001-03-30 Jon Trowbridge <trow@ximian.com> * camel-mime-message.c (camel_mime_message_set_source): Shrould our source URL before putting it into X-Evolution-Source. 2001-03-30 Jon Trowbridge <trow@ximian.com> * mail-display.c (mail_text_write): Add (commented-out) E_TEXT_TO_HTML_CONVERT_ADDRESSES. * mail-config.c (mail_config_get_account_by_source_url): Call e_url_equal to compare URLs. svn path=/trunk/; revision=9050
* Remove #include <glib.h> Shuffle some headers. Remove #includeKjartan Maraas2001-03-301-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-corba-utils.h: Remove #include <glib.h> * e-dialog-widgets.c: Shuffle some headers. * e-dialog-widgets.h: Remove #include <libgnomeui/gnome-propertybox.h> * e-gtk-utils.c: #include <gtk/gtksignal.h> * e-gtk-utils.h: Replace #include <gtk/gtk.h> * e-gui-utils.c: Replace #include <gnome.h> * e-html-utils.c: Shuffle headers. * e-iterator.c: Replace #include <gtk/gtk.h> * e-iterator.h: Replace #include <gtk/gtk.h> * e-list-iterator.c: Remove #include <gtk/gtk.h> * e-list-iterator.h: Replace #include <gtk/gtk.h> * e-list.c: Remove #include <gtk/gtk.h> * e-list.h: Replace #include <gtk/gtk.h> * e-memory.c: #include <string.h> and <stdlib.h> * e-msgport.c: Move around some includes. s/%d/%ld/g in a printf() call to fix a warning. * e-pilot-map.c: #include <string.h>. Replace #include <gnome.h> * e-pilot-util.c: Remove #include <gnome.h> * e-sexp.c: Remove #include <glib.h> * e-sexp.h: Replace #include <gtk/gtk.h> * e-time-utils.c: #include <string.h> * md5-utils.c: Shuffle headers. * test-ename-western-gtk.c: Replace #include <gnome.h> * test-ename-western.c: Same here. svn path=/trunk/; revision=9016
* new function, extracted from e_text_to_html, added color parameterRadek Doulik2001-03-211-0/+12
| | | | | | | | | | | | | | | | 2001-03-20 Radek Doulik <rodo@ximian.com> * e-html-utils.c (e_text_to_html_full): new function, extracted from e_text_to_html, added color parameter 2001-03-19 Radek Doulik <rodo@ximian.com> * e-html-utils.c (e_text_to_html): support mark citation * e-html-utils.h (E_TEXT_TO_HTML_MARK_CITATION): added E_TEXT_TO_HTML_MARK_CITATION svn path=/trunk/; revision=8847
* added function to format just the time.Damon Chaplin2001-03-191-0/+5
| | | | | | | | | 2001-03-18 Damon Chaplin <damon@ximian.com> * e-time-utils.c (e_time_format_time): added function to format just the time. svn path=/trunk/; revision=8822
* Fix a bug noticed by kmaraasDan Winship2001-03-171-0/+4
| | | | | | * e-path.c (e_path_to_physical): Fix a bug noticed by kmaraas svn path=/trunk/; revision=8763
* Fix a bit: [mailto:foo] shouldn't grab the ']'Dan Winship2001-03-151-0/+5
| | | | | | | * e-html-utils.c (url_extract): Fix a bit: [mailto:foo] shouldn't grab the ']' svn path=/trunk/; revision=8736
* update cflag macrosJP Rosevear2001-03-131-0/+4
| | | | | | | | 2001-03-12 JP Rosevear <jpr@ximian.com> * Makefile.am: update cflag macros svn path=/trunk/; revision=8648
* Fix an off-by-one in the "is this for real?" check so that "http:// "Dan Winship2001-03-071-0/+5
| | | | | | | * e-html-utils.c (url_extract): Fix an off-by-one in the "is this for real?" check so that "http:// " won't get URLified svn path=/trunk/; revision=8581