]> granicus.if.org Git - fortune-mod/log
fortune-mod
4 years agoAvoid predeclaring variables and localize their decl.
Shlomi Fish [Wed, 29 Apr 2020 08:32:07 +0000 (11:32 +0300)]
Avoid predeclaring variables and localize their decl.

See:

* http://perl-begin.org/tutorials/bad-elements/#declaring_all_vars_at_top

* https://en.wikipedia.org/wiki/Perl_Best_Practices

4 years agoAvoid predeclaring variables and localize their decl.
Shlomi Fish [Wed, 29 Apr 2020 08:30:11 +0000 (11:30 +0300)]
Avoid predeclaring variables and localize their decl.

See:

* http://perl-begin.org/tutorials/bad-elements/#declaring_all_vars_at_top

* https://en.wikipedia.org/wiki/Perl_Best_Practices

4 years agoadd braces
Shlomi Fish [Wed, 29 Apr 2020 08:20:26 +0000 (11:20 +0300)]
add braces

4 years agorefactoring
Shlomi Fish [Wed, 29 Apr 2020 08:11:49 +0000 (11:11 +0300)]
refactoring

4 years agorefactoring
Shlomi Fish [Wed, 29 Apr 2020 08:06:34 +0000 (11:06 +0300)]
refactoring

4 years agorefactoring
Shlomi Fish [Wed, 29 Apr 2020 08:03:35 +0000 (11:03 +0300)]
refactoring

4 years agoAvoid predeclaring variables and localize their decl.
Shlomi Fish [Wed, 29 Apr 2020 07:50:44 +0000 (10:50 +0300)]
Avoid predeclaring variables and localize their decl.

See:

* http://perl-begin.org/tutorials/bad-elements/#declaring_all_vars_at_top

* https://en.wikipedia.org/wiki/Perl_Best_Practices

4 years agorefactoring
Shlomi Fish [Wed, 29 Apr 2020 07:33:56 +0000 (10:33 +0300)]
refactoring

4 years agoremove useless comment
Shlomi Fish [Wed, 29 Apr 2020 07:22:54 +0000 (10:22 +0300)]
remove useless comment

4 years agoavoid cmake warnings
Shlomi Fish [Mon, 6 Apr 2020 11:24:07 +0000 (14:24 +0300)]
avoid cmake warnings

4 years agobump version fortune-mod-2.20.0
Shlomi Fish [Sat, 4 Apr 2020 18:45:09 +0000 (21:45 +0300)]
bump version

4 years agoremove dups - bug fix / optimize
Shlomi Fish [Sat, 4 Apr 2020 18:38:44 +0000 (21:38 +0300)]
remove dups - bug fix / optimize

4 years agoExtract a method or a function.
Shlomi Fish [Sat, 4 Apr 2020 18:29:09 +0000 (21:29 +0300)]
Extract a method or a function.

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.

4 years agoRefactoring / code cleanup.
Shlomi Fish [Sat, 4 Apr 2020 18:14:48 +0000 (21:14 +0300)]
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.

4 years agoRefactoring / code cleanup.
Shlomi Fish [Sat, 4 Apr 2020 18:05:18 +0000 (21:05 +0300)]
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.

4 years agoelim -D_FORTIFY_SOURCE warnings.
Shlomi Fish [Sat, 4 Apr 2020 17:49:43 +0000 (20:49 +0300)]
elim -D_FORTIFY_SOURCE warnings.

4 years agoExtract a common module/library/header.
Shlomi Fish [Sat, 4 Apr 2020 14:58:40 +0000 (17:58 +0300)]
Extract a common module/library/header.

This is Refactoring / code cleanup.

See:

* https://github.com/shlomif/Docker-CLI-Wrapper .

4 years agoExtract a common module/library/header. docker-CLI-Wrapper-pm
Shlomi Fish [Sat, 4 Apr 2020 08:53:14 +0000 (11:53 +0300)]
Extract a common module/library/header.

This is Refactoring / code cleanup.

See:

* https://github.com/shlomif/Docker-CLI-Wrapper .

4 years agoExtract a common module/library/header.
Shlomi Fish [Sat, 4 Apr 2020 08:12:54 +0000 (11:12 +0300)]
Extract a common module/library/header.

This is Refactoring / code cleanup.

See:

* https://github.com/shlomif/Docker-CLI-Wrapper .

