open-adventure merge requestshttps://staging.gitlab.com/esr/open-adventure/-/merge_requests2017-07-18T15:25:52Zhttps://staging.gitlab.com/esr/open-adventure/-/merge_requests/253Ad-hoc type safety when checking command IDs.2017-07-18T15:25:52Zusername-removed-1354299Ad-hoc type safety when checking command IDs.fixes #31fixes #31https://staging.gitlab.com/esr/open-adventure/-/merge_requests/251Fixed YAML parser bug and completed coverage2017-07-17T19:39:11Zusername-removed-1096594aaron@traas.orgFixed YAML parser bug and completed coveragehttps://staging.gitlab.com/esr/open-adventure/-/merge_requests/252Hardening2017-07-17T17:57:48Zusername-removed-1354299HardeningContains work of @ninneman and me to enhance CI pipeline for better problem detection. Not to -Werror level, but latest compilers and most hardening features we could put into it.Contains work of @ninneman and me to enhance CI pipeline for better problem detection. Not to -Werror level, but latest compilers and most hardening features we could put into it.https://staging.gitlab.com/esr/open-adventure/-/merge_requests/234Correct typoed LCOV_EXCL comment.2017-07-11T03:05:27Zusername-removed-1340840Correct typoed LCOV_EXCL comment.Fixes Issue #25.Fixes Issue #25.https://staging.gitlab.com/esr/open-adventure/-/merge_requests/227Bind the sizes of strcpy2017-07-08T19:17:02Zusername-removed-1354299Bind the sizes of strcpyhttps://staging.gitlab.com/esr/open-adventure/-/merge_requests/222adventure.yaml coverage test script -- not at all polished, but works2017-07-07T20:27:43Zusername-removed-1096594aaron@traas.orgadventure.yaml coverage test script -- not at all polished, but worksJust outputs a line for each location description, arbitrary message, or object description that isn't present in any of `tests/*.chk`, so we make sure we're covering the whole file.
I can add more categories, and generate an HTML repor...Just outputs a line for each location description, arbitrary message, or object description that isn't present in any of `tests/*.chk`, so we make sure we're covering the whole file.
I can add more categories, and generate an HTML report, and add other nice features, but this is the first version.https://staging.gitlab.com/esr/open-adventure/-/merge_requests/214Cover yaml2017-07-05T19:41:59Zusername-removed-1354299Cover yamlhttps://staging.gitlab.com/esr/open-adventure/-/merge_requests/202Replace some magic numbers.2017-07-03T16:57:25Zusername-removed-1340840Replace some magic numbers.https://staging.gitlab.com/esr/open-adventure/-/merge_requests/196More tests, multilined yaml2017-07-02T19:17:25Zusername-removed-1354299More tests, multilined yamlhttps://staging.gitlab.com/esr/open-adventure/-/merge_requests/193Coverage - attack sitting bear2017-07-02T17:41:05Zusername-removed-1096594aaron@traas.orgCoverage - attack sitting bearhttps://staging.gitlab.com/esr/open-adventure/-/merge_requests/189Refactoring -- moved 3 globals to new struct settings_t2017-07-02T16:52:35Zusername-removed-1096594aaron@traas.orgRefactoring -- moved 3 globals to new struct settings_tSince logfp, oldstyle, and prompt were application settings, rather than
have them all as global vars, move them to a single global var, seperate
from game state, as they aren't, technically, game state, but are
application settings.
Al...Since logfp, oldstyle, and prompt were application settings, rather than
have them all as global vars, move them to a single global var, seperate
from game state, as they aren't, technically, game state, but are
application settings.
Also enhanced cheat.chttps://staging.gitlab.com/esr/open-adventure/-/merge_requests/187Test and fix urn bug2017-07-02T14:13:29Zusername-removed-1354299Test and fix urn bugMake build and coverage are now more generic.
And some additional test coverageMake build and coverage are now more generic.
And some additional test coveragehttps://staging.gitlab.com/esr/open-adventure/-/merge_requests/185Typos2017-07-01T23:12:54Zusername-removed-182714TyposA couple of minor typo corrections to documentation/comments.A couple of minor typo corrections to documentation/comments.https://staging.gitlab.com/esr/open-adventure/-/merge_requests/180Replace linenoise with libedit (editline).2017-07-01T14:25:20Zusername-removed-1340840Replace linenoise with libedit (editline).https://staging.gitlab.com/esr/open-adventure/-/merge_requests/176Clear init2017-07-01T12:52:31Zusername-removed-1354299Clear inithttps://staging.gitlab.com/esr/open-adventure/-/merge_requests/174Stop leaking memory2017-07-01T03:24:02Zusername-removed-1354299Stop leaking memoryBefore this, each allocated input string was left with no owner per each inputted newline.
Now instead of kilobytes we should not leak anything.Before this, each allocated input string was left with no owner per each inputted newline.
Now instead of kilobytes we should not leak anything.https://staging.gitlab.com/esr/open-adventure/-/merge_requests/168WIP: Removed line as redundant2017-06-30T17:31:26Zusername-removed-1354299WIP: Removed line as redundantAs of 8675c4facd154b9 lines 612-613 in main.c unreachable due to earlier
dispatch at line 1132 that redirects all find/inventory verbs into actions.c
Message NEARBY fires from YAML link to those verbs.
Also, reduced signature of playe...As of 8675c4facd154b9 lines 612-613 in main.c unreachable due to earlier
dispatch at line 1132 that redirects all find/inventory verbs into actions.c
Message NEARBY fires from YAML link to those verbs.
Also, reduced signature of playermove() to motion only.https://staging.gitlab.com/esr/open-adventure/-/merge_requests/167Magic number replacement.2017-06-30T16:09:00Zusername-removed-1340840Magic number replacement.https://staging.gitlab.com/esr/open-adventure/-/merge_requests/161Cleanups, formatting, and documentation correction2017-06-29T20:38:13Zusername-removed-1096594aaron@traas.orgCleanups, formatting, and documentation correctionhttps://staging.gitlab.com/esr/open-adventure/-/merge_requests/159Additional coverage and cleanups2017-06-29T19:48:56Zusername-removed-1096594aaron@traas.orgAdditional coverage and cleanups