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

331 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 778b071526 make sure we have one test without -g 2011-07-29 20:09:49 -07:00
kripken d49f169b48 Merge pull request #57 from max99x/master
Filesystem, unistd, and others
2011-07-29 18:03:37 -07:00
max99x 7412ceb37a Minor polish in response to review comments. 2011-07-30 02:46:20 +03:00
Alon Zakai dece1080e8 js engine and emmaken fixes 2011-07-29 15:16:50 -07:00
Alon Zakai df145aa4b2 updates for latest spidermonkey trunk 2011-07-29 13:07:57 -07:00
max99x 16f60de7f2 Implemented most of stdio.h and updated all references. 2011-07-28 14:01:08 +03:00
max99x 4c3f2fb804 Added a --disable-cms argument to the poppler test to avoid using lcms. 2011-07-28 13:49:53 +03:00
Alon Zakai f8c8b9af20 improve function overloading in bindings generator 2011-07-25 22:03:18 -07:00
Alon Zakai 78241b0617 support for binding static functions 2011-07-23 23:43:01 -07:00
max99x 5aea0ba878 Added _formatString() special-case for null values (similar to glibc). 2011-07-24 05:25:45 +03:00
Alon Zakai 18acbda893 support for default arguments in bindings 2011-07-23 18:25:36 -07:00
max99x a48bfddf2b Fixed a silly global variable leakage in a test. 2011-07-23 06:33:14 +03:00
max99x 136756f734 Added unistd tests; fixed a lot of unistd bugs and deficiencies. 2011-07-23 05:49:48 +03:00
max99x 5f9646ca26 Added FS.analyzePath() which will simplify some library functions. 2011-07-22 23:31:57 +03:00
max99x 818de314d4 Implemented <poll.h>. 2011-07-21 04:08:42 +03:00
max99x 10ca04685b Implemented <fcntl.h>. 2011-07-21 02:48:24 +03:00
max99x 08a7f5d20f Fixed various metadata parsing error and activated -g by default in settings and emmaken. 2011-07-20 04:39:44 +03:00
max99x 51df7dfe82 Implemented <sys/statvfs.h>. 2011-07-19 21:55:58 +03:00
max99x d021b10644 Merge remote-tracking branch 'upstream/master' 2011-07-18 12:20:48 +03:00
Alon Zakai 9bcf21de1f let generateStructInfo process nested structs 2011-07-17 22:06:26 -07:00
max99x 0f5a619177 Added tests for <sys/stat.h>. 2011-07-18 02:19:28 +03:00
max99x 512e39f7a2 Implemented utime.h. 2011-07-16 15:01:43 +03:00
max99x 00b6ecfcee Implemented dirname() and basename() from libgen.h. 2011-07-16 14:09:00 +03:00
max99x 7784274c68 Initial part of the filesystem implementation. Basic folder access done. 2011-07-16 11:53:12 +03:00
Alon Zakai 414f1dc849 option to provide type info at run time 2011-07-15 19:35:40 -07:00
max99x 1e8f828cb5 Removed errno global since it's implemented via __errno_location(). 2011-07-14 18:53:57 +03:00
max99x f1507e847d Added errno and glibc-defined error codes; implemented strerror(). 2011-07-14 01:46:44 +03:00
max99x 3c07ebaefd Making the infinity test sign-agnostic (clang compatibility). 2011-07-13 23:34:00 +03:00
max99x 81c4df8f8b Micro-improvement for the infinity test. 2011-07-13 23:32:26 +03:00
max99x 3159de633f Fixed finite() and isinf(), added tests for it. 2011-07-13 23:25:44 +03:00
max99x 9ee300c190 Switched from argparse to optparse in emscripten.py, for older Python. 2011-07-13 22:30:29 +03:00
max99x fcacb4c13c Merge branch 'master' of github.com:max99x/emscripten 2011-07-13 21:44:19 +03:00
Alon Zakai 2a0f3ba466 fscanf 2011-07-12 07:43:52 -07:00
Alon Zakai 8f49ea85f5 clear errors for exceptions inside emscripten.py from test runner 2011-07-11 18:53:30 -07:00
Alon Zakai 6c101f3ad8 bindings generator cleanup 2011-07-09 19:24:20 -07:00
kripken c79828f6b8 Merge pull request #47 from max99x/master
Emscripten.py rewrite
2011-07-09 10:28:19 -07:00
max99x 11e404d7a8 Polish for emscripten.py and its tests. 2011-07-09 20:14:00 +03:00
max99x 8ffd5c52ca Merge remote-tracking branch 'upstream/master' 2011-07-08 12:53:20 +03:00
max99x b84bb001de Added hyperbolic math functions;
Fixed trailing zero stripping in formatString().
2011-07-08 11:46:20 +03:00
max99x 1bd1893888 * Added support for automatically determining llvm-gcc/clang data layout in emscripten.py.
* Added a dlmalloc linking test.
* Fixed double-evaling of JSON in emscripten.py when --dlmalloc is passed.
2011-07-08 08:39:31 +03:00
max99x 631e2dc9a4 Added a test for running emscripten.py straight on a .bc file. 2011-07-08 07:33:37 +03:00
max99x 9cfc7d9e9d Added a test for unannotated LL. 2011-07-08 07:23:03 +03:00
max99x f0bb154229 * Moved pick_llvm_opts() to tools/shared.py.
* Using pick_llvm_opts() instead of hardcoding -O3 in emscripten.py.
* Reassembling only when needed in emscripten.py.
2011-07-08 07:04:38 +03:00
Alon Zakai 1a599856b4 comment about test_cases 2011-07-07 17:58:35 -07:00
max99x 7dcdb044d3 Rewrite of emscripten.py:
* Uses option arguments instead of positional ones.
* Allows linking to dlmalloc.
* Accepts both .bc and .ll files and takes care of annotations.
* Allows running the LLVM optimization pass automatically.
* Updated test runner to use the new emscripten.py interface.

Refactoring:
* Moved settings.py to root folder. It no longer applies just to tests.
* Updated references to settings.py.
* Added an __init__.py to tools, so we don't have to hack around imports.
2011-07-07 12:24:09 +03:00
Alon Zakai 8e4dc2caa6 improved bindings generator 2011-07-06 20:50:04 -07:00
Alon Zakai 1aeee076cf ensure binding functions are not DFE'd away 2011-07-04 12:17:06 -07:00
Alon Zakai a4262aa2c9 support for llvm aliases 2011-07-04 11:51:22 -07:00
Alon Zakai 7653c3b900 initial work on bindings generator, using CppHeaderParser and ply. llvm-gcc only for now 2011-07-03 23:51:38 -07:00
max99x a440e9845a Merge remote-tracking branch 'upstream/master' 2011-07-03 07:42:26 +03:00