Commit Graph

800 Commits

Author SHA1 Message Date
ae8d643790 Committing the calendar publishing patch.
svn path=/trunk/; revision=30876
2005-12-19 11:23:11 +00:00
0af822221f Silence unused variable warning.
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* e-dialog-utils.c (e_file_dialog_save_folder): Silence unused
	variable warning.

svn path=/trunk/; revision=30855
2005-12-18 08:28:01 +00:00
f2beba850d Nah, don't include <libedataserver/e-xml-utils.h> here. Just edit the
users of the functions that moved there include it instead of, or in
addition to, "e-util/e-xml-utils.h".

svn path=/trunk/; revision=30829
2005-12-17 17:09:34 +00:00
52ff11927a For building on Win32 against GTK+ 2.8, include a copy of the
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* eggtrayicon.c: For building on Win32 against GTK+ 2.8, include a
	copy of the GtkStatusIcon code from GTK+ HEAD (i.e., what will be
	GTK+ 2.10) and some helper functions from gdk/win32. Eventually
	when GTK+ 2.10 is released and Evo no longer needs to support
	older GTK+ versions, eggtrayicon.[ch] can be removed completely
	from here, as the use of eggtrayicon in ../calendar/gui/
	alarm-notify/alarm-queue.c will automatically switch to using
	GtkStatusIcon instead.

	* eggtrayicon.h: Ditto, for building on Win32 against GTK+ 2.8,
	include a copy of gtkstatusicon.h from GTK+ HEAD.

svn path=/trunk/; revision=30827
2005-12-17 16:58:55 +00:00
d074203600 Remove these functions that are now in libedataserver/e-xml-utils.c
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-xml-utils.c (e_xml_get_child_by_name, e_xml_save_file): Remove
	these functions that are now in libedataserver/e-xml-utils.c

	* e-xml-utils.h: Include libedataserver/e-xml-utils.h.

svn path=/trunk/; revision=30826
2005-12-17 16:50:36 +00:00
0c08672df9 Use GLib API where applicable for portability.
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-plugin.c: Use GLib API where applicable for portability.

	* e-plugin.c: Use e_xml_parse_file() and e_xml_save_file()
	instead of using libxml directly.

	* e-plugin.c: Add copyright header.
	(epl_construct): [Win32 only:] Remap the plugin location from the
	compile-time path to to a run-time path, to handle the common case
	where the location in the .eplug file is in Evo's compile-time
	prefix. Use libedataserver's e_util_get_prefix() and
	e_util_replace_prefix(). We could alternatively use relative paths
	in the .eplug files on Win32, like we do for .server files.

svn path=/trunk/; revision=30825
2005-12-17 16:31:42 +00:00
491a3a6343 Use e_xml_parse_file() and e_xml_save_file() instead of using libxml
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-pilot-map.c: Use e_xml_parse_file() and e_xml_save_file()
	instead of using libxml directly.

svn path=/trunk/; revision=30824
2005-12-17 15:56:16 +00:00
656e89904c Use GLib API where applicable for portability.
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-mktemp.c: Use GLib API where applicable for portability.

svn path=/trunk/; revision=30823
2005-12-17 15:52:21 +00:00
9abe43b9c3 Use GLib API where applicable for portability.
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-icon-factory.c: Use GLib API where applicable for portability.

svn path=/trunk/; revision=30822
2005-12-17 15:48:19 +00:00
5786ebbccf e-error.c Use gstdio wrappers. Use GDir instead of dirent.
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-error.c
	* e-fsutils.c: Use gstdio wrappers. Use GDir instead of dirent.

	* e-error.c
	* e-folder-map.c: Use e_xml_parse_file() instead of using libxml
	directly.

svn path=/trunk/; revision=30821
2005-12-17 15:43:23 +00:00
f90e52b1c0 Don't need EXTRA_GNOME_CFLAGS or GNOME_FULL_CFLAGS.
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* Makefile.am (INCLUDES): Don't need EXTRA_GNOME_CFLAGS or
	GNOME_FULL_CFLAGS.

svn path=/trunk/; revision=30820
2005-12-17 14:15:38 +00:00
22e9edd52a e-util-private.h (fsync) Don't bother with a Win32 implementation of
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-util-private.h (fsync)
	* e-util.c: Don't bother with a Win32 implementation of fsync() as
	the uses of fsync() in evo are pretty irrelevant. Just #define
	fsync() away on Win32.

svn path=/trunk/; revision=30796
2005-12-17 11:45:52 +00:00
50bc9229d3 Remove dead files. Refer
2005-12-12 Harish Krishnaswamy <kharish@novell.com>
Remove dead files. Refer http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=evolution&who=vvaradan&date=explicit&mindate=2005-12-12%2011:23&maxdate=2005-12-12%2011:25
for more information.

