Commit Graph

838 Commits

Author SHA1 Message Date
4a044a636e Clean up printing in Evolution (bug #426816)
svn path=/trunk/; revision=33440
2007-04-20 06:57:55 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
cba3097cad ** Fixes bug #419524
2007-03-20  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #419524

	* Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.

	* e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list):
	* mail/em-migrate.c (emm_setup_initial):
	* shell/e-component-registry.c (query_components):
	* shell/e-shell-settings-dialog.c (load_pages):
	* shell/e-shell-window-commands.c (command_quick_reference):
	* tools/killev.c (main):
	Use g_get_language_names() instead of gnome_i18n_get_language_list().

	* e-util/e-util.c: Remove e_gettext().

	* e-util/Makefile.am: Remove e-i18n.h.


svn path=/trunk/; revision=33319
2007-03-20 17:23:58 +00:00
0418c66353 Bypass the body of these functions on non-G_OS_UNIX for now as they use
2007-03-01  Tor Lillqvist  <tml@novell.com>

	* e-print.c (print_dialog_response)
	(e_print_get_dialog_with_config): Bypass the body of these
	functions on non-G_OS_UNIX for now as they use
	gtk_print_unix_dialog_get_settings(). Gtk printing on Win32 needs
	work.


svn path=/trunk/; revision=33271
2007-03-01 14:37:40 +00:00
936745c109 Use g_build_filename to get the tempoary directory name. Fix #399307
2007-02-27  Jeff Cai <jeff.cai@sun.com>

        * e-mktemp.c: (get_dir):
        Use g_build_filename to get the tempoary directory name.
        Fix #399307


svn path=/trunk/; revision=33263
2007-02-28 02:41:29 +00:00
9862306af9 Print migration updates from Ebby Wiselyn.
svn path=/trunk/; revision=33201
2007-02-12 06:11:14 +00:00
b6e4403f9b identify "sip:" URL's. Fixes bug #396543.
2007-01-27  Andre Klapper  <a9016009@gmx.de>

	* e-html-utils.c: (e_text_to_html_full):
	identify "sip:" URL's. Fixes bug #396543.


svn path=/trunk/; revision=33155
2007-01-27 14:44:48 +00:00
2a1d77a838 ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.
2006-01-22 Srinivasa Ragavan <sragavan@novell.com>

** Committing Ebby Wiselyn's patch for GtkPrint API migration.


svn path=/trunk/; revision=33134
2007-01-22 16:41:31 +00:00
6395ec0243 ** Fix for bug #349966
2006-11-28  Daniel Gryniewicz <dang@gentoo.org>

	** Fix for bug #349966

svn path=/trunk/; revision=33026
2006-11-27 18:49:11 +00:00
d15a54fc30 Remove unreachable code and fix the leak of basename.
2006-11-20  Harish Krishnaswamy  <kharish@novell.com>

	* e-icon-factory.c: (load_icon), (e_icon_factory_get_icon):
	Remove unreachable code and fix the leak of basename.

svn path=/trunk/; revision=33007
2006-11-20 16:41:45 +00:00
6a807f9488 ** Fixes bug #352450
2006-09-18  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #352450

	* e-cursor.c:
	Replace deprecated GDK function call.

svn path=/trunk/; revision=32782
2006-09-18 13:05:27 +00:00
243a37a86f Define ruledir here, too, like in addressbook/gui/widgets/Makefile.am, as
2006-09-07  Tor Lillqvist  <tml@novell.com>

	* Makefile.am (ruledir): Define ruledir here, too, like in
	addressbook/gui/widgets/Makefile.am, as we use it in
	SEARCH_RULE_DIR for the benefit of e-win32-reloc.c. Fixes the
	Win32-specific problem "eab-widgets-WARNING **: Could not load
	addressbook search; no parts". (#348419)

