Commit graph

837 commits

Author SHA1 Message Date
Michael Gratton
c9d6d9666a Merge branch 'mjog/search-refinement' into 'mainline'
Search implementation refinement

See merge request GNOME/geary!389
2019-12-17 23:56:23 +00:00
Michael Gratton
5eb6bb2a6d Update and simplify SearchBar component
Rename source file name and contents to match code convention, add
transation comments, remove extra API in favour of simply exposing the
search entry publically. Extend Hdy.Searchbar so that the width of the
entry grows as needed.
2019-12-18 09:25:07 +11:00
Michael Gratton
f025f6904d Move SearchFolder management into the client
Rename the search folder again to App.SearchFolder, move its id class
into it as an inner class. Remove search folder from the engine so the
application can manage it and it's policy in the future. Also remove
the outbox from the accout's list of local folders, so that code can
be removed altogether.
2019-12-18 09:25:07 +11:00
Jordi Mas
3640bef9c9 Update Catalan translation 2019-12-12 22:26:51 +01:00
Michael Gratton
924104c282 Clean up search folder implementation
Move SearchFolder and search EmailIdentifier implementation out of
ImapDb and into its own package. Decouple both from ImapDB, and improve
the implementation, fixing a few inefficiencies. Merge search
FolderProperties into the SearchFoldern implementation as an inner
class.

Merge SearchTerm into ImapDB.SearchQuery as an inner class and move the
outer class's source down a level, since it was the only file left in
the imap-db/search dir.
2019-12-12 10:47:52 +11:00
Emin Tufan Çetin
875909e4f4 Update Turkish translation 2019-12-02 16:25:44 +00:00
Michael Gratton
978ff12810 Rename Geary.Loggable to Geary.Logging.Source
Rename the class because we need to distinguish between logging sources
and logging state, for cases when the logged object's state may change
between being logged and being displayed.

Rename util souce file to match new name space per source code
convernstion.
2019-12-01 19:37:15 +11:00
Rafael Fontenelle
a837179047 Update Brazilian Portuguese translation 2019-11-29 06:20:29 +00:00
Piotr Drąg
70dee4794d Update POTFILES.in 2019-11-28 15:37:06 +01:00
Michael Gratton
e4a5b85698 Merge branch 'mjog/558-webkit-shared-process' into 'mainline'
Share per-window WebkitGTK WebProcesses

Closes #558

See merge request GNOME/geary!374
2019-11-27 00:15:51 +00:00
Michael Gratton
ceb9c9764a Rename ClientWebView to Components.WebView per code style 2019-11-26 14:26:03 +11:00
Alexandre Franke
e8412192f9 Update French translation 2019-11-25 09:58:44 +00:00
Daniel Mustieles
7af0c6fb1d Updated Spanish translation 2019-11-21 12:55:01 +01:00
Michael Gratton
e11e2bd279 Convert prefs dialog to a HdyPreferencesWindow
Move it to the Components package, use libhandy preferences widgets
for the UI.
2019-11-20 23:16:55 +11:00
Daniel Mustieles
cb7cdbbbe6 Updated Spanish translation 2019-11-19 10:04:52 +01:00
Piotr Drąg
7797af7623 Update POTFILES.in 2019-11-18 13:57:50 +01:00
Michael Gratton
239fdce562 Move MainWindow to Application package
Move MainWindow out of the root namespace and add it to Application,
so it can privately share internal state with the Controller. Rename
the source and UI files to match.
2019-11-17 21:38:33 +11:00
Michael Gratton
56876365ba Rename GearyApplication class and source to match code style
Rename `GearyApplication` => `Application.Client` and
`geary-application.vala to `application-client.vala`. Update call sites
and test cases.
2019-11-17 21:38:29 +11:00
Michael Gratton
e426517b30 Rename Config class and source file to match code style
Rename `Configuration` => `Application.Configuration` and
`geary-config.vala to `application-config.vala`. Update call sites and
test cases.
2019-11-17 16:53:42 +11:00
Michael Gratton
63f626e050 Merge branch 'mjog/233-entry-undo' into 'mainline'
Application-wide GtkEntry undo support

Closes #233

