Commit Graph

4127 Commits

Author SHA1 Message Date
448d624c00 em-folder-browser.c em-folder-view.c em-format-html.c
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 08:24:26 +00:00
2f1a024be7 Use gstdio wrappers. Construct pathnames of glade files at run-time.
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 04:45:01 +00:00
cc8628aa9e Use gstdio wrappers. Construct pathnames of glade files at run-time.
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 04:43:33 +00:00
7dbeb5b6f5 Use gstdio wrappers. Construct pathnames of glade files at run-time.
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-18 04:42:25 +00:00
9a8004c207 Use THREADS_CFLAGS and _LIBS. Don't need CAMEL_LIBS.
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Use THREADS_CFLAGS and _LIBS. Don't need	CAMEL_LIBS.

svn path=/trunk/; revision=30850
2005-12-18 04:36:04 +00:00
b987099d1e Include e-util-private.h for O_BINARY.
svn path=/trunk/; revision=30847
2005-12-17 18:54:44 +00:00
df6c612eaa importers/elm-importer.c importers/evolution-mbox-importer.c
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* importers/elm-importer.c
	* importers/evolution-mbox-importer.c
	* importers/evolution-outlook-importer.c
	* importers/mail-importer.c
	* importers/netscape-importer.c
	* importers/pine-importer.c: Use GLib API when
	applicable.

svn path=/trunk/; revision=30843
2005-12-17 18:35:37 +00:00
20085e766b Beautify #include order and syntax. Use gstdio wrappers. Construct
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 18:29:09 +00:00
c20c007781 Beautify #include order and syntax. Use gstdio wrappers. Construct
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 18:27:13 +00:00
88a30eea1d Harmonize #include order and syntax. Use pthread_equal() to compare
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-17 17:52:32 +00:00
e8b060a9d4 Use gstdio wrappers. Beautify #include order and syntax.
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-17 17:49:12 +00:00
92b09e3c84 Use gstdio wrappers. Construct UI XML file pathname at run-time.
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-17 17:45:33 +00:00
9093a7c172 Include just <gtk/gtk.h> and not a handful of individual gtk headers.
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-17 17:43:19 +00:00
69ac3007d9 Use gstdio wrappers. Open file in binary mode.
2005-12-13  Tor Lillqvist <tml@novell.com>

	* mail-ops.c: Use gstdio wrappers. Open file in binary mode.

svn path=/trunk/; revision=30836
2005-12-17 17:39:11 +00:00
35c2baaba3 Add copyright blurb. Include just <gtk/gtk.h> and not a handful of
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 17:35:53 +00:00
75f9b84b51 Include libedataserver-$EDS_PACKAGE in the requirement list for E_WIDGETS.
2005-12-06  Tor Lillqvist  <tml@novell.com>

	* configure.in: Include libedataserver-$EDS_PACKAGE in the
	requirement list for E_WIDGETS.

	Set bindir_in_server_file, privlibexecdir_in_server_file and
	componentdir_in_server_file. On Unix, they are the same as bindir,
	privlibexecdir and componentdir respectively. On Win32, use paths
	relative from lib/bonobo/servers. AC_SUBST these variables.

	* server.mk: Substitute the values above new variables for the
	corresponding @..._IN_SERVER_FILE@ strings in the .server.in.in
	files.

	* addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in
	* calendar/gui/GNOME_Evolution_Calendar.server.in.in
	* calendar/gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in
	* mail/GNOME_Evolution_Mail.server.in.in
	* shell/GNOME_Evolution_Shell.server.in.in
	* shell/GNOME_Evolution_Test.server.in.in: Correspondingly, use
	the @..._IN_SERVER_FILE@ strings.

svn path=/trunk/; revision=30793
2005-12-17 10:01:12 +00:00
f1c58c9a99 Mail Context Menu re-ordered correctly, fixes bug #323140.
2005-12-12  Karsten Bräckelmann  <guenther@rudersport.de>

	* em-folder-view.c: Mail Context Menu re-ordered correctly,
	fixes bug #323140.

svn path=/trunk/; revision=30757
2005-12-12 12:40:37 +00:00
2500e7382f Fix #47857
2005-12-12  Shreyas Srinivasan  <sshreyas@novell.com>

	* mail.error.xml: Fix #47857

svn path=/trunk/; revision=30756
2005-12-12 11:27:10 +00:00
bd1f4fbcd8 See bug ** 323253
2005-12-05  Shi Pu  <shi.pu@sun.com>

        See bug ** 323253

        * mail-send-recv.c: (format_url):
        If url->host is NULL or it is emtpy,
        don't print it out in send & receive dialog.

