Commit graph

303 commits

Author SHA1 Message Date
Brian Daniels
9c728ab496 Ensure the time labels are the same height as the other controls 2019-09-25 19:13:14 +00:00
Brian Daniels
755a39a0c3 Allowing history combobox text to ellipsize 2019-09-25 19:13:14 +00:00
Brian Daniels
8ab42e4be3 Add extra box for control split 2019-09-25 19:13:14 +00:00
Bilal Elmoussaoui
3be16f27ea Appdata: add release tag
Backport a flathub patch in order to publish the latest release
2019-09-13 09:56:03 +00:00
Michael Catanzaro
01d94db7e6 Add provides for old desktop filename
This is what GNOME Software used as our app ID in the time before app
IDs were a thing.
2019-07-14 16:02:19 -05:00
Michael Catanzaro
c5b0419cd7 Add padding to bottom row of widgets
Fixes #34
2019-02-27 10:02:19 -06:00
Jakub Steiner
8ac6fdd8a1 icon: update app icon
- GNOME 3.32 redesign of app icons.
  See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
  for more info.

/label ~"9. Initiative: AppIconRedesign"
2019-02-01 10:31:41 +00:00
Bilal Elmoussaoui
a70b239857 appdata: remove AppMenu kudos
per the new design initiative, the AppMenu is no more a thing
GNOME Software remvoed the AppMenus, we should do the same here.
2019-01-20 21:05:16 +00:00
Bilal Elmoussaoui
176d6c5f0f meson: tests to validate appdata & desktop files 2019-01-10 18:25:00 +00:00
Bilal Elmoussaoui
9b910aa520 app-id: unify the app-id
Use org.gnome.Chess as the app-id and follow the new freedesktop standards for appdata/desktop/icons files names
https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html
2019-01-09 14:20:33 +01:00
Jeremy Bicha
a76b9bb592 Ensure that F1, Ctrl+Q, and Ctrl+W work 2018-12-08 18:37:47 -05:00
Jeremy Bicha
26eb0d6b71 Add Keyboard Shortcuts overlay 2018-12-08 18:37:22 -05:00
Jeremy Bicha
1aea934063 menus: Add accelerators 2018-12-06 17:07:53 -05:00
Jeremy Bicha
7da3112a1f menus: Drop separator between Preferences and Help
as recommended by
https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement
2018-12-06 17:06:35 -05:00
Jeremy Bicha
c5aa0a303c menus: Update for GNOME 3.32 recommendations
https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement
2018-12-06 13:00:20 -05:00
Michael Catanzaro
eb7f2636c5 Improve construction of the no-engine info bar
This reparenting strategy was pretty wild.
2018-07-27 19:46:42 -05:00
Michael Catanzaro
ea0d76bd58 Remove leftover automake file 2018-03-11 18:27:45 -05:00
Michael Catanzaro
c1cc98cd83 Stop creating legacy 22x22 icon directory
This icon was removed in 3.28.

https://developer.gnome.org/hig/stable/icons-and-artwork.html.en

https://bugzilla.gnome.org/show_bug.cgi?id=794240
2018-03-11 11:29:03 -05:00
Ken VanDine
a997da7e20 Install the svg files for the pieces in the correct location
https://bugzilla.gnome.org/show_bug.cgi?id=790395
2017-11-15 14:24:54 -05:00
Ken VanDine
08bb18b07f Install schema file
https://bugzilla.gnome.org/show_bug.cgi?id=790395
2017-11-15 14:19:55 -05:00
Mathieu Bridon
813a85ce04 Move the icons to the right place
This is where the spec says they should go.

