Commit Graph

65 Commits

Author SHA1 Message Date
Matthew Barnes 7050475f84 EMFolderTree: Store an EMailBackend instead of an EMailSession.
All this so EMFolderTree can submit EActivity instances for async ops.
You can obtain an EMailSession from an EMailBackend, but not vice versa.

Creates lots of pretty ripples in the mail code, but ultimately reduces
complexity.  So it's a code cleanup of sorts.
2011-06-29 18:42:19 +02:00
Matthew Barnes 54da4fc09c Coding style cleanups. 2011-06-29 18:42:11 +02:00
Kjartan Maraas 1448ecee67 Fix translations being boken by removing calls to bindtextdomain() from plugins.
It shouldn't be needed for plugins that live in the evolution source tree anyway
since they should just use the translation domain they inherit from main().
2011-06-29 18:41:52 +02:00
Matthew Barnes ab870b27cd Fix Gtk-Doc comment notation.
Seeing lots of what I assume to be doxygen syntax in comment blocks.
2011-06-29 18:41:40 +02:00
Milan Crha 3aaca9136d Bug #641456 - Crash in pst_process_appointment at pst-importer.c 2011-06-29 18:41:40 +02:00
Milan Crha 809b8bdc51 Bug #641701 - Issues with pst-import plugin 2011-06-29 18:41:31 +02:00
Bharath Acharya 919c690de0 Bug #641451 - Crash in folder_selection_button_new
Crash when importing any pst file.
2011-06-29 18:41:31 +02:00
Milan Crha 8d291318b0 Add missing libeshell.la to LIBADD in pst-import plugin 2010-11-09 23:33:21 +01:00
Matthew Barnes c881b5bc5e Simplify EActivity.
With unintrusive error dialogs gone, we can cut some unnecessary bits
out of EActivity.

I'm also adding a new enum property called "state", which is one of:

    E_ACTIVITY_RUNNING
    E_ACTIVITY_WAITING
    E_ACTIVITY_CANCELLED
    E_ACTIVITY_COMPLETED

The state of an activity must be explicitly changed.  In particular,
when the user cancels an activity the state should be set only after
confirming the operation has been cancelled and not when cancellation
is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when
the GCancellable emits "cancelled").  EActivityBar and EActivityProxy
widgets have been updated to make this distinction clearer in the UI.

E_ACTIVITY_WAITING will be used when activities have to be queued and
dispatched in sequence, which I haven't written yet.
2010-10-22 14:21:22 -04:00
Matthew Barnes ae478d1e3c Collect mail enum types in e-mail-enums.h.
And generate GTypes for each of them in e-mail-enumtypes.[ch].

Also, the glib-gen.mak script forced me to add a <mail/e-mail.h>
top-level header, which really isn't a bad idea anyway.

TODO: We should do this for calendar and addressbook too.
2010-10-18 14:31:16 -04:00
Matthew Barnes a06e4484b8 Give MailSession a permanent home.
Global variables in shared libraries are a bad idea.  EMailBackend now
owns the MailSession instance, which is actually now EMailSession.

Move the blocking utility functions in mail-tools.c to e-mail-session.c
and add asynchronous variants.  Same approach as Camel.

