Commit graph

325 commits

Author SHA1 Message Date
Michael Catanzaro
ff0c962c50 Prepare 46.beta 2024-02-09 11:56:58 -06:00
Sabri Ünal
8e452d7113 appdata: Update appdata
- Add vcs-browser URL
2024-01-09 14:19:38 +03:00
Sabri Ünal
590af7bfd5 appdata: Remove none OARS tags
"The old generator also included all the none-value entries—it
no longer does this, you can safely remove them.

If it only consists of none values, it’s safe to shorten it to just:
`<content_rating type="oars-1.1" />`"

More information: https://docs.flathub.org/docs/for-app-authors/appdata-guidelines/#oars-information
2024-01-09 14:19:10 +03:00
Michael Catanzaro
69ce6e85e9 appdata: update donation URL 2023-12-05 11:01:28 -06:00
Michael Catanzaro
e0eafac792 Update appdata
This makes appstreamcli happier. The syntax for the developer tag
changed in 1.0.
2023-12-01 08:44:24 -06:00
Automeris naranja
f82b8e3b56 help-overlay: Tweak shortcut names
1. Change shortcut names in help-overlay to match the new tooltips from
https://gitlab.gnome.org/GNOME/gnome-chess/-/merge_requests/51/diffs?commit_id=6a9c9001cffd53f64c76694255e2078ccc7ca117

2. To keep consistency, use header capitalization in other shortcut names,
with the same writing style used for the new tooltips.

3. Change shortcut names related to saving a game to match the corresponding
menu item names, which are "Save" and "Save As...".

Part-of: <https://gitlab.gnome.org/GNOME/gnome-chess/-/merge_requests/51>
2023-09-29 17:59:14 +00:00
Automeris naranja
0bced86372 chess-window: Make tooltips shorter and use header capitalization
"Tooltip labels should be short and written in header capitalization".

https://developer.gnome.org/hig/patterns/feedback/tooltips.html

Closes https://gitlab.gnome.org/GNOME/gnome-chess/-/issues/75

Part-of: <https://gitlab.gnome.org/GNOME/gnome-chess/-/merge_requests/51>
2023-09-29 17:59:14 +00:00
Automeris naranja
b27c8098c8 help-overlay: Rename "Open menu" to "Open Main Menu"
"Main Menu" is the correct name of the primary menu.

https://developer.gnome.org/hig/patterns/feedback/tooltips.html
2023-09-03 17:43:55 -03:00
Automeris naranja
eade4fce17 chess-window: Allow opening Main Menu with F10 2023-09-03 17:35:15 -03:00
Automeris naranja
6a70c557b9 chess-window: Add tooltip to the Main Menu button
"Controls in the header bars of primary windows should all have tooltips"

https://developer.gnome.org/hig/patterns/feedback/tooltips.html
2023-09-03 17:34:38 -03:00
Sabri Ünal
a8507e98c2 data: mark a string translatable in new-game-window.ui
- Time Limit
2023-08-29 23:49:45 +03:00
Michael Catanzaro
389df74190 Use appstreamcli for appdata validation
appstream-util is obsoleted by appstreamcli.
2023-05-01 14:25:23 -05:00
Michael Catanzaro
46e1411356 Remove Purism metadata from appdata file
It's broken: the custom data is a dictionary and specifying the same key
multiple times does not work.

https://github.com/ximion/appstream/issues/476
2023-05-01 14:23:55 -05:00
Michael Catanzaro
de47d07ec6 Prepare 43.2 2023-03-17 10:02:33 -05:00
Michael Catanzaro
95c7fb91da Prepare 43.1 2023-01-05 14:06:04 -06:00
Michael Catanzaro
81c85f6871 Fix keyboard shortcuts dialog
According to the GtkApplication documentation, we are supposed to use a
well-known action name win.show-help-overlay, not app.show-help-overlay.
Oops. This has been broken since
c292a01440.

Fixes #69
2022-10-03 13:31:25 -05:00
Michael Catanzaro
b6b8a88deb Prepare 43.0, not 44.0... oops 2022-09-15 10:50:36 -05:00
Michael Catanzaro
3adecfd9aa Prepare 44.0 2022-09-15 10:46:15 -05:00
Andre Klapper
d5baed813f Update application screenshot to version 43 UI 2022-09-09 12:16:59 +02:00
Michael Catanzaro
2aff2b8df7 Prepare 43.rc 2022-09-01 12:11:57 -05:00
Nils Lück
f8aa4eab3d Modernized preferences 2022-08-19 21:18:48 +00:00
Michael Catanzaro
4de76ca77d Copy NEWS and appdata from gnome-42 branch 2022-08-09 15:10:07 -05:00
Michael Catanzaro
11fb0b2f33 Tweak appdata requires
https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1092#note_1410621
2022-03-17 14:30:10 -05:00
Michael Catanzaro
8dd35638d7 Prepare 42.0 2022-03-17 14:15:04 -05:00
Michael Catanzaro
7d9f04acdc Tweak appdata recommends/requires
We don't support keyboard-only gameplay.