https://bugzilla.gnome.org/show_bug.cgi?id=788606
2017-10-08 12:34:27 +02:00
Niels De Graef
ce6465a9e2 Ported build system to Meson.
See the following links for more info:
* https://mesonbuild.com
* https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting

Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=787346
2017-09-08 23:09:12 -05:00
Michael Catanzaro
699635d2ae Add OARS metadata 2017-03-11 11:17:28 -06:00
Piotr Drąg
8c8ad579de Use a Unicode apostrophe in a translatable string
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=772263
2017-01-22 23:34:35 +01:00
Sahil Sareen
b48862abd4 Remove trailing whitespace 2016-11-07 00:32:32 +00:00
Sahil Sareen
cbf209db04 Update appdata 2016-08-13 20:24:26 +01:00
Piotr Drąg
9276f95888 Add translator comments to .desktop file 2016-07-28 19:17:29 +02:00
Michael Catanzaro
f3408528e3 Remove 3D from desktop file comment
I removed 3D support a couple years ago.
2016-07-27 23:33:50 -05:00
Michael Catanzaro
df7152cb4c Stop using intltool 2016-07-27 23:16:44 -05:00
Sahil Sareen
391e854682 Use AM_DISTCHECK_CONFIGURE_FLAGS 2016-02-16 02:11:25 +05:30
Sahil Sareen
dfd8c23a29 Update license 2016-02-16 02:09:58 +05:30
Richard Hughes
4bc619dfe0 Update the AppData to spec version 0.7+ 2016-01-25 15:40:03 +00:00
Michael Catanzaro
5105a9516e appdata: Add manual kudos 2015-11-26 21:38:02 -06:00
Michael Catanzaro
69b49c53a0 Fix installation of hi-res icon 2015-05-29 12:52:55 -05:00
Jakub Steiner
3b54bf4c72 icon: provice a symbolic variant of the app icon
since 3.16 used for the recolorable high contrast theme

https://bugzilla.gnome.org/show_bug.cgi?id=747025
2015-04-30 10:52:38 -05:00
Johan Manuel
ba128dd084 Add option to alternate between black and white
Add the option 'Alternate' in 'Play as' in the preferences menu.
When selected, the player will play as the opposite color he played the
last time when starting a new game.

https://bugzilla.gnome.org/show_bug.cgi?id=747411
2015-04-15 10:58:27 +05:30
Sahil Sareen
ee25edc1f1 Remove unused gschema variables
https://bugzilla.gnome.org/show_bug.cgi?id=745149
2015-02-26 18:20:45 +05:30
Arnaud Bonatti
ec662df5e7 Use GResource. 2015-02-25 21:41:15 +01:00
Arnaud Bonatti
911113cde8 Do not hammer dconf on resize. 2015-02-25 19:26:09 +01:00
Michael Catanzaro
16095b0555 Fix several untranslatable strings on the preferences dialog
https://bugzilla.gnome.org/show_bug.cgi?id=745130
2015-02-25 10:19:09 +05:30
Sahil Sareen
d00db10c10 Add support for Fischer and Bronstein clocks
* Preferences dialog: Added option for clock type
* Clock Library: Support for these clocks
* Gnome-Chess: Handle fischer/bronstein clocks

https://bugzilla.gnome.org/show_bug.cgi?id=473395
2015-02-16 09:45:50 +05:30
Sahil Sareen
b8e6d10b2b Code alignment fix
Minor code alignment fix in preferences.ui
2015-01-31 20:41:21 +05:30
Sahil Sareen
72054b7273 Set a limit on the max amount of time per game
Setting a limit on hours to 10 and minutes to 600 in
custom game duration in preferences.

https://bugzilla.gnome.org/show_bug.cgi?id=726953
2014-12-16 18:08:06 -06:00
Michael Catanzaro
cc1927dd99 Switch from appdata-tools to appdata-utils 2014-11-24 18:26:40 -06:00
Iulian Radu
24f7e003fd Replace deprecated properties to fix warning
https://bugzilla.gnome.org/show_bug.cgi?id=737045
2014-09-21 18:53:07 -05:00
Michael Catanzaro
6a68068574 appdata: update screenshot size 2014-09-20 13:10:25 -05:00
Michael Catanzaro
bfa69e73fa Revert "build: use standard appdata rules"
This reverts commit 8ff0fcf077.
2014-08-18 18:52:12 -05:00
Michael Catanzaro
8ff0fcf077 build: use standard appdata rules 2014-08-17 20:28:33 -05:00
Michael Catanzaro
bac04328c1 Distribute HighContrast icon
Moved from gnome-themes-standard
2014-08-17 15:30:24 -05:00
Michael Catanzaro
83a1d1bc0c Improve time control handling
Set the game's time limit, not a duration, so that selecting one hour
gives each player a time limit of one hour (rather than 30 minutes).

