aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
Commit message (Collapse)AuthorAgeFilesLines
* Use g_win32_getlocale() to get locale on Win32. (setlocale() returnsTor Lillqvist2005-08-102-1/+20
| | | | | | | | | | | | 2005-08-10 Tor Lillqvist <tml@novell.com> * e-xml-utils.c (e_xml_get_child_by_name_by_lang): Use g_win32_getlocale() to get locale on Win32. (setlocale() returns strings like "Swedish_Finland.1252", we want the Unixish "sv_FI" style.) Fix typo, use the lang parameter and not "lang" string literal. svn path=/trunk/; revision=30077
* Pass also EVOLUTION_SYSCONFDIR, EVOLUTION_DATADIR and EVOLUTION_LIBDIR.Tor Lillqvist2005-08-104-4/+41
| | | | | | | | | | | | | | | 2005-08-10 Tor Lillqvist <tml@novell.com> * Makefile.am: (INCLUDES): Pass also EVOLUTION_SYSCONFDIR, EVOLUTION_DATADIR and EVOLUTION_LIBDIR. * e-win32-reloc.c: Handle also the above, and the bare PREFIX. * e-util-private.h: Ditto here. (PREFIX, SYSCONFDIR, DATADIR and LIBDIR without the EVOLUTION_ prefix, as that is how they are to be used, cf. gnome-program.h.) svn path=/trunk/; revision=30073
* Handle also EVOLUTION_LIBEXECDIR, EVOLUTION_SOUNDDIR andTor Lillqvist2005-08-102-0/+11
| | | | | | | | | 2005-08-10 Tor Lillqvist <tml@novell.com> * e-util-private.h: Handle also EVOLUTION_LIBEXECDIR, EVOLUTION_SOUNDDIR and EVOLUTION_ETSPECDIR. svn path=/trunk/; revision=30062
* Use privsolib instead of privlib. On Unix they are the same, on Win32Tor Lillqvist2005-08-103-2/+23
| | | | | | | | | | | | | | 2005-08-10 Tor Lillqvist <tml@novell.com> * Makefile.am: Use privsolib instead of privlib. On Unix they are the same, on Win32 privsolibdir is the same as libdir. (INCLUDES): Pass also EVOLUTION_LIBEXECDIR and EVOLUTION_SOUNDDIR so that the Win32 run-time path lookup code in e-win32-reloc.c can handle them, too. * e-win32-reloc.c: Handle also the above two paths. svn path=/trunk/; revision=30061
* Added a doc commentMichael Zucci2005-07-141-0/+7
| | | | svn path=/trunk/; revision=29764
* Merge back eplugin-import-branch.Michael Zucci2005-07-124-84/+103
| | | | svn path=/trunk/; revision=29725
* added a idle handler that calls ec_rebuild after callback operations areVivek Jain2005-07-112-2/+34
| | | | | | | | | | | 2005-07-11 Vivek Jain <jvivek@novell.com> * e-config.c: (e_config_target_changed): added a idle handler that calls ec_rebuild after callback operations are completed. **Fixes #307794 svn path=/trunk/; revision=29721
* 2005-07-10 Shreyas SrinivasanShreyas Srinivasan2005-07-105-3/+81
| | | | | | | | * e-util/e-account.[ch]: Add structures to handle proxies. * e-util/e-account-list.[ch]: Add functions to remove proxy accounts and account's proxies. svn path=/trunk/; revision=29697
* Added widgets in INCLUDES.Kaushal Kumar2005-06-233-3/+5
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Makefile.am e-util-private.h Use EVOLUTION_IMAGESDIR and notTor Lillqvist2005-06-184-8/+27
| | | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * Makefile.am * e-util-private.h * e-win32-reloc.c: Use EVOLUTION_IMAGESDIR and not EVOLUTION_IMAGES for consistency. Handle also SEARCH_RULE_DIR and EVOLUTION_GALVIEWSDIR. svn path=/trunk/; revision=29543
* Makefile.am (INCLUDES) Add EVOLUTION_ETSPECDIR.Tor Lillqvist2005-06-184-2/+10
| | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * Makefile.am (INCLUDES) Add EVOLUTION_ETSPECDIR. * e-util-private.h * e-win32-reloc.c: Corresponding changes. svn path=/trunk/; revision=29541
* Makefile.am (INCLUDES) Add EVOLUTION_HELPDIR. Remove undefinedTor Lillqvist2005-06-184-3/+11
| | | | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * Makefile.am (INCLUDES) Add EVOLUTION_HELPDIR. Remove undefined GNOME_INCLUDEDIR. * e-win32-reloc.c: Add getter for helpdir. * e-util-private.h: Corresponding change. svn path=/trunk/; revision=29540
* Use bootstrap library for libemisdwidgets. Code here usesTor Lillqvist2005-06-184-17/+69
| | | | | | | | | | | | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * Makefile.am (WIN32_BOOTSTRAP_LIBS): Use bootstrap library for libemisdwidgets. Code here uses e_utf8_to_locale_string() from libemiscwidgets which hasn't been built yet if building from scratch. (GAL_IMAGESDIR): Remove, unused leftover. (EVOLUTION_GLADEDIR): Add. (libeutil_la_LDFLAGS, libeconduit_la_LDFLAGS): Use NO_UNDEFINED. (libeutil_la_LIBADD, libeconduit_la_LIBADD): Link with necessary libs. * e-win32-reloc.c: Update now that it is here in evolution. Use _e prefix instead of _gal. Add getters for more run-time paths. * e-util-private.h: Corresponding changes. svn path=/trunk/; revision=29526
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-1713-26/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* Added functions to show busy cursor. Add the filesSrinivasa Ragavan2005-06-084-0/+109
| | | | | | | | | 2005-06-08 Srinivasa Ragavan <sragavan@novell.com> * e-cursor.[ch]: Added functions to show busy cursor. * Makefile.am: Add the files svn path=/trunk/; revision=29472
* Removed, these are now implemented as a plugin.Not Zed2005-05-256-317/+238
| | | | | | | | | | | | | | | | | | 2005-05-25 Not Zed <NotZed@Ximian.com> * e-plugin-mono.[ch]: Removed, these are now implemented as a plugin. * e-plugin.c (ep_load_plugin): separate out plugin xml loading code from the loading loop. If a plugin type doesn't exist, then save it in a list for later checking. (ep_load): call above to do the work. (e_plugin_register_type): check the pending doc list, if any plugins now have a type, load them. (e_plugin_type_hook_get_type): a plugin hook for registering new plugin types ('loaders') at runtime. svn path=/trunk/; revision=29412
* Initial, and un-finished work on importer plugin hooks.Not Zed2005-05-194-0/+908
| | | | | | | | | 2005-05-19 Not Zed <NotZed@Ximian.com> * e-import.[ch]: Initial, and un-finished work on importer plugin hooks. svn path=/trunk/; revision=29384
* added e-error.[ch], removed e-error-tool, and added e-system.error.xmlNot Zed2005-05-166-146/+721
| | | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * Makefile.am: added e-error.[ch], removed e-error-tool, and added e-system.error.xml svn path=/trunk/; revision=29360
* if we have a factory method supplied, call that as well. More flexibleNot Zed2005-05-133-2/+17
| | | | | | | | | | 2005-05-13 Not Zed <NotZed@Ximian.com> * e-popup.c (emph_popup_factory): if we have a factory method supplied, call that as well. More flexible popup building. (emph_construct_menu): load factory def. svn path=/trunk/; revision=29352
* undefine e_profile_event_emit if we are compiled without profiling. TheNot Zed2005-05-033-2/+24
| | | | | | | | | | | | | 2005-05-03 Not Zed <NotZed@Ximian.com> * e-profile-event.c (e_profile_event_emit): undefine e_profile_event_emit if we are compiled without profiling. The 'abi' is not, nor was ever changed. * e-profile-event.h: revert previous patch, the assumptions were incorrect & the code misunderstood. svn path=/trunk/; revision=29261
* This method is a no-op if we are building without ENABLE_PROFILE defined,Rodney Dawes2005-05-032-4/+6
| | | | | | | | | | 2005-05-02 Rodney Dawes <dobey@novell.com> * e-profile-event.h (e_profile_event_emit): This method is a no-op if we are building without ENABLE_PROFILE defined, so we don't need to define a macro to no-op it, and change ABI at compile time svn path=/trunk/; revision=29259
* Braino.Tor Lillqvist2005-04-291-1/+1
| | | | svn path=/trunk/; revision=29250
* Port to Windows, initial commit:Tor Lillqvist2005-04-2910-59/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-29 Tor Lillqvist <tml@novell.com> Port to Windows, initial commit: * configure.in: Check for Win32, define Automake conditional OS_WIN32. Check for regexec() perhaps in separate -lregex, define REGEX_LIBS if so. Require glib-2.0 >= 2.6 (and thus also gtk+-2.0 >= 2.6) so that we can use the gstdio wrappers for full support of non-ASCII filenames on Win32. Don't use -D_REENTRANT on Win32, has ne special meaning. * gal.pc.in: Require gtk+-2.0 >= 2.6 also here for consistency. * gal-zip.in: New file, used to build zipfile format distribution of gal for Win32. * configure.in * Makefile.am: Add gal-zip(.in). * */Makefile.am * */*.c: Harmonize -I and #include conventions. (Of course, this hasn't anything to do with Windows porting as such, I just got carried away...) Use only -I$(top_srcdir). Use paths to gal headers staring with "gal", except for headers from the same directory as the .c file, which are included as such. Include all gal headers using doublequotes. Sort #includes and remove duplicates and obvious redundancies. Include config.h first without any HAVE_CONFIG_H, then system headers, then other GNOME lib headers, than gal's own headers. Just include gtk.h instead of separate gtk*.h headers. Don't include gi18n.h, include e-i18n.h to use e_gettext() consistently. * gal/Makefile.am: Use -no-undefined on Win32 so that libtool agrees to build a shared library. Because of the bidirectional dependency between libgal and libgal-a11y we can build libgal-a11y sanely as a shared library on Win32, so we don't install any separate libgal-a11y at all. So, on Win32, link the stuff that goes into libgal-a11y also into libgal. Link with REGEX_LIBS. * gal/a11y/Makefile.am: See above. Just build a dummy static libgal-a11y on Win32 (can't convince Automake not to build the library at all on one platform using Automake ifdef, apparently). Then (this is a gross hack) explicitly remove the library after installation in the install-data-local rule. * gal/e-table/Makefile.am * gal/e-table/e-table-config.c: Rename ETABLE_GLADEDIR to GAL_GLADEDIR for consistency. * gal/e-table/e-cell-date.c: No localtime_r() in Microsoft's C library, but its localtime() *is* thread-safe. * gal/e-table/e-cell-text.c * gal/e-table/e-cell-tree.c * gal/e-table/e-cell-vbox.c * gal/e-text/e-text.c * gal/widgets/e-unicode.c: Remove unnecessary inclusion of gdkx.h. * gal/e-table/e-cell-tree.c (ect_realize): Instead of the Xlib macro None (whose value is zero), use the corresponding zero-valued enums from the appropriate GDK type. * gal/e-table/e-table-config.c * gal/e-table/e-table-field-chooser.c * gal/menus/gal-define-views-dialog.c * gal/menus/gal-view-instance-save-as-dialog.c * gal/menus/gal-view-new-dialog.c * gal/widgets/e-categories-master-list-array.c * gal/widgets/e-categories-master-list-dialog.c * gal/widgets/e-categories.c: Use g_build_filename() to construct pathnames at run-time instead of compile-time. On Windows the macros GAL_GLADEDIR and GAL_IMAGESDIR expand to function calls, in order to support installing in a freely chosen location. * gal/e-table/e-table-item.c * gal/e-table/e-cell-vbox.c: Instrad of the Xlib GrabSuccess, use GDK_GRAB_SUCCESS (which has the same value). * gal/e-table/e-table-specification.c (e_table_specification_load_from_file) * gal/e-table/e-table.c (e_table_load_specification) * gal/e-table/e-tree-table-adapter.c (open_file) * gal/menus/gal-view-instance.c (load_current_view) * gal/menus/gal-view-instance.c (load_current_view): On Win32, convert filename to the locale character set before passing to xmlParseFile() which doesn't use UTF-8 filenames. Use gstdio wrappers. * gal/util/Makefile.am: Define GAL_PREFIX as $prefix. Define GAL_LOCALEDIR, GAL_GLADEDIR and GAL_IMAGESDIR also here for e-win32-reloc.c. Include e-win32-reloc.c on Win32. * gal/util/e-iconv.c (e_iconv_init): Use g_win32_getlocale() on Windows. * gal/util/e-util.c * gal/util/e-xml-utils.c: Use g_mkstemp() instead of non-portable mkstemp(). Use GLib pathname manipulation functions. Use gstdio wrappers. * gal/util/e-util-private.h: New file. Contains just Win32 bits for now that redefine the directory names from the Makefile as functions calls. * gal/util/e-win32-reloc.c: New file. Contains a minimal DllMain() and functions to support freely chosen installation location on Windows. * gal/util/e-xml-utils.c: No fsync() in the Microsoft C library. * gal/windgets/Makefile.am: Add -I$(top_srcdir)/gal for consistency with the sibling Makefile.am files. * gal/widgets/e-canvas.c: Instead of the Xlib AlreadyGrabbed, use GDK_GRAB_ALREADY_GRABBED. svn path=/trunk/; revision=29249
* A profiling plugin hook.Not Zed2005-04-286-1/+305
| | | | | | | | 2005-04-28 Not Zed <NotZed@Ximian.com> * e-profile-event.[ch]: A profiling plugin hook. svn path=/trunk/; revision=29239
* We should set the title of the window.Mengjie Yu2005-04-282-0/+8
| | | | | | | | | | | 2005-04-27 Mengjie Yu <meng-jie.yu@sun.com> * e-config.c: (e_config_create_window): We should set the title of the window. Fixes #300477 svn path=/trunk/; revision=29236
* Added new receipt_policy field to servicesERDI Gergo2005-04-083-1/+74
| | | | | | | | 2004-08-07 ERDI Gergo <cactus@cactus.rulez.org> * e-account.h: Added new receipt_policy field to services svn path=/trunk/; revision=29184
* ** See bug #73550 (related for config pages)Not Zed2005-03-162-10/+23
| | | | | | | | | | | | 2005-03-14 Not Zed <NotZed@Ximian.com> ** See bug #73550 (related for config pages) * e-config.c (ech_config_widget_factory): if we are disabled, then noop. (ech_config_factory, ech_commit, ech_abort): same. svn path=/trunk/; revision=29031
* Remove/disable debug.Not Zed2005-03-045-20/+21
| | | | | | | | 2005-03-01 Not Zed <NotZed@Ximian.com> * *.c: Remove/disable debug. svn path=/trunk/; revision=28948
* Make mailer depend on libedataserverui.Hans Petter Jansson2005-02-244-1024/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-23 Hans Petter Jansson <hpj@novell.com> * configure.in: Make mailer depend on libedataserverui. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * Makefile.am (eutilinclude_HEADERS) (libeutil_la_SOURCES): Remove e-passwords from here, it now lives in libedataserverui. * e-passwords.[ch]: Removed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component/addressbook-view.c: * gui/component/addressbook.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * common/authentication.c: * gui/e-pub-utils.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: * gui/dialogs/url-editor-dialog.c: Include <libedataserverui/e-passwords.h>. * gui/itip-utils.c: Remove e-passwords.h include, it's not needed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * mail-session.c: * mail-config.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component.c: * lib/e-cert-db.c: * lib/e-pkcs12.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * e-shell-window-commands.c: * e-shell.c: * main.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * camel-gw-listener.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * send-options.c: Include <libedataserverui/e-passwords.h>. svn path=/trunk/; revision=28871
* ** See bug #61363 & mail/ChangeLogNot Zed2005-02-212-9/+38
| | | | | | | | | | | | | | | | 2005-02-10 Not Zed <NotZed@Ximian.com> ** See bug #61363 & mail/ChangeLog * e-config.c (ec_rebuild): work properly if the page factory returns NULL, so the code can selectivly turn off pages. (ec_druid_next, ec_druid_prev): skip non-created pages. * e-config.c (ec_rebuild): re-order notebook child properly. Connect to destroy events so we update the widget-node widget pointer properly for linked ui reconfigures. svn path=/trunk/; revision=28827
* completely rewritten. Simpler and more robust.Not Zed2005-02-192-83/+180
| | | | | | | | | | | | | | | 2005-02-17 Not Zed <NotZed@Ximian.com> * e-popup.c (ep_prune_tree, ep_build_tree, e_popup_create_menu): completely rewritten. Simpler and more robust. 2005-02-16 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_create_menu): do the visibility mask test before sorting. don't perform it on bar's or submenu's anymore, calculate when not to show/create them. svn path=/trunk/; revision=28813
* If the plug-in is not enabled, do nothingRodney Dawes2005-02-142-0/+7
| | | | | | | | 2005-02-14 Rodney Dawes <dobey@novell.com> * e-menu.c (emph_construct): If the plug-in is not enabled, do nothing svn path=/trunk/; revision=28787
* Don't let the 'id' field, which identifies the target menu/whatever, to beNot Zed2005-02-074-0/+23
| | | | | | | | | | | | 2005-02-07 Not Zed <NotZed@Ximian.com> * e-popup.c (emph_construct_menu): * e-menu.c (emph_construct_menu): * e-config.c (emph_construct_menu): Don't let the 'id' field, which identifies the target menu/whatever, to be NULL, otherwise it gets added to all. svn path=/trunk/; revision=28728
* Set the border widths for the dialog containers to be HIG compliant FixRodney Dawes2005-02-052-2/+12
| | | | | | | | | | 2005-02-04 Rodney Dawes <dobey@novell.com> * e-passwords.c (ep_ask_password): Set the border widths for the dialog containers to be HIG compliant Fix the padding/spacing on the internal vbox to be HIG compliant svn path=/trunk/; revision=28711
* add a11y description for the entry.Mengjie Yu2005-01-272-1/+8
| | | | | | | | | 2005-01-27 Mengjie Yu <meng-jie.yu@sun.com> * e-request.c: (e_request_string):add a11y description for the entry. svn path=/trunk/; revision=28573
* add gal-a11y-e-cell-vbox.h and gal-a11y-e-cell-vbox.cLi Yuan2005-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-27 Li Yuan <li.yuan@sun.com> * gal/a11y/e-table/Makefile.am: add gal-a11y-e-cell-vbox.h and gal-a11y-e-cell-vbox.c * gal/a11y/e-table/gal-a11y-e-cell-popup.c: (gal_a11y_e_cell_popup_new): add i18n support to strings. Fixes #70261 * gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_dispose): disconnect the insert and the delete signal. (ect_check):do some check works. (ect_get_name), (ect_get_text), (ect_get_character_at_offset), (ect_get_caret_offset), (ect_get_character_count), (ect_get_n_selections), (ect_get_selection), (ect_add_selection), (ect_set_caret_offset), (ect_insert_text): use e_cell_text_get_text_by_view instead of e_cell_text_get_text. make get_name work well when e-cell-text is being edited. (ect_do_action_edit): call e_table_item_enter_edit only when the cell is editable. (ect_text_inserted_cb), (ect_text_deleted_cb): emit the text_changed::insert(delete) signal. make gnopernicus know the text_changed. (ect_class_init): add dispose function. (ect_action_init): add the edit action. (gal_a11y_e_cell_text_get_type): no ect_init function now. (cell_text_destroyed): unref the atkobject. (gal_a11y_e_cell_text_new): connect text_inserted and text_deleted singals and make sure the state of editable is right. * gal/a11y/e-table/gal-a11y-e-cell-text.h: add two signal handler id. * gal/a11y/e-table/gal-a11y-e-cell-toggle.c: (gal_a11y_e_cell_toggle_dispose): fix #70261. (model_change_cb): make gnopernicus to report state change signal. (gal_a11y_e_cell_toggle_new):add i18n support to strings. * gal/a11y/e-table/gal-a11y-e-cell-tree.c: (gal_a11y_e_cell_tree_new): add i18n support to strings. Fixes #61688 * gal/a11y/e-table/gal-a11y-e-cell-vbox.c: (ecv_get_n_children), (subcell_destroyed), (ecv_ref_child), (ecv_dispose), (ecv_ref_accessible_at_point), (ecv_class_init), (ecv_init), (ecv_atk_component_iface_init), (gal_a11y_e_cell_vbox_get_type), (gal_a11y_e_cell_vbox_new): * gal/a11y/e-table/gal-a11y-e-cell-vbox.h: implement a11y object of ECellVbox. Fixes #48976 * gal/a11y/e-table/gal-a11y-e-cell.c: function name are changed form eti_* to gal_a11y_e_cell_* (is_valid): check if the cell is valid. (gal_a11y_e_cell_dispose): make sure state_set is null. (gal_a11y_e_cell_get_name): implement the get_name function. (gal_a11y_e_cell_ref_state_set): add VISIBLE state. (gal_a11y_e_cell_get_parent), (gal_a11y_e_cell_get_index_in_parent), (gal_a11y_e_cell_get_extents): use e_tree_get_cell_geometry and e_table_get_cell_geometry instead of e_table_item_get_cell_geometry. (gal_a11y_e_cell_grab_focus): make grab_focus work with e-tree also. (gal_a11y_e_cell_atk_component_iface_init), (gal_a11y_e_cell_class_init): add get_name function. (gal_a11y_e_cell_init): add some state to cell. (idle_do_action): check if cell is valid. (gal_a11y_e_cell_action_do_action): check if cell is valid. (gal_a11y_e_cell_get_type), (gal_a11y_e_cell_construct): ref e-table-item. * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c: (etcta_get_description), (etcta_action_get_name): add i18n support to strings. (etcta_get_name): if etcta has message, return it. (etcta_ref_state_set): implement the ref_state_set function, add SENSITIVE and SHOWING state. (etcta_class_init):add ref_state_set function. (etcta_selection_cursor_changed): call atk_focus_tracker_notify to a11y-e-cell (gal_a11y_e_table_click_to_add_new): connect etcta_selection_cursor_changed to cursor_changed signal. * gal/a11y/e-table/gal-a11y-e-table-item-factory.c: (gal_a11y_e_table_item_factory_create_accessible): parameters of gal_a11y_e_table_item_new have been changed. Fixes #68675 Fixes #70324 Fixes #68681 Fixes #68627 * gal/a11y/e-table/gal-a11y-e-table-item.c: remove the cell_data support. (item_destroyed): add ATK_STATE_DEFUNCT state and unref selection. (eti_ref_state_set): just ref state_set. (eti_dispose): we have unref selection in item_destroyed. remove the cell_data support. (eti_ref_child): remove support for column header. use eti_ref_at instead of atk_table_ref_at. (eti_get_extents): add support for click to add. (eti_ref_accessible_at_point): e-tree and e-table are different here. (cell_destroyed): add a check and unref item. remove the cell_data support. (eti_ref_at): if e-table-item has DEFUNCT state, return NULL. remove the cell_data support. (eti_get_column_header): use column name as the a11y name. set it role as ATK_ROLE_TABLE_COLUMN_HEADER. (table_is_row_selected): use view_to_model_row to convert row when uses source model. (table_get_selected_rows): if e-table-item has DEFUNCT state, return 0. (table_remove_row_selection): use view_to_model_row to convert row when uses source model. (eti_rows_inserted), (eti_rows_deleted): remove the cell_data support. (eti_tree_model_node_changed_cb): emit visible-data-changed signal. for the eti_clear_rows have been removed. (eti_header_structure_changed): remove the cell_data support. (eti_class_init): add eti_ref_state_set, remove eti_get_parent and eti_get_index_in_parent. (eti_init): init parent and index_in_parent. (gal_a11y_e_table_item_new): add some states. get name form parents. init role correctly. add FOCUSED state to focused cell. remove the cell_data support. (eti_a11y_selection_changed_cb): if e-table-item has DEFUNCT state, just return. (eti_a11y_cursor_changed_cb): remove the FOCUESD state form the old cell. (selection_add_selection): if it has been focused already, just return. if another row was focused, clear it first. (selection_ref_selection): use eti_ref_at instead of atk_table_ref_at. (gal_a11y_e_table_item_init): add this function. * gal/a11y/e-table/gal-a11y-e-table-item.h: add gal_a11y_e_table_item_init and change the parameters of gal_a11y_e_table_item_new. * gal/a11y/e-table/gal-a11y-e-table.c: (find_first_table_item): find the first item of the group. (eti_get_accessible), (find_table_item): find the first table item. (init_child_item): ref every group's first item. (et_ref_accessible_at_point): no need to call init_child_item here. just ref the item. (et_get_n_children): add support for multiple ETableItems. (et_ref_child): add support for multiple ETableItems. (et_get_layer): Set AtkLayer as ATK_LAYER_WIDGET for e-table. (et_atk_component_iface_init): add et_get_layer function. (gal_a11y_e_table_new):ref the a11y and widget, and unref it in the idle function to avoid crash. Fixes #71158 * gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item): just get the a11y object of the child item. (et_get_layer): Set AtkLayer as ATK_LAYER_WIDGET for etree. (et_atk_component_iface_init): add et_get_layer function. * gal/util/e-marshal.list: add support for the text_inserted and text_deleted signal. svn path=/trunk/; revision=28572
* If the plugin isn't enabled, return TRUE so that the suer doesn't getJeffrey Stedfast2005-01-273-2/+11
| | | | | | | | | | 2005-01-26 Jeffrey Stedfast <fejj@novell.com> * e-config.c (ech_check): If the plugin isn't enabled, return TRUE so that the suer doesn't get locked in one of the account druid pages. svn path=/trunk/; revision=28565
* Fixes #46404JP Rosevear2005-01-224-0/+146
| | | | | | | | | | | | 2005-01-21 JP Rosevear <jpr@novell.com> Fixes #46404 * Makefile.am: build new files * e-print.[hc]: print related config and dialog routines svn path=/trunk/; revision=28488
* removed e-url.[ch], which are now in libedataserver.Rodrigo Moya2005-01-184-400/+5
| | | | | | | | | 2005-01-17 Rodrigo Moya <rodrigo@novell.com> * e-url.[ch]: * Makefile.am: removed e-url.[ch], which are now in libedataserver. svn path=/trunk/; revision=28437
* dont' use '%.*s' for truncating string output.Not Zed2005-01-122-1/+8
| | | | | | | | | 2005-01-08 Not Zed <NotZed@Ximian.com> * e-url.c (e_url_shroud): dont' use '%.*s' for truncating string output. svn path=/trunk/; revision=28373
* fix parsing of query stringJP Rosevear2005-01-102-2/+5
| | | | | | | | 2005-01-09 JP Rosevear <jpr@novell.com> * e-url.c (e_uri_new): fix parsing of query string svn path=/trunk/; revision=28304
* set the dialog's parent.Rodrigo Moya2005-01-082-0/+7
| | | | | | | | | 2005-01-07 Rodrigo Moya <rodrigo@novell.com> * e-categories-config.c (e_categories_config_open_dialog_for_entry): set the dialog's parent. svn path=/trunk/; revision=28276
* use the new ECategoriesDialog in libedataserverui.Rodrigo Moya2005-01-082-10/+9
| | | | | | | | | 2005-01-07 Rodrigo Moya <rodrigo@novell.com> * e-categories-config.c (e_categories_config_open_dialog_for_entry): use the new ECategoriesDialog in libedataserverui. svn path=/trunk/; revision=28274
* Add the GTK_DIALOG_NOSEPARATOR flag, and set appropriate border widthsRodney Dawes2005-01-072-1/+14
| | | | | | | | | | 2005-01-06 Rodney Dawes <dobey@novell.com> * e-config.c (e_config_create_window): Add the GTK_DIALOG_NOSEPARATOR flag, and set appropriate border widths around the main dialog vbox, and action area, to be more HIG compliant svn path=/trunk/; revision=28262
* use the base name only, so if a full path is passed to us we still writeJP Rosevear2005-01-062-2/+11
| | | | | | | | | | 2005-01-06 JP Rosevear <jpr@novell.com> * e-error-tool.c (main): use the base name only, so if a full path is passed to us we still write out to the current directory, for when builddir != srcdir svn path=/trunk/; revision=28253
* removed most of the API. The rest will be removed as the GAL dependenciesRodrigo Moya2005-01-053-114/+15
| | | | | | | | | 2005-01-04 Rodrigo Moya <rodrigo@novell.com> * e-categories-config.[ch]: removed most of the API. The rest will be removed as the GAL dependencies are sorted out. svn path=/trunk/; revision=28235
* include config.h.Not Zed2004-12-224-4/+34
| | | | | | | | | | | | | | | | | | 2004-12-22 Not Zed <NotZed@Ximian.com> * e-plugin.c: include config.h. 2004-12-17 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_add_items): add a translation domain to api. (e_popup_create_menu): translate the label using the supplied domain. (emph_popup_factory): pass domain to popup_add_items. * e-plugin.c (ep_construct): if we have a localedir set, then bindtextdomain so gettext can find it. svn path=/trunk/; revision=28175
* Fixes #30992JP Rosevear2004-12-222-1/+8
| | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> Fixes #30992 * e-config.c (e_config_create_window): use cancel rather than close button svn path=/trunk/; revision=28171
* convert to G_DEFINE_TYPEJP Rosevear2004-12-213-37/+33
| | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> * e-account.c: convert to G_DEFINE_TYPE * e-account-list.c: ditto svn path=/trunk/; revision=28165
* kill warning if we can't open the path.Not Zed2004-12-082-1/+6
| | | | | | | | | 2004-12-08 Not Zed <NotZed@Ximian.com> * e-plugin.c (e_plugin_load_plugins): kill warning if we can't open the path. svn path=/trunk/; revision=28084
* set the table spacings to 6 for generated tables.Not Zed2004-12-062-7/+32
| | | | | | | | | | | | | | 2004-12-06 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): set the table spacings to 6 for generated tables. 2004-11-22 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): if the table existed before and we have no factory, destroy it always. svn path=/trunk/; revision=28069
* revert the patch from chenthill, this wont work yet.Not Zed2004-12-032-4/+6
| | | | | | | | | 2004-12-03 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): revert the patch from chenthill, this wont work yet. svn path=/trunk/; revision=28057
* removed, code moved into camel-net-utils.[ch].Not Zed2004-12-0320-5433/+18
| | | | | | | | | | | | | | | | 2004-11-16 Not Zed <NotZed@Ximian.com> * e-host-utils.[ch]: removed, code moved into camel-net-utils.[ch]. 2004-11-15 Not Zed <NotZed@Ximian.com> * e-trie.[ch], e-memory.[ch], e-sexp.[ch], e-msgport.[ch]: Moved to eds/libedataserver. * e-path.[ch]: removed & deleted. svn path=/trunk/; revision=28050
* add mnemonic for label. add description for password dialog.Mengjie Yu2004-12-013-1/+10
| | | | | | | | | 2004-12-01 Mengjie Yu <meng-jie.yu@sun.com> * e-config.c: (ec_rebuild):add mnemonic for label. * e-passwords.c: (ep_ask_password):add description for password dialog. svn path=/trunk/; revision=28028
* get the image directly from the icon factoryJP Rosevear2004-11-267-80/+99
| | | | | | | | | | | | | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * e-gui-utils.c (e_create_image_widget): get the image directly from the icon factory * e-config.c: insert debug defines so we can turn spew on and off * e-event.c: insert debug defines so we can turn spew on and off * e-menu.c: insert debug defines so we can turn spew on and off * e-plugin.c: insert debug defines and set to off for now * e-popup.c: insert debug defines so we can turn spew on and off (e_popup_create_menu): get the image directly from the icon factory svn path=/trunk/; revision=27997
* add protoJP Rosevear2004-11-263-2/+26
| | | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * e-icon-factory.h: add proto * e-icon-factory.c (e_icon_factory_init): cast to kill warning (e_icon_factory_get_image): new function to return a GtkImage widget give an icon name and size svn path=/trunk/; revision=27995
* Set the row and column spacings as tweleve while creating the table toChenthill Palanisamy2004-11-252-1/+9
| | | | | | | | | 2004-11-25 Chenthill Palanisamy <pchenthill@novell.com> * e-config.c (ec_rebuild): Set the row and column spacings as tweleve while creating the table to make it HIG compliant. svn path=/trunk/; revision=27985
* if the plugin fails to load just disable it, don't unref it (it may beNot Zed2004-11-192-7/+10
| | | | | | | | | 2004-11-19 Not Zed <NotZed@Ximian.com> * e-plugin.c (ep_load): if the plugin fails to load just disable it, don't unref it (it may be referenced elsewhere). svn path=/trunk/; revision=27944
* split out module loadng code. (epl_construct): if we're enabled, andNot Zed2004-11-182-20/+53
| | | | | | | | | | 2004-11-18 Not Zed <NotZed@Ximian.com> * e-plugin.c (epl_loadmodule): split out module loadng code. (epl_construct): if we're enabled, and load-on-startup is set, load the module right away. Not to be abused! svn path=/trunk/; revision=27939
* added helper api to list all plugins. (ep_construct): load authors intoNot Zed2004-11-033-11/+148
| | | | | | | | | | | | | | 2004-11-03 Not Zed <NotZed@Ximian.com> * e-plugin.c (e_plugin_list_plugins): added helper api to list all plugins. (ep_construct): load authors into new list for them. (e_plugin_register_type): setup disabled list. (ep_construct): dont load the hooks if we're not enabled. (e_plugin_enable): make this a virutal method. (e_plugin_invoke): if we're disabled, noop. svn path=/trunk/; revision=27809
* ** See bug #68787Not Zed2004-11-022-30/+47
| | | | | | | | | | | | 2004-11-01 Not Zed <NotZed@Ximian.com> ** See bug #68787 * e-account.c (xml_set_content): check the new val isn't null before dereferencing it. * e-account.c (xml_set_prop): same here. svn path=/trunk/; revision=27789
* revert the last change.Not Zed2004-10-282-5/+6
| | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): revert the last change. svn path=/trunk/; revision=27748
* set the default row/col spacings of the table.Not Zed2004-10-282-1/+9
| | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): set the default row/col spacings of the table. svn path=/trunk/; revision=27747
* check for empty trailing sections/pages after we exit the main loop.Not Zed2004-10-204-5/+38
| | | | | | | | | | | | | | | | 2004-10-20 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): check for empty trailing sections/pages after we exit the main loop. * e-plugin.c (e_plugin_get_type): make ~/.eplugins the default eplugin location, not ~/.eplug. 2004-10-18 Not Zed <NotZed@Ximian.com> * e-config.h: fix some forward decls. svn path=/trunk/; revision=27644
* convert to org.gnome hook namesJP Rosevear2004-10-207-24/+29
| | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * e-config.c, e-event.c, e-menu.c, e-plugin.c, e-plugin.h, e-popup.c: convert to org.gnome hook names svn path=/trunk/; revision=27633
* Use "%s" as the formatter argument and msg->prompt as a printf-styleJeffrey Stedfast2004-10-142-1/+7
| | | | | | | | | | 2004-10-07 Jeffrey Stedfast <fejj@novell.com> * e-passwords.c (ep_ask_password): Use "%s" as the formatter argument and msg->prompt as a printf-style argument rather than using it as the format string. Fixes bug #67622. svn path=/trunk/; revision=27566
* (untested, it compiles!).Not Zed2004-10-123-0/+38
| | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * e-config.c (ech_check, ech_config_factory, emph_construct_menu): setup a "check" handler, page-check/validation callback. svn path=/trunk/; revision=27551
* new method to create a targetless popup menu.Not Zed2004-10-123-0/+26
| | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_new): new method to create a targetless popup menu. svn path=/trunk/; revision=27545
* fix typoJP Rosevear2004-10-082-1/+5
| | | | | | | | 2004-10-08 JP Rosevear <jpr@novell.com> * e-plugin.c (ep_load): fix typo svn path=/trunk/; revision=27505
* handle wrong root element properly. From David TrowbridgeNot Zed2004-10-082-2/+10
| | | | | | | | | 2004-10-08 Not Zed <NotZed@Ximian.com> * e-plugin.c (ep_load): handle wrong root element properly. From David Trowbridge <David.Trowbridge@Colorado.edu> svn path=/trunk/; revision=27503
* Fix the function pointer types!Not Zed2004-10-072-2/+4
| | | | | | | | 2004-10-07 Not Zed <NotZed@Ximian.com> * e-plugin.h: Fix the function pointer types! svn path=/trunk/; revision=27499
* noop if we're disabled, and do some lifecycle stuff now, callNot Zed2004-10-073-5/+39
| | | | | | | | | | 2004-10-07 Not Zed <NotZed@Ximian.com> * e-plugin.c (epl_invoke): noop if we're disabled, and do some lifecycle stuff now, call e_plugin_lib_enable on the module if it exists. svn path=/trunk/; revision=27494
* show the toplevel notebook if we had to create one, always.Not Zed2004-10-075-70/+234
| | | | | | | | | | | | | | | | | | 2004-10-07 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): show the toplevel notebook if we had to create one, always. * e-menu.c (e_menu_add_items): initialise node->menu properly. * e-plugin.c (ep_load): read/initialise a unique id for all plugins and track them in a hashtable. (ep_construct): refactor so we have more control over what happens. if the hook handling class isn't registered yet, just note it and keep going. (e_plugin_hook_new): remove this, its handled internally by above. svn path=/trunk/; revision=27490
* only take one mask parameter, and implement EPopupItem->enable to do whatNot Zed2004-10-073-21/+52
| | | | | | | | | | | | | 2004-10-06 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_create_menu): only take one mask parameter, and implement EPopupItem->enable to do what the other mask did. (ep_activate): if this is a toggle or radiobutton, set the active state on the item->type. (e_popup_create_menu): if a menu image starts with gtk-, then assume it is a gtk stock image instead. svn path=/trunk/; revision=27485
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-2016-48/+6565
| | | | svn path=/trunk/; revision=27300
* return cancelled if we're in an offline state.Not Zed2004-08-303-0/+28
| | | | | | | | | 2004-08-27 Not Zed <NotZed@Ximian.com> * e-passwords.c (e_passwords_ask_password): return cancelled if we're in an offline state. svn path=/trunk/; revision=27074
* updated from libegg.Rodrigo Moya2004-08-273-62/+206
| | | | | | | | 2004-08-26 Rodrigo Moya <rodrigo@novell.com> * eggtrayicon.[ch]: updated from libegg. svn path=/trunk/; revision=27040
* Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >=Frédéric Crozat2004-08-253-0/+12
| | | | | | | | | * e-dialog-utils.c: (e_notice): * e-passwords.c: (ep_ask_password): Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >= 2.4.0. svn path=/trunk/; revision=27018
* include gtkdialog.h rather than gnome-dialog.h.Rodrigo Moya2004-08-142-1/+5
| | | | | | | | 2004-08-13 Rodrigo Moya <rodrigo@novell.com> * e-categories-config.c: include gtkdialog.h rather than gnome-dialog.h. svn path=/trunk/; revision=26921
* Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0Carlos Garnacho Parro2004-08-132-11/+52
| | | | | | | | | 2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> * e-dialog-utils.c: Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0 svn path=/trunk/; revision=26893
* ** See bug #61840, and others.Not Zed2004-08-123-214/+560
| | | | | | | | | | | | | | | | 2004-08-10 Not Zed <NotZed@Ximian.com> ** See bug #61840, and others. * e-passwords.c: Lots of changes. The api is now fully multi-thread safe, all calls are serialised internally, even recursive main-loop calls. Small api changes to the ask_password call to add some new features required by the mailer and to clean up some of the names. (e_passwords_cancel): new procedure to cancel any outstanding password requests, for when we need to go uninteractive. svn path=/trunk/; revision=26878
* We must return TRUE here so that things actually get removed from the listRodney Dawes2004-08-102-0/+7
| | | | | | | | | 2004-08-09 Rodney Dawes <dobey@novell.com> * e-icon-factory.c (icon_foreach_remove): We must return TRUE here so that things actually get removed from the list svn path=/trunk/; revision=26857
* connect to "changed" signal on the GnomeIconTheme object.Rodrigo Moya2004-08-062-2/+20
| | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> * e-icon-factory.c (e_icon_factory_init): connect to "changed" signal on the GnomeIconTheme object. (icon_theme_changed_cb): g_hash_table_foreach_remove all items in the hash table. (icon_foreach_remove): callback for removing hash table items. svn path=/trunk/; revision=26834
* Fixes #62030Rodrigo Moya2004-08-052-4/+13
| | | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> Fixes #62030 * e-icon-factory.c (load_icon): get the icon_key as a new argument and use that in the call to icon_new(). (e_icon_factory_get_icon): pass icon_key to load_icon(). (e_icon_factory_get_icon_list): ditto. svn path=/trunk/; revision=26830
* find the source with the pilot-sync property (e_pilot_set_sync_source):JP Rosevear2004-08-036-225/+62
| | | | | | | | | | | | | | | 2004-08-01 JP Rosevear <jpr@novell.com> * e-pilot-util.c (e_pilot_get_sync_source): find the source with the pilot-sync property (e_pilot_set_sync_source): give the source the pilot-sync property and make sure its the only one * e-pilot-util.h: add prototypes * Makefile.am (eutilincludedir): don't build pilot settings svn path=/trunk/; revision=26800
* include config.h. See #61395.Not Zed2004-07-222-0/+8
| | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * e-dialog-utils.c: include config.h. See #61395. svn path=/trunk/; revision=26697
* debugify a few more printfsDan Winship2004-07-141-3/+3
| | | | svn path=/trunk/; revision=26649
* un-const the return values, since they need to be freed (d): turn offDan Winship2004-07-143-10/+16
| | | | | | | | | * e-mktemp.c (e_mktemp, e_mkdtemp): un-const the return values, since they need to be freed (d): turn off debugging (expire_dir_rec): remove debug printfs svn path=/trunk/; revision=26647
* [ fixes #60691 ]Chris Toshok2004-07-034-7/+20
| | | | | | | | | | | | | | | | | 2004-07-02 Chris Toshok <toshok@ximian.com> [ fixes #60691 ] * e-iterator.h: rename the "delete" member to "remove", to fix c++ build. * e-iterator.c (e_iterator_delete): same. (e_iterator_class_init): same. * e-list-iterator.c (e_list_iterator_class_init): same. (e_list_iterator_remove): same. svn path=/trunk/; revision=26563
* If the icon_name is an abolute path, just load it.Dan Winship2004-06-032-6/+17
| | | | | | | | * e-icon-factory.c (load_icon): If the icon_name is an abolute path, just load it. (e_icon_factory_get_icon): Update the docs to reflect that svn path=/trunk/; revision=26168
* use statvfs if available. Should make it actually work, if not portable.Not Zed2004-06-012-6/+25
| | | | | | | | | | 2004-06-01 Not Zed <NotZed@Ximian.com> * e-fsutils.c (e_fsutils_avail): use statvfs if available. Should make it actually work, if not portable. This is for a bug but I can't recall the number. svn path=/trunk/; revision=26139
* Require e-error-toolRodney Dawes2004-05-282-1/+5
| | | | | | | | | | | | 2004-05-27 Rodney Dawes <dobey@novell.com> * e-util/Makefile.am (dist-hook): Require e-error-tool 2004-05-27 Rodney Dawes <dobey@novell.com> * */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist" svn path=/trunk/; revision=26114
* add e-error-toolDan Winship2004-05-271-0/+1
| | | | svn path=/trunk/; revision=26109
* doh. need to append ".png" to the icon filenames when falling back on ↵Jeffrey Stedfast2004-05-201-2/+2
| | | | | | looking for them ourselves. svn path=/trunk/; revision=25987
* Lots of re-working action. We no longer load a pixbuf for each and everyJeffrey Stedfast2004-05-203-98/+186
| | | | | | | | | | | | | | | | | | | | | | 2004-05-19 Jeffrey Stedfast <fejj@novell.com> * e-icon-factory.c: Lots of re-working action. We no longer load a pixbuf for each and every available size when requesting the icon for the first time, instead we simply load the requested icon of the requested size and cache only that. (e_icon_factory_get_icon): Always return a broken image icon if we fail to load the requested icon. (e_icon_factory_get_icon_list): Only bother with adding icons of the sizes that are suggested by ghe gtk documentation for gtk_window_set_icon_list rather than the sizes of the standard icons (since it isn't the same list of sizes). (load_icon): Fall back to EVOLUTION_ICONSDIR/WWxHH/icon_name if the icon-theme lookup fails. Also now takes a 'scale' argument which, if non-zero, allows us to look for images of the same name with a larger size in order to scale them back down to what we need. svn path=/trunk/; revision=25986
* We always have GnomeIconTheme nowadays, get rid of the old unused code.Jeffrey Stedfast2004-05-192-55/+29
| | | | | | | | | | 2004-05-19 Jeffrey Stedfast <fejj@novell.com> * e-gui-utils.c (e_icon_for_mime_type): We always have GnomeIconTheme nowadays, get rid of the old unused code. (e_create_image_widget): Use E_ICON_SIZE_DIALOG svn path=/trunk/; revision=25978
* 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