4 years agoExtract a common module/library/header.
Shlomi Fish [Sat, 4 Apr 2020 07:50:00 +0000 (10:50 +0300)]
Extract a common module/library/header.

This is Refactoring / code cleanup.

See:

* https://github.com/shlomif/Docker-CLI-Wrapper .

4 years agoExtract a common class/struct.
Shlomi Fish [Fri, 3 Apr 2020 17:49:20 +0000 (20:49 +0300)]
Extract a common class/struct.

This is Refactoring / code cleanup.

See:

* https://en.wikipedia.org/wiki/God_object

* https://en.wikipedia.org/wiki/Extract_class

* 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.

4 years agoExtract a common module/library/header.
Shlomi Fish [Fri, 3 Apr 2020 16:44:47 +0000 (19:44 +0300)]
Extract a common module/library/header.

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.

4 years agocorrect for fedora
Shlomi Fish [Fri, 3 Apr 2020 11:26:43 +0000 (14:26 +0300)]
correct for fedora

4 years agoExtract a method or a function.
Shlomi Fish [Tue, 31 Mar 2020 07:54:25 +0000 (10:54 +0300)]
Extract a method or a function.

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.

4 years agotravis: fix build
Shlomi Fish [Mon, 30 Mar 2020 10:31:33 +0000 (13:31 +0300)]
travis: fix build

4 years agopass through clang-format.
Shlomi Fish [Mon, 30 Mar 2020 10:18:36 +0000 (13:18 +0300)]
pass through clang-format.

4 years agobump version fortune-mod-2.18.0
Shlomi Fish [Mon, 30 Mar 2020 09:04:31 +0000 (12:04 +0300)]
bump version

4 years agoExtract a method or a function.
Shlomi Fish [Mon, 30 Mar 2020 09:01:04 +0000 (12:01 +0300)]
Extract a method or a function.

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.

4 years agoavoid double traversal.
Shlomi Fish [Mon, 30 Mar 2020 08:51:25 +0000 (11:51 +0300)]
avoid double traversal.

4 years agoadd distributions install instructions
Shlomi Fish [Sun, 29 Mar 2020 07:25:49 +0000 (10:25 +0300)]
add distributions install instructions

4 years agocorrect typos: "Khan"
Shlomi Fish [Sat, 28 Mar 2020 18:16:16 +0000 (21:16 +0300)]
correct typos: "Khan"

4 years agoupdate the DONE list in the README
Shlomi Fish [Mon, 23 Mar 2020 12:51:30 +0000 (14:51 +0200)]
update the DONE list in the README

4 years agofix docker script on fedora 31.
Shlomi Fish [Wed, 18 Mar 2020 13:57:27 +0000 (15:57 +0200)]
fix docker script on fedora 31.

See:

https://fedoraproject.org/wiki/Bugs/Common#Docker_package_no_longer_available_and_will_not_run_by_default_.28due_to_switch_to_cgroups_v2.29
.

4 years agoadd a quote by Borges
Shlomi Fish [Wed, 18 Mar 2020 13:13:54 +0000 (15:13 +0200)]
add a quote by Borges

4 years agofixes to docker-test - inst deps - seems to work
Shlomi Fish [Mon, 2 Mar 2020 11:28:12 +0000 (13:28 +0200)]
fixes to docker-test - inst deps - seems to work

4 years agofixes to docker-test - progress
Shlomi Fish [Mon, 2 Mar 2020 10:06:24 +0000 (12:06 +0200)]
fixes to docker-test - progress

4 years agofixes to docker-test
Shlomi Fish [Mon, 2 Mar 2020 09:53:25 +0000 (11:53 +0200)]
fixes to docker-test

4 years agoinstall missing deps
Shlomi Fish [Mon, 2 Mar 2020 08:34:14 +0000 (10:34 +0200)]
install missing deps

4 years agoupdate the code - to build debian pkg . not tested
Shlomi Fish [Mon, 2 Mar 2020 08:00:24 +0000 (10:00 +0200)]
update the code - to build debian pkg . not tested

4 years agoadd the prog to build deb pkgs - WiP
Shlomi Fish [Sun, 1 Mar 2020 17:06:42 +0000 (19:06 +0200)]
add the prog to build deb pkgs - WiP

