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>
* 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-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-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-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 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-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-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-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-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-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-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-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-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-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-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-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 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 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 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 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-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-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-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-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-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-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-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-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