commit ab60f30c9a627040a8483d63fda3aecc8bd8bf87 Author: Matthias Clasen Date: Sat Mar 4 12:13:17 2017 -0500 Bump version to 0.20.0 This might be the last snapshot before 1.0. M configure.ac M meson.build commit 566129378513cac01cf288b69183b09a7eb648af Author: Matthias Clasen Date: Sat Mar 4 12:12:44 2017 -0500 Add new contributors to credits Welcome, Ekta and Maithili. M src/gr-about-dialog.c commit ad46df49438b9778f9df86ac2ea52ee7070b5003 Author: Ekta Nandwani Date: Sat Mar 4 11:08:44 2017 +0530 Don't show an empty shopping list Leave the shopping page and go back to the home page when the last recipe is removed from the shopping list. This matches the behavior of the "Clear List" button. https://bugzilla.gnome.org/show_bug.cgi?id=779532 M src/gr-shopping-page.c commit e1094aaee7707eb6e1face0f786df44820213f62 Author: Matthias Clasen Date: Sat Mar 4 11:54:49 2017 -0500 Cosmetic improvements to "Export All" Suggest a filename, and use "Export" as the button label. M src/gr-window.c commit a70cc339375787c0ccc979291dc2c06c0a193841 Author: Matthias Clasen Date: Sat Mar 4 11:49:27 2017 -0500 Add a debug message Spell out where we are loading release notes from. M src/gr-appdata.c commit 78cdb91b4b587eeccb39816b28896864080e8135 Author: Matthias Clasen Date: Sat Mar 4 11:48:54 2017 -0500 Small appdata updates Reword things to make sure things look nice in "What's New". M data/appdata/org.gnome.Recipes.appdata.xml.in commit b9e6d85a4556660b380d5b6373352cc12529543a Author: Matthias Clasen Date: Sat Mar 4 09:16:17 2017 -0500 Appdata updates M data/appdata/org.gnome.Recipes.appdata.xml.in commit 0c94284e7ab318295f6a0f371886b4eec2c01bd7 Author: Matthias Clasen Date: Sat Mar 4 10:25:58 2017 -0500 Dark theming for notes This is just my attempt at toning down the note color, taking advantage of the new infrastructure for separate dark CSS. https://bugzilla.gnome.org/show_bug.cgi?id=779523 M src/recipes-dark.css M src/recipes-light.css M src/recipes.css commit 38eabab55174157e6113ce15119371f0c8f65829 Author: Matthias Clasen Date: Sat Mar 4 10:04:01 2017 -0500 Redo our custom css handling Instead of creating two CSS provider objects, just import the recipes.css from the cuisine.css, since we are rewriting cuisine.css at runtime anyway. At the same time, introduce separate recipes-light.css and recipes-dark.css files, so we can do color tweaks for the dark theme in the future. And reload the CSS when the gtk-application-prefer-dark-theme setting changes. This is not really a common occurrence, but it is easy to do and it helps for debugging the CSS with the GTK+ inspector. M src/Makefile.am M src/gr-app.c M src/gr-cuisine.c M src/gr-cuisine.h A src/recipes-dark.css M src/recipes-images.gresource.xml A src/recipes-light.css commit e43930638925f2d10aa98b0764f8fc5d2ec88a8a Author: Matthias Clasen Date: Fri Mar 3 20:17:27 2017 -0500 Cosmetic changes to the app menu Shorten "My Chef Information" to just "Chef Information", and rearrange the the last section a bit. M src/menus.ui commit 4a83b7eaa18c0422ff00e4b68250fee8d1089ca8 Author: Matthias Clasen Date: Fri Mar 3 18:11:39 2017 -0500 Fix a length mismatch in shopping list saving I haven't been able to reproduce the crash in https://bugzilla.gnome.org/show_bug.cgi?id=779539 but this change might fix it. M src/gr-recipe-store.c commit ce73510669f08f8ec379ae02ff77a4e20d7d4b9d Author: Matthias Clasen Date: Fri Mar 3 17:50:44 2017 -0500 Add an "Export All" item to the app menu This is making the new export functionality available from the UI. M src/menus.ui commit 2213a3b2996f644af453b65ee6ad960b02b09d1f Author: Matthias Clasen Date: Fri Mar 3 17:50:17 2017 -0500 Add an app.export action This triggers the just added window api. M src/gr-app.c commit 4886b93c841fb95c57ae3db736b4769fcd4332bb Author: Matthias Clasen Date: Fri Mar 3 17:49:29 2017 -0500 Add a window API to ask for a file and save all This new api presents a file chooser and then exports all your recipes to the chosen file. M src/gr-window.c M src/gr-window.h commit c3b0223ccf7fe701edc0026a68ac94df42edaeda Author: Matthias Clasen Date: Fri Mar 3 17:48:40 2017 -0500 Make it possible to export all recipes Add an exporter API that exports all 'your' recipes to a file. M src/gr-recipe-exporter.c M src/gr-recipe-exporter.h commit f72aa586ed56ad3715678a355277e3c5bf820b04 Author: Rafael Fontenelle Date: Fri Mar 3 18:45:31 2017 -0300 Update Brazilian Portuguese translations M po-data/pt_BR.po commit 781f670bfb969099188f8a59648160f744164e3a Author: Matthias Clasen Date: Fri Mar 3 15:51:16 2017 -0500 Spelling coorections for ingredients There were some spelling mistakes in the list of ingredients, as pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=779541 M data/ingredients.list commit 146ae7e0084dcace60445cc87539b259f5604039 Author: Matthias Clasen Date: Fri Mar 3 15:49:36 2017 -0500 Spell the name Recipes consistently Several instances of the application name were not capitalizes, as pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=779541 M src/gr-recipe-exporter.c M src/recipe-export-dialog.ui commit cd68dd80cc18e348be386809ad901222bf9e1bf7 Author: msbhide Date: Fri Mar 3 19:45:54 2017 +0530 Add a "Report Issue" item in the app menu Add an item in the about menu that launches a browser window pointing at bugzilla.gnome.org to report a bug against recipes. https://bugzilla.gnome.org/show_bug.cgi?id=778803 M src/gr-app.c M src/gr-window.c M src/gr-window.h M src/menus.ui commit 53a0001524e1e468a5eaff58b2afae617b35a4f4 Author: Ekta Nandwani Date: Fri Mar 3 22:53:02 2017 +0530 Avoid a crash in save_chef_dialog Handle the condition where id is NULL just like the empty string https://bugzilla.gnome.org/show_bug.cgi?id=779546 M src/gr-chef-dialog.c commit d113e5353fe855289378fb827f67c9a59efddcb6 Author: Matthias Clasen Date: Fri Mar 3 13:25:45 2017 -0500 Defer unexporting handles to an idle We were seeing unexpected effects when calling gdk_window_unexport_handle out of the export_handle callback. Avoid that by deferring the unexport to an idle. This is really just a workaround for deficiencies in the handle export API. M src/gr-utils.c commit 7f5165e57350ae47bca09a721adb48f16d4ac64a Author: Matthias Clasen Date: Fri Mar 3 13:23:46 2017 -0500 Populate chef dialog better in fallback cases We have a gr_ensure_user_chef() API which falls back to GLib account api if we don't find the Account info portal. Use it so we get the same fallback everywhere. M src/gr-window.c commit 381447351c64bb2c44a5c97fa4274b01492fa42e Author: Matthias Clasen Date: Fri Mar 3 12:09:54 2017 -0500 Use the right cover image for Salmon Rice I messed up when importing this recipe. Sorry, Adelia! M data/recipes.db commit 843f3d1f9425ed4868d110a1e73ad5c310f41381 Author: Rafael Fontenelle Date: Fri Mar 3 17:52:31 2017 +0000 Update Brazilian Portuguese translation M po/pt_BR.po commit 0236a73136e10763a18ad15c9eac5c9846ced861 Author: Fabio Tomat Date: Fri Mar 3 12:02:19 2017 +0000 Update Friulian translation M po/fur.po commit 98a9be0c2934de6e13fb03091377ac1de1d82bf2 Author: Fabio Tomat Date: Fri Mar 3 11:56:14 2017 +0000 Add Friulian translation M po/LINGUAS A po/fur.po commit c5c784c575b68e612c20bf3c31d15d78ce3a5060 Author: Matthias Clasen Date: Fri Mar 3 06:11:34 2017 -0500 Back to a development version M configure.ac M meson.build commit 381941e7adf5ec68d2b7d276ac46a47538e3f095 Author: Matthias Clasen Date: Thu Mar 2 23:10:46 2017 -0500 Don't use XDG_DATA_DIRS for locating data This doesn't quite work on a flatpak-enabled system where the first item in XDG_DATA_DIRS will point to the export location for system-wide flatpaks. Instead, add a decicated environment variable to override PKGDATADIR on OS X. M osx/gnome-recipes.sh M src/gr-utils.c commit 3bb1ce0999d8c34d6a94ee4158d35d28da7f662f Author: Anders Jonsson Date: Fri Mar 3 01:00:05 2017 +0100 Fix button typo (Canel) https://bugzilla.gnome.org/show_bug.cgi?id=779503 M src/gr-recipe-exporter.c M src/gr-shopping-page.c commit da58c288d1339e85e782eb322de7e64dbfa66106 Author: Matthias Clasen Date: Thu Mar 2 16:49:20 2017 -0500 Don't validate screenshot urls Network access is problematic in some build systems. https://bugzilla.gnome.org/show_bug.cgi?id=779495 M data/Makefile.am commit d77113147d3e0a28d9446bf4c2fb98178038b6a9 Author: Matthias Clasen Date: Thu Mar 2 06:47:42 2017 -0500 Survive without D-Bus We already have error handling code if we don't find the service we need, we can just use the same code when we don't find the bus itself. M src/gr-utils.c commit 9a01fc3312e87f9cea505b50dfece52890304260 Author: Matthias Clasen Date: Thu Mar 2 06:46:47 2017 -0500 Survive without D-Bus Not a situation we want to be in, but it is not hard to make it work. M src/gr-account.c commit 71e06087322261351bbaf1a29a2fc7d32a5bc178 Author: Matthias Clasen Date: Wed Mar 1 23:55:35 2017 -0500 Add locale support to the OS X launcher M osx/gnome-recipes.sh commit 14bb875d3dcd80ae2a63086863b54efc95faa0e2 Author: Matthias Clasen Date: Wed Mar 1 23:16:41 2017 -0500 Show system info for OS X Better than "Unknown". M src/gr-about-dialog.c commit 575a579042a765e2be92db9099870eb49978a9af Author: Matthias Clasen Date: Wed Mar 1 21:06:48 2017 -0500 Make gr_send_mail async Implement the full async pattern for this API, and make the callers fall back to saving the file if sending email fails with an error. M src/gr-mail.c M src/gr-mail.h M src/gr-recipe-exporter.c M src/gr-shopping-page.c commit e9c7d7408a1f6737af63047569a5578f7c749631 Author: Piotr Drąg Date: Thu Mar 2 01:46:38 2017 +0100 Update Polish translation M po/pl.po commit eae27a64e62758cebf48087a833a988501a04e6d Author: Matthias Clasen Date: Wed Mar 1 15:10:42 2017 -0500 Make system tab available on non-csd platforms too We need to add a button to the action area for this case. Noticed on OS X. M src/gr-about-dialog.c M src/gr-window.c commit 349585285009c93aa2d512ae5ddb5bea7d1339c9 Author: Matthias Clasen Date: Wed Mar 1 13:54:10 2017 -0500 Make chef dialog button have some margin In the non-headerbar case, these were flush to the edge of the window. Not ideal. M src/gr-chef-dialog.ui commit 110db7b610b88a7ecc84e10e712ec233c783284e Author: Matthias Clasen Date: Wed Mar 1 07:00:58 2017 -0500 More contributed recipes Nasi Lemak, by Adelia Sambal Ikan Bilis, by Adelia Bratkartoffeln, by Sylvia M data/Makefile.am A data/images/kaese-bratkartoffeln.jpg A data/images/nasilemak1.jpg A data/images/nasilemak2.jpg A data/images/nasilemak3.jpg A data/images/sambalikan1.jpg A data/images/sambalikan2.jpg A data/images/sambalikan3.jpg A data/images/sambalikan4.jpg A data/images/sambalikan5.jpg A data/images/sambalikan6.jpg A data/images/sambalikan7.jpg M data/meson.build M data/recipes.db M data/recipes.db.h commit e8cfd75cc7f857c3ddb20406f8d6f2ae019a6faf Author: Daniel Mustieles Date: Wed Mar 1 08:31:17 2017 +0000 Update Spanish translation M po/es.po commit 6a1d4a0c4def3bdf5c2da4738719164f8667bd98 Author: Matthias Clasen Date: Tue Feb 28 22:56:01 2017 -0500 Add more email fallbacks M src/gr-mail.c commit 1b8efe9677a64d92b6a583a95a208cf74d05af81 Author: Matthias Clasen Date: Tue Feb 28 22:51:34 2017 -0500 Try to fix sending mail on OS X We should still do the mailto: thing even if we can't get a window handle. M src/gr-utils.c commit 569b730cfa7699b17aa4899c8f2548e8f88c3536 Author: Matthias Clasen Date: Tue Feb 28 22:41:04 2017 -0500 Make the whats new dialog a dialog This lets us adapt to platform conventions. M src/recipe-whats-new-dialog.ui commit f1587e5551160fbf1db24fd465b81ef454c2791e Author: Matthias Clasen Date: Tue Feb 28 22:30:10 2017 -0500 Don't hardcode .var/app/org.gnome.Recipes We have a utility function for this, use it. M src/gr-recipe-exporter.c commit 37b126ec9882b36d58cf8c618e4e7bc249be4979 Author: Matthias Clasen Date: Tue Feb 28 22:24:00 2017 -0500 Make the chef dialog a dialog This will let us adapt to platform conventions wrt to header bars. M src/gr-chef-dialog.c M src/gr-chef-dialog.h M src/gr-chef-dialog.ui commit ddb1a52e7c4999bb765bb83fa6d9c186a726b128 Author: Matthias Clasen Date: Tue Feb 28 22:03:37 2017 -0500 details page: Use less fancy glyphs The glyphs we were using for timers and images don't display on OS X (at least with a pango thats built by jhbuild), so lets use simpler ones that work. M src/gr-details-page.c commit 2cdf932bec7c62ab03d62274b6009f0d02ed0bf5 Author: Matthias Clasen Date: Tue Feb 28 07:57:24 2017 -0500 A script to build a dmg A osx/build-osx-installer.sh A osx/template.dmg.gz commit 3262ab4d2a06fd7a0faeb8bd20ea259571fe815a Author: Matthias Clasen Date: Tue Feb 28 07:46:47 2017 -0500 Some data for using gtk-mac-bundler A osx/Info.plist A osx/gnome-recipes.sh A osx/org.gnome.Recipes.bundle A osx/org.gnome.Recipes.icns commit 6ec0f131e0a356f7a131e9174a49786f744d5a8e Author: Matthias Clasen Date: Mon Feb 27 21:36:40 2017 -0500 Use pkgdatadir and datadir consistently Instead of hardcoding share/ all over the place, use the variables we have. M data/meson.build commit 37f661c2095a7543538aa2ea5f7e0f58b548f74c Author: Matthias Clasen Date: Tue Feb 28 15:36:00 2017 -0500 Fix unused variable warnings clang is much better about this than gcc. M src/gr-account.c M src/gr-edit-page.c M src/gr-recipe-exporter.c M src/gr-recipe-importer.c M src/gr-recipe-store.c M src/gr-recipes-page.c M src/gr-shopping-list-printer.c M src/gr-shopping-page.c commit a17bdfcf6f95af09761fb62adfa08baa83232c9a Author: Matthias Clasen Date: Tue Feb 28 15:34:34 2017 -0500 Fix a compiler warning The warning was -Wformat-nonliteral. M src/gr-about-dialog.c commit 872e161ec8f81dde1a6d06ec8ef58cf8e3c2195a Author: Jiri Grönroos Date: Tue Feb 28 19:43:30 2017 +0000 Add Finnish translation M po/LINGUAS A po/fi.po commit 6aa5d000768a0a51eed47b4a50715f07db4aac9c Author: Matthias Clasen Date: Tue Feb 28 07:40:10 2017 -0500 Fix some obvious mistakes We better make sure this loop ends. M src/gr-cuisine.c commit dc9dc74f44a3248b40cd88263cdcd2d905c723cf Author: Matthias Clasen Date: Tue Feb 28 07:33:05 2017 -0500 Stop hardcoding PKGDATADIR in cuisine.css Instead, replace @pkgdatadir@ at runtime. This turns out to not only fix relocatability on OS X, but also simplify our build machinery. M src/Makefile.am R100 src/cuisine.css.in src/cuisine.css M src/gr-cuisine.c M src/meson.build D src/recipes-generated.gresource.xml M src/recipes-images.gresource.xml commit c964e8d4464628b2eef1ae218b4ab93ede961d0e Author: Matthias Clasen Date: Tue Feb 28 07:15:39 2017 -0500 Stop hardcoding PKGDATADIR This gets in the way on OS X where we need everything to be relocatable for building an app bundle. Instead of PKGDATADIR, use XDG_DATA_DIRS[0]/gnome-recipes. M src/gr-utils.c commit f440a2a054c459bea8cf38d2250667f34459739b Author: Rafael Fontenelle Date: Tue Feb 28 00:46:27 2017 +0000 Update Brazilian Portuguese translation M po/pt_BR.po commit cb1ec0ea3a31aa13f318a3235b899af8857c13a7 Author: Matthias Clasen Date: Mon Feb 27 18:55:26 2017 -0500 Drop the libappstream-glib dependency again We can just as easily do this bit of xml parsing ourselves and save the trouble of the extra dependency. M configure.ac M meson.build M src/gr-appdata.c M src/gr-appdata.h M src/gr-window.c