2005-12-18 Tor Lillqvist <tml@novell.com>
* gal-combo-text.c (strcase_equal): Use g_ascii_strcasecmp().
(strcase_hash): Use g_ascii_tolower().
svn path=/trunk/; revision=30868
2005-12-18 Tor Lillqvist <tml@novell.com>
* e-table-config.c (find_model_column_by_name): Use
g_ascii_strcasecmp() instead of g_strcasecmp(). This function
handles the English column names.
* e-table-specification.c (e_table_specification_load_from_file)
* e-table-state.c (e_table_state_load_from_file):
Use e_xml_parse_file().
svn path=/trunk/; revision=30867
2005-12-18 Tor Lillqvist <tml@novell.com>
* e-send-options.c: Use gstdio wrappers. Construct glade file name
at run-time.
svn path=/trunk/; revision=30866
2005-12-18 Tor Lillqvist <tml@novell.com>
* e-attachment.c: Use gstdio wrappers. Construct glade file name
at run-time.
svn path=/trunk/; revision=30864
2005-12-18 Tor Lillqvist <tml@novell.com>
* Makefile.am: Link with bootstrap libs on Win32. Use
EVOLUTION_IMAGES instead of MAP_DIR for uniformity. Use
EVOLUTION_MAIL_CFLAGS instead of E_WIDGETS_CFLAGS. Use privsolib
instead of privlib (no difference on Unix). Use -no-undefined on
Win32. Link with all required libraries.
svn path=/trunk/; revision=30863
2005-12-18 Tor Lillqvist <tml@novell.com>
* menus/gal-view-instance.c: Include libedataserver/e-xml-utils.h
for e_xml_save_file() prototype.
svn path=/trunk/; revision=30862
2005-12-18 Tor Lillqvist <tml@novell.com>
* menus/gal-view-collection.c (gal_view_collection_save): Include
libedataserver/e-xml-utils.h for e_xml_save_file() prototype.
svn path=/trunk/; revision=30861
2005-12-18 Tor Lillqvist <tml@novell.com>
* lib/e-cert-db.c
* lib/e-pkcs12.c: Use gstdio wrappers. Open file in binary mode.
svn path=/trunk/; revision=30858
2005-12-18 Tor Lillqvist <tml@novell.com>
* audio-inline.c: Use g_ascii_strcasecmp() instead of
strcasecmp(), especially as we are comparing to plain ASCII
strings.
svn path=/trunk/; revision=30856
2005-12-18 Tor Lillqvist <tml@novell.com>
* em-folder-browser.c
* em-folder-view.c
* em-format-html.c
* em-format-html-display.c
* em-mailer-prefs.c
* em-message-browser.c
* em-migrate.c
* em-subscribe-editor.c
* em-sync-stream.c
* em-utils.c
* em-vfolder-editor.c
* em-vfolder-rule.c
* mail-autofilter.c
* mail-component.c
* mail-config.c
* mail-folder-cache.c: Use gstdio wrappers. Construct pathnames of
glade, xml, etspec and png files at run-time. Use
g_filename_{to,from}_uri().
* em-folder-browser.c (emfb_init)
* em-folder-view.c (emfv_finalise)
* em-message-browser.c (emmb_init): As EMFolderView::ui_files now
always is a list of filenames constructed with g_build_filename(),
use g_free() on each list entry before calling g_slist_free() on
the list.
* em-folder-tree-model.c (em_folder_tree_model_load_state): Use
e_xml_parse_file().
* em-migrate.c: Bypass all the code for upgrading from 1.x on Win32.
(emm_setup_initial): Use GDir instead of dirent.
* em-sync-stream.c
* mail-folder-cache.c: Use pthread_equal() to compare pthread_t
values.
* em-vfs-stream.c: No EINPROGRESS or ELOOP on Win32.
svn path=/trunk/; revision=30854
2005-12-18 Tor Lillqvist <tml@novell.com>
* em-filter-editor.c: Use gstdio wrappers. Construct pathnames of
glade files at run-time.
svn path=/trunk/; revision=30853
2005-12-18 Tor Lillqvist <tml@novell.com>
* em-account-prefs.c: Use gstdio wrappers. Construct pathnames of
glade files at run-time.
svn path=/trunk/; revision=30852
2005-12-18 Tor Lillqvist <tml@novell.com>
* em-account-editor.c: Use gstdio wrappers. Construct pathnames of
glade files at run-time.
svn path=/trunk/; revision=30851
2005-12-17 Tor Lillqvist <tml@novell.com>
* e-config-upgrade.c: Use libedataserver's e_xml_parse_file()
instead of xmlParseFile() directly.
* e-shell.c
* e-shell-importer.c: Use GLib API when applicable.
* e-shell-importer.c
* e-shell-window.c: Construct pathname of glade file at run-time.
* e-shell-window-commands.c: Include e-util-private.h for Win32
redefinition of EVOLUTION_DATADIR.
* main.c: No SIGSEGV handling on Win32.
(main): Drop unused evolution_directory variable.
svn path=/trunk/; revision=30849
2005-12-17 Tor Lillqvist <tml@novell.com>
* message-tag-followup.c: Beautify #include order and syntax. Use
gstdio wrappers. Construct pathnames of files to be read at
run-time instead of using compile-time paths.
svn path=/trunk/; revision=30842
2005-12-17 Tor Lillqvist <tml@novell.com>
* message-list.c: Beautify #include order and syntax. Use gstdio
wrappers. Construct pathnames of files to be read at run-time
instead of using compile-time paths.
svn path=/trunk/; revision=30841
2005-12-17 Tor Lillqvist <tml@novell.com>
* mail-vfolder.c: Harmonize #include order and syntax. Use
pthread_equal() to compare pthread_t values.
* mail-vfolder.c: Use gstdio wrappers. Construct XML file pathname
at run-time.
svn path=/trunk/; revision=30840
2005-12-13 Tor Lillqvist <tml@novell.com>
* mail-tools.c: Use gstdio wrappers. Beautify #include order and
syntax.
(mail_tool_get_local_movemail_path): Not used, put in #if 0.
svn path=/trunk/; revision=30839
2005-12-13 Tor Lillqvist <tml@novell.com>
* mail-signature-editor.c: Use gstdio wrappers. Construct UI XML
file pathname at run-time.
svn path=/trunk/; revision=30838
2005-12-13 Tor Lillqvist <tml@novell.com>
* mail-session.c: Include just <gtk/gtk.h> and not a handful of
individual gtk headers. Harmonize #include order and syntax. Use
pthread_equal() to compare pthread_t values.
svn path=/trunk/; revision=30837
2005-12-13 Tor Lillqvist <tml@novell.com>
* mail-mt.c: Add copyright blurb. Include just <gtk/gtk.h> and not
a handful of individual gtk headers. Harmonize #include order and
syntax. Use pthread_equal() to compare pthread_t values. Use
separate flag field to indicate whether a pthread_t field is valid
or not. Use e_util_pthread_id() in debugging output.
(em_channel_setup): Call g_io_channel_win32_new_socket() on Win32
instead of g_io_channel_unix_new(). This avoids the occasional
"giowin32.c:1661: 12 is both a file descriptor and a socket, file
descriptor interpretation assumed." style warnings, which indicate
a real problem in this case.
svn path=/trunk/; revision=30835
2005-12-17 Tor Lillqvist <tml@novell.com>
* filter-file.c
* rule-context.c: Use libedataserver's e_xml_parse_file(). Use
gstdio wrappers. Use g_file_test().
svn path=/trunk/; revision=30834
2005-12-17 Tor Lillqvist <tml@novell.com>
* e-msg-composer-attachment.c: Include <gtk/gtk.h> instead of
attempting to hand-pick individual GTK headers. Use gstdio
wrappers. Use GDir instead of dirent. Use g_mkstemp() instead of
mkstemp(). Construct xml file names at run-time.
svn path=/trunk/; revision=30832
2005-12-17 Tor Lillqvist <tml@novell.com>
* gui/e-cal-component-preview.c: Use GLib to construct
filenames from URIs and vice versa.
svn path=/trunk/; revision=30831
2005-12-17 Tor Lillqvist <tml@novell.com>
* Makefile.am: Link with bootstrap libs on Win32. Use
E_WIDGETS_CFLAGS instead of GNOME_BONOBO_CFLAGS, GNOME_INCLUDEDIR,
ICONV_CFLAGS and GNOME_FULL_CFLAGS. Link with all required
libraries. Use -no-undefined on Win32.
svn path=/trunk/; revision=30828
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