- 08 Feb, 2013 1 commit
-
-
deuce authored
-
- 07 Feb, 2013 4 commits
-
-
deuce authored
and trucates there.
-
deuce authored
and always NULL terminating. This macro will handle embedded NULLs. Also, add a HANDLE_PENDING(cx) to return JS_FALSE if an exception is pending
-
deuce authored
The calling code must check JS_IsExceptionPending(cx) and return JS_FALSE
-
deuce authored
alloca()ed ones.
-
- 19 Dec, 2012 1 commit
-
-
rswindell authored
realloced variables for tracking QWKnet nodes discovered while importing msgs, but multiple terminal server nodes/events calling this function concurrently could clearly corrupt these variables and cause realloc errors and crashes. Now using members of sbbs_t for node/event instance specific QWKnet node tracking for the route.dat updates (a rarely used feature nowadays).
-
- 24 Oct, 2012 1 commit
-
-
deuce authored
I've likely broken something though, so if you see weird behaviour with extended ASCII, let me know please.
-
- 11 Jul, 2012 1 commit
-
-
deuce authored
unmoderated message in a sub.
-
- 19 Jun, 2012 1 commit
-
-
deuce authored
ssh session.
-
- 17 Jun, 2012 1 commit
-
-
deuce authored
user.security and move a general function to support it into str_util.c
-
- 15 Mar, 2012 1 commit
-
-
deuce authored
global object exits. This fixes a problem where the terminal server reuses the same global object for all JS scripts, and they uses nested exec()s. When the innermost script would exit, the on_exit evals would occure in IT'S scope rather than in the scope it was defined in, resulting in incorrect behaviour.
-
- 07 Nov, 2011 1 commit
-
-
deuce authored
(throws an "Error: Insufficient Arguments" exception) in js_global.c so all JSNative functions call call it. Also add a function which calls JS_GetContextPrivate and throws an exception if it returns NULL. Previously, when either of these happened, the function silently did nothing.
-
- 02 Nov, 2011 1 commit
-
-
rswindell authored
regardless of security level setting. When run out of lines when creating/editing a file or msg, print a more meaningful message, in text.dat update (with the max lines allowed).
-
- 28 Oct, 2011 2 commits
-
-
deuce authored
and leave it rooted until the script is done or the context is destroyed. This should clean up crashes before a script starts (ie: While creating common objects)
-
rswindell authored
has its own functional "too much recursion" detection. Replaced "branch callback" stuff with "operational callback". JavaScriptBranchLimit has been replaced with JavaScriptTimeLimit (default value: 24 hours)
-
- 26 Oct, 2011 1 commit
-
-
deuce authored
Perviously, if the argument to a number of bbs.* functions was not a valid number, Synchronet would silently ignore the parameter and treat it as though it was not specified. The new behaviour was to use the value as a number. However, the old code caused the exception triggered by an inability to convert the number to be pending until after the return (the JS_Native didn't return JS_FALSE) so a try/catch block aorund it would not catch the exception. The new new behaviour is to throw the exception immediately so it can be caught and handled correctly.
-
- 25 Oct, 2011 1 commit
-
-
deuce authored
-
- 24 Oct, 2011 2 commits
- 19 Oct, 2011 1 commit
-
-
rswindell authored
all exported functions and data types using a 32-bit time_t (time32_t). (part 2 of 2)
-
- 16 Oct, 2011 2 commits
- 13 Oct, 2011 2 commits
- 11 Oct, 2011 2 commits
- 10 Oct, 2011 1 commit
-
-
deuce authored
Only js_ValueToStringBytes() still leaks.
-
- 09 Oct, 2011 11 commits
- 08 Oct, 2011 2 commits