Commit graph

5922 commits

Author SHA1 Message Date
Michael Gratton
4db87e1215 Merge branch 'mjog/special-type-cleanup' into 'mainline'
Special folder type cleanup

See merge request GNOME/geary!482
2020-03-31 07:44:27 +00:00
Michael Gratton
8dcab7f306 Geary.SpecialFolderType: Rename class and related properties, signals
The `SpecialFolderType` was somewhat mis-named, since the special use
does not (in most cases) confer any special type, rather it's simply
defines what a particular folder is used /for/.

As such, rename the enum to to `Geary.Folder.SpecialUse`, moving it in
to the `Folder` class, since it relates specifically to folders, also
rename `Folder::special_folder_type` and
`Folder::special_folder_type_changed` reflect the above and not
duplicate the type name, and similarly rename
`Account::folders_special_type`.

Update the many call sites.
2020-03-31 16:15:57 +11:00
Michael Gratton
ec78ee50b4 Geary.Imap.MailboxAttribute: Rename XLIST-specific attrs as such 2020-03-31 15:41:51 +11:00
Michael Gratton
ec382470fd Rename other uses of spam in the codebase to junk 2020-03-31 15:41:51 +11:00
Michael Gratton
32acff51b8 Geary.SpecialFolderType: Rename SPAM to JUNK
The latter is more general as it can also be used for malware, etc,
and less evocative of processed pig products.
2020-03-31 15:37:38 +11:00
Michael Gratton
19d29b9e9d Geary.Folder, Geary.SpecialFolderType: Move folder name i18n to client
Remove `Geary.Folder::get_display_name` method, and
`display-name-changed` signal, and
`Geary.SpecialFolderType::get_display_name`. Add new equivalent methods
for client in `Util.I18n` and use those instead.
2020-03-31 15:33:17 +11:00
Michael Gratton
d2eec63cfb Util.International: Rename package to I18n to make fn calls less verbose 2020-03-31 15:30:00 +11:00
Michael Gratton
7ab01e6cbd Merge branch 'mjog/780-fix-content-area-api-change' into 'mainline'
components.InfoBar: Fix compilation errors with get_action_area on F31

Closes #780

See merge request GNOME/geary!481
2020-03-31 00:34:06 +00:00
Goran Vidović
c783d78986 Update Croatian translation 2020-03-30 23:26:52 +00:00
Goran Vidović
90eac15705 Update Croatian translation
(cherry picked from commit 11fb91c0b6276d404ec341a75804ca7c1213eb0b)
2020-03-30 23:13:40 +00:00
Michael Gratton
007558fc28 components.InfoBar: Fix compilation errors with get_action_area on F31
GTK 3.24.16 fixed the bindings annotation for
Gtk.InfoBar.get_action_area() and this has been picked up by valac
master already.

Fixes #780
2020-03-31 08:52:00 +11:00
Yuri Chornoivan
ce7f5c64df Update Ukrainian translation 2020-03-30 19:25:33 +00:00
Michael Gratton
297a59ca80 Merge branch 'mjog/imap-connection-fixes' into 'mainline'
IMAP connection fixes

See merge request GNOME/geary!479
2020-03-30 11:35:18 +00:00
Michael Gratton
8077941289 Merge branch 'mjog/plugin-api-update' into 'mainline'
Plugin API update

See merge request GNOME/geary!478
2020-03-30 11:05:12 +00:00
Michael Gratton
111c5d0b91 Plugin.EmailExtension, Plugin.FolderExtension: API update
Rename store accessors to be explicit about that, and to avoid
ambiguity with extension context property names.
2020-03-30 21:45:26 +11:00
Michael Gratton
1e8f60a9e2 Plugin:NotificationContext: Remove FolderStore accessor method
Now that FolderExtension exists, plugins can just get an instance of
the folder store by implementing that.
2020-03-30 21:45:26 +11:00
Michael Gratton
fd09105136 Plugin:NotificationContext: Remove EmailStore accessor method
Now that EmailExtenion exists, plugins can just get an instance of
the email store by implementing that.
2020-03-30 21:45:26 +11:00
Michael Gratton
71b590f21b Merge branch 'mjog/email-plugins' into 'mainline'
Email plugin support

