Commit Graph

233 Commits

Author SHA1 Message Date
cc1e4cfed2 [win32] When started from a console, get console output (Windows XP or
later only).
2009-07-03 19:05:44 +02:00
8771a6de35 More code cleanup. 2009-06-01 19:09:19 -04:00
fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
a361cff404 Fix compiler warnings in shell. 2009-05-25 23:17:51 -04:00
79e0bf750c e-util/e-plugin.c e-util/e-plugin.h EPlugins must be loaded after Bonobo
2009-01-12  Philip Van hoof  <philip@codeminded.be>

	* e-util/e-plugin.c
	* e-util/e-plugin.h
	* shell/main.c: EPlugins must be loaded after Bonobo init, else variables
	like `session` are not available for plugin's initialization functions.
	(Fixes Bug #565681)


svn path=/trunk/; revision=37052
2009-01-12 08:44:53 +00:00
577f9fdffb Remove unneeded #include <libgnome/gnome-util.h>.
2009-01-10  Matthew Barnes  <mbarnes@redhat.com>

	* addressbook/gui/contact-editor/e-contact-editor-address.c:
	* addressbook/gui/contact-editor/e-contact-editor-fullname.c:
	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* addressbook/gui/widgets/e-addressbook-view.c:
	* addressbook/printing/e-contact-print.c:
	* calendar/gui/calendar-commands.c:
	* calendar/gui/e-cal-list-view.c:
	* calendar/gui/e-day-view.c:
	* calendar/gui/e-itip-control.c:
	* calendar/gui/e-meeting-list-view.c:
	* calendar/gui/e-meeting-store.c:
	* calendar/gui/e-week-view.c:
	* calendar/gui/gnome-cal.c:
	* calendar/gui/memos-control.c:
	* calendar/gui/tasks-control.c:
	* e-util/e-dialog-utils.c:
	* mail/em-folder-view.c:
	* mail/importers/mail-importer.c:
	* shell/e-shell.c:
	* shell/evolution-shell-component-utils.c:
	* shell/importer/intelligent.c:
	* shell/main.c:
	* widgets/menus/gal-view-collection.c:
	* widgets/menus/gal-view-instance.c:
	Remove unneeded #include <libgnome/gnome-util.h>.


svn path=/trunk/; revision=37036
2009-01-11 04:52:38 +00:00
c51b91d1e3 ** Related to bug #562155
2008-12-28  Matthew Barnes  <mbarnes@redhat.com>

	** Related to bug #562155

	* shell/main.c (idle_cb):
	Only call e_shell_set_crash_recovery() if the EShell Bonobo object
	was constructed successfully, otherwise it will be NULL.  This fixes
	a warning shown in the terminal output of bug #562155, but the bug
	is not reproducible so it's not clear whether this fixes the bug.


svn path=/trunk/; revision=36939
2008-12-28 14:47:11 +00:00
657b235cc2 Fix memory leak. (Fixes bug #565628).
2008-12-25  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>

        * shell/main.c:
        Fix memory leak. (Fixes bug #565628).


svn path=/trunk/; revision=36932
2008-12-25 19:45:12 +00:00
f9987008de ** Fixes bug #563250
2008-12-10  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #563250

	* e-util/e-util.c (e_get_accels_filename):
	New function returns the filename where custom keyboard
	accelerators are stored.  Currently only applies to the
	various editor windows in Evolution.

	* shell/main.c (main):
	Load on startup and save on shutdown, custom keyboard accelerators.


svn path=/trunk/; revision=36864
2008-12-10 11:55:08 +00:00
39f06164ed ** Fixes bug #557581
2008-11-07  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #557581

	* configure.in:
	Break up the version definitions such that we can calculate the
	latest stable version and pass a STABLE_VERSION definition to
	shell/main.c.

	* shell/main.c:
	Replace DEVELOPMENT with STABLE_VERSION, which actually defines
	the latest stable version (e.g. 2.24).  STABLE_VERSION is only
	defined if the current version is _unstable_ (e.g. 2.25).

	* shell/main.c (show_development_warning):
	Use STABLE_VERSION instead of hard-coding the version number.


svn path=/trunk/; revision=36761
2008-11-07 17:11:10 +00:00
1f8187e8da Change License from GPL to LGPL.
svn path=/trunk/; revision=36502
2008-09-30 15:19:23 +00:00
f19618ac7f ** Fixes bug #508732
2008-08-18  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #508732

	* shell/e-shell.c:
	Add a "crash_recovery" flag, with accessor functions for it.

	* shell/e-shell-window (init_view):
	Check and reset the "crash_recovery" flag before creating a
	new shell view.  The components can use this flag to take
	steps to recover from the previous crash.

	* shell/apps_evolution_shell.schemas.in:
	Remove the "skip_recovery_dialog" and "recovery" keys.

	* shell/Evolution-Component.idl (createView):
	Add a "select_item" boolean parameter.

	* shell/main.c:
	Kill the crash recovery dialog.  Instead just set the crash
	recovery flag in e-shell appropriately.

	* mail/mail-component.c (impl_createView):
	Add a "select_item" argument for crash recovery, which we forward
	to EMFolderBrowser as a "suppress_message_selection" flag.

	* mail/em-folder-browser.c (emfb_set_folder):
	Suppress automatic message selection if we are recovering from a
	crash.

	* addressbook/gui/component/addressbook-component.c (impl_createView):
	* calendar/gui/calendar-component.c (impl_createView):
	* calendar/gui/memos-component.c (impl_createView):
	* calendar/gui/tasks-component.c (impl_createView):
	Add a "select_item" argument for crash recovery, which these
	components do not use.

	* help/C/evolution.xml:
	Remove the bit about crash recovery.


svn path=/trunk/; revision=36009
2008-08-18 04:37:15 +00:00
7692685caf Bug 543758 - Never mark empty strings for translations
2008-07-19  Tor Lillqvist  <tml@novell.com>

	Bug 543758 - Never mark empty strings for translations

	* main.c (main): Change _("") to explicit gettext ("") to avoid
	potentially confusing translation tools or translators.


svn path=/trunk/; revision=35759
2008-07-19 18:51:50 +00:00
abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
4503c052d0 ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
2008-06-06  Matthew Barnes  <mbarnes@redhat.com>

	** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
	   GTK_DISABLE_SINGLE_INCLUDES defined.  (#536637)


svn path=/trunk/; revision=35606
2008-06-06 15:12:53 +00:00
116ed5dcc7 ** Fixes bug #525241 (EPluginUI)
2008-05-08  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #525241 (EPluginUI)

	* e-util/Makefile.am:
	Add e-plugin-ui.[ch].

	* e-util/e-plugin.h (EPluginClass):
	Add a "get_symbol" method for extracting arbitrary symbols
	from an EPlugin.  Implementation of the method is optional.

	* e-util/e-plugin.c (e_plugin_get_symbol):
	New function invokes the new "get_symbol" EPlugin method.

	* e-util/e-plugin.c (epl_get_symbol):
	New function implements the new "get_symbol" EPlugin method.
	It extracts the given symbol name from the GModule.

	* e-util/e-plugin-ui.[ch]:
	New EPluginHook subclass that allows plugins to extend menus,
	toolbars, and popups that are managed by GtkUIManager instead
	of BonoboUI.  Should eventually replace EMenu/EPopup.

	* shell/main.c (main): Register the EPluginUIHook type.

	* composer/e-msg-composer.c (msg_composer_destroy),
	(msg_composer_init): Rip out the EMenu logic.

	* composer/e-msg-composer.c (msg_composer_init):
	Register the GtkUIManager with EPluginUI.

	* plugins/face/Makefile.am:
	* plugins/face/org-gnome-face-ui.xml:
	Remove org-gnome-face-ui.xml (obsolete).

	* plugins/face/face.c (e_plugin_ui_init):
	Initialization callback for EPluginUI.  Adds a "face" action to
	the EMsgComposer instance's "composer" action group.

	* plugins/face/org-gnome-face.eplug.xml:
	Replace the "bonobomenu" hook definition with a new one for
	EPluginUI.  Include the UI definition inline.


svn path=/trunk/; revision=35485
2008-05-08 18:11:40 +00:00
703123f651 If no message catalog is installed for the current locale language, don't
2008-05-08  Tor Lillqvist  <tml@novell.com>

	* main.c (main) [Win32]: If no message catalog is installed for
	the current locale language, don't bother with the localisations
	provided by other things then either. Reset thread locale to
	"en-US" and C library locale to "C" to ensure that.


svn path=/trunk/; revision=35479
2008-05-08 04:17:18 +00:00
c2d8d1eb95 Changed stable version to 2.22.1 in Beta version warning message
* shell/main.c : Changed stable version to 2.22.1 in Beta version warning message 

svn path=/trunk/; revision=35433
2008-04-29 04:27:12 +00:00
0a1b17b1b9 Move the call to set_paths() on Windows earlier before
gnome_program_init() so that it affects gconfd-2.

svn path=/trunk/; revision=35130
2008-03-03 22:45:45 +00:00
58c01749c2 Drop the call to gtk_rc_parse_string() to set gtk-fallback-icon-theme =
2008-03-03  Tor Lillqvist  <tml@novell.com>

	* main.c (main) [Win32]: Drop the call to gtk_rc_parse_string() to
	set gtk-fallback-icon-theme = "gnome". Instead just bundle a
	suitable gtkrc with Evolution. And actually what we want seems to
	get Tango icons seems to be gtk-fallback-icon-theme = "Tango", and
	no mention of the gnome icon theme at all in gtkrc. (It is still
	used, though.)


svn path=/trunk/; revision=35126
2008-03-03 19:39:29 +00:00
dd1c89db45 On Windows, set PATH to include Evolution's "bin" folder and the
2008-03-03  Tor Lillqvist  <tml@novell.com>

	* main.c: On Windows, set PATH to include Evolution's "bin" folder
	and the "lib/evolution/$(BASE_VERSION)/components" folder. Set
	BONOBO_ACTIVATION_PATH to the "lib/bonobo/servers" folder


svn path=/trunk/; revision=35121
2008-03-03 15:43:49 +00:00
d5b3018517 Committing the build fix that comes up if DEVELOPMENT is enabled.
2008-03-02  Srinivasa Ragavan  <sragavan@novell.com>

	* main.c: (main): Committing the build fix that comes up if
	DEVELOPMENT is enabled.

svn path=/trunk/; revision=35104
2008-03-02 12:53:38 +00:00
526e886f27 Add commands to kill recent versions of evolution-data-server.
2008-02-13  Matthew Barnes  <mbarnes@redhat.com>

	* main.c (kill_dataserver):
	Add commands to kill recent versions of evolution-data-server.


svn path=/trunk/; revision=35008
2008-02-13 19:30:45 +00:00
f74b49344b Change Crash Recovery to Crash detection.
2008-01-30  Srinivasa Ragavan  <sragavan@novell.com>

	* apps_evolution_shell.schemas.in: Change Crash Recovery to Crash
	detection.
	* main.c: (show_recovery_warning):



svn path=/trunk/; revision=34934
2008-01-30 18:18:21 +00:00
6cf9a97579 ** Fix for bug #219197
2008-01-03  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #219197

	* e-shell.h:
	* e-shell.c: (e_shell_can_quit), (e_shell_do_quit), (e_shell_quit):
	Call of e_shell_quit divided into two functions, one to check if quit
	is acceptable by all components and second to do quit.
	* main.c: (gnome_master_client_save_yourself_cb),
	(gnome_master_client_die_cb), (main):
	Quit application when session dies.


svn path=/trunk/; revision=34754
2008-01-03 10:20:36 +00:00
a933414f93 ** Fix for bug #502501
2007-12-10  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #502501

	* main.c: (show_recovery_warning): Re use the existing string.


svn path=/trunk/; revision=34683
2007-12-10 07:39:24 +00:00
08380ae64e ** Add basic support for crash recovery
2007-12-05  Srinivasa Ragavan  <sragavan@novell.com>

	** Add basic support for crash recovery

	* apps_evolution_shell.schemas.in: Keys to recover and recovery dialog.
	* e-shell.c: (e_shell_quit): Delete the lock while quitting.
	* main.c: (show_recovery_warning), (idle_cb): Create lock and also show 
	the warning dialog.


svn path=/trunk/; revision=34652
2007-12-05 15:11:26 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
1c749ee5c6 Remove the version. Update the stable version.
2007-10-29  Srinivasa Ragavan  <sragavan@novell.com>

	* GNOME_Evolution_Shell.server.in.in: Remove the version.
	* main.c: (show_development_warning): Update the stable version.


svn path=/trunk/; revision=34444
2007-10-29 07:19:25 +00:00
d440df54a8 ** Fix for bug #471791 (Move away from asserts to g_ret*)
svn path=/trunk/; revision=34159
2007-09-02 18:56:05 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
0014b8c62e Added a command line option to disable preview/selection for crash on select.
svn path=/trunk/; revision=33967
2007-08-08 06:47:01 +00:00
cd0f8af3d8 ** Fix for bug #448201 from Gabor Kelemen
svn path=/trunk/; revision=33703
2007-06-18 05:36:29 +00:00
8bebb05056 ** Fix for bug #386503 from Matthew Barnes
svn path=/trunk/; revision=33647
2007-06-03 15:07:55 +00:00
1118857d92 Fix file descriptor leaks
svn path=/trunk/; revision=33598
2007-05-29 09:06:58 +00:00
c70d6dfd3d Bump stable version recommendation from 2.8.1 to 2.10.1.
2007-05-01  Matthew Barnes  <mbarnes@redhat.com>

	* shell/main.c (show_development_warning):
	Bump stable version recommendation from 2.8.1 to 2.10.1.


svn path=/trunk/; revision=33468
2007-05-01 17:50:54 +00:00
5ccf9eef4a ** Fixes bug #433005 (patch from Daniel Gryniewicz)
2007-04-24  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #433005  (patch from Daniel Gryniewicz)

	* shell/main.c: #include <gtk/gtkcheckbutton.h>

	* widgets/misc/e-task-widget.c: #include "e-spinner.h"


svn path=/trunk/; revision=33455
2007-04-24 18:10:25 +00:00
e4a4c2f2a2 Fix build breaks
svn path=/trunk/; revision=33446
2007-04-22 20:00:45 +00:00
4ebd3f873f Fix for bug #271851
svn path=/trunk/; revision=33444
2007-04-22 17:41:38 +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
2313e47dab ** Fixes bug #419469 - Miscellaneous main.c cleanups
2007-03-20  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #419469 - Miscellaneous main.c cleanups

	* shell/main.c (kill_dataserver): Kill evolution-data-server-1.8.

	* shell/main.c (show_development_warning): Call gtk_dialog_run()
	instead of listening for a "response" signal.  Pass the checkbox
	state back to main() and let main() set the "show_dialog_warning"
	GConf key.

	* shell/main.c (open_uris), (idle_cb), (main): Use the
	remaining_args string vector directly instead of needlessly
	building a GSList out of it.

	* shell/main.c (main): Manage a reference to the default GConf
	client and pass it to the functions that need it.


svn path=/trunk/; revision=33318
2007-03-20 14:22:49 +00:00
93f47d2d23 ** Fixes bug #360946
2007-02-12  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #360946

	shell/e-shell-window-commands.c (command_about): Migrate to
	GtkAboutDialog, use "evolution" for the icon name, add a website link.

	shell/main.c (main): Set default window icon name to "evolution".


svn path=/trunk/; revision=33212
2007-02-12 18:22:19 +00:00
db651b7bc4 Register import eplugin type. Fixes bug #372528.
2006-11-29  Chris Halls <halls@debian.org>

	* main.c: Register import eplugin type.
	Fixes bug #372528.

svn path=/trunk/; revision=33033
2006-12-03 15:38:39 +00:00
7ef3a9a585 Update last stable version.
2006-10-17  Harish Krishnaswamy  <kharish@novell.com>

	* main.c: (show_development_warning):  Update last
	stable version.

svn path=/trunk/; revision=32903
2006-10-16 18:46:54 +00:00
f1ade2d6d4 update last stable version number from 2.6.3 to 2.8.0
2006-09-14  Andre Klapper  <a9016009@gmx.de>

	* main.c: update last stable version number from 2.6.3 to 2.8.0

svn path=/trunk/; revision=32764
2006-09-14 15:52:01 +00:00
2b1f8f84f2 ** Fix for bug #334821 by Tollef Fog Heen
svn path=/trunk/; revision=32642
2006-08-23 09:54:14 +00:00
c90be53830 update last stable version number from 2.6.2 to 2.6.3
2006-08-02  Andre Klapper  <a9016009@gmx.de>

	* main.c: update last stable version number from 2.6.2 to 2.6.3

svn path=/trunk/; revision=32464
2006-08-02 08:08:04 +00:00
e190315d3a update last stable version number from 2.6.1 to 2.6.2
2006-06-17  Andre Klapper  <a9016009@gmx.de>

	* main.c: update last stable version number from 2.6.1 to 2.6.2

svn path=/trunk/; revision=32164
2006-06-17 15:18:38 +00:00