Landon Curt Noll
8db8f93ae0
Change -DWINDOZ to -D_WIN32 for DJGPP
2021-12-08 12:25:16 -08:00
Landon Curt Noll
e688c22c0e
Add missing have_limits.h rule for Makefile
2021-12-08 12:18:23 -08:00
Landon Curt Noll
af72992ead
Added testing for _WIN64 when testing for _WIN32
2021-12-08 12:04:13 -08:00
Landon Curt Noll
9f3a7817d3
Improve seed()
...
Do not rehash the hash.
2021-12-07 22:05:47 -08:00
Landon Curt Noll
dd0610db0a
Improve seed()
...
xor-fold FNV hashes as seeds.
2021-12-07 22:01:23 -08:00
Landon Curt Noll
177a5d00d1
Improve seed()
...
Added charbit.h to define CALC_CHARBIT which is either CHAR_BIT
from <limits.h> or 8 or a value set by the Makefile variable
CALC_CHARBIT. Added have_limits.h to determine if <limits.h>
is a system include file.
2021-12-07 21:41:28 -08:00
Landon Curt Noll
a02f8aa9f9
Improve seed() builtin
...
Increase size of random() data used by seed().
2021-12-07 13:47:00 -08:00
Landon Curt Noll
b7d1fb096d
Improve the seed() builtin
...
Set seed() use of arc4random to same level as /dev/urandom.
Restore state size for initstated random().
2021-12-07 13:42:03 -08:00
Landon Curt Noll
48c4f3b948
Improve seed() builtin
2021-12-07 13:39:07 -08:00
Landon Curt Noll
2023175fcc
Change how SHELL is set for all calc Makefiles
...
Using /bin/sh on macOS due to how zsh treats globs by default.
2021-12-07 04:45:23 -08:00
Landon Curt Noll
c54e2648dc
Set SHELL=/bin/sh for macOS in Makefiles
2021-12-07 04:35:42 -08:00
Landon Curt Noll
faf40b7149
Fixed how SHELL is set in Makefiles, fix make depend on linux
2021-12-07 04:18:39 -08:00
Landon Curt Noll
4b2ae40c86
Fixed make depend on linux
2021-12-07 04:00:36 -08:00
Landon Curt Noll
af57104e25
Fixed depend rule for custom/Makefile
2021-12-07 03:01:46 -08:00
Landon Curt Noll
5ae3ca059a
Fixed old references additive 55
...
Fixed documentation that referred to the old additive 55
generator. We have been using the subtractive 100 in place
of the additive 55 generator for a while now.
2021-12-07 02:24:50 -08:00
Landon Curt Noll
cc5fb9a45b
Improve the seed() function
2021-12-07 01:56:46 -08:00
Landon Curt Noll
5dcadad8b6
Fix long line in have_arc4random.c
2021-12-07 01:54:55 -08:00
Landon Curt Noll
9c67ceeed8
Fix have_arc4random.h generation
2021-12-07 00:48:28 -08:00
Landon Curt Noll
7ffbaf922e
Improve seed() function
2021-12-07 00:44:57 -08:00
Landon Curt Noll
f9464652fe
Improve seed() even more
2021-12-06 23:30:52 -08:00
Landon Curt Noll
b30c5c1855
Improved seed() generation
...
Drop support for CLOCK_SGI_CYCLE.
Improved seed() generation. Improved some comments in seed.c.
Added have_environ.c to build have_environ.h in order to
determine if:
extern char **environ; /* user environment */
is an valid external symbol.
2021-12-06 21:16:08 -08:00
Landon Curt Noll
7417f2e776
Remove excess blank line from calc.c
2021-12-06 21:13:53 -08:00
Landon Curt Noll
71138215a9
Noted changes to zrandom.c comments
2021-12-05 23:38:28 -08:00
Landon Curt Noll
241f777d07
Minor updates to comments
...
We also corrected a comment mistake where 1007 should have been 2^32.
2021-12-05 23:36:05 -08:00
Landon Curt Noll
9d27f0aaa7
Update security policy.
2021-12-05 23:12:24 -08:00
Landon Curt Noll
a28edba4e9
Improve help files
...
Minor improvement of various help files. Made format of help
files more consistent.
2021-12-05 23:02:12 -08:00
Landon Curt Noll
de47c960d3
Change remaining Email addresses to use at and dot
2021-12-05 21:29:46 -08:00
Landon Curt Noll
c3a51f42e2
Drop support for SunOS, IRIX and MINGW32_NT-5.0 targets
2021-12-05 19:02:09 -08:00
Landon Curt Noll
f5c5cea8b0
Correct typos
2021-12-05 18:23:27 -08:00
Landon Curt Noll
769ac51f8c
Release v2.14.0.10
v2.14.0.10
2021-12-01 23:38:56 -08:00
Landon Curt Noll
cdda633369
Update CHANGES file to note previous 2 commits
2021-12-01 23:34:40 -08:00
Landon Curt Noll
50f349f4d7
Update copyright dates to account for 2021 mods
2021-12-01 23:28:59 -08:00
Landon Curt Noll
ef00e00328
Remove unnecessary spaces inbetween or next to tabs
2021-12-01 23:25:49 -08:00
Landon Curt Noll
bb041098bc
Reduce the length of long lines
2021-12-01 23:15:06 -08:00
Landon Curt Noll
f794b8d859
Reduce global status constants
...
The constants:
9, 9/10, 10/9, 24, 360, 400
are used by func.c only, so there were moved
from {q,z}math.{c,h} to func.c.
The constants:
3, 4
are used by zrandom.c only, so there were moved
from {q,z}math.{c,h} to zrandom.c.
2021-12-01 22:50:52 -08:00
Landon Curt Noll
bd990cef1f
Added freeglobals() to libcalc_call_me_last()
2021-12-01 21:56:01 -08:00
Landon Curt Noll
febb9d96b3
Convert freeh() call to zfree() call
2021-12-01 21:55:18 -08:00
Landon Curt Noll
13ae9b804e
Add missing blank lines
2021-12-01 21:53:46 -08:00
Landon Curt Noll
56cc4897d6
Reapply memory leak fixes to zmod.c
...
Revert previously applied zmod.c mods and
then apply better mods to fix zmod memory leaks.
2021-12-01 21:48:13 -08:00
Landon Curt Noll
eb940e0a21
Fix paranoia guard in literal string alloc
2021-11-30 03:44:38 -08:00
Landon Curt Noll
f3adb35e36
Add string and symbol guard allocation paranoia
2021-11-30 03:40:40 -08:00
Landon Curt Noll
d1d365d7ba
Added initialization paranoia
2021-11-30 03:37:20 -08:00
Landon Curt Noll
af214b166d
Reorder zfree ops to assign NULL to ptr after free
2021-11-30 03:36:22 -08:00
Landon Curt Noll
51b933dfff
Add initialization paranoia
2021-11-30 03:35:09 -08:00
Landon Curt Noll
c4e5007587
Clarify strlcpy size check
2021-11-30 03:33:48 -08:00
Landon Curt Noll
c838798f04
Fix more memory leaks, improve zfree() action
2021-11-29 01:55:53 -08:00
Landon Curt Noll
23d49a41fe
Remove references to externals that are no longer used
2021-11-28 20:52:03 -08:00
Landon Curt Noll
3d300acca1
Improve internal pre-defined constant handling
...
Improved the way that internal pre-defined constants are managed.
Removed unused internal pre-defined constants. Added code to
prevent an internal pre-defined constant (that was never
allocated) from being freed.
2021-11-28 20:47:52 -08:00
Landon Curt Noll
8f449ba6d2
Revert local test mistake in Makefile.local
2021-11-27 00:23:54 -08:00
Landon Curt Noll
f4d754b47d
Checkpoint in valgrind work
2021-11-27 00:05:28 -08:00