]>
granicus.if.org Git - fortune-mod/log
Shlomi Fish [Tue, 7 Mar 2023 06:38:10 +0000 (08:38 +0200)]
prepare for a release
Shlomi Fish [Fri, 3 Mar 2023 05:05:25 +0000 (07:05 +0200)]
Fix tidyall tests.
See:
https://metacpan.org/release/Code-TidyAll .
ralismark [Thu, 2 Mar 2023 10:12:25 +0000 (21:12 +1100)]
Re-implement BSD-style -o suffix support
ralismark [Thu, 2 Mar 2023 09:25:42 +0000 (20:25 +1100)]
Remove add_file fallback that can never run
The original intent of this block of code is to handle arguments such as
"politics-o", which would resolve to the "politics" fortune under the
offensive directories. This is a documented feature.
However, form_file_list() almost never calls add_file() with a file
argument without slashes -- if it's not definitely an absolute/relative
path, we always prepend $PWD, FORTDIR, or LOCFORTDIR, all of which are
absolute paths. This means that this condition wouldn't run in almost
all cases.
This feature will be re-added later in a way that is more functional.
Shlomi Fish [Tue, 28 Feb 2023 04:06:33 +0000 (06:06 +0200)]
Correct spelling/grammar: "it's"
Shlomi Fish [Mon, 27 Feb 2023 14:19:32 +0000 (16:19 +0200)]
lexicograph sorting
Shlomi Fish [Mon, 27 Feb 2023 14:15:36 +0000 (16:15 +0200)]
Refactoring / code cleanup.
See:
* https://en.wikipedia.org/wiki/Code_refactoring
* https://www.refactoring.com/
* https://www.joelonsoftware.com/2002/01/23/rub-a-dub-dub/
Some small optimisations may have slipped in as well.
Shlomi Fish [Mon, 27 Feb 2023 13:51:30 +0000 (15:51 +0200)]
ascertain rinutils presence
https://github.com/shlomif/fortune-mod/issues/76
Shlomi Fish [Wed, 22 Feb 2023 11:49:00 +0000 (13:49 +0200)]
prepare for a 3.16.0 release
Shlomi Fish [Wed, 14 Dec 2022 03:34:38 +0000 (05:34 +0200)]
add shlomif-fav collection.
Generated using:
perl lib/Shlomif/FortuneFilter.pm < src/humour/fortunes/shlomif-fav > \
/home/shlomif/progs/C/fortune-mod/git/fortune-mod/fortune-mod/datfiles/shlomif-fav
ralismark [Sat, 18 Feb 2023 13:39:36 +0000 (00:39 +1100)]
Make fortune.6 man page use correct template
Shlomi Fish [Thu, 15 Dec 2022 03:04:19 +0000 (05:04 +0200)]
try gh actions #1 fix: avoid cmocka
Shlomi Fish [Tue, 13 Dec 2022 03:28:00 +0000 (05:28 +0200)]
minor change/cleanup: sort alphabetically
Shlomi Fish [Mon, 31 Oct 2022 05:35:45 +0000 (07:35 +0200)]
add a quote
Shlomi Fish [Sat, 24 Sep 2022 10:31:30 +0000 (13:31 +0300)]
gh actions #1: fix
Shlomi Fish [Sat, 24 Sep 2022 02:51:05 +0000 (05:51 +0300)]
Fix tidyall tests.
See:
https://metacpan.org/release/Code-TidyAll .
Shlomi Fish [Fri, 26 Aug 2022 01:39:59 +0000 (04:39 +0300)]
fix typos
https://github.com/shlomif/fortune-mod/issues/70
thx2 @sflitman and @modem7
Sam James [Sat, 20 Aug 2022 01:52:16 +0000 (02:52 +0100)]
Fix respecting LOCALDIR and COOKIEDIR
The intention of LOCALDIR seems to be to allow local cookies to be
provided by the sysadmin in e.g. /usr/local/share/fortune,
but if set, before this patch, even cookies distributed
by upstream were stored there (and nothing in COOKIEDIR, e.g.
/usr/share/fortune - https://bugs.gentoo.org/865809).
Originally, we were setting LOCALDIR=COOKIEDIR=/usr/share/fortune to
workaround the issue, but see https://bugs.gentoo.org/857246.
Signed-off-by: Sam James <sam@gentoo.org>
Shlomi Fish [Wed, 10 Aug 2022 01:59:57 +0000 (04:59 +0300)]
prepare for a release
Shlomi Fish [Tue, 9 Aug 2022 17:34:12 +0000 (20:34 +0300)]
gh actions - mswin fix
Shlomi Fish [Tue, 9 Aug 2022 16:35:45 +0000 (19:35 +0300)]
prepare for a release
Shlomi Fish [Sun, 17 Jul 2022 02:10:43 +0000 (05:10 +0300)]
Try2fix docbook5/XML markup.
See https://bugzilla.redhat.com/show_bug.cgi?id=
2107574 .
Thanks to Hans.
Shlomi Fish [Mon, 4 Jul 2022 03:06:01 +0000 (06:06 +0300)]
Fix issue#67 - typo.
https://github.com/shlomif/fortune-mod/issues/67
Shlomi Fish [Wed, 22 Jun 2022 03:54:36 +0000 (06:54 +0300)]
remove duplicate fotune
https://github.com/shlomif/fortune-mod/issues/66
Shlomi Fish [Sun, 5 Jun 2022 14:20:21 +0000 (17:20 +0300)]
removed unused code
Shlomi Fish [Sun, 5 Jun 2022 14:07:28 +0000 (17:07 +0300)]
Correct some broken grammar / spelling / syntax / etc.
See https://duckduckgo.com/?q=english+grammar&ia=web ;
https://duckduckgo.com/?q=english+spelling&ia=web and for the lighter side:
* https://www.youtube.com/watch?v=8Gv0H-vPoDc
* https://shlomif.livejournal.com/53966.html
* http://i.imgur.com/HL1ZR.jpg .
Shlomi Fish [Tue, 3 May 2022 11:08:53 +0000 (14:08 +0300)]
update the readme
Shlomi Fish [Tue, 3 May 2022 05:36:02 +0000 (08:36 +0300)]
Extract a common expression into a variable/const.
This is Refactoring / code cleanup.
See:
* https://refactoring.com/catalog/extractMethod.html
* https://en.wikipedia.org/wiki/Code_refactoring
* https://www.refactoring.com/
* https://www.joelonsoftware.com/2002/01/23/rub-a-dub-dub/
Some small optimisations may have slipped in as well.
Shlomi Fish [Tue, 3 May 2022 03:56:19 +0000 (06:56 +0300)]
add a quote
Shlomi Fish [Tue, 3 May 2022 03:26:59 +0000 (06:26 +0300)]
prepare for a release
Shlomi Fish [Tue, 3 May 2022 02:46:15 +0000 (05:46 +0300)]
add "liberals target" quote
Shlomi Fish [Sat, 30 Apr 2022 14:12:58 +0000 (17:12 +0300)]
add a quote
Shlomi Fish [Sat, 30 Apr 2022 12:07:36 +0000 (15:07 +0300)]
prepare for a release
Shlomi Fish [Sat, 30 Apr 2022 10:51:53 +0000 (13:51 +0300)]
gh actions #4: win32 link libs by default
Shlomi Fish [Sat, 30 Apr 2022 10:36:26 +0000 (13:36 +0300)]
gh actions #3: win32 fix pacman
Shlomi Fish [Sat, 30 Apr 2022 10:19:06 +0000 (13:19 +0300)]
gh actions #2: win32 fix
thanks to https://github.com/haskell-hvr/regex-posix/issues/4
Shlomi Fish [Sat, 30 Apr 2022 09:40:20 +0000 (12:40 +0300)]
gh actions #1: win32 fix
Shlomi Fish [Sat, 30 Apr 2022 04:41:38 +0000 (07:41 +0300)]
add a quote
Shlomi Fish [Sat, 30 Apr 2022 04:09:37 +0000 (07:09 +0300)]
add piracy/Wobbler quote
Shlomi Fish [Mon, 4 Apr 2022 12:42:28 +0000 (15:42 +0300)]
Silence compiler/linter warnings of declared but unused variables.
They are a distraction.
Shlomi Fish [Mon, 4 Apr 2022 12:05:28 +0000 (15:05 +0300)]
gh actions #4: mswin64: use w64 arch
Shlomi Fish [Mon, 4 Apr 2022 11:50:22 +0000 (14:50 +0300)]
Silence compiler/linter warnings of declared but unused variables.
They are a distraction.
Shlomi Fish [Mon, 4 Apr 2022 10:15:55 +0000 (13:15 +0300)]
gh actions #3: mswin64: avoid copy
Shlomi Fish [Mon, 4 Apr 2022 09:57:36 +0000 (12:57 +0300)]
gh actions #2: mswin64: try2fix
Shlomi Fish [Mon, 4 Apr 2022 09:45:15 +0000 (12:45 +0300)]
gh actions #1: mswin64: investigate
Shlomi Fish [Mon, 4 Apr 2022 09:17:03 +0000 (12:17 +0300)]
issue#63 : typo. thx to @JackLimes
Shlomi Fish [Thu, 17 Mar 2022 03:46:06 +0000 (05:46 +0200)]
gh actions #1: mswin64: investigate
Shlomi Fish [Thu, 17 Mar 2022 03:05:40 +0000 (05:05 +0200)]
update rinutils release
Shlomi Fish [Sat, 12 Mar 2022 10:01:22 +0000 (12:01 +0200)]
Refactoring / code cleanup.
See:
* https://en.wikipedia.org/wiki/Code_refactoring
* https://www.refactoring.com/
* https://www.joelonsoftware.com/2002/01/23/rub-a-dub-dub/
Some small optimisations may have slipped in as well.
Shlomi Fish [Thu, 10 Mar 2022 06:55:04 +0000 (08:55 +0200)]
Refactoring / code cleanup.
See:
* https://en.wikipedia.org/wiki/Code_refactoring
* https://www.refactoring.com/
* https://www.joelonsoftware.com/2002/01/23/rub-a-dub-dub/
Some small optimisations may have slipped in as well.
Shlomi Fish [Fri, 25 Feb 2022 07:12:11 +0000 (09:12 +0200)]
Refactoring / code cleanup.
See:
* https://en.wikipedia.org/wiki/Code_refactoring
* https://www.refactoring.com/
* https://www.joelonsoftware.com/2002/01/23/rub-a-dub-dub/
Some small optimisations may have slipped in as well.
Shlomi Fish [Fri, 25 Feb 2022 06:48:18 +0000 (08:48 +0200)]
support "fortune -h" flag
also see https://github.com/shlomif/fortune-mod/issues/62 .
Shlomi Fish [Wed, 29 Dec 2021 07:19:55 +0000 (09:19 +0200)]
prepare for a release
Shlomi Fish [Tue, 28 Dec 2021 14:22:16 +0000 (16:22 +0200)]
Add fortune cookies to fortune-mod.
Possible sources:
* https://www.shlomifish.org/humour/fortunes/ .
* https://github.com/shlomif/shlomif-email-signature/
* https://github.com/JKirchartz/fortunes
Shlomi Fish [Tue, 28 Dec 2021 13:57:27 +0000 (15:57 +0200)]
Update .gitignore: add generated files or remove old.
Shlomi Fish [Tue, 28 Dec 2021 13:28:29 +0000 (15:28 +0200)]
generate acquisition-rules
See: https://github.com/shlomif/fortune-mod/pull/60
Thanks to @fonic
Shlomi Fish [Tue, 28 Dec 2021 12:55:49 +0000 (14:55 +0200)]
mark as old
Shlomi Fish [Tue, 28 Dec 2021 09:24:22 +0000 (11:24 +0200)]
fix a lintian warning on Aq macro
W: fortune-mod: groff-message usr/share/man/man1/strfile.1.gz (line 1) 10: warning: macro 'Aq' not defined
Shlomi Fish [Mon, 27 Dec 2021 11:18:44 +0000 (13:18 +0200)]
update deb script to latest ver; install builddeps
Shlomi Fish [Mon, 27 Dec 2021 09:21:47 +0000 (11:21 +0200)]
update deb script to latest verrel
Shlomi Fish [Sat, 25 Dec 2021 18:59:05 +0000 (20:59 +0200)]
add a joke
From https://www.ugg.li/there-are-three-kinds-of-lies-lies-damned-lies-and-benchmarks/
Shlomi Fish [Sat, 25 Dec 2021 08:01:04 +0000 (10:01 +0200)]
correct a mis-attrib
Shlomi Fish [Fri, 24 Dec 2021 07:16:17 +0000 (09:16 +0200)]
avoid malloc() casting
Shlomi Fish [Fri, 17 Dec 2021 15:01:49 +0000 (17:01 +0200)]
Silence compile-time or run-time warnings.
See:
* https://duckduckgo.com/?q=warnings+programming&atb=v140-1&ia=web
They are a distraction at best and may indicate other issues.
Shlomi Fish [Fri, 17 Dec 2021 06:00:25 +0000 (08:00 +0200)]
Wrap C/etc. single-line blocks in { ... }
Of if / else / while / for / etc.
It is less errorprone this way.
See:
* https://fc-solve.shlomifish.org/docs/distro/HACKING.html#one-line-clauses
*
https://medium.com/@jonathanabrams/single-line-if-statements-
2565c62ff492
.
Shlomi Fish [Thu, 16 Dec 2021 17:35:17 +0000 (19:35 +0200)]
Wrap C/etc. oneline blocks in {...}
See:
https://fc-solve.shlomifish.org/docs/distro/HACKING.html#one-line-clauses
.
Shlomi Fish [Thu, 16 Dec 2021 17:26:49 +0000 (19:26 +0200)]
Wrap C/etc. oneline blocks in {...}
See:
https://fc-solve.shlomifish.org/docs/distro/HACKING.html#one-line-clauses
.
Shlomi Fish [Thu, 16 Dec 2021 17:08:23 +0000 (19:08 +0200)]
Wrap C/etc. oneline blocks in {...}
See:
https://fc-solve.shlomifish.org/docs/distro/HACKING.html#one-line-clauses
.
Shlomi Fish [Wed, 15 Dec 2021 19:45:18 +0000 (21:45 +0200)]
Silence compile-time or run-time warnings.
"Wide character" / utf-8.
See:
* https://duckduckgo.com/?q=warnings+programming&atb=v140-1&ia=web
They are a distraction at best and may indicate other issues.
Shlomi Fish [Wed, 15 Dec 2021 19:19:58 +0000 (21:19 +0200)]
Silence compile-time or run-time warnings.
See:
* https://duckduckgo.com/?q=warnings+programming&atb=v140-1&ia=web
They are a distraction at best and may indicate other issues.
Shlomi Fish [Wed, 15 Dec 2021 18:19:49 +0000 (20:19 +0200)]
Silence compile-time or run-time warnings.
See:
* https://duckduckgo.com/?q=warnings+programming&atb=v140-1&ia=web
They are a distraction at best and may indicate other issues.
Shlomi Fish [Wed, 15 Dec 2021 16:20:15 +0000 (18:20 +0200)]
prepare for a release
Shlomi Fish [Wed, 15 Dec 2021 15:46:42 +0000 (17:46 +0200)]
prepare for a release
Shlomi Fish [Wed, 15 Dec 2021 15:44:43 +0000 (17:44 +0200)]
prepare for a release
Shlomi Fish [Wed, 15 Dec 2021 15:43:32 +0000 (17:43 +0200)]
Fix the indentation.
See http://perl-begin.org/tutorials/bad-elements/#no-indentation .
Shlomi Fish [Wed, 15 Dec 2021 15:30:30 +0000 (17:30 +0200)]
add docs for rules-of
Shlomi Fish [Wed, 15 Dec 2021 15:21:55 +0000 (17:21 +0200)]
unpack generated
Shlomi Fish [Wed, 15 Dec 2021 13:27:15 +0000 (15:27 +0200)]
Add fortune cookies to fortune-mod.
Possible sources:
* https://github.com/JKirchartz/fortunes
See
https://github.com/JKirchartz/fortunes/blob/
41ba7913f1ec208c0d4264610fd78a50ac3cd4f2 /FerengiRulesOfAcquisition
.
Shlomi Fish [Tue, 14 Dec 2021 13:48:36 +0000 (15:48 +0200)]
try2fix crosscompiling builds + cmake fixes
See: https://github.com/shlomif/fortune-mod/issues/58
Thanks to https://github.com/leleliu008
Shlomi Fish [Tue, 14 Dec 2021 09:24:01 +0000 (11:24 +0200)]
prepare for a release
Shlomi Fish [Tue, 14 Dec 2021 08:42:01 +0000 (10:42 +0200)]
try to fix crosscompiling builds
See: https://github.com/shlomif/fortune-mod/issues/58
add sanity check
Thanks to https://github.com/leleliu008
Shlomi Fish [Tue, 14 Dec 2021 08:27:17 +0000 (10:27 +0200)]
try to fix crosscompiling builds
See: https://github.com/shlomif/fortune-mod/issues/58
use perl rot13
Thanks to https://github.com/leleliu008
Shlomi Fish [Mon, 13 Dec 2021 14:43:53 +0000 (16:43 +0200)]
Add fortune cookies to fortune-mod.
Possible sources:
* https://www.shlomifish.org/humour/fortunes/ .
* https://github.com/shlomif/shlomif-email-signature/
* https://github.com/JKirchartz/fortunes
Shlomi Fish [Mon, 13 Dec 2021 13:56:19 +0000 (15:56 +0200)]
try to fix crosscompiling builds
See: https://github.com/shlomif/fortune-mod/issues/58
use the native strfile from PATH
Thanks to https://github.com/leleliu008
Shlomi Fish [Sun, 12 Dec 2021 11:23:28 +0000 (13:23 +0200)]
Instruct the CI config file to inst missing deps.
Install missing dependencies that are required by the build or tests.
See:
* https://en.wikipedia.org/wiki/Travis_CI
* https://en.wikipedia.org/wiki/Continuous_integration .
Shlomi Fish [Sun, 12 Dec 2021 07:58:58 +0000 (09:58 +0200)]
Merged linuxcookie into "linux".
See: https://github.com/shlomif/fortune-mod/issues/57
Shlomi Fish [Sun, 12 Dec 2021 06:50:24 +0000 (08:50 +0200)]
remove some copies of duplicates.
The same cookie existed in two different places ( possibly with small variations )
Shlomi Fish [Sun, 12 Dec 2021 06:09:09 +0000 (08:09 +0200)]
optimize tests suite using parallelising
Shlomi Fish [Sun, 12 Dec 2021 05:59:28 +0000 (07:59 +0200)]
remove some copies of duplicates.
The same cookie existed in two different places ( possibly with small variations )
Shlomi Fish [Sun, 12 Dec 2021 05:53:50 +0000 (07:53 +0200)]
remove some copies of duplicates.
The same cookie existed in two different places ( possibly with small variations )
Shlomi Fish [Sun, 12 Dec 2021 05:06:42 +0000 (07:06 +0200)]
remove some copies of duplicates.
The same cookie existed in two different places ( possibly with small variations )
Shlomi Fish [Sat, 11 Dec 2021 17:34:13 +0000 (19:34 +0200)]
gh actions #1: mswin64: no need for gperf
Shlomi Fish [Sat, 11 Dec 2021 17:31:53 +0000 (19:31 +0200)]
Silence compile-time or run-time warnings.
See:
* https://duckduckgo.com/?q=warnings+programming&atb=v140-1&ia=web
They are a distraction at best and may indicate other issues.
Shlomi Fish [Sat, 11 Dec 2021 17:12:04 +0000 (19:12 +0200)]
gh actions #10: mswin64: cmake/strawberry
Shlomi Fish [Sat, 11 Dec 2021 16:55:35 +0000 (18:55 +0200)]
gh actions #9: mswin64: try hostedcache strawberryperl for docmake
Shlomi Fish [Sat, 11 Dec 2021 16:39:58 +0000 (18:39 +0200)]
gh actions #8: win64: try PERL5LIB fix for docmake
Shlomi Fish [Sat, 11 Dec 2021 16:14:57 +0000 (18:14 +0200)]
gh actions #7: win64: try mingw/cmake fix
Shlomi Fish [Sat, 11 Dec 2021 16:03:44 +0000 (18:03 +0200)]
gh actions #6: win64: try msys/cmake fix
Shlomi Fish [Sat, 11 Dec 2021 15:45:11 +0000 (17:45 +0200)]
gh actions #5: try git.crlf fix
Shlomi Fish [Sat, 11 Dec 2021 15:37:36 +0000 (17:37 +0200)]
gh actions #4: try msys2 fix