Commit Graph

329 Commits

Author SHA1 Message Date
Murilo Pereira
acc75d4224
Merge pull request #61 from trofi/master
src/gui.c: always use "%s"-style format for printf()-style functions
2021-11-03 10:43:24 +01:00
Sergei Trofimovich
4d066c564d src/gui.c: always use "%s"-style format for printf()-style functions
`ncuses-6.3` added printf-style function attributes and now makes
it easier to catch cases when user input is used in palce of format
string when built with CFLAGS=-Werror=format-security:

    src/gui.c:48:13: error: format not a string literal and no format arguments [-Werror=format-security]
       48 |             card_suits[card->suit]);
          |             ^~~~~~~~~~

Let's wrap all the missing places with "%s" format.
2021-11-02 23:24:42 +00:00
Murilo Pereira
4875f34e6b Release 1.3.1 2021-09-03 17:03:20 +01:00
Murilo Pereira
9d32aae34f
Merge pull request #60 from vaporup/master
change the usage output to not include the full contents of argv[0]
2021-09-03 17:59:35 +02:00
Sven Wick
276de8b68e changes the usage output to not include the full contents of argv[0] 2021-09-02 22:08:33 +02:00
Murilo Pereira
9561b23652 Add Debian testing to installation options 2021-08-31 14:09:55 +02:00
Murilo Pereira
452bae128e
Merge pull request #54 from MimmyJau/fix-greeting
Modified language of greeting and included <Shift+M> command
2020-11-21 11:06:30 +01:00
Murilo Pereira
b236fa46ae
Merge pull request #51 from MimmyJau/fix-grammar
Fixed grammar in comments
2020-11-21 10:25:08 +01:00
Jimmy
f95b1000a9 Modified language of greeting and included <Shift+M> command 2020-11-21 00:21:19 -05:00
Jimmy
9850f86c88 Fixed grammar in comments 2020-11-19 22:54:04 -05:00
Murilo Pereira
b937ec599a Add Nix to installation options. 2020-11-11 10:26:55 +01:00
Murilo Pereira
56f788e293 Add Repology badge. 2020-11-11 10:26:55 +01:00
Murilo Pereira
ff368bc980 Release 1.3.0. 2020-06-01 17:03:35 +02:00
Murilo Pereira
e74df8d067
Merge pull request #43 from mpereira/four-color-deck
Four-color deck mode
2020-06-01 16:55:46 +02:00
Murilo Pereira
2fe7075946 Make "--colors" be "four-color-deck".
Also, some automatic file formatting with LSP via LLVM.
2020-06-01 16:51:26 +02:00
Murilo Pereira
87619ed80a Merge branch 'master' into four-color-deck 2020-06-01 16:27:29 +02:00
Murilo Pereira
da9a59649f Change "color" int option to "no-background-color" bool option. 2020-06-01 16:23:20 +02:00
Murilo Pereira
0ce1526c81 Automatically format file with LSP via LLVM. 2020-06-01 15:44:10 +02:00
Murilo Pereira
456b66d008
Merge pull request #31 from Siborgium/master
Option to use default terminal colors for color pair 0.
2020-06-01 15:42:31 +02:00
Murilo Pereira
5bbaafde79
Merge pull request #42 from dther/master
Add C flag to allow tentative definitions
2020-06-01 15:39:24 +02:00
Rudy Dellomas III
080e4af432 Merge branch 'master' of http://github.com/mpereira/tty-solitaire 2020-06-01 12:37:20 +10:00
Rudy Dellomas III
d44c1eb623 Add C flag to allow tentative definitions
A gcc-10 changes the default behaviour from -fcommon to -fno-common,
which causes linking errors in some build processes.

Fixes #40.
2020-06-01 12:33:57 +10:00
Murilo Pereira
3ac90c806a Release 1.2.0. 2020-05-31 23:04:47 +02:00
Murilo Pereira
223837b9e0
Merge pull request #41 from dther/master
Redraw card background to prevent visual artefacts
2020-05-31 22:40:22 +02:00
Murilo Pereira
379ef4322c
Merge pull request #35 from yoyoma2/master
Fix make test (Issue #14)
2020-05-31 22:37:23 +02:00
Murilo Pereira
975c778683 Add Ncurses references to development README section. 2020-05-31 22:02:58 +02:00
Murilo Pereira
ca3acc8251 Add package manager install instructions to README.
And small cleanup.
2020-05-31 21:57:08 +02:00
Rudy Dellomas III
56177f4393 Redraw card background to prevent visual artefacts
Fixes issue #37.
2020-06-01 01:12:40 +10:00
Murilo Pereira
0268d6df09
Merge pull request #36 from porridge/clean
Make the clean target actually work
2019-05-15 23:06:08 +02:00
Marcin Owsiany
ab9cd8cb91 Make the clean target actually work 2019-05-15 22:11:48 +02:00
flamin
5cd663b589 Fix off by one error inf shuffle_deck() 2019-01-23 14:23:16 -05:00
flamin
1aa7e560f1 Fix all memory leaks reported by valgrind 2019-01-21 16:02:04 -05:00
flamin
69bf25f87e Fix make test (Issue #14) 2019-01-20 20:31:35 -05:00
Sebastian Riedel
90e50dcc4c Add four color mode
Fix #32
2019-01-14 06:52:38 +01:00
Sergey Smirnykh
df18b0497b option to use default terminal colors for color pair 0 2019-01-03 23:09:46 +07:00
Murilo Pereira
57c481f506 Bump version to 1.1.1. 2018-11-10 06:00:46 +01:00
Murilo Pereira
03b9cdf9c1 Forgot this. 2018-09-02 21:41:28 +02:00
Murilo Pereira
a17894cb87 Drop README file extension. 2018-09-02 17:56:22 +02:00
Murilo Pereira
53719dafbb Drop CHANGELOG file extension. 2018-09-02 17:54:57 +02:00
Murilo Pereira
e08cb0ffdd Org mode README. 2018-09-02 17:20:08 +02:00
Murilo Pereira
9cbfc95694 Since 2010. 2018-08-17 14:36:00 +02:00
Murilo Pereira
3295098fa4 Add LICENSE. 2018-08-17 14:05:02 +02:00
Murilo Pereira
182b80dfd7 Add CHANGELOG. 2018-08-13 00:05:12 +02:00
Murilo Pereira
f206b57db2 Bump version to 1.1.0. 2018-08-12 23:50:31 +02:00
Murilo Pereira
d299c066cd Make code style more consistent with the rest of the codebase. 2018-08-12 23:40:03 +02:00
Murilo Pereira
5dce7eb912 Rename version macro definition. 2018-08-12 23:29:45 +02:00
Murilo Pereira
5056ae89b7
Merge pull request #15 from AMDmi3/respect-flags
Respect user-set compiler and linker flags
2018-08-12 23:28:16 +02:00
Murilo Pereira
c45969623a
Merge branch 'master' into respect-flags 2018-08-12 23:27:20 +02:00
Murilo Pereira
923063a6cc
Merge pull request #23 from greno4ka/windetect
Detect possible win situation
2018-08-12 23:17:16 +02:00
Murilo Pereira
c60f1bb11f
Merge pull request #26 from dseguin/integrate-version-in-makefile
Integrate version number into makefile (fixes #6)
2018-07-27 16:04:28 +02:00