svn path=/trunk/; revision=32748
2006-09-07 18:38:38 +00:00
addf10a651 ** Fix for bug #352941
svn path=/trunk/; revision=32679
2006-08-27 11:55:06 +00:00
6b5cf46925 Include <cairo.h>, not <cairo/cairo.h>.
2006-08-24  Tor Lillqvist  <tml@novell.com>

	* e-util.h: Include <cairo.h>, not <cairo/cairo.h>.

svn path=/trunk/; revision=32651
2006-08-24 01:11:24 +00:00
fe0def566c ** Fix for bug #349310. Patch from both Laurent Goujon and Pavel Roskin.
2006-08-21  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #349310. Patch from both Laurent Goujon
	and Pavel Roskin.

	* e-util.h: Added function declaration for get_font_options.
	This time for real.

svn path=/trunk/; revision=32615
2006-08-21 15:34:00 +00:00
d658d5abc0 Fix for bug #349310. Patch from both Laurent Goujon and Pavel Roskin.
svn path=/trunk/; revision=32598
2006-08-20 14:30:42 +00:00
31215f089c Plug some leaks.
2006-08-17  Kjartan Maraas  <kmaraas@gnome.org>

	* e-util.c: (get_font_options): Plug some leaks.

svn path=/trunk/; revision=32555
2006-08-17 06:41:06 +00:00
2df26bc7b7 Handle cases when the props are undefined. This bug is currently causing
2006-07-22  Harish Krishnaswamy  <kharish@novell.com>

	* e-util.c: (get_font_options): Handle cases when the
	props are undefined. This bug is currently causing Evo
	to crash as soon as it comes up.

svn path=/trunk/; revision=32389
2006-07-22 13:04:55 +00:00
35a3b3e699 Added code to read font options.
svn path=/trunk/; revision=32358
2006-07-20 07:51:51 +00:00
ebb44eb8cc On Win32, if the compile-time localedir's prefix from the plugin's .eplug
2006-06-15  Tor Lillqvist  <tml@novell.com>

	* e-plugin.c (ep_construct): On Win32, if the compile-time
	localedir's prefix from the plugin's .eplug file matches
	Evolution's compile-time prefix, replace it with the run-time
	prefix (installation directory).

svn path=/trunk/; revision=32150
2006-06-15 10:18:36 +00:00
56c45fcfab Fix memory leak. Fixes bug #335423.
2006-06-09  Chris Heath <chris@heathens.co.nz>

	* addressbook/gui/widgets/eab-popup-control.c (eab_popup_control_set_free_form):
	* addressbook/gui/contact-editor/e-contact-quick-add.c (quick_add_merge_contact):
	* e-util/e-plugin.c (ep_construct):
	* mail/message-list.c (message_list_finalise):
	* plugins/itip-view.c (itip_view_destroy): Fix memory leak.
	Fixes bug #335423.

svn path=/trunk/; revision=32101
2006-06-09 02:21:03 +00:00
99587466db Use the correct gettext domain for translations. Fixes bug #333003.
2006-06-08  Gary Coady  <garycoady@ubuntu.com>

	* e-i18n.h: Use the correct gettext domain for translations.
	Fixes bug #333003. (Committed by Andre Klapper)

svn path=/trunk/; revision=32098
2006-06-08 19:46:26 +00:00
a5abdac577 Don't need the Win32-only fix_percent_l() after all, this is taken care of
2006-06-02  Tor Lillqvist  <tml@novell.com>

	* e-util.c: Don't need the Win32-only fix_percent_l() after all,
	this is taken care of in e_strftime(). (The check in e-d-s's
	configure.in for the support of %l and %k has now been made more
	reliable so it actually works also on Win32.)

svn path=/trunk/; revision=32069
2006-06-02 12:46:09 +00:00
00f6d32ee3 Set new scroll member to false in static declarations. Fixes build breaker
2006-06-02  Frederic Peters <fpeters@entrouvert.com>

	* e-error.c: Set new scroll member to false in static
	declarations. Fixes build breaker #343446.