svn path=/trunk/; revision=30727
2005-12-06 08:37:28 +00:00
f451a8f285 literal strings do not need to be \0 terminated, they are already
2005-11-28  Jeffrey Stedfast  <fejj@novell.com>

	* em-folder-view.c (emfv_setting_notify): literal strings do not
	need to be \0 terminated, they are already nul-terminated by
	definition.

svn path=/trunk/; revision=30697
2005-11-28 16:37:58 +00:00
e9522629d6 ** See bug #322414 Respond to the change of
2005-11-28  Sam Yang  <sam.yang@sun.com>

        ** See bug #322414
        * em-folder-view.c: (emfv_setting_notify):
        Respond to the change of /apps/evolution/mail/display/show_preview
        in gconf.

svn path=/trunk/; revision=30691
2005-11-28 06:55:00 +00:00
e52ac86fca Use gstdio wrappers. (url_requested): Use g_filename_from_uri() instead of
2005-11-25  Tor Lillqvist  <tml@novell.com>

	* em-composer-prefs.c (sig_add_script_response): Use gstdio
	wrappers.
	(url_requested): Use g_filename_from_uri()
	instead of just stripping off the "file:" prefix.
	(em_composer_prefs_construct): Construct glade file pathname at
	run-time for Win32 install-anywhere.

svn path=/trunk/; revision=30672
2005-11-25 15:13:32 +00:00
3c74da6893 ** See bug #315987 Send only if account is enabled
2005-11-23  Parthasarathi Susarla <sparthasarathi@novell.com>

	** See bug #315987
	* em-composer-utils.c:
	(em_utils_composer_send_cb): Send only if account is enabled
	(em_utils_composer_save_draft_cb): Save message to server
	folder only if the account is enabled, else save it locally
	(generate_account_hash): Add default account into the account hash
	only if the account none of the account is enabled.
	(guess_account): use only enabled account

	* mail.error.xml: Add error message for send-no-account-enabled

svn path=/trunk/; revision=30646
2005-11-23 06:46:51 +00:00
45891f63f9 ** See bug 321214. Focus on the Tools-> Settings-> Composer Preferences ->
2005-11-11  Boby Wang <boby.wang@sun.com>

        ** See bug 321214.
        * mail-config.glade:
        Focus on the Tools-> Settings-> Composer Preferences -> Forward
        Style and Reply Style comboboxes.Comboboxes are named after
        their current settings. Now the names were corrected.

svn path=/trunk/; revision=30637
2005-11-18 09:25:25 +00:00
eec09a3e6b **See #313096
2005-10-26  Vivek Jain <jvivek@novell.com>

	**See #313096

	* em-junk-hook.c: (emjh_construct)
	load the plugin only if it is enabled.

svn path=/trunk/; revision=30567
2005-10-26 10:25:42 +00:00
05601e86eb Return valid transport, only if the account is enabled.
2005-10-22  Parthasarathi Susarla <sparthasarathi@novell.com>

	* mail-config.c: (mail_config_get_default_account):
	Return valid transport, only if the account is enabled.

2005-10-22  Parthasarathi Susarla <sparthasarathi@novell.com>

	* em-composer-utils.c: (create_new_composer):
	If the account corresponding to the fromuri is not enabled.
	Then load the preferred account from the composer.
----------------------------------------------------------------------

svn path=/trunk/; revision=30555
2005-10-22 08:18:50 +00:00
f681752db0 Reverse previous patch because of bug 319376.
2005-10-21  Jeff Cai <jeff.cai@sun.com>

        Reverse previous patch because of bug 319376.
        * em-folder-view.h:

svn path=/trunk/; revision=30547
2005-10-21 07:54:56 +00:00
c0bc7e8dc5 Change the declaration of flag 'preview_active' from one bit of int to one
2005-10-21  Jeff Cai <jeff.cai@sun.com>

        * mail/em-folder-view.h : Change the declaration of flag
        'preview_active' from one bit of int to one bit of guint
        because it will be -1 on linux if being declared one bit of int.

svn path=/trunk/; revision=30546
2005-10-21 06:58:33 +00:00
bf5eb927b6 composer/e-msg-composer-select-file.c, composer/e-msg-composer.c,
2005-10-19  Philip Van Hoof <pvanhoof@gnome.org>
        composer/e-msg-composer-select-file.c,
        composer/e-msg-composer.c, composer/e-msg-composer.h,
        composer/evolution-composer.c, composer/listener.c,
        mail/em-composer-utils.c,
        plugins/mailing-list-actions/mailing-list-actions.c:
        data hiding

