aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
AgeCommit message (Collapse)Author
2012-07-18fix relative paths in preloading and add testingAlon Zakai
2012-07-18use createPreloadedFile in file packagerAlon Zakai
2012-07-18refactor file preloading to happen in FS.createPreloadedFile, so that not ↵Alon Zakai
only file_packager preloading gets preloaded Images and Audios
2012-07-18fix powf -> powAlon Zakai
2012-07-17use unget properly in scanString, so it works in fscanf and not just sscanfAlon Zakai
2012-07-16optimize bswapAlon Zakai
2012-07-15remove whitespace at beginning of sscanf, fixes #512Alon Zakai
2012-07-15utf parsing in writeStringToMemory as wellAlon Zakai
2012-07-14refactor utf8processingAlon Zakai
2012-07-14utf-8 supportAlon Zakai
2012-07-12Merge pull request #380 from linghuye/masterAlon Zakai
2012-07-09llvm umul|add intrinsicsAlon Zakai
2012-07-09Add llvm_uadd_with_overflow_i8 functionAleksander Guryanov
2012-06-26fix lseek bug with devicesAlon Zakai
2012-06-12emscripten_randomAlon Zakai
2012-06-11export some filesystem commands through closureAlon Zakai
2012-06-08remove Array_copy and String_copy; they are hard to implement in a fast way ↵Alon Zakai
that is ta0, 1 and 2-compatible
2012-06-08optimize Array_copyAlon Zakai
2012-05-31make strtod properly handle .5 etcAlon Zakai
2012-05-31Adding LLVM intrinsic llvm_uadd_with_overflow_i16.Adrian Taylor
With -O1, sometimes LLVM generates code which calls its intrinsic llvm_uadd_with_overflow_i16, which was previously missing in emscripten's library. This commit adds that intrinsic, and also adds a test which causes LLVM to call that intrinsic (only in 'o1'). This test previously failed in 'o1' but now passes.
2012-05-29Fix behavior strndup whern size <= 0, in this case strndup returns empty stringAleksander Guryanov
2012-05-28Fix size of new string (0 +1->size +1)Aleksander Guryanov
2012-05-28Add implementation of strndup function and test for itAleksander Guryanov
2012-05-26fix strtod behavior on non-intsAlon Zakai
2012-05-24make fgetc return the char value as unsigned (in a signed int)Alon Zakai
2012-05-16fix invalid characterAlon Zakai
2012-05-15Make FS_LOG work againEhsan Akhgari
Use Module.print, since the print function doesn't seem to be accessible any more for some reason. Without this, enabling FS_LOG causes the browser's print UI to be invoked, which is pretty bad!
2012-05-15initial work on c++ gc supportAlon Zakai
2012-05-14handle cancel in window.promptAlon Zakai
2012-05-14do not fail on -fcatch-undefined-behaviorAlon Zakai
2012-05-11FS.createPreloadedFileAlon Zakai
2012-05-09sscanf support for negative integersAlon Zakai
2012-05-09various fixes and improvements to sscanfAlon Zakai
2012-05-08handle absolute paths in file preloadingAlon Zakai
2012-04-23Fix to strtod_l and add test case for strtold.Sigmund Vik
(The test case is reusing test_strtod, when we implement real support for long double we should add a separate test case for this.)
2012-04-23Added strtold and strtod_l/strtold_l stubs.Sigmund Vik
2012-04-21partial support for llvm_umul_with_overflow_i64Alon Zakai
2012-04-21support extraction of i64 values in ta2, and partial support for ↵Alon Zakai
llvm_uadd_with_overflow_i64
2012-04-20optimize strspn and strcspnAlon Zakai
2012-04-19[src/library.js]: Added llvm_bswap_i16 ;Pierre Renaux
2012-04-19[src/library.js]: Added llvm_invariant_start/end so that code linking to ↵Pierre Renaux
pre-optimized LLVM bit code works correctly ;
2012-04-17fix closure issues with exception handling, and add test coverageAlon Zakai
2012-04-16fix sscanf handling of ends of %sAlon Zakai
2012-04-13Add strlwr & strupr implementationsYeZhongWen
2012-04-12More consistent stubs for functions accepting a locale.Sigmund Vik
Now isdigit_l, isxdigit_l, strftime_l, and strptime_l follow the same convention used by strtol_l et al.
2012-04-11Fixed parameters for strptime_l.Sigmund Vik
2012-04-11Added stub for strptime_l to library.jsSigmund Vik
2012-04-11Added stub for strftime_l to library.jsSigmund Vik
This function is required by e.g. Boost Local Time.
2012-04-09init runtime immediately, so that even with noInitialRun we can still call ↵Alon Zakai
filesystem-using functions and they will work
2012-04-09use Array prototype slice in mmap, since contents may not be an ArrayAlon Zakai