2006-02-09 Harish Krishnaswamy <kharish@novell.com>
* e-bconf-map.c: Upstreaming Olaf Hering's patch
to use signed chars.
svn path=/trunk/; revision=31459
2006-01-10 Simon Zheng <simon.zheng@sun.com>
* e-mktemp.c (get_dir):
* e-plugin.c:
* e-util.[ch] (e_create_directory):
(e_sort):
Delete e_mkdir_hier(), and use e_util_mkdir_hier()
instead of it.
Delete e_strstrcasea(), and use e_util_strstrcase()
instead of it.
Delete e_strftime(), use the copy in evolution-data-server/
libedataserver/e-data-server-util.c instead of it.
Delete e_filename_make_safe(), and use the copy in
evolution-data-server/libedataserver/e-data-server-util.c
instead of it.
Detelte e_utf8_strftime(), and use the copy in
evolution-data-server/libedataserver/e-data-server-util.c
instead of it.
svn path=/trunk/; revision=31117
2006-01-02 Tor Lillqvist <tml@novell.com>
* e-menu.c (emph_construct_menu): Don't eventually free a return
value from xmlGetProp() with g_free(). g_strdup() it first, and
xmlFree() what xmlGetProp() returned.
On Win32, replace a configure-time prefix of the ui file with the
run-time one.
svn path=/trunk/; revision=31021
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 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 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 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 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 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 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
* 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-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-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-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-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 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-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-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-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 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 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-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-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-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