4 years agoadd the prog to build deb pkgs - WiP
Shlomi Fish [Sun, 1 Mar 2020 17:05:56 +0000 (19:05 +0200)]
add the prog to build deb pkgs - WiP

4 years agoupdate the todo list
Shlomi Fish [Sun, 1 Mar 2020 15:16:45 +0000 (17:16 +0200)]
update the todo list

4 years agoadd more credits
Shlomi Fish [Fri, 28 Feb 2020 13:44:24 +0000 (15:44 +0200)]
add more credits

4 years agostart writing the CREDITS file
Shlomi Fish [Thu, 27 Feb 2020 14:30:54 +0000 (16:30 +0200)]
start writing the CREDITS file

4 years agoaddress a question
Shlomi Fish [Thu, 27 Feb 2020 13:27:19 +0000 (15:27 +0200)]
address a question

4 years agoavoid packaging tidyall.d+txz only fortune-mod-2.16.0
Shlomi Fish [Wed, 26 Feb 2020 14:39:15 +0000 (16:39 +0200)]
avoid packaging tidyall.d+txz only

4 years agobump ver
Shlomi Fish [Wed, 26 Feb 2020 14:36:16 +0000 (16:36 +0200)]
bump ver

4 years agoremove backspaces [from debian]
Shlomi Fish [Wed, 26 Feb 2020 14:22:53 +0000 (16:22 +0200)]
remove backspaces [from debian]

See
https://salsa.debian.org/shlomif-guest/fortune-mod/-/tree/6ad75a6553cbc9c4a5edb8d9cec45a0dc4622da5/debian/patches
.

4 years agoadd a patch for No_recode from debian.
Shlomi Fish [Wed, 26 Feb 2020 14:19:55 +0000 (16:19 +0200)]
add a patch for No_recode from debian.

See:

https://salsa.debian.org/shlomif-guest/fortune-mod/-/blob/6ad75a6553cbc9c4a5edb8d9cec45a0dc4622da5/debian/patches/fortune.c.diff

.

4 years agoadd desktop file from debian.
Shlomi Fish [Wed, 26 Feb 2020 14:14:38 +0000 (16:14 +0200)]
add desktop file from debian.

See
https://salsa.debian.org/shlomif-guest/fortune-mod/-/blob/6ad75a6553cbc9c4a5edb8d9cec45a0dc4622da5/debian/patches/desktop.diff
.

4 years agoApply patch for Leo Cohen lyrics from Debian.
Shlomi Fish [Wed, 26 Feb 2020 14:10:22 +0000 (16:10 +0200)]
Apply patch for Leo Cohen lyrics from Debian.

See
https://salsa.debian.org/shlomif-guest/fortune-mod/-/blob/6ad75a6553cbc9c4a5edb8d9cec45a0dc4622da5/debian/patches/Cohen.diff
.

4 years agoMerge the mswindows portability fixes.
Shlomi Fish [Wed, 26 Feb 2020 14:04:58 +0000 (16:04 +0200)]
Merge the mswindows portability fixes.

See:

https://github.com/shlomif/fortune-mod/tree/appveyor-mswindows-runtime-failure-reduce-branch
.

They were tested on appveyor.

4 years agoCorrect a misattribution.
Shlomi Fish [Wed, 26 Feb 2020 07:58:18 +0000 (09:58 +0200)]
Correct a misattribution.

4 years agoappveyor crash debug - enable more warns
Shlomi Fish [Mon, 24 Feb 2020 11:30:16 +0000 (13:30 +0200)]
appveyor crash debug - enable more warns

4 years agofix appveyor #3 syntax
Shlomi Fish [Mon, 24 Feb 2020 10:18:27 +0000 (12:18 +0200)]
fix appveyor #3 syntax

4 years agodebug appveyor #2 fail - separate up to make install
Shlomi Fish [Mon, 24 Feb 2020 10:02:09 +0000 (12:02 +0200)]
debug appveyor #2 fail - separate up to make install

4 years agodebug appveyor fail
Shlomi Fish [Mon, 24 Feb 2020 09:39:12 +0000 (11:39 +0200)]
debug appveyor fail

4 years agotravis fix #3: avoid default
Shlomi Fish [Sun, 23 Feb 2020 15:04:53 +0000 (17:04 +0200)]
travis fix #3: avoid default

4 years agotravis fix #2: min ver of perl
Shlomi Fish [Sun, 23 Feb 2020 14:59:17 +0000 (16:59 +0200)]
travis fix #2: min ver of perl

