aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
AgeCommit message (Collapse)Author
2011-08-27Implemented realpath().max99x
2011-08-27Made isatty() always fail. We don't support proper terminal control anyway.max99x
2011-08-27Fixed missing path in streams of files created using open().max99x
2011-08-27Fixed stdin failure in strict mode.max99x
2011-08-25Reverted getc()/putc() buffers to static, but via a postset;max99x
Style fixes in response to code review.
2011-08-25Switched getc/putc buffers to be allocated on the stack.max99x
2011-08-25Moved errno buffer out of $FS.max99x
2011-08-25Fixed _formatString()/printf() for USE_TYPED_ARRAYS + test for it.max99x
2011-08-25Updated uses of varargs in the library to C style.max99x
2011-08-24tweak some allocations in library to prevent problems with debug printing ↵Alon Zakai
inside malloc calls
2011-08-23Implemented rand(), rand_r() and srand() using a simple Linear Congruential ↵max99x
Generator.
2011-08-23Added strcoll() and strtoul() and improved strtol().max99x
2011-08-20Fix for IE9 which has no XMLHttpRequest.overrideMimeType().max99x
2011-08-18Added always-failing stubs for str[fp]time() and getdate().max99x
2011-08-18Optimized strdup(), which is a CPython bottleneck.max99x
2011-08-17Implemented nl_langinfo().max99x
2011-08-07filesystem workaround for closure compiler, +closure compiler testAlon Zakai
2011-08-06Replaced "new Date.getTime()" with "Date.now()";max99x
Added a note about shared lib static allocations.
2011-08-05Clarified empty loop to avoid closure compiler warning.max99x
2011-08-05Added support for both "environ" and "__environ" global symbols.max99x
2011-08-05Fixed stdin bugging out after its first buffer is empty;max99x
Fixed fgets() stripping trailing newline; Added warning about the inability to read binaries from command line.
2011-08-02Minor filesystem/unistd fixes.max99x
2011-08-02Polish for dlfcn.h.max99x
2011-08-02Switched file timestamps from Date objects to numbers.max99x
2011-08-02Fixed a too-early use of malloc in buildEnvironment;max99x
Switched runtime allocs to malloc in the library.
2011-07-30Merge pull request #58 from max99x/masterkripken
Environment and lib fixes (ctype.h, math.h)
2011-07-31Split getNativeFieldSize() into getNativeFieldSize() and getNativeTypeSize();max99x
Updated all references to the above.
2011-07-31Updated uname() to use "function x(){}" instead of "var x = function(){};".max99x
2011-07-31Fixed a file offset incompatibility between read() and ungetc().max99x
2011-07-30fix use of reserved word |byte| which trips up closure compilerAlon Zakai
2011-07-31Merge remote-tracking branch 'upstream/master'max99x
2011-07-31Ensured that getNativeFiledSize() is always called with alone=true in the ↵max99x
library.
2011-07-31Fixed ctype to force testing of __ctype_b_loc.max99x
2011-07-30isupper, islowerAlon Zakai
2011-07-30improve support for binary xhrsAlon Zakai
2011-07-30Added various library functions, mostly as stubs, aliases or TODOs;max99x
Now every function used by CPython is implemented or marked with a TODO.
2011-07-30Fixed ctype.h implementation; added test for it.max99x
2011-07-30Merge remote-tracking branch 'upstream/master'max99x
2011-07-29llvm expAlon Zakai
2011-07-29add missing __depsAlon Zakai
2011-07-30Merge remote-tracking branch 'upstream/master'max99x
2011-07-30Fixed /dev/tty: was stdin+stderr, now stdin+stdout.max99x
2011-07-29Implemented support for environment variables.max99x
2011-07-29Implemented sys/utsname.h.max99x
2011-07-29Made stime() set errno; style micro-polish.max99x
2011-07-29Added some missing math.h aliases and functions.max99x
2011-07-29Polish for ctype.h.max99x
2011-07-28Implemented most of stdio.h and updated all references.max99x
2011-07-24Added _formatString() special-case for null values (similar to glibc).max99x
2011-07-23Added unistd tests; fixed a lot of unistd bugs and deficiencies.max99x