summaryrefslogtreecommitdiffhomepage
path: root/CONTRIBUTING.md
Commit message (Collapse)AuthorAgeFilesLines
* Follow C-PROGRAMMING-STANDARDS.md throughoutfix/c-programming-standardsSean Kurtz31 hours1-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The standards document that merged as PR #25 is now the reference for the language level, the diagnostics, the names and the comments. What the audit found and this commit settles: - C23 in full: nullptr instead of NULL, static_assert for every offset the walk reads, constexpr for the buffer and column widths, and the one compiler attribute wrapped in PRINTFLIKE so call sites stay C23. - -Wstrict-prototypes and -Wmissing-prototypes, which the document requires and the Makefile did not carry. - Lower-case constexpr names, and static so each stays internal. - A Doxygen block on every function, type, global and macro, and /**< */ on every member, as section 3.3 asks. - -D_OPEN_SYS_FILE_EXT=1, the value the document names, in the Makefile and in .clangd. - make format and make tidy, the two target names the document gives. - The eye-catcher hex, the CHTRKID value and the EBCDIC reasoning now carry the why in a comment rather than standing bare. Where the document and this program disagree, the program keeps its reason and CONTRIBUTING.md records the agreement where it is not obvious. Also fixes the wall of undecodable bytes after `make check`: the runtime's own storage report, and the one the ps child inherits, are EBCDIC text written to an ASCII log. An untagged stdout or stderr is now tagged ISO8859-1 before anything writes to it, so both reports arrive as text.
* Build as C23 and pin the control-block layoutSean Kurtz32 hours1-1/+1
| | | | | | | | | | | The overlays become packed C23 structs, so the offsets are the sum of the field widths instead of hand-written padding, and every field the walk reads is pinned by static_assert. The CSCB and the ASSB are now validated by their eye-catchers (and CHASID for the CSCB) before they supply a userid, a logon procedure or CPU time. The CPU column prints a compact duration instead of hours:minutes:seconds, which read 1947:50:11 for a long session.
* Name the types with typedefs and keep type names uniqueSean Kurtz35 hours1-0/+2
|
* Fix the code review findings for 939f3ecSean Kurtz36 hours1-1/+3
|
* Say where zopen installs when /usr/local/zopen is read-onlySean Kurtz36 hours1-1/+3
|
* Release 1.1.0 and package as a zopen portSean Kurtz2 days1-2/+15
| | | | | | | | | | | | | - buildenv: zopen stable line from the release tarball, DEV from main, make check as the port check, install under $ZOPEN_INSTALL_DIR. - Size the session table from ASVTMAXU plus the process count, and stop collapsing SSH rows by ASID, so sessions sharing an address space are all listed. - Read ASSBASST for every session, not only those with a CSCB. - CHANGELOG 1.1.0, VERSION 1.1.0, README/CONTRIBUTING zopen and release steps, CI checks that buildenv agrees with VERSION. - Suppress the Linux-clangd cascade for the z/OS-only headers by its real diagnostic ids.
* Fix the review findings for 552c76cSean Kurtz2 days1-11/+11
| | | | | | | | | | | | | | CPU time is now TOD units (>> 12) and includes ASSBASST. TSO user and logon procedure come from the CSCB. SSH sessions come from the w_getpsent() process tree and join the address space by ASID. The ASVT walk sizes itself from ASVTMAXU, validates each entry, and a fault while reading a terminated address space skips that row instead of abending. Output follows the zopen character-set convention: ASCII in ISO8859-1 files and IBM-1047 on terminals and pipes, driven by the descriptor tag, with F_CONTROL_CVT saved and restored around the run. README, CHANGELOG, CONTRIBUTING, CI and the issue/PR templates are corrected, and the z/OS 2.5 floor is stated.
* release: take the notes from CHANGELOG.mdSean Kurtz5 days1-2/+2
| | | | | | The first release body was GitHub's generated list of every merged PR. The changelog entry for the version is the curated record, so the workflow now extracts that section and refuses a version it cannot find.
* GitHub: CI, release workflow, templates, changelog, contributingSean Kurtz5 days1-0/+50
ci.yml checks clang-format (pinned to 23.1.5, since the tool moves line breaks between releases) and that the Makefile still parses under GNU make: the build itself needs z/OS and ZOAU, which no hosted runner has. release.yml runs on a v* tag, refuses one that disagrees with VERSION, archives the sources with git archive, and attaches the tarball and its sha256 to the release. No binary: whoson links the ZOAU 64-bit DLL. Also an issue form that asks for the console display behind a wrong row, a PR template, CONTRIBUTING.md with the build, style and release steps, and CHANGELOG.md with 1.0.0. README gains badges, the usage lines and an install section.