Skip to content
Version 1.2.0 - Shizu

This is the last major release of v1.x branch

4b1f251 fix mistakes for define usage
456377e check glibc version for telling linux platform supports getrandom()
ac3336c legacy linux platforms still not support getrandom() syscall, use alternative way
d55e035 Password & PRNG: Use the system PRNG device for the password-generating system.
b266325 PRNG: maple/ & so/: Refine PRNG seeding.
63c64c6 maple/edit.c: Add more key shortcuts. [ref: PttBBS]
066d0fd maple/visio.c: `vkey()`: Support modified ([Ctrl/Meta/Shift]-ed) spacial keys.
1f23aa0 include/global.h: Add `Shift()` key value macro for 'A'-']', 'a'-'}', and special keys.
7b61539 include/global.h: Make spacial key values combinable with `Ctrl()`.
c15109c maple/visio.c: Refine and support more key sequence varieties. [ref: PttBBS 'common/sys/vtkbd.c']
ba3ab22 maple/visio.c: `vkey()`: Always returns `Meta(ch)` for 'Esc+key'/'Alt-key'.
316a638 Fix undefined behaviors about successive read/write operations on the same file
6c67e35 lib/file.c: `f_cp()`: Fix taking failing to open `src` as success (return `0`).
afc133c `fclose()`/`close()`: Fix some of closing invalid file pointers/descriptors.
bfb5b14 `close()`: Do not close `fdopen()`ed and `fclose()`d files.
4f65d30 Fix confusions between the return values of `open()` and `fopen()`
cb3b40a Fix file resource leaks
271b74a so/pip.c: `p_pipple()`: Only load the mob data right before entering the game.
55b15e5 maple/ & so/: Avoid some reachable memory leaks.
cbb5997 maple/: Fix invalid `free()`.
ef39714 maple/: Fix unreachable memory leaks.
07fc875 maple/visio.c: `iac_count()`: Fix reading garbage when receiving incomplete IAC commands.
94b0c03 maple/ & util/: Fix buffer overflows due to insufficient buffer size.
f077504 maple/more.c: `outs_line()`: Fix out-of-bound accessing when `str` is an empty string.
6031add maple/: Fix writing uninitialized data to files.
6553507 Fix accesses of uninitialized variable
91dc492 lib/dl_lib.c: `DL_func()`: Fix missing `va_end()` after `va_start()` whenever `DL_get()` fails.
02a3c65 maple/acct.c: `u_register()`: Fix crashes due to writing to read-only memory when calling `getfield()`.
e605db3 maple/gem.c: `gem_cross()`: Fix crashes when the user repost a item which the user has no read permission from gem.
60b7228 util/checkemail.c: `main()`: Fix `mail` to the same destination twice whenever `argc > 1`.
f02f605 util/base64encode.c: Fix yielding wrong results, caused by encoding garbage bytes at input end. [Solve: #44]
a1ba9dc maple/popupmenu.c: `do_menu()`: Fix `POPUP_QUIT` mode not causing menu redrawing when using right or enter key.
514ec00 include/struct.h & maple/bbsd.c: Make `ushm->count` signed.
0059fa6 Fix type errors of the arguments for format strings
8823c8d Fix some undefined behaviors and non-standard codes
8bee368 Fix const correctness issues which may cause warnings
83c2154 Use `const char *` for the arguments of some functions used by BBS-Lua on DLBBS v2.0.
9d2af70 Fix macro name: Avoid using `_` prefix in non-system macro names.
e18f8a0 maple/ & so/: Fix typoed strings.
50b543e dreambbs.mk: `BBSVER`: Apply `xargs` on the result to remove the quotes.
d73fea7 idle timeout: add bell for alert
d332391 Release Version 1.2.0 - Shizu
0b29f11 fix Makefile in so
f8ff852 */Makefile: Quote the directory pathes containing `$(BBSVER)`.
5aa7275 maple/board.c: `brh_load()`: Fix and work around the BRH file loading errors caused by invalid `bcount` fields of BRH entries.
e06e914 maple/visio.c: kick STR_GUEST when its idle time is too long
4eedbef maple/talk.c: refine idle time format
b41739c remove x_sysload() that is deprecated
fda0767 maple/ & lib/: Signal handler functions: Avoid casting them into incompatible function pointer type.
8ab4389 Avoid casting functions to `void *`
3f87842 Eliminate redundant `NULL` checks for `realloc()` and `free()`
03497ef include/struct.h & maple/board.c: Do not define `static` variables not guarded by conditions in the header file.
184c82a Apply `static` on some functions and variables which are either internal or in the headers
4a1b254 maple/ & so/: Remove unnecessary `extern` function declarations.
48e5971 so/pipfun.c: Eliminate implicit function declarations.
934f220 maple/ & util/: Disable unused functions.
249b408 maple/mail.c: `hdr_outs()`: Eliminate a useless `switch` fallthrough.
f8e722f Refine unreachable codes and branches
62b51fc so/pip.c: Fix "-Wsometimes-uninitialized" warnings.
f8ee1fe util/resetvmail.c: `reaper()`: Refine multiple condition checking.
71885aa lib/: Eliminate K&R-style function declarations/definitions.
3b149ba Refactor out hardcoded password lengths with macros
c4e2d2f Replace hardcoded string literals with  macros
900611f Fix some coding style practices which are either confusing or non-portable
190e0ad util/mailpost.c: `acct_fetch()`: Add a comment for possibly disabled function.
4490ac4 maple/ & so/ & util/: Fix indentation.
3c6b3ca util/tranufo.c: `reaper()`: Display `ufo` and `ufo2` in hexadecimal.