nhkeni
2c58864b1c
CRASHREPORTURL should have been updated at 5.0.0 release
2026-06-23 19:14:54 -04:00
nhkeni
1fa60f7536
Add a new T-shift slogan.
2026-06-21 14:10:51 -04:00
nhkeni
7c694ad785
Remove deprecated option --version:paste
...
This should have been deleted before the 5.0.0 release.
2026-06-20 19:43:26 -04:00
nhkeni
f5724ff9e6
fixes entry for my previous commit
2026-06-20 17:57:48 -04:00
nhkeni
39434c9a2c
Merge branch 'NetHack-5.0' of https://rodney.nethack.org:20040/git/NHsource into NetHack-5.0
2026-06-20 17:50:30 -04:00
nhkeni
11dc617483
Merge branch 'NetHack-5.0' of https://rodney.nethack.org:20040/git/NHsource into NetHack-5.0
2026-06-19 20:59:55 -04:00
nhkeni
10d87c4b9d
nhgitset: Deprecate PRE and POST hooks.
...
nhgitset version 6
prepare for future phases to get rid of those hooks
fix some minor bugs
2026-06-19 20:44:46 -04:00
nhkeni
383d810357
re-write fetch-Lua target
...
cleaner output
better structure
better error checking and recovery
2026-06-09 17:22:12 -04:00
nhkeni
3973944a93
Fix subst for luahelper.
2026-05-11 15:22:06 -04:00
nhkeni
df9673c96e
Make all top-level .md files subject to nhsub substitutions.
2026-05-11 14:46:06 -04:00
nhkeni
cc4c5227af
use full URL for nethack.org in Guidebook.mn
2026-05-06 16:19:02 -04:00
nhkeni
27fa906ebf
update CRASHREPORTURL examples
2026-04-26 18:01:10 -04:00
nhkeni
33a6a9a765
add optionally-built file nhlua to .gitignore
2026-03-04 16:52:04 -05:00
nhkeni
525ca734ae
add checksum for lua 5.5.0
2026-02-07 21:39:03 -05:00
nhkeni
5c0137a6a5
comment/documentation typos
2025-10-26 12:26:11 -04:00
nhkeni
987e3d93e0
Fix a typo going back to B news 2.11; 1986 (or earlier) according to tmac.n
2025-10-24 16:34:35 -04:00
nhkeni
65774372e6
Merge branch 'NetHack-3.7' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.7
2025-07-11 15:44:43 -04:00
nhkeni
03415bc595
fix typo
2025-07-11 15:44:23 -04:00
nhkeni
67dc6662ac
remove bogus content from template file
2025-03-13 12:48:07 -04:00
nhkeni
adeb69ba82
report.c: fix HASH_BINFILE typo
2025-03-07 13:34:53 -05:00
nhkeni
e358f37863
Merge remote-tracking branch 'origin/keni-fetchdocs' into NetHack-3.7
2025-02-07 15:36:19 -05:00
nhkeni
cfe39900ca
Demo for downloading formatted docs
...
Written for MacOS, more useful for Windows (but I'm not writing that).
2025-01-31 21:48:15 -05:00
nhkeni
9313e819de
nhgitset.pl: leftover tid
2025-01-24 10:57:40 -05:00
keni
d329a4ce8a
update tamc.nh docs (mnh.7)
2024-12-31 17:15:11 -05:00
nhkeni
bb57c38e24
Option formatting cleanup.
2024-12-27 18:17:49 -05:00
keni
47ccaf3f26
more .gitattributes
2024-12-25 20:23:00 -05:00
keni
a331a667e5
3.7 setup for autodocs
2024-12-25 14:58:48 -05:00
nhkeni
09693f618f
Fix header spelling error "DATE" -> "Date"; force update dates.
2024-12-24 19:24:15 -05:00
nhkeni
c27cb28ec5
Use old-style --int flag to git to work with older gits.
2024-12-24 12:51:23 -05:00
nhkeni
bdff809099
Update hyphenation for *.mn and *.6 files.
2024-12-24 12:37:20 -05:00
Keni
d0d179efcb
Merge branch 'NetHack-3.7' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.7
2024-12-01 11:45:21 -08:00
Keni
9777e7785a
rename local ctxp -> contextp to avoid global ctxp
2024-12-01 11:25:16 -08:00
nhkeni
755b70de69
Make documentation of nhgitset.pl easier to find and
...
find out about.
2024-11-27 14:06:27 -05:00
nhkeni
4f3c463d69
remove some testing junk that escaped
2024-11-16 17:39:40 -05:00
nhkeni
d493d31aec
Remove "*.txt NHSUBST" from .gitattributes because it's too general.
...
Specifically, it was marking Guidebook.txt for substitution, but
it's a derived file, not a source.
2024-11-15 19:00:31 -05:00
nhkeni
fd0b67de4d
Fix leak in crashreport_init() under Windows
2024-11-11 15:21:59 -05:00
nhkeni
91c38355e7
Merge branch 'keni-gitset2' into NetHack-3.7
2024-11-11 11:27:27 -05:00
nhkeni
36e8d9e6fc
nhgitset version 4
...
To update, run "perl DEVEL/nhgitset.pl"
Fixes:
- "nhcommit -a" has been fixed
- NHDT was hardwired in places
- no longer complain about a missing dat directory outside of the
NetHack source tree
- make update of gitinfo atomic
- Replace some hardwired directory separators with OS-dependent constructs
Backwards Incompatibilities:
- NH_DATESUB's DATE() is now Date() to match the other variables
- MSYS2 requires an additional Perl package - the MSYS2 docs have
been updated
New Help System:
- git nhhelp
This command mirrors "git help" for nh* commands.
- See git nhhelp nhsub for general help on substitution variables
New Substitution Variables:
-Brev()
An aBREViation of $PREFIX-Branch$:$PREFIX-Revision$ - this
may help get line length under control in file headers.
-Assert(TYPE=VALUE)
If TYPE does not match VALUE, do not substitute on this line.
TYPE P checks VALUE against nethack.substprefix
-Project(arg)
Returns nethack.projectname if there is no arg and an uppercase
version if arg is uc.
Other New Features:
- Add nethack.projectname
- Documentation updates - see "git nhhelp nhsub"
- On checkout or merge of a branch, check for nhgitset version updates
and provide an optional message to the user.
- Move NH_DATESUB substitutions here from cron job to keep dates in sync
- PREFIX-* keywords now available in NH_DATESUB templates
- Support use of nhgitset.pl from a different repo; note that update
checks will be dependent on keeping the original source repo up-to-date
and in the same location.
2024-11-11 09:15:49 -05:00
nhkeni
0e1abe0df9
Merge branch 'NetHack-3.7' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.7
2024-09-06 15:09:36 -04:00
nhkeni
aa542afe53
Merge branch 'NetHack-3.7' into keni-prefix
2024-09-06 15:07:19 -04:00
Keni
4ed0637590
Merge branch 'NetHack-3.7' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.7
2024-09-06 12:05:20 -07:00
Keni
55eed7c19a
Ignore lua .dll files.
2024-09-06 12:03:18 -07:00
nhkeni
6b4173688f
Documentation cleanup and streamlining.
2024-09-06 12:44:19 -04:00
nhkeni
37ad527512
make git ignore checksums temp file
2024-08-10 21:18:34 -04:00
nhkeni
3436fbc87e
Merge branch 'NetHack-3.7' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.7
2024-08-10 16:26:00 -04:00
nhkeni
3f2d46823a
add nhlua target (for internal use)
2024-08-10 16:25:35 -04:00
nhkeni
90cfeccdfd
Merge branch 'NetHack-3.7' into keni-fetchlua
2024-07-29 17:07:17 -04:00
nhkeni
93ece2c9b4
update fetch-lua-TARGET targets
2024-07-27 18:24:41 -04:00
nhkeni
190aeb921b
fetch-lua bits
...
make it clearer how to change the fetch try order
avoid odd output if more than one lua .gz file exists
make it clearer if we don't have a checksum for a fetched file
2024-07-26 21:19:41 -04:00
nhkeni
e3cabd95ee
Merge branch 'NetHack-3.7' into keni-fetchlua
2024-07-26 20:20:34 -04:00
nhkeni
c1d18e03ea
add checksum for lua 5.4.7
2024-07-26 15:59:16 -04:00
nhkeni
3913cebdb4
make "make fetch-lua" handle multiple lua versions
2024-07-26 14:47:16 -04:00
nhkeni
70d0bc25f8
fetch-lua bits
...
Add a local copy of the lua source file.
Re-organize the sh code to avoid duplication and add (a little) clarity.
2024-06-23 13:04:28 -04:00
nhkeni
c8b04a67f6
git prefix for Makefile.mingw32 and Makefile.nmake (untested)
2024-06-22 13:05:57 -04:00
nhkeni
a8b5e88744
add the git prefix to the long version output
...
Tested on MacOS, written and not tested for Linux, not attempted for Windows
2024-06-19 12:28:13 -04:00
nhkeni
9c30c1d08f
add git info for RedHat-ish Linux distros
2024-04-26 21:27:47 -04:00
nhkeni
055246f43d
one more staticfn followup
2024-03-29 14:10:22 -04:00
nhkeni
22d64456a6
staticfn followup
2024-03-29 13:45:27 -04:00
nhkeni
e43564bee4
clarify panic message from #panic
2024-03-24 19:53:48 -04:00
nhkeni
4786f82e73
Merge branch 'NetHack-3.7' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.7
2024-03-20 11:56:32 -04:00
nhkeni
41bdaa348a
teach mdgrep.* about NH_DEVEL_STATUS
2024-03-20 11:51:55 -04:00
nhkeni
6e43ea1635
remove use of obsolete BETA macro
2024-03-20 11:49:24 -04:00
nhkeni
0227a2e0bf
hints/macOS.370: remove testing code
2024-03-16 19:42:42 -04:00
nhkeni
8f74c5fa57
Merge branch 'NetHack-3.7' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.7
2024-03-16 16:41:43 -04:00
nhkeni
9f37ba849c
code_style.txt: Document staticfn and NEARDATA.
2024-03-16 16:41:09 -04:00
nhkeni
54c3dd35ac
Merge branch 'keni-staticfn' into NetHack-3.7
2024-03-16 09:38:21 -04:00
nhkeni
96a74ccfbf
Silence a compiler warning in cross-compile
2024-03-15 14:05:14 -04:00
nhkeni
9c0ed8ae63
NOSTATICFN for src/*
2024-03-14 17:41:51 -04:00
nhkeni
d523041b60
zap.c as a demo for NOSTATICFN
2024-03-13 11:40:50 -04:00
nhkeni
59486fb8ad
something concrete for discussion:
...
infrastructure for NOSTATICFN, replacing NOSTATICCORE
2024-03-13 11:39:24 -04:00
nhkeni
2980c55f5c
report.c: silence some compiler warnings for clang + nhmd4
2024-03-10 19:51:55 -04:00
nhkeni
a9494b1385
report.c: silence some compiler warnings for clang + nhmd4
2024-03-10 17:36:51 -04:00
nhkeni
7d2362c98d
hack: put back recent make depend output until I can fix whatever I just broke
2024-03-10 12:51:11 -04:00
nhkeni
7ad921ebe7
Merge branch 'keni-pending2' into NetHack-3.7
2024-03-10 10:36:24 -04:00
nhkeni
f065cb4ec7
Merge branch 'keni-regex' into NetHack-3.7
2024-03-10 10:22:19 -04:00
nhkeni
e316d962a8
Minor regex naming and doc cleanup.
2024-03-09 13:28:15 -05:00
nhkeni
2d864961bf
Close /dev/null in child process to keep analyzer happy.
2024-03-08 09:24:36 -05:00
nhkeni
ad667216ee
Prevent conflicting types for name "body"
2024-03-01 16:19:30 -05:00
nhkeni
5c3fd7b485
Merge branch 'NetHack-3.7' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.7
2024-02-28 14:06:33 -05:00
nhkeni
cd1002f84e
DEVEL: add directions for a Linux credential helper
2024-02-28 14:05:23 -05:00
nhkeni
5f64dd3f1b
Make initoptions() call initoptions_init() if that hasn't already happened.
2024-02-23 20:14:03 -05:00
nhkeni
eadebf0132
Use local md4 implementation instead of libcrypto for linux.
...
NB: "make depend" needs to be rerun
2024-02-23 17:08:49 -05:00
nhkeni
61f4d972bb
Add local md4 implementation and drop libcrypto for linux.
2024-02-23 17:05:45 -05:00
nhkeni
7e08ce3e9e
Merge branch 'keni-crdumplog' into NetHack-3.7
2024-02-21 16:27:52 -05:00
nhkeni
3f5d1d3a36
split DUMPLOG
...
DUMPLOG requests the DUMPLOG feature as it does now
DUMPLOG_CORE requests the internal buffering only (used for CRASHREPORT)
This allows CRASHREPORT to access recent messages without performing
any file I/O.
2024-02-20 21:42:05 -05:00
nhkeni
9b238bba09
turn off CRASHREPORT for CI minimal build
2024-02-15 20:43:49 -05:00
nhkeni
72ae3c7282
if makedefs doesn't exist, force NOCRASHREPORT
2024-02-15 20:42:57 -05:00
nhkeni
3a3f5c9923
azure-pipelines.yml: cope with white-space after #
2024-02-15 20:24:41 -05:00
nhkeni
c02220499b
Add CROSSCOMPILE to mdgrep, then use it to stop CRASHREPORT when cross-compiling
2024-02-15 19:37:43 -05:00
nhkeni
e378b782fc
Yes, apparently there are configurations that still need the NH_abort() macro
2024-02-15 19:00:08 -05:00
nhkeni
a638629e47
unscramble NOCRASHREPORT logic in config.h
2024-02-15 18:53:49 -05:00
nhkeni
727740749e
Try to fix linux for installations that don't have openssl includes.
2024-02-15 18:08:58 -05:00
nhkeni
252f70b4b3
Turn off debugging flag in Makefile.mingw32 - that should gix the MinGW build
2024-02-15 17:37:40 -05:00
nhkeni
9c0d2389cb
hopefully fix broken MSDOS and MinGW compiles (linux still broken)
2024-02-15 17:07:02 -05:00
nhkeni
3d3ce2369c
Merge branch 'keni-wincw2' into NetHack-3.7
...
Lots of manually resolved conflicts.
2024-02-15 16:25:12 -05:00
nhkeni
dbe5c98dca
add CRASHREPORT directly to browser
...
add CRASHREPORT for Windows
add ^P info to report (via DUMPLOG)
new options: crash_email, crash_name, crash_urlmax
new game command: #bugreport
new config option: CRASHREPORT_EXEC_NOSTDERR
new command line option: --bidshow
deleted helper scripts:
NetHackCrashReport.Javascript
nhcrashreport.lua
misc:
update CRASHREPORTURL (will need to be updated before release)
update bitrot in winchain
winchain for Windows
add missing synch_wait for NetHackW --showpaths
add PANICTRACE (and CRASHREPORT) in mdlib.c:build_opts
missing:
packaging (Windows needs the pdb file)
no testing with MSVC command line build
port status:
linux: working, but glibc's backtrace doesn't show static functions
Windows VS: working. pdb file is large - looking into options
MacOS: working
msdos: not supported
VMS: not supported
MSVC: planned, but not attempted
MSYS2: working, but libbacktrace not showing symbols (yet?)
2024-02-06 18:33:59 -05:00
nhkeni
6b189fb0e1
Merge branch 'NetHack-3.7' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.7
2024-02-04 22:07:58 -05:00
nhkeni
aa8aa24d3b
git glue memory leaks
...
- fix stack imbalances
- call panic() instead of nhl_error() if L==0 to prevent immediate crash
- drop unused argument prep in get_nh_lua_variables
- change nhl_pcall_handle to clean up stack after calling impossible()
- don't force full garbage collection runs
- don't collect garbage to do memory usage checking
- remove unnecessary stack resets
2024-02-04 22:07:05 -05:00
nhkeni
23709b3db3
Update comment.
2024-02-04 21:56:09 -05:00
nhkeni
6f47094b8d
Add a sanity check to nhl_init()
2024-01-21 12:44:05 -05:00