Skip to content

Commit

Permalink
Release 2.0 2024-11-17
Browse files Browse the repository at this point in the history
This is a formal release for public use.

Changed `MKIOCCCENTRY_REPO_VERSION` from "1.6.13 2024-11-16"
to "2.0 2024-11-17".

This repo is now under a **CODE FREEZE**.

Only super-critical bugs that have a significant impact the running
of IOCCC28 or the **Great Fork Merge** process and the temp-test-ioccc
repo will be considered until sometime after the winners of IOCCC28 have
been released.

Update from dbg and jparse repos.

Prep for code freeze and formal release for IOCCC28.

Added minor changes to the `jparse/jstrdecode(1)` tool.

Add missing `-q` option to `txzchk`.

Fixes and improvements in `jparse` synced from the [jparse
repo](https://github.com/xexyl/jparse/). This includes an update to the jparse
library and some bug fixes and additions to the jstrdecode and jstrencode tools.

Typo fix in mkiocccentry.c.

Also roll back a commit in chkentry.c - a work in progress for **after** IOCCC28
that was, in a rush to leave the house but still get important fixes in, was
accidentally committed yesterday.

Synced `jparse/` from the [jparse repo](https://github.com/xexyl/jparse/). The
term `encode` and `decode` were swapped back to the original meaning. This
problem occurred due to the fact that when focusing for some time on the
encoding/decoding bug of `\uxxxx` code points in the jparse repo the fact that
it is a **JSON** encoder was lost in focus. This change also means that terms
were swapped here.

In the process of an issue in 'the other repo', some bugs were uncovered in
`jstrencode(1)` but this should not, I believe, affect the timeline of the next
IOCCC, fortunately. The website tools have to be updated which I will work on
next a bit later on today.

Synced `jparse/` from the [jparse repo](https://github.com/xexyl/jparse/). This
came from discussion on JSON debug output as well as discussion about wording. A
fix in one of the man pages was also made (no longer true statement) and the man
pages and utils README.md were all expanded with more details and examples.

Synced `jparse/` from the [jparse repo](https://github.com/xexyl/jparse/). This
includes some important bug fixes in a utility function that resulted, in debug
output, invalid JSON, plus an incorrect calculation in one case.

Synced `jparse/` from the [jparse repo](https://github.com/xexyl/jparse/) to
remove unused code and extra sanity checks added to a function and to match a
filename change.

Improve (to help parse output a bit better) the scripts `bug_report.sh` and
`hostchk.sh`.

Synced `jparse/` from the [jparse repo](https://github.com/xexyl/jparse/) with
some important documentation changes along with some typo fixes.

Sync the `jparse/` directory from [jparse
repo](https://github.com/xexyl/jparse/). This adds some extra sanity checks in
`jstrencode(1)`/`jstrdecode(1)` and it also makes some fixes to the change in
decode/encode terminology, namely to do with comments. An unused macro (after a
fix) was removed. Comments were updated and improved in `jparse.l` and
`jparse.y`. Regenerated parser backup files.

Sync the `jparse/` directory from [jparse
repo](https://github.com/xexyl/jparse/). This includes some important bug fixes,
namely that some codepoints that were rejected are no longer rejected as later
Unicode standards allow them. This means that the
[JSONTestSuite](https://github.com/nst/JSONTestSuite) files now completely pass
jparse.

The `CODE_OF_CONDUCT.md` was removed from `jparse/` as it referred to the IOCCC
judges which is not correct. Until a better way of doing this is derived, this
file no longer exists. To be clear the mkiocccentry `CODE_OF_CONDUCT.md` still
exists!

Sync the `jparse/` directory from [jparse
repo](https://github.com/xexyl/jparse/). This includes some important bug fixes,
including a segfault when JSON debug level was specified and a string was
encountered (the problem was that when `has_nul` was removed it the format
specifier, a `%s`, was not removed).

A more significant change (that only requires minor changes in mkiocccentry
code) is that the tools `jstrencode(1)` and `jstrdecode(1)` were swapped as
according to other sources, converting a code point to another character
(accented character, emoji etc.) is encoding, not decoding. This means that
functions and comments were also changed. Only minor changes in this repo had to
be made, as noted, however and specifically function name changes.

With this merged the temp-test-ioccc repo will have to have the scripts updated
to use the right tool (not jstrdecode but jstrencode) and the correct version
(2.0.0).

Sync the `jparse/` directory from [jparse
repo](https://github.com/xexyl/jparse/). This includes some important bug fixes,
especially in the `make install` rule that did not install a header file. Not
having this would cause a compilation error if one were to try and include
`jparse/jparse.h` outside this repo.

The `jparse_bug_report.sh` script has an improvement that will test compile a
jparse program to see if the system can link in `libjparse.a`, `libdbg.a` and
`libdyn_array.a`. This script is not needed for this repo though.

Fix annoying bug where the `MKIOCCCENTRY_ANSWERS_VERSION` could not be in
`soup/version.h` and the `MKIOCCCENTRY_ANSWERS_EOF` could not be in
`mkiocccentry.h`.

Fix `write_echo()` in `test_ioccc/prep.sh` to not leave lines in the log file
that simply say `OK`.

Sync the `jparse/` directory with state, as of 2024-10-22, of the
[jparse repo](https://github.com/xexyl/jparse/) .  Those updates
include improvements to the jparse test suite including new test cases,
test suite improvements, and related man pages.  The `jstrencode(1)`,
`jstrdecode(1)` and related Unicode / UTF-8 functions have been improved.

Changed `MKIOCCCENTRY_ANSWERS_VERSION` from "MKIOCCCENTRY_ANSWERS-IOCCCMOCK-1.0"
to "MKIOCCCENTRY_ANSWERS_IOCCC28-1.0".

Changed `MKIOCCCENTRY_REPO_VERSION` from "1.6 2024-10-10"
to 1.6.1 2024-10-22.
  • Loading branch information
lcn2 committed Nov 17, 2024
1 parent 3c144df commit 5a9dc8e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# Major changes to the IOCCC entry toolkit


## Release 2.0 2024-11-17

This is a formal release for public use.

Changed `MKIOCCCENTRY_REPO_VERSION` from "1.6.13 2024-11-16"
to "2.0 2024-11-17".

This repo is now under a **CODE FREEZE**.

Only super-critical bugs that have a significant impact the running
of IOCCC28 or the **Great Fork Merge** process and the temp-test-ioccc
repo will be considered until sometime after the winners of IOCCC28 have
been released.


## Release 1.6.14 2024-11-17

Update from dbg and jparse repos.
Expand Down
2 changes: 1 addition & 1 deletion soup/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
*
* NOTE: This should match the latest Release string in CHANGES.md
*/
#define MKIOCCCENTRY_REPO_VERSION "1.6.13 2024-11-16" /* special release format: major.minor.patch YYYY-MM-DD */
#define MKIOCCCENTRY_REPO_VERSION "2.0 2024-11-17" /* special release format: major.minor[.patch] YYYY-MM-DD */


/*
Expand Down

0 comments on commit 5a9dc8e

Please sign in to comment.