svn path=/trunk/; revision=30759
2005-12-12 16:58:32 +00:00
7360a3396c Patch from Irene Huang <Irene.Huang@sun.com>.
*  Remove files that have an identical counterpart in
        libedataserver.
	*  Replace the use of such files with appropriate counterpart path.

svn path=/trunk/; revision=30758
2005-12-12 16:24:21 +00:00
c1b0b713ca prefix the wrapper functions with e - do not use g lest it is assumed to
2005-12-09  Harish Krishnaswamy  <kharish@novell.com>

* e-util.[ch] (e_str_compare), (e_str_case_compare),
(e_collate_compare), (e_int_compare): prefix the wrapper
functions with e - do not use g lest it is assumed to
be a glib function.

* e-table-example-2.c (create_table), e-table-extras.c (ete_init):
* e-table-size-test.c (create_table), test-check.c (check_test):
* test-cols.c (multi_cols_test), test-table.c (table_browser_test):
 s/g_*_compare/e_*_compare.

svn path=/trunk/; revision=30739
2005-12-09 11:01:23 +00:00
18c0885376 Use g_get_tmp_dir() instead of hardcoding /tmp.
2005-11-26  Tor Lillqvist  <tml@novell.com>

	* e-menu.c (emph_construct_menu): Use g_get_tmp_dir() instead of
	hardcoding /tmp.

	* e-util.c (e_strstrcase): Use g_ascii_strncasecmp() instead of
	the deprecated g_strncasecmp(). What kinds of strings this
	function is supposed to be used on (UTF-8 or some random single-
	or multi-byte encoding) is anybody's guess. This function isn't
	used in Evolution and should probably go away, though. And this is
	one of the files that have a partially duplicated copy in
	e-d-s/libedataserver, too, so doubly so.
	(e_filename_make_safe): Mark more bytes as unsafe on Win32. Add
	comments. This function is really under-specified and weird, one
	wonders whether it really does what the author thought it should
	do.
	(fsync): Add Win32 implementation of fsync().

	* e-xml-utils.c (e_xml_get_bool_prop_by_name_with_default): Use
	g_ascii_strcasecmp() instead of the deprecated g_strcasecmp(),
	especially as we are comparing to literal ASCII strings.

svn path=/trunk/; revision=30684
2005-11-26 03:51:16 +00:00
9fa1e996bc e-dialog-utils.c Conditionalize X11 specific code on GDK_WINDOWING_X11.
2005-11-26  Tor Lillqvist  <tml@novell.com>

	* e-dialog-utils.c
	* e-gtk-utils.c: Conditionalize X11 specific code on GDK_WINDOWING_X11.

svn path=/trunk/; revision=30683
2005-11-26 03:15:16 +00:00
1dc9b43484 Conditionalize X11 stuff on GDK_WINDOWING_X11.
2005-11-26  Tor Lillqvist  <tml@novell.com>

	* e-dialog-utils.c: Conditionalize X11 stuff on GDK_WINDOWING_X11.

svn path=/trunk/; revision=30682
2005-11-26 02:48:16 +00:00
6dc1dc5620 Sort the stuff in the Win32 part for clarity. Add some new run-time
2005-11-25  Tor Lillqvist  <tml@novell.com>

	* e-util-private.h: Sort the stuff in the Win32 part for
	clarity. Add some new run-time overrides for compile-time
	paths. Include fcntl.h and define O_BINARY as zero if not defined
	(on Unix).

	* e-win32-reloc.c: Sort here, too, and add the implementation for
	the new run-time overrides.

	* Makefile.am: Ditto here. Link with INTLLIBS.

svn path=/trunk/; revision=30670
2005-11-25 14:32:54 +00:00
1e9e8ac380 modified e_categories_config_get_icon_for to have a g_object_unref for the
GdkPixBuff object created here.

svn path=/trunk/; revision=30584
2005-11-09 11:42:49 +00:00
c6aa38887f Commiting the patch for showing menu items in calendar attachment bar.
svn path=/trunk/; revision=30524
2005-10-18 09:57:20 +00:00
b0bbe73658 dded case insensitive compare support etable, and using it for Organization
filed. Fixes #207110. Patch submitted by
"Devashish Sharma  <sdevashish@novell.com>"

svn path=/trunk/; revision=30489
2005-10-04 13:06:08 +00:00
14d14477fd Use g_get_current_time() instead of gettimeofday() for portability.
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* e-profile-event.c (e_profile_event_target_new): Use
	g_get_current_time() instead of gettimeofday() for portability.

svn path=/trunk/; revision=30396
2005-09-28 10:20:03 +00:00
b105af8066 Use g_ascii_strncasecmp() instead of strncasecmp(). We are comparing to
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* e-html-utils.c (e_text_to_html_full): Use g_ascii_strncasecmp()
	instead of strncasecmp(). We are comparing to literal ASCII
	strings, just casefolding ASCII is enough. Also better for
	portability.

