Граф коммитов

186 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 67ba7bdd02 emscripten_push_uncounted_main_loop_blocker 2012-07-21 21:39:43 -07:00
Alon Zakai 266923db9d improve emscripten_push_main_loop_blocker definition 2012-07-21 10:30:15 -07:00
Alon Zakai 411787e67d name main loop blockers 2012-07-21 10:24:00 -07:00
Alon Zakai e935757662 warning on emscripten_push_main_loop_blocker 2012-07-20 18:24:39 -07:00
Alon Zakai c26f7b7301 even better main loop blockers progress reporting 2012-07-20 17:04:09 -07:00
Alon Zakai f2273cc4c2 better main loop blockers progress reporting 2012-07-20 16:16:16 -07:00
Alon Zakai 9234eaa52f add some EMSCRIPTEN comments for the last merge 2012-07-13 15:45:29 -07:00
Alon Zakai 5ac912dbe9 Merge pull request #497 from imvu/c++11
Fix C++11 support in libcxx
2012-07-13 15:44:05 -07:00
Alon Zakai 7f34950cc7 emscripten_push_main_loop_blocker improvements 2012-07-13 10:58:05 -07:00
Alon Zakai 3b6025a2c4 emscripten_push_main_loop_blocker 2012-07-12 18:26:46 -07:00
Chad Austin 3a252e1924 Fix C++11 support in libcxx 2012-07-03 18:37:28 -07:00
Alon Zakai 92987e9dd2 misc library additions/fixes 2012-06-22 17:13:59 -07:00
Aleksander Guryanov 2c86cbf25b Implementation for emscripten_async_wget 2012-06-21 20:38:01 +07:00
Alon Zakai 27dae93151 fix emscripten_async_call for native builds with multiple files 2012-06-15 11:51:30 -07:00
Alon Zakai 4ab0c9fe43 move emscripten.h to emscripten/emscripten.h, so native builds can -I that dir and not get anything else 2012-06-15 11:16:06 -07:00
Alon Zakai 0bf5420d38 EMSCRIPTEN_KEEPALIVE 2012-06-14 21:19:42 -07:00
Alon Zakai f1c4dae2cb emscripten_random 2012-06-12 17:56:40 -07:00
Jukka Jylänki c19e66ece3 Added a helper function emscripten_set_canvas_size function which allows to resize the <canvas> element on the web page in 'generic' fashion without having to depend on SDL or X11 headers in C code. This function is intended to be used in conjunction with EGL to specify a custom pixel resolution for the canvas (EGL API does not have expressiveness to do arbitrary pixel sizes). 2012-06-05 00:23:17 +03:00
Alon Zakai 499ace020e fix test_gc for o1 and o2 2012-05-15 16:01:35 -07:00
Alon Zakai 46f641bf1e working early gc test 2012-05-15 13:37:09 -07:00
Alon Zakai 1a55bf326c further gc work, basic api written 2012-05-15 12:00:01 -07:00
Alon Zakai 1cd225a385 initial work on c++ gc support 2012-05-15 11:32:45 -07:00
Alon Zakai 354a88d763 emscripten_get_now 2012-05-14 16:49:25 -07:00
Alon Zakai 27379196d5 emscripten_hide_mouse 2012-05-10 17:03:26 -07:00
Alon Zakai fe319edc46 header additions for xmlvm 2012-05-08 20:10:08 -07:00
Alon Zakai ccf2e41978 emscripten_pause_main_loop and resume 2012-05-06 18:04:12 -07:00
Alon Zakai 9d1c43e2c5 remove unneeded libcxx makefile line for readme 2012-05-02 20:57:48 -07:00
Alon Zakai 50d59708df use requestAnimationFrame 2012-05-01 13:28:40 -07:00
Alon Zakai e2bd325199 sys/types.h header fix for some systems where local includes make them fail on redefinitions 2012-04-24 17:28:53 -07:00
Alon Zakai 3b725e2f95 add emscripten_async_run_script 2012-04-19 09:50:32 -07:00
Alon Zakai 735637e9a1 add emscripten_async_call 2012-04-17 20:32:14 -07:00
Alon Zakai c721f0efcf restore 2 constants in sys/ioctl.h 2012-04-16 18:11:34 -07:00
Ehsan Akhgari 8e0dfcf00f Add a bunch of defines needed to get socket based applications to compile 2012-04-16 16:45:05 -04:00
Alon Zakai 2f258b91ce pty.h 2012-04-08 13:17:06 -07:00
Alon Zakai d75b626543 sys/ioctl.h 2012-04-07 18:26:34 -07:00
Alon Zakai 4b32536246 fix test_glgears 2012-04-02 16:46:51 -07:00
Ehsan Akhgari aba3d417d5 Merge remote-tracking branch 'behdad/master' into behdad
Conflicts:
	src/library_gl.js