See merge request GNOME/geary!360
2019-11-12 21:42:10 +00:00
Daniel Mustieles
1f31861960 Update Spanish translation 2019-11-11 11:36:21 +00:00
Piotr Drąg
fcb3939944 Update Polish translation 2019-11-10 13:00:11 +01:00
Emin Tufan Çetin
e02fe1e621 Update Turkish translation 2019-11-10 07:58:51 +00:00
Michael Gratton
a5d72891eb Rework action names groups across the client
Introduce a new standard edit action group "edt" for editing actions
such as copy and undo, separate from the "win" window action group, so
that editing actions can be scoped to specific widgets and overridden
by children. Add new Action namespace with sub-namespaces for the
app, win and edt namespaces and move consts from GearyApplication there.
Update call sites and UI files, use consistent approach to setting up
action groups across all classes that use them.
2019-11-08 10:06:48 +11:00
Michael Gratton
ce1630e09d Add Components.EntryUndo class to manage undo for GTK Entries 2019-11-07 13:01:16 +11:00
Michael Gratton
2d47e4802b Re-select folder, conversation and email on EmailCommand undo
When an EmailCommand is undone, select the folder, conversation and if
relevant scroll to the email in question so as to provide better
context.

This isn't 100% bulletproof, but is about 80% of the way there. The
remainer requires some major Engine rework to decouple local and remote
actions.
2019-11-07 11:58:56 +11:00
Michael Gratton
de6ef699de Clean up attachment save code
Create new Application.AttachmentManager class and move code for saving
attachments there from both Application.Controller and MainWindow since
aside from needing the latter for dialogs it is independent of both.

Create new Components.AttachmentPane widget for diplaying attachents
for an email in the ConversationViewer.

Update ConversationEmail and ConversationMessage to use these two new
classes directly, rather than implementing save management itself or
requiring the MainWindow to wire up signals on these classes.
2019-11-07 11:58:55 +11:00
Jordi Mas
869b359490 Update Catalan translation 2019-10-24 21:27:13 +02:00
Asier Sarasua Garmendia
8ded85c6b6 Update Basque translation 2019-10-20 17:02:58 +00:00
Marek Černocký
a3c8b02f43 Updated Czech translation 2019-10-02 02:47:41 +02:00
Michael Gratton
d5e7c05cba Move InAppNotification class to components package
It was the last class left in notifications, so not much point keeping
it there. Also take the opportunity to add it to a package proper.
2019-09-27 19:37:33 +10:00
Michael Gratton
2637b6cabe Convert Libmessagingmenu to MessagingMenu plugin 2019-09-27 19:37:08 +10:00
Michael Gratton
b54bbd42b5 Convert UnityLauncher to NotificationBadge plugin 2019-09-27 19:37:07 +10:00
Michael Gratton
486c2fc137 Convert Notification.Desktop to a plugin
Rename to DesktopNotifications and use Plugins.Notification as the base
class. Add a plugin config file. Add build config to build the plugin.
Update Plugins.Notification class to suit the requirements of this
plugin better.
2019-09-27 19:36:39 +10:00
Michael Gratton
e2e8e29cfb Add a libpeas Plugin.Notification extension, hook it up 2019-09-27 17:29:03 +10:00
Michael Gratton
526b12094f Convert NewMessagesMonitor into a plugin context
Rename class to Application.NotificationContext, add missing API docs
and make members that shouldn't be public internal or private. Keep an
instance with the PluginManager instead of with the app controller.
Update uses of both.
2019-09-27 17:29:03 +10:00
Michael Gratton
c89766c7e8 Add PluginManager class for client plugin support 2019-09-27 17:29:03 +10:00
Asier Sarasua Garmendia
6dfee8edea Update Basque translation
(cherry picked from commit f500ebc733f4ca90b59a384e3b108c9c46b74eb3)
2019-09-24 07:36:55 +00:00
Ryuta Fujii
b153755d17 Update Japanese translation 2019-09-20 14:48:09 +00:00
Ryuta Fujii
1f4ad680dd Update Japanese translation 2019-09-20 14:42:06 +00:00
Federico Bruni
14eb1a53da Update Italian translation 2019-09-16 12:16:43 +00:00
Marek Černocký
47c85ae6ad Updated Czech translation 2019-09-16 00:16:42 +02:00
Balázs Úr
28d653d458 Update Hungarian translation 2019-09-15 11:54:16 +00:00
Rafael Fontenelle
dae9c7ea39 Update Brazilian Portuguese translation 2019-09-08 15:02:31 +00:00
Ryuta Fujii
cbd6031eb0 Update Japanese translation 2019-09-06 14:38:18 +00:00
Ryuta Fujii
3458868d03 Update Japanese translation 2019-09-06 14:37:09 +00:00
Efstathios Iosifidis
a66616675c Update Greek translation
(cherry picked from commit 2f87f0e066fcb4c753ad4492c6d45e34518634b5)
2019-09-04 20:12:48 +00:00
Anders Jonsson
875cf3afe1 Update Swedish translation 2019-09-02 11:31:47 +00:00
Zander Brown
36f0b9ae05 Update British English translation 2019-08-31 09:46:21 +00:00
Enrico Nicoletto
c8d6fe552a Update Brazilian Portuguese translation 2019-08-28 19:08:12 +00:00