aboutsummaryrefslogtreecommitdiff
path: root/system/include
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-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-05-28add emscripten_align typedefs for #2378Alon Zakai
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-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-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-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.
2014-03-28Make val::val(T&&) compatible with asm.jsChad Austin
2014-03-28Make val::operator() compatible with asm.jsChad Austin
2014-03-28Make val::call<> compatible with asm.jsChad Austin
2014-03-28Some minor emval simplificationsChad Austin
2014-03-28It appears we can use doubles as generic wire types.Chad Austin
2014-03-28make val::new_ compatible with asm.jsChad Austin
2014-03-28make val::as<> compatible with asm.jsChad Austin
2014-03-14Add better documentation to emscripten/html5.h KeyEvent structure on the ↵Jukka Jylänki
current implementation and deprecation status of the various fields. See also pr #2222.
2014-03-07fix C syntax in html5.hAlon Zakai
2014-03-07Implement emscripten_async_wget2_dataJoel Croteau
This adds the new function emscripten_async_wget2_data to read from an XMLHTTPRequest directly into memory while supporting advanced features.
2014-03-06add (void) to C functions in emscripten.hAlon Zakai