This also fixes our interpretation of the TimeControl field.
2014-07-06 14:42:15 -05:00
Michael Catanzaro
bed6ad0e64 preferences: fix size of piece style combo
Easy to see what's wrong now that things are in the right position
2014-07-06 13:44:28 -05:00
Michael Catanzaro
f09cb157f4 Move widgets around in preferences.ui
Don't change the dialog at all, just move these to more sane positions
within the file.
2014-07-06 13:42:46 -05:00
Michael Catanzaro
434687157d fixup: remove 3D assets
https://bugzilla.gnome.org/show_bug.cgi?id=720284
2014-07-06 11:56:27 -05:00
Michael Catanzaro
ae35e97062 fixup: remove 3D-mode gsettings keys
https://bugzilla.gnome.org/show_bug.cgi?id=720284
2014-07-06 11:53:12 -05:00
Michael Catanzaro
c4d9ba7c53 Remove 3D mode
https://mail.gnome.org/archives/games-list/2014-June/msg00006.html

https://bugzilla.gnome.org/show_bug.cgi?id=720284
2014-07-06 11:48:46 -05:00
Michael Catanzaro
17bd099798 promotion dialog: use header bar 2014-07-04 22:14:58 -05:00
Michael Catanzaro
cb0600a8d3 preferences: do not use deprecated GtkAlignment 2014-06-25 01:41:35 -05:00
Michael Catanzaro
3cc715d197 Fix preferences dialog layout with recent GTK+ 2014-06-25 01:29:21 -05:00
Michael Catanzaro
dbcf503ee3 Rename gschema file
It's a little mean to reset users' settings, but I dislike the current
redundant name more strongly than I probably should. And only a little.

Also, fix i18n of the gschema
2014-06-24 21:32:22 -05:00
Michael Catanzaro
998150dddf Remove references to a "2D/3D chess game"
Might not be 3D for much longer, and 3D is no longer an awesome feature
so there's no point in advertising it.
2014-06-24 21:06:43 -05:00
Michael Catanzaro
530ffa05e5 Rely on RTL icon theme support 2014-06-05 10:29:34 -05:00
Michael Catanzaro
788ea1ff2c appdata: fix spelling of metadata_license tag 2014-05-20 20:53:27 -05:00
Michael Catanzaro
3bff070918 appdata: update license fields 2014-05-09 20:16:39 -05:00
Michael Catanzaro
021f3ec246 Fix another translator comment 2014-04-09 19:30:31 -05:00
Michael Catanzaro
00f7df8abc Preferences: add missing mnemonics 2014-04-09 19:29:43 -05:00
Michael Catanzaro
a9fca365a9 Fix translator comment in preferences dialog 2014-04-09 08:40:31 -05:00
Michael Catanzaro
d0de4734c1 Add access key for new game button 2014-04-09 08:36:35 -05:00
Michael Catanzaro
03ea5ed4e5 Fixup: remove gear menu button from size group
This button no longer exists and is causing a warning
2014-04-09 08:36:13 -05:00
Michael Catanzaro
d057b32952 Add a resign button
https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:30 -05:00
Michael Catanzaro
31365e4617 Switch to a Save As button
The standard Save is still available with Ctrl+S

https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:30 -05:00
Michael Catanzaro
29556c95d5 Remove the gear menu
https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:30 -05:00
Michael Catanzaro
dfb23c124e Remove the Claim Draw menu item
Instead, we should prompt the player when he has the option of claiming
a draw. This will come in the next commit.

https://bugzilla.gnome.org/show_bug.cgi?id=727345
2014-04-08 21:53:29 -05:00
Michael Catanzaro
d567309442 Require GTK+ 3.12
We forgot to bump the GTK+ requirement when using GtkDialog's new
use_header_bar property.

https://bugzilla.gnome.org/show_bug.cgi?id=727720
2014-04-06 17:40:41 -05:00
Yosef Or Boczko
621308e1b8 Use headerbar in the preferences dialog
https://bugzilla.gnome.org/show_bug.cgi?id=727056
2014-03-26 08:43:01 -05:00
Michael Catanzaro
4812c81815 Partially revert "remove unnecessary size groups"
The header bar size group was actually important: it was keeping the New
Game button at the proper height. And since it wasn't causing any
problems, let's just put it back.

https://bugzilla.gnome.org/show_bug.cgi?id=726951
2014-03-24 19:48:06 -05:00
Michael Catanzaro
6d4e61c79a Compute the width of the time labels at runtime
Set the time labels to be a little bit wider than the widest they might
ever be, so they never resize.

This assumes that each player will be limited to at most 999 minutes,
which currently is not the case, but will be soon.