See merge request GNOME/geary!452
2020-03-30 10:43:58 +00:00
Michael Gratton
b2e1461322 Plugin.SpecialFolder: Update to also handle drafts and outbox
Keep track of email being displayed, add an infobar to any that are
drafts or that are un-saved outbox messages.
2020-03-30 21:05:00 +11:00
Michael Gratton
d81393458a Plugin.FolderStore: Add new list_containing_folders method
Adds new abstract method and implementation.
2020-03-30 21:05:00 +11:00
Michael Gratton
e6b8785037 Plugin.Email: Expose Geary.EmailFlags from the backing email
Implement the new property, ensure email has flags loaded when
being loaded.
2020-03-30 21:05:00 +11:00
Michael Gratton
8a36587cc0 Plugin.EmailStore: Add email-displayed signal
Ensure the signal is emitted whenever an email in the conversation
viewer is displayed fully (i.e. expanded).
2020-03-30 21:05:00 +11:00
Michael Gratton
e29d9378ba Plugin.EmailContext: Add support for adding email info bars
Add new add_email_info_bar and remove_email_info_bar methods to the
interface, implement these in Application.EmailContext.
2020-03-30 21:05:00 +11:00
Michael Gratton
44806d218c ConversationListBox: Add convenience methods for email info bars 2020-03-30 21:05:00 +11:00
Michael Gratton
6b483a83dd Application.FolderContext: Move info bar impl to common location
Move the context's info bar implementatio to Components.InfoBar so it
can be re-used.
2020-03-30 21:05:00 +11:00
Michael Gratton
28e6b669f6 ConversationMessage: Convert to use InfoBarStack
Remove stock infobars from ConversationEmail and ConversationMessage
builder files. Use common ComponentsInfobar for remote image loading
infobar. Use Components.InfoBarStack in ConversationMessage for plugin
support.
2020-03-30 21:05:00 +11:00
Michael Gratton
a7c06a3fc5 Components.InfoBarStack: Use GObject style ctor
This makes it possible to use these widgets in GTK builder files.
2020-03-30 21:05:00 +11:00
Michael Gratton
8d219b9f88 Application.MainWindow: Clean up builder and CSS class names
Make it clear which widgets are releated to the conversation list,
add some additional CSS to allow more fine-grained CSS rule targetting.
2020-03-30 21:05:00 +11:00
Michael Gratton
e56b155c27 Plugin.EmailStore: Ensure email-sent is emitted by email plugins 2020-03-30 21:05:00 +11:00
Michael Gratton
88c049e1d0 Plugin.EmailStore: API doc fixes 2020-03-30 21:05:00 +11:00
Michael Gratton
9bb7b77f17 Plugin: Add EmailExtension plugin extension type
Add EmailExtension plugin extenion with context object and
Application.EmailContext implementing it. Check for plugins with
this type in PluginManager and init/deinit their contexts as needed.
2020-03-30 21:05:00 +11:00
Michael Gratton
77def2d9c2 Merge branch 'mjog/build-updates' into 'mainline'
Build updates

See merge request GNOME/geary!477
2020-03-30 09:08:48 +00:00
Michael Gratton
016998359b src/client/plugin: Rename plugin data files so they get translated
Since xgettext doesn't recognise .plugin files as desktop files,
rename them to `….plugin.desktop.in`. Add missing plugins to POFILES.in.
2020-03-30 19:51:01 +11:00
Michael Gratton
87ca799104 **/*/meson.build: Update meson files to be more idiomatic 2020-03-30 19:24:57 +11:00
Michael Gratton
4c5a3e860a meson.build: Bump version for new unstable branch 2020-03-30 19:08:20 +11:00
Michael Gratton
9597942116 src/client/application/main.vala: Remove explicit Poodle mitigation
Remove explicit Poodle SSL 3.0 exploit mitigation - distros are doing
a better job of enabling secure TLS algos now.
2020-03-30 18:59:53 +11:00
Michael Gratton
f7d111eab2 Merge branch 'mjog/752-no-sent-sound' into 'mainline'
org.gnome.Geary.yaml: Add Pulse Audio and FDO sound theme

Closes #752

See merge request GNOME/geary!476
2020-03-30 06:36:04 +00:00
Michael Gratton
ab635f4937 org.gnome.Geary.yaml: Add Pulse Audio and FDO sound theme
Former fixes Sent Mail plugin from being able to play, latter provides
it with something to play.

Fixes #752
2020-03-30 17:01:19 +11:00
Michael Gratton
c8a19a37be Merge branch 'mjog/779-resetted-unpossible-english' into 'mainline'
Geary.Db.Statement: Fix poorly worded signal name

Closes #779

See merge request GNOME/geary!472
2020-03-30 04:59:41 +00:00
Michael Gratton
353f48c71f Merge branch 'mjog/777-copyright-year' into 'mainline'
Application.Client: Update copyright year

Closes #777

See merge request GNOME/geary!473
2020-03-30 04:58:32 +00:00
Michael Gratton
a38ac6f324 Merge branch 'mjog/make-client-lib-private' into 'mainline'
Install client library in private lib sub-directory

Closes #775

See merge request GNOME/geary!470
2020-03-30 04:44:36 +00:00
Michael Gratton
96183f076b Merge branch 'settable-revno' into 'mainline'
Allow explicit setting of revision string

See merge request GNOME/geary!471
2020-03-30 04:44:23 +00:00
Michael Gratton
f1a7a868dd Application.Client: Update copyright year
Fixes #777
2020-03-30 15:40:16 +11:00
Michael Gratton
18e70b0fe8 Merge branch 'mjog/424-remove-empty-folder-menu-items' into 'mainline'
Remove empty trash/spam menu items

Closes #424

See merge request GNOME/geary!448
2020-03-30 04:36:12 +00:00
Michael Gratton
f3905a6577 Geary.Db.Statement: Fix poorly worded signal name
Fixes #779
2020-03-30 15:33:45 +11:00
Daniel Kahn Gillmor
43b5213799 Allow explicit setting of revision string
This lets a packager ensure that the binary object built from an
unpacked source tarball is identical to the binary object created from
a live git tree.

I hope to use it in debian with something like -Drevno=debian/3.36.1-1
during the meson configuration, so that the help dialog box and the
bug reporting logs can identify the specific build.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2020-03-30 00:18:35 -04:00
Michael Gratton
83be745e95 Install client library in private lib sub-directory
Use Geary's private lib sub-directory so that the library won't be found
on the global library search path. Version the library name to avoid
clashes. Update the binary's rpath on install so it can find the lib
still.

Fixes #775
2020-03-30 14:13:49 +11:00
Michael Gratton
6dd2d1bcc1 Update THANKS 2020-03-30 11:31:50 +11:00
Piotr Drąg
aac64df91d Update Polish translation 2020-03-29 13:06:42 +02:00
Yuri Chornoivan
ef90d4d974 Update Ukrainian translation 2020-03-29 06:10:12 +00:00