2012-04-02 17:56:14 -04:00
Alon Zakai 0c82f42676 add X headers 2012-03-31 15:21:22 -07:00
Alon Zakai 054b2403e9 do not use impure stuff for stdin etc, it makes comparing to native builds harder 2012-03-28 15:00:58 -07:00
Behdad Esfahbod 80bc58af4c Don't define u_int64_t and similar types twice
They are already typedef'ed earlier in the file.  This breaks emcc on my
Mac at least.

This was broken by f4018dfb.
2012-03-27 20:42:23 -04:00
Alon Zakai 6ad919104f SDL mouse support and emscripten_set_main_loop 2012-03-24 15:04:41 -07:00
Alon Zakai 3ca9645e0b alter SDL scancode mask, to help older SDL apps work 2012-03-23 17:35:13 -07:00
Sigmund Vik f829735cc3 Misc fixes for Windows.
Most of these changes have to do with how python scripts are invoked.

For Linux, 'Popen([EMCC] + args)' works because the first line in emcc
is '#!/usr/bin/env python'. On Windows, the python interpreter has
to be explicitly invoked, e.g. 'Popen(['python', EMCC] + args)'. Note
that there is no harm in explicitly invoking the python interpreter
on Linux, so this works on both platforms.

For Windows, execvp() behaves differently than on Linux:
http://mail.python.org/pipermail/python-list/2002-July/763863.html
http://msdn.microsoft.com/en-us/library/3xw6zy53.aspx

This causes many strange things to happen as the parent process
terminated before its children. In this change the use of execvp()
has been replaced with subprocess.call().

This change also fixes some code that assumed that the path separator
always is '/', but for Windows it is '\'. And where the path module
can be required, we use path.normalize() and path.resolve() to check
if a filename is absolute in a platform agnostic manner.
2012-03-20 14:26:50 +01:00
Sigmund Vik fbb596d277 Renamed __except to __exceptXXX in libcxx/ios header to avoid compilation
errors on windows using clang version 3.0 (tags/RELEASE_30/final).  This
can be reverted once emscripten upgrades to clang 3.1.

For more details, please see:
http://comments.gmane.org/gmane.comp.compilers.clang.scm/41578
2012-03-20 13:10:15 +01:00
Alon Zakai f66a74ac34 add SDL_gfxPrimitives.h 2012-03-19 18:08:25 -07:00
Alon Zakai c89ace6de6 add SDL mixer and ttf headers 2012-03-19 18:02:36 -07:00
Alon Zakai aaa5e6acf9 headers fix 2012-03-19 16:49:59 -07:00
Alon Zakai 1a1d011c9b tweak building of libcxx to work around windows failure 2012-03-16 10:35:59 -07:00
Alon Zakai 470919bea9 almost working SDL_image test, just need async decoding 2012-03-15 16:49:37 -07:00
Alon Zakai 6342971b3e add some networking headers 2012-03-15 11:23:47 -07:00