summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-23Remove leftover scanf and printf stubs from library.jsJukka Jylänki
2014-05-23Fix test test_sscanf to be spec-conformant in the treatment of scanf format ↵Jukka Jylänki
specifiers. According to the standard, %255c matches exactly 255 characters, while %255s matches up to 255 characters.
2014-05-23Disable testing the x86 triple i386-pc-linux-gnu in asm2.test_cube2hash, ↵Jukka Jylänki
that triple is now deprecated.
2014-05-23Migrate snprintf to musl. Move the most common sprintf-related code to libc ↵Jukka Jylänki
instead of libcextra to avoid pulling libcextra in on common runs.
2014-05-23Fix test_cases to run after previous musl changes.Jukka Jylänki
2014-05-23Improve error messages from SAFE_HEAP_ACCESS function.Jukka Jylänki
2014-05-23Skip sprintf-accessing tests on s_ suites that require linking to libc.Jukka Jylänki
2014-05-23Migrate to using musl libc sprintf family to gain compiled asm.js ↵Jukka Jylänki
performance. Keep a copy of handwritten vfprintf and fprintf around to be compatible with the Emscripten filesystem IO library. Also migrate frexp which sprintf depends on to musl libc.
2014-05-23Skip the sscanf-requiring tests in suites that don't link to musl libc.Jukka Jylänki
2014-05-23Migrate to using musl libc sscanf to improve performance. Keep the existing ↵Jukka Jylänki
JS vfscanf for Emscripten FS compatibility, and add the musl-specific version to be used when called from sscanf and vsscanf.
2014-05-22Merge pull request #2376 from TV4Fun/firefox-fixAlon Zakai
Fix issues with source map loading in Firefox
2014-05-22Fix issues with source map loading in FirefoxJoel Croteau
This fixes a few issues using emscripten-source-map.min.js to load source map data in Firefox. Firefox by default tries to interpret any file loaded from an XHR as an XML file, which the source map is not, producing an error. This tells it to load as a text file instead. This allows a successful read from a status code of 0, which is needed if reading from a non-HTTP source, such as a local file.
2014-05-22improve warning on failing to validate reposAlon Zakai
2014-05-22Fix test_dlmalloc in s_*_* modes by enabling the sign corrections in the ↵Jukka Jylänki
whole test (Settings.CORRECT_SIGNS = 1). The new musl libc isdigit() function depends on that.
2014-05-22note on ccall/cwrap behavior on stringsAlon Zakai
2014-05-21Merge pull request #2371 from waywardmonkeys/upstream-from-imvu-againAlon Zakai
Upstream from imvu again
2014-05-21Moarrrr templates! Remove some boilerplate in embind. Thanks imran and andy!Chad Austin
2014-05-21Passing an argument from C++ into JavaScript has 'borrow' semantics rather ↵Chad Austin
than ownership semantics. That is, to keep a reference beyond the function call, you must call .clone(). This is necessary to avoid special-casing non-overridden virtual functions. (I don't know if this change will stick. It's possible it will have some problems.)
2014-05-21expose the set of inherited instances for debugging purposesChad Austin
2014-05-21Bring back the ability to implement a C++ interface with a specific ↵Chad Austin
JavaScript object.
2014-05-21minor refactoring: I intend to bring back wrapper.implementChad Austin
2014-05-21Fix a bug where, when extending from a class held with intrusive pointers, ↵Chad Austin
the JavaScript object would be released when the last JS handle was destroyed, not when the object was.
2014-05-21start to checkpoint some intrusive pointer testsChad Austin
2014-05-21Prevent some common mistakes when calling parent constructors and destructorsChad Austin
2014-05-21Make returning JavaScript instances work in the presence of base class ↵Chad Austin
pointer fixups.
2014-05-21handle some scenarios where you mix delete() and deleteLater()Chad Austin
2014-05-21If embind knows about a live JavaScript instance and it matches a raw ↵Chad Austin
pointer that gets returned, then return the JS instance.
2014-05-21Call __destruct on the JS implementation when the instance is destroyed.Chad Austin
2014-05-21Rename initialize to __construct to avoid conflicting with C++ function namesChad Austin
2014-05-21checkpoint returning JS instances out of embindChad Austin
2014-05-21Support deriving from abstract classes with constructorsChad Austin
2014-05-21give a good error message when a pure virtual function is not implemented in ↵Chad Austin
JavaScript
2014-05-21Remove .implement from the public APIChad Austin
2014-05-21demonstrate how binding optionally-overridden virtual functions can work.Chad Austin
2014-05-21some notes for future functionality.Chad Austin
2014-05-21pass jshintChad Austin
2014-05-21make optional methods workChad Austin
2014-05-21concrete methods are accessible externally. also rethink some other tests.Chad Austin
2014-05-21A bunch of other tests pass now too.Chad Austin
2014-05-21properties set in constructor persist to methodsChad Austin
2014-05-21instanceof passesChad Austin
2014-05-21can extend, construct, and deleteChad Austin
2014-05-21sketch extend methodChad Austin
2014-05-21and of course, instanceof should work as you expectChad Austin
2014-05-21write a bunch of unit tests for the desired javascript inheritance apiChad Austin
2014-05-21Add a hack to SDL audio backend that lets user code to control which audio ↵Jukka Jylänki
files are played back with <audio> element and which are played back with Web Audio.
2014-05-21Don't allow exceptions in SDL audio backend with Web Audio to leak and abort ↵Jukka Jylänki
rAF loops.
2014-05-21Fix test breakages in s_* suites after musl_charfuncs merge.Jukka Jylänki
2014-05-20wipe out emscripten.py output when it fails, so the error does not cascade ↵Alon Zakai
weirdly; fixes #2368
2014-05-201.18.31.18.3Alon Zakai