]> granicus.if.org Git - fortune-mod/log
fortune-mod
4 years agorefactor: remove unused imports
Shlomi Fish [Sat, 15 Aug 2020 13:36:57 +0000 (16:36 +0300)]
refactor: remove unused imports

4 years agotravis-fix #1: docmake/docbook
Shlomi Fish [Sat, 15 Aug 2020 12:58:33 +0000 (15:58 +0300)]
travis-fix #1: docmake/docbook

4 years agoFix build and tests' dependencies/trail-space/etc.
Shlomi Fish [Sat, 15 Aug 2020 11:53:33 +0000 (14:53 +0300)]
Fix build and tests' dependencies/trail-space/etc.

4 years agofix the build - stale cmake vars
Shlomi Fish [Sat, 15 Aug 2020 11:40:25 +0000 (14:40 +0300)]
fix the build - stale cmake vars

4 years agotry to fix nroff man markup
Shlomi Fish [Sat, 15 Aug 2020 11:19:45 +0000 (14:19 +0300)]
try to fix nroff man markup

4 years agoadd docbook5 ver using doclifter. "docmake manpages" renders it wrong
Shlomi Fish [Sat, 15 Aug 2020 10:13:40 +0000 (13:13 +0300)]
add docbook5 ver using doclifter. "docmake manpages" renders it wrong

4 years agoavoid regenerating symlink targets [cmake]
Shlomi Fish [Sat, 15 Aug 2020 11:32:34 +0000 (14:32 +0300)]
avoid regenerating symlink targets [cmake]

4 years agoCorrect the attribution of a saying.
Shlomi Fish [Tue, 11 Aug 2020 13:43:54 +0000 (16:43 +0300)]
Correct the attribution of a saying.

4 years agoCorrect plural tense of "cliches"
Shlomi Fish [Fri, 17 Jul 2020 05:05:13 +0000 (08:05 +0300)]
Correct plural tense of "cliches"

4 years agoremove pointless leading space/indent in paradoxum
Shlomi Fish [Tue, 30 Jun 2020 09:04:10 +0000 (12:04 +0300)]
remove pointless leading space/indent in paradoxum

4 years agoprepare for new release fortune-mod-2.28.0
Shlomi Fish [Tue, 2 Jun 2020 18:20:27 +0000 (21:20 +0300)]
prepare for new release

4 years agoUpdate literature
Tobin Yehle [Fri, 22 May 2020 19:30:05 +0000 (12:30 -0700)]
Update literature

Fix a Shakespeare attribution. There is no Henry VI part IV. See https://en.wikipedia.org/wiki/Let%27s_kill_all_the_lawyers

4 years agoadd more credits
Shlomi Fish [Tue, 12 May 2020 08:46:24 +0000 (11:46 +0300)]
add more credits

4 years agoadd credits
Shlomi Fish [Tue, 12 May 2020 08:42:28 +0000 (11:42 +0300)]
add credits

4 years agoAdd more done tasks.
Shlomi Fish [Tue, 12 May 2020 08:32:35 +0000 (11:32 +0300)]
Add more done tasks.

4 years agocorrect a typo - "Jonny Quest"
Shlomi Fish [Sun, 3 May 2020 07:01:06 +0000 (10:01 +0300)]
correct a typo - "Jonny Quest"

4 years agoprefix
Shlomi Fish [Sat, 2 May 2020 10:30:53 +0000 (13:30 +0300)]
prefix

4 years agocheck for overflow
Shlomi Fish [Sat, 2 May 2020 10:23:57 +0000 (13:23 +0300)]
check for overflow

4 years agoconvert to bool
Shlomi Fish [Sat, 2 May 2020 10:14:07 +0000 (13:14 +0300)]
convert to bool

4 years agoprepare for new release fortune-mod-2.26.0
Shlomi Fish [Sat, 2 May 2020 08:04:30 +0000 (11:04 +0300)]
prepare for new release

4 years agoDetect an integer overflow when handling prcnts.
Shlomi Fish [Fri, 1 May 2020 16:18:35 +0000 (19:18 +0300)]
Detect an integer overflow when handling prcnts.

[SECURITY]

Thanks to a code review done by a facebook friend.

4 years ago*printf format strings revamp - minor security change
Shlomi Fish [Fri, 1 May 2020 11:23:45 +0000 (14:23 +0300)]
*printf format strings revamp - minor security change

4 years agoRequire snprintf() without detection.
Shlomi Fish [Fri, 1 May 2020 10:24:28 +0000 (13:24 +0300)]
Require snprintf() without detection.

It is C99.

4 years agoreplace sprintf with snprintf - minor security change
Shlomi Fish [Fri, 1 May 2020 10:17:51 +0000 (13:17 +0300)]
replace sprintf with snprintf -  minor security change

4 years agoprepare for the new release fortune-mod-2.24.0
Shlomi Fish [Thu, 30 Apr 2020 08:06:26 +0000 (11:06 +0300)]
prepare for the new release

4 years agodetect snprintf
Shlomi Fish [Thu, 30 Apr 2020 08:01:38 +0000 (11:01 +0300)]
detect snprintf

4 years agorefactoringgot rid of == NULL
Shlomi Fish [Thu, 30 Apr 2020 07:24:25 +0000 (10:24 +0300)]
refactoringgot rid of == NULL

