aboutsummaryrefslogtreecommitdiff
path: root/system
AgeCommit message (Collapse)Author
2014-06-18Added embind support for std::unique_ptrNikolay Vorobyov
2014-06-10Rename SDL_SetEventHandler from previous commit to ↵Jukka Jylänki
emscripten_SDL_SetEventHandler to reflect that this is our extension, and add comments.
2014-06-10Added an additional call: `SDL_SetEventHandler()` to SDL.Michael Bishop
This is not in the official API but it is needed for Mozilla Persona, which makes sure an event handler is on the stack when `navigator.id.request()` is called. Using the standard SDL api, this can never be the case because an SDL app retrieves events from SDL’s event queue independently of when those events are added to the queue (through event handlers that SDL itself registers). With this additional call, apps can receive events directly in response to an actual event handler which will still be on the stack when the event is handled by the SDL-based application.
2014-06-09Merge pull request #2399 from waywardmonkeys/cleanup-includesAlon Zakai
Cleanup includes
2014-06-07Put a placeholder README in system/local/include.Bruce Mitchener
This explains the purpose so that the directory is a bit more discoverable. It also means the compiler won't complain that the directory doesn't exist when in verbose mode.
2014-06-06path should be constCharlie Birks
2014-06-05changes from reviewCharlie Birks
2014-06-05Add include for FILE*Charlie Birks
2014-06-05add emscripten_get_preloaded_image_dataCharlie Birks
2014-06-04removed parens from copy&paste errorNicolas Guillemot
2014-06-02Merge pull request #2364 from juj/musl_stdioAlon Zakai
Musl stdio
2014-05-28add emscripten_align typedefs for #2378Alon Zakai
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-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-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-21Moarrrr templates! Remove some boilerplate in embind. Thanks imran and andy!Chad 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-21Call __destruct on the JS implementation when the instance is destroyed.Chad 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-21make optional methods workChad Austin
2014-05-21properties set in constructor persist to methodsChad Austin
2014-05-21can extend, construct, and deleteChad Austin
2014-05-21sketch extend methodChad Austin
2014-05-21Fix test breakages in s_* suites after musl_charfuncs merge.Jukka Jylänki
2014-05-21Migrate is*, to* and stro* to use musl libc.Jukka Jylänki
2014-05-16expose typeof via emscripten::valChad Austin
2014-05-12Add new function emscripten_is_webgl_context_lost() that allows code to ↵Jukka Jylänki
directly query to confirm the WebGL context loss status.
2014-05-08Remove multiply defined symbol error on emscripten_get_now() at link time ↵Jukka Jylänki
when including emscripten.h in native builds.
2014-05-02document and assert on only one browser main loop at a timeAlon Zakai
2014-04-29fix embind/asm.js in PRECISE_F32 modeChad Austin
2014-04-29Bind std::basic_string<unsigned char> to js stringsCamilo Polymeris
2014-04-25Merge pull request #2287 from chadaustin/embind-fastcomp-asm.jsAlon Zakai
Enable embind in fastcomp/asm.js
2014-04-14Merge pull request #2285 from juj/sdl2-touch-api-additionsAlon Zakai
Sdl2 touch api additions
2014-04-13class and enum signaturesChad Austin
2014-04-13value array and value object signaturesChad Austin
2014-04-13checkpoint asm.js-style function lookup by signature stringChad Austin
2014-04-13some compile fixesChad Austin
2014-04-13Always require an explicit name for shared_ptr and wrapper type bindingsChad Austin
2014-04-13Add a way to opt out of compiler-generated type names for smart pointers and ↵Chad Austin
wrapper types.
2014-04-13embind doesn't always need the full std::type_info record. if ↵Chad Austin
EMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES=0, then use a lighter type identifier. This shaves 175 KB off of our engine's minified JavaScript.
2014-04-13Added preliminary support for the SDL2 touch api. Missing items:Michael Bishop
1. Timestamps 2. TouchID (the Device ID) As inline with the SDL spec, we will pass a touch ID of `SDL_TOUCH_MOUSEID` for touch events that are simulated by the mouse so games can rely solely on touch events if they like. Includes the SDL2 Copyright notice on the headers that contain SDL2 content. Includes a fix to SDL_PeepEvents.
2014-04-07Merge pull request #2256 from juj/more_musl1.14.1Alon Zakai
More musl.
2014-04-07Add JavaScript implementation of musl architecture-specific instructions.Jukka Jylänki
2014-03-31Merge pull request #2264 from imvu/incoming-with-fastcomp-asm.js-emval-2Alon Zakai
Make emscripten::val compatible with fastcomp/asm.js
2014-03-31Remove 'vararg' from names of functions, per code review. Don't expand ↵Chad Austin
floats to doubles in argument packs.
2014-03-31add EM_ASM_ARGS, a nicer name for EM_ASM_Alon Zakai
2014-03-28Instead of varargs, which depend on the compiler, manually build the varargs ↵Chad Austin
packs on the stack.