svn path=/trunk/; revision=30395
2005-09-28 10:16:34 +00:00
6c7d2845a4 cast warning, good ol win32 patches. (e_strftime): fix some clahey-code to
2005-08-23  Not Zed  <NotZed@Ximian.com>

        * e-util.c (e_mkdir_hier): cast warning, good ol win32 patches.
        (e_strftime): fix some clahey-code to use the right variable and
        not try to modify const strings by stealth.

        * eggtrayicon.h: add missing prototype.

        * e-gui-utils.c (e_create_image_widget): remove unused pixbuf.

        * e-dialog-utils.c (dialog_realized): fix cast.
        (e_dialog_set_transient_for_xid): same.
        (e_file_dialog_save): fix cases for build.

        * e-categories-config.c
        (e_categories_config_open_dialog_for_entry): cast & use right type
        for text.
        (icons_table[]): remove unused.

        * e-account-list.c (e_account_list_remove_account_proxies): cast
        to fix warning.

svn path=/trunk/; revision=30215
2005-08-24 03:05:59 +00:00
c88db7d4ce e-plugin.c (ep_set_enabled): Fix compiler warning on early bailout
svn path=/trunk/; revision=30204
2005-08-22 19:46:44 +00:00
2c08d66386 fixed a typo: s/occured/occurred/g
svn path=/trunk/; revision=30180
2005-08-21 19:35:00 +00:00
d97bfb1db5 Use g_get_charset() on Win32 to get locale charset. Free return value from
2005-08-18  Tor Lillqvist  <tml@novell.com>

	* e-iconv.c (e_iconv_init): Use g_get_charset() on Win32 to get
	locale charset. Free return value from g_win32_getlocale().

svn path=/trunk/; revision=30151
2005-08-18 00:40:37 +00:00
14e9427a9e Use g_win32_getlocale() to get locale on Win32. (setlocale() returns
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
2005-08-10 10:58:05 +00:00
99bb93cb5a Pass also EVOLUTION_SYSCONFDIR, EVOLUTION_DATADIR and EVOLUTION_LIBDIR.
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
2005-08-10 09:18:27 +00:00
a43c128c4b Handle also EVOLUTION_LIBEXECDIR, EVOLUTION_SOUNDDIR and
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
2005-08-09 22:56:42 +00:00
d2d726ba6e Use privsolib instead of privlib. On Unix they are the same, on Win32
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
2005-08-09 22:53:23 +00:00
da0dfdbcff Added a doc comment
svn path=/trunk/; revision=29764
2005-07-14 02:13:15 +00:00
9f12922bd8 Merge back eplugin-import-branch.
svn path=/trunk/; revision=29725
2005-07-12 04:04:14 +00:00
073ef931e6 added a idle handler that calls ec_rebuild after callback operations are
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-11 14:17:15 +00:00
38035659d1 2005-07-10 Shreyas Srinivasan
* 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
2005-07-10 09:55:57 +00:00
df07f02cae Added widgets in INCLUDES.
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
2005-06-23 09:11:11 +00:00
2f68a1a5bf Makefile.am e-util-private.h Use EVOLUTION_IMAGESDIR and not
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
2005-06-18 15:59:56 +00:00
6342de451e Makefile.am (INCLUDES) Add EVOLUTION_ETSPECDIR.
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
2005-06-18 13:11:15 +00:00
7fe7d3226c Makefile.am (INCLUDES) Add EVOLUTION_HELPDIR. Remove undefined
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
2005-06-18 12:41:11 +00:00
889c16f34d Use bootstrap library for libemisdwidgets. Code here uses
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
2005-06-17 23:35:00 +00:00
27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
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
2005-06-17 15:20:35 +00:00
74907305ce Added functions to show busy cursor. Add the files
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
2005-06-08 11:46:48 +00:00
5d1ad7fc3d Removed, these are now implemented as a plugin.
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
2005-05-25 10:51:36 +00:00
1907cf0faa Initial, and un-finished work on importer plugin hooks.
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
2005-05-19 06:09:45 +00:00
68400be65e added e-error.[ch], removed e-error-tool, and added e-system.error.xml
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
2005-05-16 06:10:22 +00:00
b28bcfc9e5 if we have a factory method supplied, call that as well. More flexible
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
2005-05-13 11:08:46 +00:00
485851ec70 undefine e_profile_event_emit if we are compiled without profiling. The
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
2005-05-03 11:19:18 +00:00
59ea710a67 This method is a no-op if we are building without ENABLE_PROFILE defined,
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
2005-05-02 16:46:14 +00:00
72e892c1b6 Braino.
svn path=/trunk/; revision=29250
2005-04-29 14:35:58 +00:00