Commit graph

76 commits

Author SHA1 Message Date
Michael James Gratton
98e2d319eb Remove CMake build.
Closes Bug 777044.
2018-06-13 22:30:10 +10:00
nick richards
f512ebc199 Add OARS metadata 2018-06-05 13:53:39 +00:00
Michael James Gratton
5d58f165e6 Update Appsteam metainfo to point to new help page. 2018-04-27 12:13:14 +10:00
Michael James Gratton
ed95edf520 Fix appstream-util validate-strict with metainfo file. 2018-02-13 12:21:38 +11:00
Michael James Gratton
2eada0af79 Fix typo in release notes. 2018-02-13 12:21:35 +11:00
Michael James Gratton
66648a6a94 Ensure gnome-control-centre knows in advance Geary uses notifications.
* desktop/org.gnome.Geary.desktop.in: Add X-GNOME-UsesNotifications=true
  to desktop file per:
  https://wiki.gnome.org/Initiatives/GnomeGoals/NotificationSource
2018-01-11 03:22:55 +11:00
Michael James Gratton
1675f2dc25 Fix copy pasta error in schema description. Bug 792356. 2018-01-09 20:25:37 +11:00
Michael James Gratton
763ccd2f7c Fix compiling and using GSettings schema when built by Meson.
* desktop/meson.build: Make sure the schema is re-compiled with the
  source XML changes.

* meson.build: Make compiling the schema mandatory, since both running
  the client locally and unit tests require it. Fix path to compiled
  schema so the client can find it.
2017-12-12 15:56:31 +11:00
Niels De Graef
01c13f726f Port build system to Meson. Bug 777044.
Some remarks:

* Note that Meson adds a hard dependency on Python 3.

* All dependencies and defines are now listed together.

* Some build files were put in their respective subdirectories, e.g. the Geary
  engine library will be built from the Meson file in `src/engine`.

* `--fatal-warnings` is no longer an explicit flag, as Meson provides
  `-Dwerror=true` for this.

* An explicit resource file needs to be used. The issue to support this from
  Meson itself can be found at https://github.com/mesonbuild/meson/issues/706 .

* The `gnome.yelp()` function parses a LINGUAS file so we no longer need to keep
  track of all languages in our build system.

* There are no Debian scripts defined in the meson.build files to keep them
  clean, but they can be kept as separate scripts in `build-aux`.

* Left out the `dist` target as there is now `ninja dist`

* `geary-docs` is disabled by default, as valadoc-0.38.3 returns errors.

https://bugzilla.gnome.org/show_bug.cgi?id=777044
2017-12-12 00:27:46 +01:00
Michael James Gratton
412549a3f7 Don't try to install the contractor file if disabled. Bug 790382.
Patch courtesy Jiri Cerny.
2017-11-19 21:55:03 +11:00
Michael James Gratton
da15ebe3c0 Fix gnome-shell notifications missing an icon under flatpak. Bug 790103.
* icons: Rename application icons to match fully-qualified app name. Update
  references to the olde name with the fully-qualified app name.
2017-11-14 14:38:57 +11:00
Piotr Drąg
c6481c6f6d Translate GSchema
https://bugzilla.gnome.org/show_bug.cgi?id=771643
2017-11-03 13:05:47 +11:00
Piotr Drąg
42294ba38b Add XML declaration to the GSchema file 2017-11-02 18:57:21 +01:00
Piotr Drąg
9c1078ad16 Remove intltool markers from <caption> tags in AppData 2017-11-02 17:36:24 +01:00
Piotr Drąg
bfef27ed88 Add translator comments to .desktop files 2017-11-02 17:20:01 +01:00
Michael James Gratton
e05de4ccec Workaround xgettext not recognising Elementary Contractor files.
We can't just simply run xgettext twice (once as normal, once with just
the contractor file and passing "--desktop" as an arg, since
l10n.gnome.org won't pick up the second pass and the contract will remain
untranslated.

So work around by renaming the contractor file such that it is
recognised, then rename it back to normal when translating it.

* desktop/geary-attach.contract.in: Renamed to
  desktop/geary-attach.contract.desktop.in.

* desktop/CMakeLists.txt: Undo the rename when translating.

* po/CMakeLists.txt, po/Makevars: Add a xgettext keyword for the
  contractor Description field.