4 years agotravis fix #1: dist upgrade
Shlomi Fish [Sun, 23 Feb 2020 14:29:11 +0000 (16:29 +0200)]
travis fix #1: dist upgrade

4 years agobump version fortune-mod-2.14.0
Shlomi Fish [Sun, 23 Feb 2020 13:59:42 +0000 (15:59 +0200)]
bump version

4 years agoCorrect some broken grammar / spelling / syntax / etc.
Shlomi Fish [Thu, 30 Jan 2020 19:06:27 +0000 (21:06 +0200)]
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 .

4 years agoCorrect some broken grammar / spelling / syntax / etc.
Shlomi Fish [Mon, 20 Jan 2020 19:01:24 +0000 (21:01 +0200)]
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 .

4 years agoappveyor fix 16 : win32 check something
Shlomi Fish [Sun, 19 Jan 2020 20:16:59 +0000 (22:16 +0200)]
appveyor fix 16 : win32 check something

4 years agoappveyor fix 15 : cancel win32 path hack
Shlomi Fish [Sun, 19 Jan 2020 19:58:13 +0000 (21:58 +0200)]
appveyor fix 15 : cancel win32 path hack

4 years agoappveyor fix 14 : win32 path hack
Shlomi Fish [Sun, 19 Jan 2020 19:33:49 +0000 (21:33 +0200)]
appveyor fix 14 : win32 path hack

4 years agoappveyor fix 13: win32 path hack
Shlomi Fish [Sun, 19 Jan 2020 19:15:22 +0000 (21:15 +0200)]
appveyor fix 13: win32 path hack

4 years agoappveyor fix 12: fix debug code
Shlomi Fish [Sun, 19 Jan 2020 18:42:16 +0000 (20:42 +0200)]
appveyor fix 12: fix debug code

4 years agoappveyor fix 11: fix debug code
Shlomi Fish [Sun, 19 Jan 2020 17:56:31 +0000 (19:56 +0200)]
appveyor fix 11: fix debug code

4 years agoappveyor fix 10: debug
Shlomi Fish [Sun, 19 Jan 2020 17:39:33 +0000 (19:39 +0200)]
appveyor fix 10: debug

4 years agoappveyor fix 9: use debug build
Shlomi Fish [Sun, 19 Jan 2020 16:42:23 +0000 (18:42 +0200)]
appveyor fix 9: use debug build

4 years agoappveyor fix 8: use debug build
Shlomi Fish [Sun, 19 Jan 2020 16:36:56 +0000 (18:36 +0200)]
appveyor fix 8: use debug build

4 years agoupdate TODOs
Shlomi Fish [Sun, 19 Jan 2020 16:27:27 +0000 (18:27 +0200)]
update TODOs

4 years agoappveyor fix 7: debug verbose flag
Shlomi Fish [Sat, 18 Jan 2020 16:07:38 +0000 (18:07 +0200)]
appveyor fix 7: debug verbose flag

4 years agoConvert to non-deprecated Sleep().
Shlomi Fish [Sat, 18 Jan 2020 15:39:37 +0000 (17:39 +0200)]
Convert to non-deprecated Sleep().

See
https://stackoverflow.com/questions/49410616/sleep-vs-sleep-functions .

4 years agoappveyor fix 6: win32 paths
Shlomi Fish [Sat, 18 Jan 2020 15:19:51 +0000 (17:19 +0200)]
appveyor fix 6: win32 paths

4 years agoappveyor fix 5: cmake common args
Shlomi Fish [Sat, 18 Jan 2020 14:55:11 +0000 (16:55 +0200)]
appveyor fix 5: cmake common args

4 years agoExtract a common expression into a variable/const.
Shlomi Fish [Sat, 18 Jan 2020 14:45:59 +0000 (16:45 +0200)]
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.

4 years agoappveyor fix 3: try build on win32
Shlomi Fish [Sat, 18 Jan 2020 14:36:32 +0000 (16:36 +0200)]
appveyor fix 3: try build on win32

4 years agoappveyor fix 2: try build on win32
Shlomi Fish [Sat, 18 Jan 2020 14:23:26 +0000 (16:23 +0200)]
appveyor fix 2: try build on win32