svn path=/trunk/; revision=30536
2005-10-19 11:32:05 +00:00
656934c7ff composer/e-msg-composer-select-file.c, composer/e-msg-composer.c,
2005-10-19  Philip Van Hoof <pvanhoof@gnome.org>
        composer/e-msg-composer-select-file.c,
	composer/e-msg-composer.c, composer/e-msg-composer.h,
	composer/evolution-composer.c, composer/listener.c,
	mail/em-composer-utils.c,
	plugins/mailing-list-actions/mailing-list-actions.c:
	data hiding

svn path=/trunk/; revision=30532
2005-10-19 10:54:27 +00:00
91a6e747a0 Include e-attachment-bar.h relative to the top dir, so it stops borking
2005-10-19  Harish Krishnaswamy <kharish@novell.com>

* em-format-html-display.h : Include e-attachment-bar.h
relative to the top dir, so it stops borking the print-message
plugin.

svn path=/trunk/; revision=30530
2005-10-19 07:08:53 +00:00
ce7790405d Fixed mark junk, keybinding to focus search widget.
2005-10-18  Srinivasa Ragavan <sragavan@novell.com>

	* Fixed mark junk, keybinding to focus search widget.

svn path=/trunk/; revision=30520
2005-10-18 08:31:39 +00:00
e751338e49 - Enhances Signature-Preferences. - Added shortcuts for common operations.
2005-10-18  Sankar P  <psankar@novell.com>

	- Enhances Signature-Preferences.
	- Added shortcuts for common operations.
		-- Delete on Del key
		-- Edit on Dbl.Click
	- Prevents adding duplicate and NULL signatures

	* mail-signature-editor.c (menu_file_save_cb) (mail_signature_editor)
	(sig_name_changed) (menu_file_save_close_cb) (delete_event_cb) (do_exit):
		Modified the functions for handling the above scenarios.
	* mail.error.xml:
		Added error strings for duplicate and NULL signatures.
	* em-composer-prefs.c (em_composer_prefs_construct) (sig_delete_cb) (sig_add_cb):
		Modified the functions so as to handle the keyboard accelarators
	and to grab focus to the list on deletion/insertion of signatures.
	* em-composer-prefs.c (signature_key_press)(sig_tree_event_cb):
		Added new functions to handle the
	keypress events on the signatures list tree.

	Fixes #269749

svn path=/trunk/; revision=30519
2005-10-18 07:12:15 +00:00
9706eaebf9 ** See bug 317284
2005-09-29  Parthasarathi Susarla <sparthasarathi@novell.com>

	** See bug 317284

	* em-mailer-prefs.c: (emmp_header_add_header):
	Check if its a valid header and only then add it

svn path=/trunk/; revision=30429
2005-09-30 08:24:06 +00:00
4dddf579f7 ** See bug 317284
2005-09-29  Parthasarathi Susarla <sparthasarathi@novell.com>

	** See bug 317284

	* em-mailer-prefs.c: (emmp_header_add_header):
	Check if its a valid header and only then add it

svn path=/trunk/; revision=30415
2005-09-29 08:35:57 +00:00
db5aeac895 Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* importers/netscape-importer.c (netscape_get_boolean): Use
	g_ascii_strcasecmp() instead of strcasecmp(). We are
	comparing to literal ASCII strings in these cases, so just
	casefolding ASCII is enough. Also better for portability.