https://bugzilla.gnome.org/show_bug.cgi?id=726955
2014-03-24 09:48:05 -05:00
Michael Catanzaro
53fdcacd19 ui: remove unnecessary size groups
The horizontal size group is exacerbating the horrible resizing
behavior as the clock ticks down. It's not the size group's fault that
this is broken, but the size group makes it 1634435x worse.

The vertical size group is simply unnecessary in 3.12. In 3.10 it is
needed for the header bar buttons to have the same height, but forces
the buttons into odd (non-square) shapes. Let's just remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=726951
2014-03-24 09:46:51 -05:00
Michael Catanzaro
c659a94082 appdata: update screenshot size 2014-03-05 20:09:23 -06:00
Yosef Or Boczko
cd9c80bae9 Pack the header bar buttons in a vertical size group
https://bugzilla.gnome.org/show_bug.cgi?id=724530
2014-02-18 12:28:06 +02:00
Michael Catanzaro
d96bd1e2aa Use a button for pause/resume 2014-02-16 16:38:16 -06:00
Michael Catanzaro
3bc8f09d1d Revert "Swap Pause/Resume menu label as appropriate"
This reverts commit af1d76a4dc.

Let's use a button for Pause instead.
2014-02-16 15:48:36 -06:00
Michael Catanzaro
5acf31a13e Add a delay before the computer moves
Slowing down the game makes it less overwhelming.
2014-02-16 15:15:22 -06:00
Michael Catanzaro
1ae54858fb Correctly spell "GNU Chess" 2014-02-16 15:15:22 -06:00
Michael Catanzaro
0f0cec8a29 Switch GNU Chess to UCI mode
Guess wildly at reasonable difficulty settings.
2014-02-16 15:15:22 -06:00
Michael Catanzaro
93245a9cd8 Revert "Remove extra space between White and Black timers"
This reverts commit 73bf554d6b.

This exacerbates our issues with the resizing nav bar items
2014-02-16 10:03:07 -06:00
Michael Catanzaro
c5ec184612 Add some margin to the nav box 2014-02-16 10:03:07 -06:00
Michael Catanzaro
308b71725a Put buttons for common actions into the header bar 2014-02-16 10:03:07 -06:00
Michael Catanzaro
958aecb2a7 Update man page 2014-02-15 20:21:07 -06:00
Michael Catanzaro
f58e1b230f appdata: specify project_group 2014-02-09 12:26:29 -06:00
Michael Catanzaro
7d55d4c513 Look for AI profiles in two different locations
We'll now search for AI profiles in:

* ~/.config/gnome-chess/engines.conf (first)
* /etc/gnome-chess/engines.conf

I'm torn as to whether to continue reading /etc/chess-engines.conf. I
think it'd be best to ignore it -- if users modified it manually to add
an engine, they will notice that the engine has disappeared. They're not
likely to notice that they're not getting the important GNUChess
improvements I'm hoping to land soon....
2014-02-07 19:56:13 -06:00
Michael Catanzaro
6aa7882d69 Fix oversight in appdata file 2014-02-05 15:35:39 -06:00
Michael Catanzaro
07854cd113 Rename desktop file so we appear in GNOME Software 2014-02-05 14:54:21 -06:00
Michael Catanzaro
436f0522ba Fix whitespace in the UI file 2014-02-04 12:41:07 -06:00
Michael Catanzaro
c6b3fa5610 Remove stock items from the preferences dialog
Also, switch to a symbolic icon for the light bulb.
2014-01-11 16:01:27 -06:00
Michael Catanzaro
73bf554d6b Remove extra space between White and Black timers 2014-01-07 11:00:41 -06:00
Yosef Or Boczko
efffb0b171 Add the "linked" style to the navigation buttons
https://bugzilla.gnome.org/show_bug.cgi?id=721692
2014-01-07 10:55:24 -06:00
Yosef Or Boczko
03fd2ee281 Use symbolic icons in the buttom bar 2014-01-07 18:08:22 +02:00
Michael Catanzaro
af1d76a4dc Swap Pause/Resume menu label as appropriate
Unfortunately, this requires dynamically generating the menu. I'm not
very impressed with the GMenu API compared to the rest of GLib....
2014-01-06 17:09:50 -06:00
Michael Catanzaro
0acfb00a96 Replace the toolbar with a gear menu 2014-01-06 17:09:50 -06:00
Michael Catanzaro
29dbf32397 Remove fullscreen mode 2014-01-06 17:09:50 -06:00