svn path=/trunk/; revision=32066
2006-06-02 08:29:43 +00:00
f45a960006 Fix for bug #332936
svn path=/trunk/; revision=32053
2006-05-30 04:37:29 +00:00
24368cf92d Added code to save/attach files/mails/events to/from remote shares
svn path=/trunk/; revision=32023
2006-05-25 06:04:48 +00:00
f187345034 Handle SUN Type 6 keyboard's copy, paste and cut key. Fix #271661.
2006-04-26  Li Yuan <li.yuan@sun.com>

        * e-text-event-processor-emacs-like.c:
        (e_text_event_processor_emacs_like_event):
        Handle SUN Type 6 keyboard's copy, paste and cut key.
        Fix #271661.

svn path=/trunk/; revision=31903
2006-04-26 10:22:21 +00:00
77027331de [Win32] Instead of %l (which is a GNU extension not implemented in the
2006-03-27  Tor Lillqvist  <tml@novell.com>

	* e-util.c (fix_percent_l): [Win32] Instead of %l (which is a GNU
	extension not implemented in the Microsoft C library) use %I.
	Fixes #336055.
	(e_strftime_fix_am_pm): Call fix_percent_l() when necessary.

svn path=/trunk/; revision=31807
2006-04-10 23:16:38 +00:00
6297946340 Removing unnecessary markup in translateable string.
svn path=/trunk/; revision=31494
2006-02-12 23:15:23 +00:00
695d5cfac8 Upstreaming Olaf Hering's patch to use signed chars.
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-02-09 06:48:29 +00:00
99d9556902 Use guint for 1-bit bitfield. Remove unused var Remove unused vars Rename
2006-02-08  Kjartan Maraas <kmaraas@gnome.org>

	* e-config.c: Use guint for 1-bit bitfield.
	* e-icon-factory.c: (load_icon): Remove unused var
	* e-import.c: (ep_init), (ep_finalise): Remove unused vars
	* e-plugin.c: (e_plugin_register_type): Rename a var
	* e-plugin.h: guint for 1-bit bitfield
	* e-popup.c: (ep_finalise): Add comment.
	* e-profile-event.c: Remove unused prototype
	* e-text-event-processor-emacs-like.c:
	(e_text_event_processor_emacs_like_event): Add comment about
	a compiler warning from the Intel compiler.

svn path=/trunk/; revision=31446
2006-02-08 11:43:02 +00:00
a853e3d5a2 accept SVGs for stock icons. Fixes bug 304417.
2006-02-07  Benjamin Berg  <benjamin@sipsolutions.net>
	* e-gui-utils.c:
	* e-icon-factory.c:
	accept SVGs for stock icons. Fixes bug 304417.

svn path=/trunk/; revision=31433
2006-02-07 13:20:10 +00:00
ae54937b6d removed.
2006-01-11  Harry Lu  <harry.lu@sun.com>

        * e-marshal.list: removed.

svn path=/trunk/; revision=31135
2006-01-11 10:36:06 +00:00
4dfa2142cf fixes a build break.
svn path=/trunk/; revision=31131
2006-01-11 05:42:06 +00:00
e459ad918e Delete e_mkdir_hier(), and use e_util_mkdir_hier() instead of it.
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-10 08:09:20 +00:00
98e09fa6e8 removed. Merged to evolution-data-server/libedataserver/. remove above
006-01-06  Simon Zheng <simon.zheng@sun.com>

        * e-account.[ch], e-account-list.[ch]: removed.
        Merged to evolution-data-server/libedataserver/.
        * Makefile.am: remove above files from list.

svn path=/trunk/; revision=31083
2006-01-06 07:20:11 +00:00
e35c5c7bea e-plugin.c (epl_construct) [Win32] The interface of
2006-01-05  Tor Lillqvist  <tml@novell.com>

	* e-plugin.c (epl_construct)
	* e-menu.c (emph_construct_menu): [Win32] The interface of
	e_util_replace_prefix() changed a bit.

svn path=/trunk/; revision=31053
2006-01-04 23:52:38 +00:00
aedfb5445a Don't eventually free a return value from xmlGetProp() with g_free().
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
2006-01-02 09:55:09 +00:00
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