svn path=/trunk/; revision=30401
2005-09-28 10:55:20 +00:00
d1062b7afa Define localtime_r() for Win32 using localtime() (which is thread-safe in
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* message-list.c: Define localtime_r() for Win32 using localtime()
	(which is thread-safe in Microsoft's C library).

svn path=/trunk/; revision=30400
2005-09-28 10:46:26 +00:00
5fb5dab62e Not implemented on Win32.
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* mail-tools.c (mail_tool_do_movemail): Not implemented on Win32.

svn path=/trunk/; revision=30399
2005-09-28 10:43:53 +00:00
7670176dd2 Define localtime_r() for Win32 using localtime() (which is thread-safe in
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* em-format-html-display.c: Define localtime_r() for Win32 using
	localtime() (which is thread-safe in Microsoft's C library).

svn path=/trunk/; revision=30398
2005-09-28 10:39:48 +00:00
c8bc7fc32c em-composer-utils.c (reply_get_composer, get_reply_list,
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* em-composer-utils.c (reply_get_composer, get_reply_list,
	post_reply_to_message)
	* em-folder-view.c (emfv_format_link_clicked): Use
	g_ascii_strncasecmp() instead of strncasecmp(). We are comparing
	to literal ASCII strings, so just casefolding ASCII is
	enough. Also better for portability.

svn path=/trunk/; revision=30397
2005-09-28 10:34:18 +00:00
881b7938b5 See bug ** 317329 Do not add a NULL uri.
2005-09-28  Parthasarathi Susarla <sparthasarathi@novell.com>

	See bug ** 317329
	* em-vfolder-rule.c: (em_vfolder_rule_add_source):
	Do not add a NULL uri.

svn path=/trunk/; revision=30382
2005-09-28 07:49:08 +00:00
e64003fb70 Fixes #208647
2005-09-26  S.Antony Vincent Pandian <santony@gmail.com>

	Fixes #208647

	* em-folder-tree.c : Have added a menu item Empty
	Trash in the folder tree's context menu and also
	added its callback.

svn path=/trunk/; revision=30373
2005-09-26 06:23:19 +00:00
cf7812d353 Fixes #316983
2005-09-22  Carsten Guenther <carsten.guenther@scalix.com>

        Fixes #316983

        * em-composer-utils.c (em_utils_send_receipt):
        Exchanged the FROM and TO fields so that a read
        receipt actually goes to the sender of the original
        message.

svn path=/trunk/; revision=30370
2005-09-23 06:24:39 +00:00
3942022533 Added code to enable the sent folder button for accounts with "None" set
2005-09-21  Sankar P  <psankar@novell.com>

	* em-account-editor.c (emae_defaults_page):
	Added code to enable the sent folder button for accounts with
	"None" set as the Receiving Server type.
	Fixes #315506

svn path=/trunk/; revision=30367
2005-09-21 06:41:27 +00:00
4545f5d072 Added enum and the code to change the icon for sent items folder. Fixes
2005-09-15  Sankar P  <psankar@novell.com>

	* em-folder-tree-model.c (em_folder_tree_model_set_folder_info):
	* em-folder-tree.c (render_pixbuf): Added enum and the code to
	change the icon for sent items folder. Fixes #257321

svn path=/trunk/; revision=30365
2005-09-20 12:38:54 +00:00
627d92ee56 Update the Welcome mail.
2005-09-02  Harish Krishnaswamy  <kharish@novell.com>

* default/C/Inbox: Update the Welcome mail.

svn path=/trunk/; revision=30308
2005-09-02 17:50:40 +00:00
9185fb32b3 ** See bug #314440.
2005-08-25  Not Zed  <NotZed@Ximian.com>

        ** See bug #314440.

        * em-format-html.c (efh_url_requested): check the content object's
        mime type, not the container, when seeing if the data should be
        written.
        (efh_write_text_html): add some debug.

        * em-format-html-display.c (efhd_html_button_press_event): fix
        debug.

svn path=/trunk/; revision=30253
2005-08-26 01:52:55 +00:00
f890ddee38 Dont call update. Just set the width on the bar.
2005-08-24  Srinivasa Ragavan <sragavan@novell.com>

	* em-format-html-display.c (efhd_bar_resize): Dont call update.
	Just set the width on the bar.

svn path=/trunk/; revision=30235
2005-08-24 04:22:55 +00:00
8c8922a308 cast warning away.
2005-08-23  Not Zed  <NotZed@Ximian.com>

        * mail-tools.c (mail_tool_uri_to_folder): cast warning away.

        * mail-folder-cache.c: include missing header for
        e_filename_make_safe.

        * em-junk-hook.h: Fix some header includes, fix the include guard
        to use the right name.
        (EMJunk): Ugh, this is an object, properly derive from it!  How
        did this work?

        * em-junk-hook.c (em_junk_check_junk): fix bool conversion.

        * em-format-html-display.c (efhd_bar_popup_position): another
        wraning, why this crap isn't in the attachment bar like i said it
        should be, i'll never know.
        (efhd_xpkcs7mime_viewcert_foad): only define if used.

        * em-account-editor.c (emae_defaults_page): attempt to fix parentheses
        (emae_security_page): fix conditional compilation warnings.

svn path=/trunk/; revision=30214
2005-08-24 03:05:26 +00:00
1a14cbad62 ** See #312668.
2005-08-19  Not Zed  <NotZed@Ximian.com>

        ** See #312668.

        * mail-component.c (setline_done, impl_setLineStatus): change the
        camel-session online status before (if we're going online) or
        after (if we're going offline) actually doing offline processing.

svn path=/trunk/; revision=30184
2005-08-22 02:54:51 +00:00