Also, let's use the less-specific "small" screen size here.
2022-03-17 13:21:46 -05:00
Michael Catanzaro
01b54ab314 Add appdata screenshot to git repo
people.gnome.org is shutting down
2022-03-09 16:12:00 -06:00
Michael Catanzaro
065e3493ef Prepare 42.alpha 2022-01-06 15:34:23 -06:00
Michael Catanzaro
1e5cf80052 Prepare 41.1 2021-10-29 11:58:44 -05:00
Michael Catanzaro
f337567008 Fix Exec= line in desktop file
We were not passing the filename, preventing Chess from actually opening
PGN files. Somehow nobody ever noticed this until now!

Fixes #62
2021-09-17 07:03:47 -05:00
Michael Catanzaro
24fa276e04 Prepare 41.0 2021-09-16 15:16:56 -05:00
Adrien Plazas
6c0653748c appdata: State hardware support
This declares which hardware the application supports.
2021-09-09 19:51:56 +02:00
Michael Catanzaro
9003966603 Add missing 40.1 release to appdata 2021-04-29 09:59:33 -05:00
Michael Catanzaro
ae9038690d Add test dependencies to attempt to fix CI
See: gnome-build-meta#372
2021-04-21 21:33:45 +00:00
Michael Catanzaro
f97146fbdc Use ~ for prereleases in appdata 2021-03-22 17:31:14 -05:00
Michael Catanzaro
d01d8eef55 Remove prereleases from appdata 2021-03-22 17:13:35 -05:00
Michael Catanzaro
a8184acc4a Prepare 40.0 2021-03-22 16:57:46 -05:00
Michael Catanzaro
b4998ff97b Prepare 40.alpha 2021-01-07 15:16:18 -06:00
Michael Catanzaro
c292a01440 Create a ChessWindow and move a bunch of logic there 2020-12-25 11:16:50 -06:00
Michael Catanzaro
d5fefd3433 No need to manually unparent dialog children after all?
I still don't understand this fully. See:
https://gitlab.gnome.org/GNOME/vala/-/issues/1121#note_992251
2020-12-25 11:10:42 -06:00
Michael Catanzaro
13f03c5e00 Use composite template to build preferences dialog 2020-12-24 16:07:31 -06:00
Michael Catanzaro
07a6086446 Use composite template to build promotion type selector
This also fixes a bug that I introduced with my GTK 4 porting: the
promotion type selector dialog would always display pieces in the color
of the first player to promote a piece, but it should always change
color to match the current player.

Note that I declared all the GtkChild widgets as unowned due to
vala#1121, which I discovered while working on this.
2020-12-24 15:14:47 -06:00
Michael Catanzaro
b9d34b35c8 Move gresource.xml to data/ 2020-12-24 13:12:36 -06:00
Michael Catanzaro
627ee9c5b3 Use GResource for piece images
It's 2020, no need to load SVGs from /usr/share anymore.
2020-12-24 11:56:53 -06:00
Michael Catanzaro
1c38521a22 Remove New Game button from header bar
It takes too much space in narrow mode, and it no longer needs to be a
button because we have a window menu again. I think I originally made
this a button when removing the window menu, but nowadays the menu is
back.
2020-12-24 11:00:51 -06:00
Michael Catanzaro
67a5d88e0d Port to GTK 4
I probably should have removed GtkDialog.run() use first, in a separate
commit, but I didn't and now it would be a lot of effort to split it
out. So here it is: one big GTK 4 megacommit.
2020-12-24 16:41:53 +00:00
Michael Catanzaro
c0fabc35d9 Bring back separate Save and Save As
This will allow the user to decide whether or not to open the file
chooser. Surprisingly, the code for both of these still exists -- it was
already possible to choose between them using keyboard shortcuts -- so
all we need to do is edit the menu.
2020-12-06 10:08:31 -06:00
Michael Catanzaro
ba72876f72 Open Game menu item should have ellipses...
...because it opens the file chooser.
2020-12-06 10:07:03 -06:00
Michael Catanzaro
23994bb997 Remove stray menu button changes that snuck into previous commit
I was testing a local hack. This wasn't supposed to be pushed.
2020-12-05 12:31:27 -06:00
Michael Catanzaro
39fb1c5651 Use info bar to display game status in narrow mode
The main header bar doesn't have enough space to show messages when the
screen is narrow. So when running in mobile mode, let's add an info bar.

This looks better than my first attempt, 0e8090dcd1.
2020-12-05 12:28:48 -06:00
Michael Catanzaro
4129f1950a Revert "Use inner headerbar in narrow mode"
This reverts commit 0e8090dcd1.

Emmanuele, Matthias, and Exalm all do not like it.
2020-12-05 10:07:20 -06:00