* po/POTFILES.in: Chase the file rename.
2017-11-02 19:10:29 +11:00
Michael James Gratton
643c65a954 Remove obsolete X-GNOME-FullName key from desktop files. 2017-11-02 19:10:29 +11:00
Niels De Graef
39ef8e3e2d Replace intltool with gettext. Bug 771643.
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2017-11-02 19:10:29 +11:00
Jiri Cerny
c1de366210 Remember size of dettached composer window 2017-10-24 20:38:30 +11:00
Michael James Gratton
e3787cd068 Add release notes for 0.12 to appdata, NEWS and debian/changelog 2017-10-02 20:53:11 +11:00
Piotr Drąg
339e4b691d gschema: Fix gettext-domain 2017-10-01 18:31:05 +02:00
Michael James Gratton
e17994f822 Revert appdata id change to fix flatpak build. 2017-09-29 00:35:13 +10:00
Michael James Gratton
e977c9864c Fix flatpak build error maybe.
* desktop/org.gnome.Geary.appdata.xml.in: Set component type to
  desktop-application to work with non-desktop-based id value.
2017-09-29 00:35:13 +10:00
Michael James Gratton
244f8165d2 Banish last traces of "email client" from app. 2017-09-29 00:35:13 +10:00
Michael James Gratton
25e23b05fb Add new translatable developer name and translation comments to appdata. 2017-09-26 22:55:57 +10:00
Michael James Gratton
b30b74edf9 Further updates for the appdata file.
- Correct the value of the id
 - Reorganise a bit and add some whitespace to make it more readable
 - Add help URL, point bugtracker URL to the wiki instead of b.g.o
 - Add categories, launchable and provides
2017-09-26 22:51:29 +10:00
Michael James Gratton
551a0e249f Update misc appstream URLs.
- Add a translate link
 - Point bugtracker link to the b.g.o product page, not enter_bug.cgi
 - Update donate link to use HTTPS

https://bugzilla.gnome.org/show_bug.cgi?id=770860
2017-09-26 01:11:09 +10:00
Michael James Gratton
8a20a4592c Update appstream to point to new screenshots on wiki.gnome.org.
https://bugzilla.gnome.org/show_bug.cgi?id=770860
2017-09-25 20:24:46 +10:00
Michael James Gratton
527399be76 Remember attachments dir and reuse adding/saving attachments and images.
* src/client/application/geary-controller.vala (GearyController): Replace
  use of last_save_directory with new attachments_dir property on the
  configuration object.

* src/client/dialogs/attachment-dialog.vala (AttachmentDialog): Replace
  current_folder with use of last_save_directory with new attachments_dir
  property on the configuration object. Add config object as ctor param
  and object field, update call sites.
2017-02-24 12:06:42 +11:00
Michael James Gratton
7787af3aac Remember print dir and reuse when printing again. Bug 713573.
* src/client/conversation-viewer/conversation-email.vala
  (ConversationEmail): Save config object as a class field, use that to
  get and set the print directory when printing. Also set the default
  print filename based on the email's subject.
2017-02-24 11:49:05 +11:00
Michael James Gratton
f69c461955 Re-enable spell checking in composer.
* src/client/application/geary-config.vala (Configuration): Remove
  spell-check setting, we can just get it from the list of visible
  languages instead. Update the schema.

* src/client/components/client-web-view.vala (WebView::init_web_context):
  Pass in a config object, use that to init WebKit's spell checking on
  the WebContext now that is a global configuration, update it when the
  config changes, update call sites.

* src/client/composer/composer-widget.vala (ComposerWidget): Remove
  WK1-syle spell checking settings prefs.

* src/client/composer/spell-check-popover.vala (SpellCheckPopover): Pass
  a config object in so we don't have to use the global app singleton
  instance.

* src/client/dialogs/preferences-dialog.vala (PreferencesDialog):
  Modernise by converting into a widget template.

* test/client/components/client-web-view-test-case.vala (TestCase):
  Construct a config object as a fixture, use it to init the WebContext
  and make it avalaible to subclasses & update subclasses.

* ui/preferences-dialog.ui: Moved from preferences.dialog, remove spell
  check preference.
2017-02-01 00:41:44 +11:00
Piotr Drąg
bfea6be048 Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=776142
2016-12-16 02:14:14 +01:00
Niels De Graef
2481989d5e Don't set DBusActivatable since we don't have a service file. 2016-12-10 00:33:01 +01:00
Niels De Graef
ec9acc8989 Perform migration for GSettings. Bug 766196. 2016-12-08 12:53:56 +01:00
Niels De Graef
4b5b2ee6e1 Use "org.gnome.Geary" for the app ID. Bug 766196. 2016-12-08 12:53:52 +01:00
Michael James Gratton
c55285f7f6 Remove now-unused composer-pane-position pref. 2016-10-04 10:58:17 +11:00
Gautier Pelloux-Prayer
4cf4ef8fcf Persist Conversation Viewer zoom level. Bug 714933 2016-09-19 11:32:40 +10:00
Piotr Drąg
6de907b9e6 Put translator comment in the desktop file in one line
Tools pick up only one line above the string.