Replace EMailReader.get_shell_backend() with EMailReader.get_backend(),
which returns an EMailBackend.  Easier access to the EMailSession.
2010-10-12 13:58:59 -04:00
Matthew Barnes e41b4083a6 camel_operation_new() now returns a GCancellable pointer. 2010-09-29 09:33:36 -04:00
Matthew Barnes 31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
Matthew Barnes a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
Matthew Barnes 5310e4a0b1 Adapt to CamelOperation API changes. 2010-09-14 23:48:02 -04:00
Matthew Barnes cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
Matthew Barnes ebcce86769 Coding style and whitespace cleanups. 2010-09-11 14:14:04 -04:00
Matthew Barnes 137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
Matthew Barnes bc90469e7f Camel is now GObject-based. 2010-04-24 11:05:27 -04:00
Fridrich Štrba 140341c97f [win32] Fix a build breakage by adding a proper define for gmtime_r
instead of the broken one that used to be pulled by including
pthread.h
2010-04-15 15:59:52 +02:00
Matthew Barnes a8feedf390 Adapt to Camel API changes. 2010-04-03 23:06:39 -04:00
Matthew Barnes 26240e0b18 Generate ChangeLog files for tarball releases.
Remove old ChangeLog files that predate our switch to git.
2010-04-02 18:18:33 -04:00
Matthew Barnes fabb6b035c Only #include Camel's top-level header. 2010-04-02 16:59:20 -04:00
Matthew Barnes fa2da5acd6 Fix mismatched quotes. 2010-03-28 18:55:22 -04:00
Milan Crha 50fb261954 Bug #601551 - [PST] evolution crashed with SIGSEGV 2010-02-24 18:00:27 +01:00
Matthew Barnes cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
Matthew Barnes 59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
Travis Reitter c1d59b0e9e Bug 601626 - pst-import missing link to libeutil 2009-11-12 10:44:53 -05:00
Tor Lillqvist 43a98ec41e Use EVOLUTION_CALENDAR_CFLAGS instead of EVOLUTION_MAIL_CFLAGS
The code uses ical stuff and the libical CFLAGS are present in
EVOLUTION_CALENDAR_CFLAGS but not EVOLUTION_MAIL_CFLAGS.
2009-11-11 15:31:31 +02:00
Thomas Andersen 224c0cb2b9 Bug 599245 - Use bitwise AND instead of logical AND for checking flags 2009-10-22 00:19:09 -04:00
H.Habighorst f62728b55e Bug 596848 - Use per-target CPPFLAGS in automake files 2009-09-30 23:37:50 -04:00
Matthew Barnes 3b2cfae176 Trim unused or unnecessary bits from the import framework. 2009-09-26 10:28:05 -04:00
Matthew Barnes acb28fef9d Goodbye libgnome and libgnomeui!! 2009-09-18 12:34:47 -04:00
Matthew Barnes 32f545cdf0 Simplify EPlugin loading at startup.
- Require all EPlugin and EPluginHook subtypes be registered before
  loading plugins.  This drastically simplifies the EPlugin/EPluginHook
  negotiation.

- Turn most EPluginHook subtypes into GTypeModules and register their
  types from an e_module_load() function (does not include shell hooks).

- Convert EPluginLib and the Mono and Python bindings to GTypeModules
  and register their types from an e_module_load() function, and kill
  EPluginTypeHook.
2009-08-29 17:23:20 -04:00
Matthew Barnes 520d90a9cc Build with -Wl,--no-undefined and fix linker errors. 2009-08-28 08:09:02 -04:00
Matthew Barnes 672adf12a0 Fix compiler warnings and deprecated GTK+ API usage. 2009-08-16 11:42:26 -04:00
Matthew Barnes 5e31896863 Get the pst-import plugin working. 2009-08-11 22:48:14 -04:00
Matthew Barnes bf20999ddb Fix distcheck errors. 2009-08-11 08:35:10 -04:00
Matthew Barnes 2c4510e858 Merge commit 'EVOLUTION_2_27_5' into kill-bonobo 2009-07-28 11:24:49 -04:00
Matthew Barnes da1117397e Update NEWS + coding style cleanups. 2009-07-27 08:46:13 -04:00
Bharath Acharya fd66fd1800 BUG #578945 - Adapt to changes in libpst 0.6.41
The PST Importer is now compatible with libpst 0.6.41
2009-07-27 10:37:43 +05:30
Matthew Barnes fa360fde28 More whitespace cleanup. 2009-07-18 14:07:42 -04:00
Matthew Barnes dcf2c0e754 More whitespace cleanup. 2009-07-18 14:05:38 -04:00
Matthew Barnes 374bd42f69 Fix excessive whitespace. 2009-07-14 11:26:22 -04:00
Matthew Barnes 0274669179 Fix excessive whitespace. 2009-07-12 23:33:07 -04:00
Matthew Barnes 1351c8e4fb Merge branch 'master' into kill-bonobo 2009-07-01 10:47:10 -04:00
Matthew Barnes bfc5ba2511 Fix "make distcheck" errors and other build cleanups. 2009-06-30 18:34:08 -04:00
Matthew Barnes 42e75c9162 Use AM_CPPFLAGS instead of INCLUDE in all Makefile.am. 2009-06-30 17:20:23 -04:00
Bharath Acharya d38e8b65db Fix build issue for pst-import plugin 2009-06-22 11:12:21 +05:30
Matthew Barnes 433eac7844 More code cleanup. 2009-06-02 10:35:03 -04:00