4 years agoappveyor fix 1: try build on win32
Shlomi Fish [Sat, 18 Jan 2020 14:05:27 +0000 (16:05 +0200)]
appveyor fix 1: try build on win32

4 years agoUpdate cookie
dj7lc [Fri, 17 Jan 2020 00:02:46 +0000 (01:02 +0100)]
Update cookie

One of the most famous Star Wars quotes was quoted wrong!
Added two quotes.

[Ammendment by @shlomif:] fix long line.

4 years agorefactoring of cmake
Shlomi Fish [Sat, 28 Dec 2019 17:55:07 +0000 (19:55 +0200)]
refactoring of cmake

4 years agorefactoring of the ci scripts
Shlomi Fish [Sat, 28 Dec 2019 12:09:08 +0000 (14:09 +0200)]
refactoring of the ci scripts

4 years agotravis fix #1: skip rinutils cmake
Shlomi Fish [Sat, 28 Dec 2019 10:33:40 +0000 (12:33 +0200)]
travis fix #1: skip rinutils cmake

4 years agounified script code.
Shlomi Fish [Sat, 28 Dec 2019 10:18:17 +0000 (12:18 +0200)]
unified script code.

5 years agobump version fortune-mod-2.12.0
Shlomi Fish [Wed, 18 Dec 2019 12:12:13 +0000 (14:12 +0200)]
bump version

5 years agoswitch to rinutils cmake/pkgconf package
Shlomi Fish [Wed, 18 Dec 2019 11:51:15 +0000 (13:51 +0200)]
switch to rinutils cmake/pkgconf package

5 years agoswitch to rinutils cmake/pkgconf package
Shlomi Fish [Wed, 18 Dec 2019 11:33:41 +0000 (13:33 +0200)]
switch to rinutils cmake/pkgconf package

5 years agoswitch to rinutils cmake/pkgconf package
Shlomi Fish [Wed, 18 Dec 2019 11:14:45 +0000 (13:14 +0200)]
switch to rinutils cmake/pkgconf package

5 years agoUpdate "suggestion for modernization: no more 'stupid blonde' jokes"
s0nata [Sat, 14 Dec 2019 14:10:21 +0000 (15:10 +0100)]
Update "suggestion for modernization: no more 'stupid blonde' jokes"

This updates commit 993a397a12db04e4fcdebc73ba4f2dda15ea4bc4.

5 years agosuggestion for modernization: no more 'stupid blonde' jokes
s0nata [Wed, 20 Nov 2019 14:40:56 +0000 (15:40 +0100)]
suggestion for modernization: no more 'stupid blonde' jokes

5 years agoFix typo in ELF discussion
Boris Boutkov [Sat, 28 Sep 2019 15:52:51 +0000 (11:52 -0400)]
Fix typo in ELF discussion

5 years agoCorrect some broken grammar / spelling / syntax / etc.
Shlomi Fish [Sat, 31 Aug 2019 22:35:10 +0000 (01:35 +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 .

5 years agoConvert From bitbucket-hg to git due to sunsetting
Shlomi Fish [Fri, 23 Aug 2019 16:57:09 +0000 (19:57 +0300)]
Convert From bitbucket-hg to git due to sunsetting

See:

https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket

Moved shlomif-common to https://github.com/shlomif/shlomif-cmake-modules .

5 years agofix typos and remove a dup.
Shlomi Fish [Sat, 3 Aug 2019 13:45:09 +0000 (16:45 +0300)]
fix typos and remove a dup.

5 years agoFix a typo.
Shlomi Fish [Sat, 3 Aug 2019 13:32:07 +0000 (16:32 +0300)]
Fix a typo.

5 years agoFix some broken articulation.
Shlomi Fish [Thu, 18 Jul 2019 22:59:52 +0000 (01:59 +0300)]
Fix some broken articulation.

Missing "a", "the", "an", "some" or extraneous ones.

See https://en.wikipedia.org/wiki/English_articles .

5 years agoFix some broken articulation.
Shlomi Fish [Sun, 14 Jul 2019 08:16:52 +0000 (11:16 +0300)]
Fix some broken articulation.

Missing "a", "the", "an", "some" or extraneous ones.

See https://en.wikipedia.org/wiki/English_articles .

5 years agocmake warning.
Shlomi Fish [Sun, 14 Jul 2019 08:15:54 +0000 (11:15 +0300)]
cmake warning.