Also fixes a typo in "Tranlators".
2016-09-05 16:32:08 +02:00
Michael James Gratton
96ea69df19 Make appdata file translatable. Bug 713937.
* desktop/CMakeLists.txt: Translate the appdata file rather than just
  installing it directly.

* desktop/geary.appdata.xml.in: Rename from 'geary.appdata.xml', make
  name, summary and description translatable.

* cmake/FindIntltool.cmake: Add a CMake command for the appdata file.

* po/POTFILES.in: Include geary.appdata.xml.in.
2016-09-05 12:14:34 +10:00
Michael James Gratton
6f988198f6 Update desktop resources to be spec compliant & consistent with the wiki. 2016-09-05 12:14:29 +10:00
Michael James Gratton
45773c8f88 Allow the Compose desktop action to be used on non-Unity desktops.
Patch courtesy Pacho Ramos.

Fixes Bug 751558.
2016-08-17 23:00:53 +10:00
Michael James Gratton
4a2ba1446d Fix cmake warning CMP0040 in cmake/FindDesktopFileValidate.cmake.
* desktop/CMakeLists.txt: Fix name of Elementary Contractor desktop file
  and disable Desktop file validation for it since it doesn't actually
  validate.

* cmake/FindDesktopFileValidate.cmake, cmake/FindIntltool.cmake: Don't
  assume XDG Desktop files are named ".desktop" - they aren't for
  Elementary's Contractor. Require callers to pass the full name in, fix
  call sites.
2016-08-11 18:45:24 +10:00
Leonardo Robol
cae4b443c6 Added support to change the spell-checking language.
Bug 720335

* src/client/composer/spell-check-popover.vala
  Implemented a GtkPopover allowing the user to select a
  subset of the currently installed dictionaries for the spell
  checking in the composer widget.

* src/client/util/util-international-vala
  Added detection of installed dictionaries and proper
  translation of the available languages. This requires
  Enchant as an additional dependency.

* src/client/application/geary-config.vala
  Added keys spell-check-visible-languages and
  spell-check-languages in GSettings.
2016-06-09 15:36:39 +10:00
Adam Dingle
654e513f9c Transfer Yorba copyrights to Software Freedom Conservancy 2016-05-06 08:33:37 -04:00
Richard Hughes
2255664a54 Update the AppData file to spec version 0.7+ 2016-01-22 19:49:16 +00:00
Robert Schroll
4139076509 Allow changing orientation of left paned
The orientation is set in the preferences dialog.  There are new
configuration keys to track the pane positions, and a bit of code that
will set them the first time based on the current settings.

https://bugzilla.gnome.org/show_bug.cgi?id=714793
2015-03-10 19:08:59 -04:00
Robert Schroll
526f6e7889 Paned composer for handling multi-replies
When the user replies with a quote to a second message, the composer
moves into a paned below the conversation viewer.  This makes it easy to
scroll through the conversation and select text for replies.

The Gtk.Paned acutally holds a Box, which in turn can hold many
ComposerBoxes.  Only one is shown at a time, but the model used
elsewhere is that each ComposerWidget has a ComposerContainer until it
is destroyed.  When a composer is closed, it hides while finishing up
asynchronous work.  This allows us to hold hidden paned composers as
they finish up their work.

The logic for focus handling at detachment is moved into the
ComposerWidget from ComposerEmbed, since it may also be detached from
the paned state.  ComposerContainers gain a remove_composer() method
that does the container's clean up, as well as returning the focused
widget.  The ComposerWindow's remove_composer() method should never be
called.

https://bugzilla.gnome.org/show_bug.cgi?id=738188
2015-01-14 15:16:08 -08:00
Jim Nelson
533ab75ee3 Improved search experience: Bug #720361
This introduces a new full-text search algorithm that attempts to
curb the effects of overstemming in the Porter Snowball stemmer.
The FTS table will be regenerated with this update.

The crux of this new algorithm is a configurable heuristic that
reduces stemmed matching.  The configuration is not available via the
UI (I suspect it will only confuse users) but can be changed by power
users via GSettings.  More information is available at:

https://wiki.gnome.org/Apps/Geary/FullTextSearchStrategy
2014-12-16 12:26:31 -08:00
Viko Adi Rahmawan
66dc465d89 Contractor support: Bug #734717 2014-10-10 14:51:05 -07:00
Jim Nelson
2f94199105 Prevent Geary from being listed twice in Default Applications
The autostart .desktop file shouldn't have a MIME type association,
otherwise it will make Geary appear twice in the drop-down list of
email applications.
2014-08-13 12:17:25 -07:00