Commit graph

10 commits

Author SHA1 Message Date
Charles Lindsay
910e1c3d0b Update copyright headers; fix #6195
Also removing the erroneous space that had crept in at the end of the
line in most of our header comments.
2013-04-12 12:32:39 -07:00
Mathias Hasselmann
049af6b0dd Allow configure to select valac version; fix #6704
We recognize the VALAC environment variable, or you can specify
VALAC=whatever on the ./configure command line.

Also, this cleans up some of the configure logic to be a little easier
to read and edit.
2013-04-10 17:16:08 -07:00
Jim Nelson
826e9d5f3a Memory leak and lost reference tracking: Refs #5306
This patch solves the following memory/resource leak problems:

(a) Gee.TreeSet doesn't drop references when destroyed.  Fixed by
using a subclass that clears the set when destroyed (exactly same
as patch made to Gee, however that won't be in distribution for
awhile.)

(b) Imap.ClientSession was holding refs to CommandResponses after
they'd been completed.  They're now dropped.

(c) Imap.ClientSessionManager now has an open/close_async() (called
by Imap.Account.open/close_async()) that drops all ClientSessions.

(d) All classes in Engine (and some in the client) use Geary.BaseObject,
which uses a static map to track outstanding held references to
it.  The table is dumped when Geary exits.  Must be enabled with a
./configure flag.

Two outstanding memory leaks persist (one for Imap.ResponseCodes and
another when messages are selected/deselected), so this doesn't close
the ticket, but testing and use has shown these changes to make a huge
improvement on memory usage and reducing crashes.
2013-03-07 18:08:50 -08:00
Adam Dingle
15a8398492 Fixed #4947 (Add debug build option to Geary). 2012-09-21 11:18:41 -07:00
Jim Nelson
4054f139d1 Report and autodetect libindicate and libunity availability: Closes #5670 2012-08-17 17:14:27 -07:00
Jim Nelson
fbc128cad1 Display new message count in Unity launcher: Closes #5647
"./configure --enable-libunity" must be used in order for this
feature to be available.
2012-08-16 18:33:28 -07:00
Jim Nelson
6da84dfc79 Support Ubuntu messaging menu: Closes #5648
libindicate is supported in this patch (with some framework in place
to support others, such as libmessagingmenu if/when it comes down
the pipe).  libindicate support must be configured with a ./configure
switch (which is one-half of #5607) and is off by default.

Note that this patch does not fully implement our design spec for
how new messages are cleared due to user interaction.  That is
covered by #5669.
2012-08-15 17:21:03 -07:00
Eric Gregory
bc7ca7bb96 Closes #5539. Removes build folder when ./configure is run 2012-07-26 07:22:43 -07:00
Eric Gregory
ebcfa96faa Closes #5168 Post-install steps are now optional 2012-05-01 17:18:43 -07:00
Jim Nelson
b87fe2967a configure wrapper script and top-level Makefile: closes #5143
This introduces a configure script that automates the basic task
of setting up a CMake build directory.  It also uses a top-level
Makefile (which the configure script generates, to prevent running
it until configure has executed) which does the build and copies
the final executables into the root of the source tree.
2012-04-27 19:48:33 -07:00