4 years agoExtract a common module/library/header.
Shlomi Fish [Thu, 30 Apr 2020 07:05:32 +0000 (10:05 +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 agoExtract a method or a function.
Shlomi Fish [Thu, 30 Apr 2020 06:46:56 +0000 (09:46 +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 agoExtract a method or a function.
Shlomi Fish [Thu, 30 Apr 2020 06:37:39 +0000 (09:37 +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 agoSome minor fixes from OpenBSD's fortune sources.
Shlomi Fish [Thu, 30 Apr 2020 06:19:19 +0000 (09:19 +0300)]
Some minor fixes from OpenBSD's fortune sources.

Thanks!

4 years agolicense an original file better
Shlomi Fish [Wed, 29 Apr 2020 20:56:40 +0000 (23:56 +0300)]
license an original file better

4 years agoadd a regression test for an overflow
Shlomi Fish [Wed, 29 Apr 2020 20:52:51 +0000 (23:52 +0300)]
add a regression test for an overflow

4 years agoadd a regression test for an overflow
Shlomi Fish [Wed, 29 Apr 2020 20:35:59 +0000 (23:35 +0300)]
add a regression test for an overflow

4 years agoAdd a regression test for the buffer overflow.
Shlomi Fish [Wed, 29 Apr 2020 20:30:49 +0000 (23:30 +0300)]
Add a regression test for the buffer overflow.

4 years agoprepare for the new release fortune-mod-2.22.0
Shlomi Fish [Wed, 29 Apr 2020 12:57:59 +0000 (15:57 +0300)]
prepare for the new release

4 years agosilence warnings on !WITH_RECODE.
Shlomi Fish [Wed, 29 Apr 2020 12:57:14 +0000 (15:57 +0300)]
silence warnings on !WITH_RECODE.

Thanks to appveyor.

4 years agorefactoring
Shlomi Fish [Wed, 29 Apr 2020 12:36:33 +0000 (15:36 +0300)]
refactoring

4 years agoRefactoring / code cleanup.
Shlomi Fish [Wed, 29 Apr 2020 12:31:53 +0000 (15:31 +0300)]
Refactoring / code cleanup.

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

Some small optimisations may have slipped in as well.

do_free is simply free; copy() was underused.

4 years agoRefactoring / code cleanup.
Shlomi Fish [Wed, 29 Apr 2020 12:19:38 +0000 (15:19 +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 agoupdate the file "cookie-files"
Shlomi Fish [Wed, 29 Apr 2020 12:12:39 +0000 (15:12 +0300)]
update the file "cookie-files"

4 years agoExtract a common expression into a variable/const.
Shlomi Fish [Wed, 29 Apr 2020 11:42:29 +0000 (14:42 +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.

4 years agoremove unused and disabled code
Shlomi Fish [Wed, 29 Apr 2020 11:34:45 +0000 (14:34 +0300)]
remove unused and disabled code

4 years agocorrect typo.
Shlomi Fish [Wed, 29 Apr 2020 11:33:51 +0000 (14:33 +0300)]
correct typo.

4 years agoRename variable/s to make them more descriptive.
Shlomi Fish [Wed, 29 Apr 2020 11:27:54 +0000 (14:27 +0300)]
Rename variable/s to make them more descriptive.

4 years agorefactoring + security: avoid overflow
Shlomi Fish [Wed, 29 Apr 2020 11:22:14 +0000 (14:22 +0300)]
refactoring + security: avoid overflow

4 years agosecurity: avoid overflow
Shlomi Fish [Wed, 29 Apr 2020 11:14:28 +0000 (14:14 +0300)]
security: avoid overflow

4 years agoSilence compile-time or run-time warnings.
Shlomi Fish [Wed, 29 Apr 2020 10:50:58 +0000 (13:50 +0300)]
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.

4 years agorefactoring: was always true
Shlomi Fish [Wed, 29 Apr 2020 10:49:09 +0000 (13:49 +0300)]
refactoring: was always true

4 years agorefactoring: merge cmake install targets
Shlomi Fish [Wed, 29 Apr 2020 10:23:25 +0000 (13:23 +0300)]
refactoring: merge cmake install targets

4 years agoRefactoring / code cleanup.
Shlomi Fish [Wed, 29 Apr 2020 10:20:37 +0000 (13:20 +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 agoremove or rename old man pages.
Shlomi Fish [Wed, 29 Apr 2020 10:01:51 +0000 (13:01 +0300)]
remove or rename old man pages.

To avoid cluttering the source dirs.

4 years agorefactoring
Shlomi Fish [Wed, 29 Apr 2020 09:35:14 +0000 (12:35 +0300)]
refactoring

4 years agorename vars
Shlomi Fish [Wed, 29 Apr 2020 09:11:03 +0000 (12:11 +0300)]
rename vars

4 years agotravis+appveyor cleanups
Shlomi Fish [Wed, 29 Apr 2020 09:05:03 +0000 (12:05 +0300)]
travis+appveyor cleanups

4 years agoadd cache to travis cpan modules
Shlomi Fish [Wed, 29 Apr 2020 08:53:41 +0000 (11:53 +0300)]
add cache to travis cpan modules

4 years agoavoid predecls
Shlomi Fish [Wed, 29 Apr 2020 08:46:24 +0000 (11:46 +0300)]
avoid predecls

4 years agoRename variable/s to make them more descriptive.
Shlomi Fish [Wed, 29 Apr 2020 08:43:00 +0000 (11:43 +0300)]
Rename variable/s to make them more descriptive.

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