aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
Commit message (Collapse)AuthorAgeFilesLines
* New #define aliases for common icon usage cases where it may not beJeffrey Stedfast2004-05-181-0/+8
| | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * e-icon-factory.h (E_ICON_SIZE_LIST/STATUS): New #define aliases for common icon usage cases where it may not be obvious that they are the same size as menu icons. svn path=/trunk/; revision=25935
* New function to clean up the cached icons.Jeffrey Stedfast2004-05-131-0/+1
| | | | | | | | | 2004-05-12 Jeffrey Stedfast <fejj@novell.com> * e-icon-factory.c (e_icon_factory_shutdown): New function to clean up the cached icons. svn path=/trunk/; revision=25887
* *** empty log message ***Jeffrey Stedfast2004-05-132-9/+27
| | | | svn path=/trunk/; revision=25886
* Tool to do i18n string extraction for error xml files.Not Zed2004-05-128-584/+343
| | | | | | | | | | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * e-error-tool.c: Tool to do i18n string extraction for error xml files. 2004-05-10 Not Zed <NotZed@Ximian.com> * e-fsutils.c (e_fsutils_usage): new file/function, get disk usage of a path, in 1024 byte blocks. (e_fsutils_avail): new file/function, get disk space available for a given path, in 1024 byte blocks. * e-meta.[ch]: Removed. Poor idea badly executed, and no longer used. * e-path.h: add a fixme about deprecation. svn path=/trunk/; revision=25868
* Removed. This is covered by gnome_i18n_get_language_list, which is moreNot Zed2004-05-054-101/+5
| | | | | | | | | 2004-04-30 Not Zed <NotZed@Ximian.com> * e-lang-utils.[ch]: Removed. This is covered by gnome_i18n_get_language_list, which is more complete. svn path=/trunk/; revision=25804
* Make this work for non-stock icons too.Dan Winship2004-04-302-1/+8
| | | | | | | * e-icon-factory.c (load_icon): Make this work for non-stock icons too. svn path=/trunk/; revision=25710
* make sure we unlock if we fail to find an icon.Not Zed2004-04-222-0/+6
| | | | | | | | | 2004-04-22 Not Zed <NotZed@Ximian.com> * e-icon-factory.c (e_icon_factory_get_icon_list): make sure we unlock if we fail to find an icon. svn path=/trunk/; revision=25577
* Remove the warnings about using E_ICON_SIZE enums.Jeffrey Stedfast2004-04-211-1/+2
| | | | | | | | | 2004-04-21 Jeffrey Stedfast <fejj@ximian.com> * e-icon-factory.c: Remove the warnings about using E_ICON_SIZE enums. svn path=/trunk/; revision=25564
* *** empty log message ***Jeffrey Stedfast2004-04-212-2/+4
| | | | svn path=/trunk/; revision=25563
* Make thread-safe. Fixes a crash I encountered this morning.Jeffrey Stedfast2004-04-213-182/+179
| | | | | | | | | | | 2004-04-20 Jeffrey Stedfast <fejj@ximian.com> * e-icon-factory.c (e_icon_factory_get_icon): Make thread-safe. Fixes a crash I encountered this morning. (e_icon_factory_get_icon_filename): Same. (e_icon_factory_get_icon_list): Here too. svn path=/trunk/; revision=25541
* Add an enum for icon sizes (temporarily has absolute pixel sizes assignedJeffrey Stedfast2004-04-202-5/+20
| | | | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-icon-factory.h: Add an enum for icon sizes (temporarily has absolute pixel sizes assigned to it until I commit e-icon-factory.c changes - but only after all other code has been updated to use the enums). svn path=/trunk/; revision=25525
* Add e-icon-factory.[ch] Use the icon theme via EIconFactory MoveMichael Terry2004-04-195-11/+344
| | | | | | | | | | | 2004-04-16 Michael Terry <mike@mterry.name> * Makefile.am: Add e-icon-factory.[ch] * e-gui-utils.c: Use the icon theme via EIconFactory * e-icon-factory.[ch]: Move EIconFactory to e-util, and add icon theme support to the object so evolution uses them svn path=/trunk/; revision=25511
* Don't add an autogen signature if the new signature is the autogenJeffrey Stedfast2004-04-152-11/+12
| | | | | | | | | 2004-04-13 Jeffrey Stedfast <fejj@ximian.com> * e-signature-list.c (gconf_signatures_changed): Don't add an autogen signature if the new signature is the autogen signature. svn path=/trunk/; revision=25463
* Implemented a similar workaround to the one I did for a gethostbyaddr_r()Jeffrey Stedfast2004-04-142-1/+20
| | | | | | | | | | | | 2004-04-13 Jeffrey Stedfast <fejj@ximian.com> * e-host-utils.c (e_gethostbyname_r): Implemented a similar workaround to the one I did for a gethostbyaddr_r() glibc bug here. Glibc will apparently return success for addresses such as "192..168.1.1" (note the double dot) and yet not have filled in the hostent properly. svn path=/trunk/; revision=25445
* Really fixes bug #56623Jeffrey Stedfast2004-04-133-6/+32
| | | | | | | | | | | | | | 2004-04-12 Jeffrey Stedfast <fejj@ximian.com> Really fixes bug #56623 * e-signature-list.c (gconf_signatures_changed): If we've had to "fix" any signatures by adding a uid, set the resave state on the list (only cared about if this is at initial load time). (e_signature_list_construct): If we've set any uids in signatures_changed(), then save the signature list back out. svn path=/trunk/; revision=25416
* If we fail to set a sig_uid then try to extract the old style signature idJeffrey Stedfast2004-04-103-1/+21
| | | | | | | | | | 2004-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-account.c (xml_set_identity): If we fail to set a sig_uid then try to extract the old style signature id and assume the migration code will fix us up (if not, nothing bad will happen anyway). svn path=/trunk/; revision=25403
* If the autogen signature isn't in the list (or isn't the first in theJeffrey Stedfast2004-04-102-0/+31
| | | | | | | | | | 2004-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-signature-list.c (gconf_signatures_changed): If the autogen signature isn't in the list (or isn't the first in the list), add it to the head of the list. svn path=/trunk/; revision=25397
* simplified a tadJeffrey Stedfast2004-04-081-9/+10
| | | | svn path=/trunk/; revision=25354
* Probably fixes bug #56623 and others?Jeffrey Stedfast2004-04-072-11/+24
| | | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> Probably fixes bug #56623 and others? * e-signature-list.c (gconf_signatures_changed): Fixed to not use free'd iter memory. Also reverse the new_sigs list before adding them to the signature list (so they are in the same order they appeared in the gconf key). svn path=/trunk/; revision=25352
* Fixed to not ignore signatures without uids (e.g. signatures that wereJeffrey Stedfast2004-04-062-18/+25
| | | | | | | | | | 2004-04-05 Jeffrey Stedfast <fejj@ximian.com> * e-signature-list.c (gconf_signatures_changed): Fixed to not ignore signatures without uids (e.g. signatures that were from prior versions). svn path=/trunk/; revision=25319
* Always set a format prop so that 1.4 and older 1.5 versions won't strcmp()Jeffrey Stedfast2004-04-022-0/+8
| | | | | | | | | 2004-04-02 Jeffrey Stedfast <fejj@ximian.com> * e-signature.c (e_signature_to_xml): Always set a format prop so that 1.4 and older 1.5 versions won't strcmp() on a NULL value. svn path=/trunk/; revision=25299
* Reference signatures by their UID rather than by an integer id. AlsoJeffrey Stedfast2004-04-023-17/+16
| | | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-account.c: Reference signatures by their UID rather than by an integer id. Also removed the need to have 2 signature settings (no need for the "auto" signature boolean anymore). svn path=/trunk/; revision=25283
* New class similar to EAccount but for signatures.Jeffrey Stedfast2004-04-016-0/+955
| | | | | | | | | | | | 2004-03-31 Jeffrey Stedfast <fejj@ximian.com> * e-signature.[c,h]: New class similar to EAccount but for signatures. * e-signature-list.[c,h]: New class similar to EAccountList only for signatures. svn path=/trunk/; revision=25271
* similar to below.Not Zed2004-03-313-4/+11
| | | | | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * e-account-list.h: similar to below. * e-account.h: define struct _EAccount* so you can properly forward declare it. svn path=/trunk/; revision=25260
* Added options for transport_url and source_url permissions.Not Zed2004-03-182-9/+12
| | | | | | | | | 2004-03-18 Not Zed <NotZed@Ximian.com> * e-account.c: Added options for transport_url and source_url permissions. svn path=/trunk/; revision=25115
* added interface to find out if various fields or server options areNot Zed2004-03-183-10/+288
| | | | | | | | | | 2004-03-18 Not Zed <NotZed@Ximian.com> * e-account.c (e_account_writable, e_account_writable_option): added interface to find out if various fields or server options are writable. to work around gconf limitations. svn path=/trunk/; revision=25109
* Remove separator from dialogs per HIG.William Jon McCann2004-03-104-0/+12
| | | | | | | | | | | 2004-03-04 William Jon McCann <mccann@jhu.edu> * e-dialog-utils.c (e_notice, e_notice_with_xid, save_ok): * e-request.c (e_request_string): * e-passwords.c (e_passwords_ask_password): Remove separator from dialogs per HIG. svn path=/trunk/; revision=25003
* Added some debug stuff.Not Zed2004-03-042-2/+8
| | | | | | | | 2004-03-04 Not Zed <NotZed@Ximian.com> * e-sexp.c: Added some debug stuff. svn path=/trunk/; revision=24956
* ** See Bug #37329.Not Zed2004-03-032-124/+109
| | | | | | | | | | | | | | | | | | 2004-02-27 Not Zed <NotZed@Ximian.com> ** See Bug #37329. * e-mktemp.c (get_dir): setup a comjpile time option for storing in the homedir, and also just use the uid as the key for a /tmp dir option. (e_mktemp_cleanup): removed entirely. (e_mkstemp, e_mkdtemp, e_mktemp): dont save the file/dirname in a list anymore. (expire_dir_rec): expire old temp data from previous runs/old data lying around. Based on access time. (get_dir): run an expirey every now and then. svn path=/trunk/; revision=24941
* Protect against feeding gdk_pixbuf_new_from_file() a NULL path. Clears upJeffrey Stedfast2004-02-262-1/+10
| | | | | | | | | | 2004-02-25 Jeffrey Stedfast <fejj@ximian.com> * e-gui-utils.c (e_icon_for_mime_type): Protect against feeding gdk_pixbuf_new_from_file() a NULL path. Clears up some console warning spewage. svn path=/trunk/; revision=24874
* include string.h, fixes 64 bit crash. From David Mosberger.Not Zed2004-02-192-0/+6
| | | | | | | | | 2004-02-19 Not Zed <NotZed@Ximian.com> * e-pilot-util.c: include string.h, fixes 64 bit crash. From David Mosberger. svn path=/trunk/; revision=24792
* add callto:, h323:, and webcal: schemes.Chris Toshok2004-02-042-1/+9
| | | | | | | | | 2004-02-03 Chris Toshok <toshok@ximian.com> * e-html-utils.c (e_text_to_html_full): add callto:, h323:, and webcal: schemes. svn path=/trunk/; revision=24585
* use g_file_test instead of stat and pass the type e_folder_map_dir whenJP Rosevear2004-01-272-3/+7
| | | | | | | | | 2004-01-26 JP Rosevear <jpr@ximian.com> * e-folder-map.c (e_folder_map_dir): use g_file_test instead of stat and pass the type e_folder_map_dir when recursing svn path=/trunk/; revision=24449
* turn off debuggingJP Rosevear2004-01-252-1/+5
| | | | | | | | 2004-01-24 JP Rosevear <jpr@ximian.com> * e-folder-map.c: turn off debugging svn path=/trunk/; revision=24405
* use GDir/g_build_filename, and g_file_test. (e_folder_map_local_folders):Chris Toshok2004-01-252-30/+35
| | | | | | | | | | 2004-01-24 Chris Toshok <toshok@ximian.com> * e-folder-map.c (e_folder_map_dir): use GDir/g_build_filename, and g_file_test. (e_folder_map_local_folders): same. svn path=/trunk/; revision=24403
* build new sourcesJP Rosevear2004-01-244-0/+232
| | | | | | | | | | | 2004-01-23 JP Rosevear <jpr@ximian.com> * Makefile.am: build new sources * e-folder-map.[hc]: builds a list of 1.4 folder paths of a certain type svn path=/trunk/; revision=24389
* don't build dead filesJP Rosevear2004-01-214-323/+6
| | | | | | | | | | 2004-01-20 JP Rosevear <jpr@ximian.com> * Makefile.am: don't build dead files * e-xml-hash-utils.[hc]: kill, these were moved to e-d-s long ago svn path=/trunk/; revision=24333
* New source files for mapping bonobo-conf keys to gconf keys. Moved out ofJeffrey Stedfast2004-01-155-1/+654
| | | | | | | | | 2004-01-14 Jeffrey Stedfast <fejj@ximian.com> * e-bconf-map.[c,h]: New source files for mapping bonobo-conf keys to gconf keys. Moved out of shell/e-config-upgrade.c svn path=/trunk/; revision=24222
* A time-based thread-safe in-memory cache thing. Called em_cache 'causeNot Zed2004-01-143-0/+237
| | | | | | | | | 2004-01-13 Not Zed <NotZed@Ximian.com> * e-msgport.c (em_cache*): A time-based thread-safe in-memory cache thing. Called em_cache 'cause there's an e_cache in gal. svn path=/trunk/; revision=24213
* Fix from Zan Lynx <zlynx@acm.org> to lock the memchunk before freeing theNot Zed2004-01-052-0/+12
| | | | | | | | | | 2004-01-05 Not Zed <NotZed@Ximian.com> * e-memory.c (e_mempool_destroy): Fix from Zan Lynx <zlynx@acm.org> to lock the memchunk before freeing the pool header. svn path=/trunk/; revision=24042
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-072-1/+4
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23662
* Bug Id #51527 "gal widgets produces backspace for Ctrl-space for japaneseSuresh Chandrasekharan2003-12-021-0/+4
| | | | | | | | | | | | | 2003-11-30 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Bug Id #51527 "gal widgets produces backspace for Ctrl-space for japanese input" * gal/util/e-text-event-processor-emacs-like.c: (e_text_event_processor_emacs_like_event) If GDK_CONTROL_MASK set, disable the command action. svn path=/trunk/; revision=23529
* remove gtk deprecated flagJP Rosevear2003-11-242-1/+4
| | | | | | | | 2003-11-23 JP Rosevear <jpr@ximian.com> * Makefile.am: remove gtk deprecated flag svn path=/trunk/; revision=23468
* remove db3 library, if you really want it, get it from e-d-sJP Rosevear2003-11-196-500/+6
| | | | | | | | | 2003-11-18 JP Rosevear <jpr@ximian.com> * Makefile.am: remove db3 library, if you really want it, get it from e-d-s svn path=/trunk/; revision=23424
* don't build the e-source stuff anymore, its in e-d-s nowJP Rosevear2003-11-159-2413/+5
| | | | | | | | | 2003-11-14 JP Rosevear <jpr@ximian.com> * Makefile.am: don't build the e-source stuff anymore, its in e-d-s now svn path=/trunk/; revision=23370
* config accessor (calendar_config_set_calendars_selected): dittoJP Rosevear2003-11-154-51/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-14 JP Rosevear <jpr@ximian.com> * gui/calendar-config.c (calendar_config_get_calendars_selected): config accessor (calendar_config_set_calendars_selected): ditto (calendar_config_add_notification_calendars_selected): config notification * gui/calendar-config.h: add protos * gui/calendar-config-keys.h: add new key * gui/calendar-component.c (is_in_uids): util function (update_uris_for_selection): save the selection in the configuration (update_selection): update the selection from the config info (source_selection_changed_cb): only pass one param (config_selection_changed_cb): listen for config changes (impl_dispose): remove config notification (impl_createControls): use bonobo_exception_set; add a config notification 2003-11-14 JP Rosevear <jpr@ximian.com> * test-source-list.c (on_idle_do_stuff): we only need the uid to remove and peek at stuff * e-source-list.h: update proto types * e-source-list.c (e_source_list_peek_source_by_uid): allow peek by uid only (e_source_list_remove_source_by_uid): allow removal by uid only svn path=/trunk/; revision=23362
* Fixes 45776 enable the usage of the "alt".Andrew Wu2003-11-141-0/+2
| | | | | | | | | | 2003-11-14 Andrew Wu <yang.wu@sun.com> Fixes 45776 * gal/util/e-text-event-processor-emacs-like.c (e_text_event_processor_emacs_like_event): enable the usage of the "alt". svn path=/trunk/; revision=23351
* Removed. No longer used by evolution except via evolution-data-server.Dan Winship2003-11-0813-1885/+17
| | | | | | | | | * ename/*: Removed. No longer used by evolution except via evolution-data-server. * Makefile.am (SUBDIRS): Remove ename svn path=/trunk/; revision=23232
* remove build sources from distJP Rosevear2003-11-072-0/+7
| | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * Makefile.am: remove build sources from dist svn path=/trunk/; revision=23217
* make sure the marshal header and source are in the source listJP Rosevear2003-11-072-1/+6
| | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * Makefile.am: make sure the marshal header and source are in the source list svn path=/trunk/; revision=23216
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-071-9/+4
| | | | svn path=/trunk/; revision=23206
* Don't compress trailing slashes in URI elements.Hans Petter Jansson2003-11-012-3/+20
| | | | | | | | | 2003-10-31 Hans Petter Jansson <hpj@ximian.com> * e-source.c (e_source_get_uri): Don't compress trailing slashes in URI elements. svn path=/trunk/; revision=23155
* add encrypt_key id, and change some of the names around to be moreNot Zed2003-10-313-12/+30
| | | | | | | | | 2003-10-31 Not Zed <NotZed@Ximian.com> * e-account.c (e_account_(sg)et_from_xml): add encrypt_key id, and change some of the names around to be more meaningful. svn path=/trunk/; revision=23144
* If the system defines AI_ADDRCONFIG, set this flag on the hints.ai_flagsJeffrey Stedfast2003-10-252-2/+13
| | | | | | | | | | | 2003-10-17 Jeffrey Stedfast <fejj@ximian.com> * e-host-utils.c (e_gethostbyname_r): If the system defines AI_ADDRCONFIG, set this flag on the hints.ai_flags member as well so that we don't resolve a host to an IPv6 addr when the node doesn't have any IPv6 source addresses. svn path=/trunk/; revision=23077
* add $(DB3_LDADD)Dan Winship2003-10-242-0/+7
| | | | | | * Makefile.am (libedb3util_la_LIBADD): add $(DB3_LDADD) svn path=/trunk/; revision=23060
* Gone; unused since 1.2Dan Winship2003-10-223-85/+2
| | | | | | * e-bonobo-factory-util.[ch]: Gone; unused since 1.2 svn path=/trunk/; revision=22979
* Gone; nothing in evo uses soup any more.Dan Winship2003-10-224-136/+7
| | | | | | | | | * e-proxy.[ch]: Gone; nothing in evo uses soup any more. * Makefile.am (eutilinclude_HEADERS, libeutil_la_SOURCES): Remove e-proxy.[ch] svn path=/trunk/; revision=22974
* Merge new-ui-branch into the trunk.Ettore Perazzoli2003-10-2216-27/+2646
| | | | svn path=/trunk/; revision=22966
* (pilot_compile) [! ENABLE_PILOT_CONDUITS]: AddEttore Perazzoli2003-10-212-1/+6
| | | | | | md5-utils.c so it compiles even if you have no Pilot support. svn path=/trunk/; revision=22943
* IPv6 implementation rewritten to use getnameinfo() which is the properJeffrey Stedfast2003-09-272-44/+11
| | | | | | | | | | 2003-09-26 Jeffrey Stedfast <fejj@ximian.com> * e-host-utils.c (e_gethostbyaddr_r): IPv6 implementation rewritten to use getnameinfo() which is the proper function to use in this case. Fixes bug #46006 the Right Way (tm). svn path=/trunk/; revision=22720
* Make sure that res->ai_canonname is non-NULL and that it doesn't match theJeffrey Stedfast2003-09-262-1/+38
| | | | | | | | | | | 2003-09-25 Jeffrey Stedfast <fejj@ximian.com> * e-host-utils.c (e_gethostbyaddr_r): Make sure that res->ai_canonname is non-NULL and that it doesn't match the numeric host address that we were trying to resolve. Fixes the second half of bug #46006. svn path=/trunk/; revision=22701
* Remove libeutil-static.la and libeconduit-static.laDan Winship2003-08-293-16/+8
| | | | | | | | | | * Makefile.am (noinst_LTLIBRARIES): Remove libeutil-static.la and libeconduit-static.la * ename/Makefile.am (noinst_LTLIBRARIES): Remove libename-static.la svn path=/trunk/; revision=22405
* Added for tray icon support. To be removed when libgnomeui sports thisHans Petter Jansson2003-08-294-0/+426
| | | | | | | | | | | 2003-08-28 Hans Petter Jansson <hpj@ximian.com> * eggtrayicon.[ch]: Added for tray icon support. To be removed when libgnomeui sports this functionality. * Makefile.am: Include eggtrayicon. svn path=/trunk/; revision=22404
* We need to unlink the full paths in the tmpdirs, not just the base path.Jeffrey Stedfast2003-08-282-6/+13
| | | | | | | | | 2003-08-27 Jeffrey Stedfast <fejj@ximian.com> * e-mktemp.c (e_mktemp_cleanup): We need to unlink the full paths in the tmpdirs, not just the base path. svn path=/trunk/; revision=22391
* Removed illegal '-'s from strptime msgstr, this fixes #43558, AppointmentSuresh Chandrasekharan2003-08-212-4/+23
| | | | | | | | | | 2003-08-20 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * zh_CN.po: Removed illegal '-'s from strptime msgstr, this fixes #43558, Appointment Editor always gives time validation error for apptmnts in non UTF-8/non ASCII locales. svn path=/trunk/; revision=22323
* Fix for 47474 e_filename_make_safe routine not utf8 friendly.Suresh Chandrasekharan2003-08-211-5/+12
| | | | | | | | | 2003-08-20 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * gal/util/e-util.c (e_filename_make_safe): Fix for 47474 e_filename_make_safe routine not utf8 friendly. svn path=/trunk/; revision=22321
* check pthread_create return code properly. (e_mutex_lock): check pthread*Not Zed2003-08-122-12/+24
| | | | | | | | | | | | 2003-08-11 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_thread_put): check pthread_create return code properly. (e_mutex_lock): check pthread* return codes properly. (e_mutex_unlock): Same here. (e_mutex_cond_wait): and here. svn path=/trunk/; revision=22177
* add a flag for non-url chars (controls, whitespace, ", and |)Dan Winship2003-08-052-17/+130
| | | | | | | | | | | | * e-html-utils.c (special_chars): add a flag for non-url chars (controls, whitespace, ", and |) (url_extract): Use that. When urlifying just a hostname, make sure it really is a hostname, and not just something like "www.c". (e_text_to_html_full): Deal with url_extract returning NULL in the "www." case (main): add a regression test, #ifdef E_HTML_UTILS_TEST svn path=/trunk/; revision=22087
* Fix for #46168 some additional locale aliases required for chinese supportSuresh Chandrasekharan2003-07-291-0/+4
| | | | | | | | | 2003-07-11 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * gal/util/e-iconv.c : Fix for #46168 some additional locale aliases required for chinese support svn path=/trunk/; revision=21999
* Reverted unwanted commitRodrigo Moya2003-07-241-2/+0
| | | | svn path=/trunk/; revision=21941
* just preload one level of GConf keys, since preloading all makes theRodrigo Moya2003-07-243-1/+8
| | | | | | | | | 2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.c (add_key): just preload one level of GConf keys, since preloading all makes the calendar startup slow. svn path=/trunk/; revision=21940
* Use EVO_MARSHAL_RULEDan Winship2003-07-242-17/+3
| | | | | | * Makefile.am: Use EVO_MARSHAL_RULE svn path=/trunk/; revision=21915
* Fix a non-ANSI switch label.Dan Winship2003-07-234-4/+18
| | | | | | | | | | | | | * e-component-listener.c (connection_listen_cb): Fix a non-ANSI switch label. * e-gui-utils.c: only include "art/empty.xpm" if HAVE_LIBGNOMEUI_GNOME_ICON_LOOKUP_H isn't defined * e-xml-hash-utils.c (e_xml_to_hash): Deconstify a non-const variable to fix a warning. svn path=/trunk/; revision=21901
* encode the text (e_xml_from_hash): pass xmlDoc to foreach methodJP Rosevear2003-07-172-9/+31
| | | | | | | | | | | 2003-07-03 JP Rosevear <jpr@ximian.com> * e-xml-hash-utils.c (foreach_save_func): encode the text (e_xml_from_hash): pass xmlDoc to foreach method (e_xmlhash_new): check for file existence (e_xmlhash_destroy): only destroy the hash if it exists svn path=/trunk/; revision=21856
* check null after conversions. (e_utf8_strftime_fix_am_pm): ditto. fixesMike Kestner2003-07-091-8/+38
| | | | | | | | | 2003-07-09 Mike Kestner <mkestner@ximian.com> * gal/util/e-util.c (e_utf8_strftime): check null after conversions. (e_utf8_strftime_fix_am_pm): ditto. fixes [44904]. svn path=/trunk/; revision=21771
* New function to return an icon for a MIME type, using GnomeIconTheme ifDan Winship2003-07-033-0/+99
| | | | | | | | * e-gui-utils.c (e_icon_for_mime_type): New function to return an icon for a MIME type, using GnomeIconTheme if available or gnome-vfs and gnome-mime-data if not. svn path=/trunk/; revision=21733
* don't leak an extra copy of the valuesDan Winship2003-06-202-0/+6
| | | | | | | * e-xml-hash-utils.c (e_xml_to_hash): don't leak an extra copy of the values svn path=/trunk/; revision=21497
* Fixed typo in BIG5HKSCSSuresh Chandrasekharan2003-06-201-2/+2
| | | | | | | | 2003-06-18 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * e-iconv.c: Fixed typo in BIG5HKSCS svn path=/trunk/; revision=21486
* free word before breaking out of the loop.Larry Ewing2003-06-152-1/+8
| | | | | | | | | 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-132-1/+6
| | | | | | | | | 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-132-0/+5
| | | | | | | | 2003-06-12 Jeffrey Stedfast <fejj@ximian.com> * e-trie.c (e_trie_free): Free the fail_states array. svn path=/trunk/; revision=21429
* Put the ChangeLog.pre-1-4 in the Makefiles.Ettore Perazzoli2003-06-131-1/+4
| | | | svn path=/trunk/; revision=21426
* Stat the file to make sure it exists before trying to parse it usingJeffrey Stedfast2003-06-112-5/+9
| | | | | | | | | 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-102-2649/+2649
| | | | svn path=/trunk/; revision=21387
* use ORBit_small_listen/_unlisten instead of Bonobo_Unknown_ping'ing theRodrigo Moya2003-06-043-99/+41
| | | | | | | | | 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
* mangle the %'s out too so that libxml2 doesn't convert the encoded hexMike Kestner2003-06-011-1/+1
| | | | | | | | | 2003-05-31 Mike Kestner <mkestner@ximian.com> * gal/util/e-util.c (e_filename_make_safe): mangle the %'s out too so that libxml2 doesn't convert the encoded hex values. svn path=/trunk/; revision=21358
* Fixes #43775JP Rosevear2003-05-312-3/+12
| | | | | | | | | | | | | 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
* bump libtool version for api addition new, utf8 in/outMike Kestner2003-05-292-0/+53
| | | | | | | | | | | | | | | 2003-05-28 Mike Kestner <mkestner@ximian.com> * configure.in : bump libtool version for api addition * gal/util/e-util.c (e_utf8_strftime): new, utf8 in/out (e_utf8_strftime_fix_am_pm): new, utf8 in/out 2003-05-28 Mike Kestner <mkestner@ximian.com> * e-cell-date.c (ecd_get_text): use e_utf8_strftime_fix_am_pm and remove locale to utf8 conversion at end. [43485] svn path=/trunk/; revision=21343
* Removing trailing / in key name passed to gconf_client_notify_add to killDan Winship2003-05-172-1/+6
| | | | | | | * 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-172-2/+9
| | | | | | | | | 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
* use E_I18N_DOMAINRadek Doulik2003-05-082-5/+4
| | | | | | | | | | | 2003-05-08 Radek Doulik <rodo@ximian.com> * gal/util/e-util.c (e_gettext): use E_I18N_DOMAIN * gal/util/e-i18n.h: use e_gettext as we need our text domain to be binded svn path=/trunk/; revision=21131
* Fixes crash in #42212Rodrigo Moya2003-05-082-0/+9
| | | | | | | | | | 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-052-4/+7
| | | | | | | | | | 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-012-0/+6
| | | | | | [#42038] svn path=/trunk/; revision=21034
* [ for bug #41211 ]Chris Toshok2003-04-303-4/+48
| | | | | | | | | | | | | 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-292-0/+6
| | | | | | | | | 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
* fix logic for updating selection after a delete when @move_selection_modeChris Toshok2003-04-291-2/+2
| | | | | | | | | | 2003-04-28 Chris Toshok <toshok@ximian.com> * gal/util/e-bit-array.c (e_bit_array_delete_real): fix logic for updating selection after a delete when @move_selection_mode == TRUE. svn path=/trunk/; revision=20997
* Keep our buf ptr aligned to sizeof (char *). Should fix bug #41362.Jeffrey Stedfast2003-04-252-6/+15
| | | | | | | | | | 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-232-2/+9
| | | | | | | | | 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-192-2/+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-173-11/+14
| | | | | | | | | 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-162-0/+10
| | | | | | | | | | 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-153-0/+56
| | | | | | | | | 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-102-5/+11
| | | | | | | | | | 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-062-2/+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-052-3/+23
| | | | | | | | | | * 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-052-1/+10
| | | | | | | | | 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
* [ either fixes #39702 or comes damn, damn close. also, fixes EText to notChris Toshok2003-04-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-02 Chris Toshok <toshok@ximian.com> [ either fixes #39702 or comes damn, damn close. also, fixes EText to not suck *nearly* as much. ] * gal/util/e-marshal.list: add NONE:POINTER,INT,OBJECT. * gal/e-text/e-entry.h: (struct _EEntryClass): popup -> populate_popup. * gal/e-text/e-entry.c (proxy_changed): rename, the old name was too damn long. (proxy_activate): same. (proxy_populate_popup): same, and change from popup to populate_popup. (e_entry_init): track change to cb names, and populate_popup. also, pass the ECanvas's im_context to the EText. (e_entry_class_init): POPUP -> POPULATE_POPUP. * gal/e-text/e-text.h (struct _EText): remove the old selection stuff, and add im_context/reset_im_context fields. (struct _ETextClass): popup -> populate_popup. * gal/e-text/e-text.c (e_text_dispose): remove all the GtkInvisible based selection stuff, and disconnect from/unref the im_context. (e_text_set_property): add "im_context" handling. (e_text_get_property): same. (e_text_event): connect/disconnect from the IM context's signals in the FOCUS_CHANGE handler. in the KEY_PRESS/RELEASE handler, use gtk_im_context_filter_keypress if we have an im_context. also, use e_text_do_popup now instead of just emitting the "popup" signal. (e_text_copy_clipboard): new function. (e_text_delete_selection): new function. (e_text_cut_clipboard): new function. (e_text_paste_clipboard): new function. (e_text_select_all): new function. (primary_get_cb): new function, handle requests for the primary selection when we're the owner. (primary_clear_cb): new function, unfinished. (e_text_update_primary_selection): new function. (paste_received): new function, insert pasted text. (e_text_paste): new function, (popup_menu_detach): new function, not needed really. (popup_targets_received): new function, pop up the popup once we have the selection information necessary to sensitize the c/c/p buttons. (e_text_do_popup): new function, request the selection. (e_text_reset_im_context): new function. (e_text_command): for E_TEP_SELECT, call e_text_update_primary_selection. for E_TEP_DELETE/INSERT, _delete_selection -> e_text_delete_selection. for E_TEP_COPY, call e_text_copy_clipboard. for E_TEP_PASTE/E_TEP_GET_SELECTION call e_text_paste. (e_text_class_init): change the "popup" signal to "populate_popup". Also, add the "im_context" property. (e_text_commit_cb): new function. IM context callback. (e_text_retrieve_surrounding_cb): new function. IM context callback. (e_text_delete_surrounding_cb): new function. IM context callback. unfinished. svn path=/trunk/; revision=20653
* Delete all Passwords-* sections. Should make this work.Not Zed2003-04-022-1/+20
| | | | | | | | | 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-313-132/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-282-0/+7
| | | | | | | | 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-262-3/+11
| | | | svn path=/trunk/; revision=20505
* Move this here from gal. Use e_dialog_set_transient_for so it DTRT forDan Winship2003-03-253-40/+108
| | | | | | | | | | | | | * 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-252-5/+9
| | | | | | | | 2003-03-25 Not Zed <NotZed@Ximian.com> * e-meta.c (meta_filename): fix a typo & some missing headers. svn path=/trunk/; revision=20490
* forgot to cvs addMichael Zucci2003-03-252-0/+577
| | | | svn path=/trunk/; revision=20489
* forgot to save before committingDan Winship2003-03-251-3/+3
| | | | svn path=/trunk/; revision=20483
* Rename, rewrite, make them actually work.Dan Winship2003-03-253-145/+98
| | | | | | | | * 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-242-0/+9
| | | | | | | | | | | 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-212-2/+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-212-18/+25
| | | | | | | | | 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
* argh, make that IS_E_SEXPJeffrey Stedfast2003-03-201-9/+9
| | | | svn path=/trunk/; revision=20362
* s/FILTER_IS_SEXP/E_IS_SEXPJeffrey Stedfast2003-03-201-15/+15
| | | | svn path=/trunk/; revision=20361
* Fix ESExpClass to never be an empty struct. Also make ESExp optionally aJeffrey Stedfast2003-03-204-48/+77
| | | | | | | | | | | | | | | 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-172-9/+15
| | | | | | | | | | * 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
* ugh, we need to make sure the file is opened for writing. or the flagsChris Toshok2003-03-151-1/+1
| | | | | | | | | 2003-03-14 Chris Toshok <toshok@ximian.com> * gal/util/e-util.c (e_write_file): ugh, we need to make sure the file is opened for writing. or the flags with O_WRONLY. svn path=/trunk/; revision=20304
* use access() like camelMike Kestner2003-03-151-5/+2
| | | | | | | | | | | | | | | 2003-03-14 Mike Kestner <mkestner@ximian.com> * gal/util/e-util.c (e_mkdir_hier): use access() like camel 2003-03-14 Mike Kestner <mkestner@ximian.com> * gal-view-collection.c (gal_view_collection_load): check failure on e_create_directory call and warn. * gal-view-instance.c (save_current_view): check for failure and warn. svn path=/trunk/; revision=20291
* Updated to use xmlDocDumpFormatMemory() so that we get structured xmlJeffrey Stedfast2003-03-141-1/+1
| | | | | | | | | | 2003-03-13 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-xml-utils.c (e_xml_save_file): Updated to use xmlDocDumpFormatMemory() so that we get structured xml rather than just a clump of xml mess. svn path=/trunk/; revision=20275
* Update for a libxml2 change that was making this code g_warn a lotDan Winship2003-03-132-1/+6
| | | | | | | * 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
* Alias gb-2312 to gb2312 also (since iconv doesn't have "gb-2312"). IJeffrey Stedfast2003-03-071-11/+49
| | | | | | | | | | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-iconv.c: Alias gb-2312 to gb2312 also (since iconv doesn't have "gb-2312"). I wonder if we should capitalise GB2312? At least my iconv lists it in all caps (although I have the benefit of having gnu iconv which is case insensitive so I dunno). (e_strdown, e_strup): New functions to replace g_ascii_str[down,up]: because the glib versions return a newly allocated string buf and that is not what we want. (e_iconv_charset_name): Use the new e_strdown. (e_iconv_open): Save errno. svn path=/trunk/; revision=20212
* (e_request_string): Make the entry activate theEttore Perazzoli2003-03-072-0/+6
| | | | | | default response in the dialog. svn path=/trunk/; revision=20207
* Use gnome2 proxy settingsRodney Dawes2003-03-042-8/+12
| | | | | | | | 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-032-1/+5
| | | | | | | | 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-282-1/+5
| | | | | | | | 2003-02-27 JP Rosevear <jpr@ximian.com> * Makefile.am: include gnome-pilot cflags svn path=/trunk/; revision=20092
* New internal function to parse the locale language code. (e_iconv_init):Jeffrey Stedfast2003-02-262-28/+107
| | | | | | | | | | | | | 2003-02-25 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-iconv.c (locale_parse_lang): New internal function to parse the locale language code. (e_iconv_init): Parse and set the locale_lang variable. (e_iconv_locale_language): Return the locale_lang. (e_iconv_charset_language): Map some CJKR charsets to a language code. svn path=/trunk/; revision=20063
* 'uid' should not be const.Jeffrey Stedfast2003-02-242-1/+6
| | | | | | | | | 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-243-5/+197
| | | | | | | | | | | | | | | 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-232-1/+6
| | | | | | | | | 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-202-0/+6
| | | | | | | | | 2003-02-17 Chris Toshok <toshok@ximian.com> * e-account-list.c (gconf_accounts_changed): fix memleak - free uid. svn path=/trunk/; revision=19958
* Fix for Solaris Bug "31081 Mailer sender/Subject/Date fields blank forSuresh Chandrasekharan2003-02-141-0/+2
| | | | | | | | | | | 2003-02-12 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * gal/util/e-iconv.c: Fix for Solaris Bug "31081 Mailer sender/Subject/Date fields blank for Solaris 8 ko_KR.EUC locale." and partial fix for Solaris Bug "32747 additional issues with evolution beta2 in ja_JP.PCK locale" svn path=/trunk/; revision=19909
* Instead of simply ignoring bad chars, return the sentinal invalid charNot Zed2003-02-112-5/+11
| | | | | | | | | | 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-112-6/+18
| | | | | | | | | | 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-0613-17/+40
| | | | | | | | | | | | | | | | | | | | | | | | * 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-283-24/+43
| | | | | | | | | | | | | | | * 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-272-1/+10
| | | | | | | | | 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-262-7/+10
| | | | | | | | | 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-263-34/+35
| | | | | | | | 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-252-5/+9
| | | | | | | | | | 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-233-6/+16
| | | | | | | | | | | | * 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-184-3/+80
| | | | | | | | | | | | 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-184-0/+310
| | | | | | * 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-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