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

2360 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 39479d6ea7 Merge pull request #1138 from sylvestre/incoming
Minor improvements in the sources
2013-05-06 12:44:41 -07:00
Alon Zakai 300e44e423 remove tests/cases/gepoverflow since it is too finicky with absolute pointers 2013-05-06 12:04:29 -07:00
Alon Zakai bf673b03ca add test for sdl allocation, and warn when using stub malloc/free 2013-05-05 16:12:43 -07:00
Alon Zakai 558ac1930b generalize customizeVTable to support asm 2013-05-05 13:20:30 -07:00
Alon Zakai 9e05d4f86a update test_statics 2013-05-05 10:04:59 -07:00
Alon Zakai eadd89b7c8 make memory management sane: 0 is null, then static including globals, then stack, then dynamic/sbrk. deprecate shared libs (BUILD_AS_SHARED_LIB) 2013-05-04 19:53:45 -07:00
Sylvestre Ledru aa7dbbb0bb Remove more +x permissions on source or javascript files 2013-05-04 17:32:14 +02:00
Alon Zakai 1e3e0e5cf1 Merge pull request #1126 from imvu/more_embind_updates
More embind updates
2013-05-03 13:40:01 -07:00
Alon Zakai 40a5c44d66 Merge branch 'strcat-fix' of github.com:fairfieldt/emscripten into fairfieldt-strcat-fix 2013-05-03 13:30:41 -07:00
Sylvestre Ledru 155342908c Remove executable permissions on simple files 2013-05-03 13:18:26 -07:00
Alon Zakai af15d3e5c9 update tests 2013-05-03 11:40:44 -07:00
Alon Zakai 505f5f10af fix some logging uses 2013-05-03 10:44:16 -07:00
Alon Zakai adb56cb89a update test_structbyval 2013-05-02 18:56:57 -07:00
Chad Austin 8237fb35bc Oops, fix a test leak. 2013-05-02 18:56:27 -07:00
Chad Austin 2d628d4290 Add a test for interface methods that return void. 2013-05-02 18:56:18 -07:00
Chad Austin 58352074e5 Add a benchmark for calling from C++ into JS via interfaces 2013-05-02 18:55:54 -07:00
Chad Austin 9607e5be25 Add isAliasOf for seeing if two embind handles point to the same underlying object.
Conflicts:
	tests/embind/embind_test.cpp
2013-05-02 18:55:07 -07:00
Chad Austin 5452666756 checkpoint object handle composition 2013-05-02 18:55:00 -07:00
Chad Austin 6566a0c989 Add a select_const for selecting the const method implementation if there are only two.
Conflicts:
	tests/embind/embind_test.cpp
2013-05-02 18:54:27 -07:00
Alon Zakai 0c73784c42 fix test_runtimelink 2013-05-02 18:46:08 -07:00
Tom Fairfield 4bdc1b05e8 fixes strcat so that it returns the correct value
It should return the "dest" pointer that was passed in.
test_strings has been updated with a test for the correct behavior.
2013-05-02 21:39:32 -03:00
Alon Zakai 0fb5e1babc fix sanity.test_emcc 2013-05-02 17:30:50 -07:00
Alon Zakai 877139dc19 fix test_firstrun 2013-05-02 17:29:50 -07:00
Alon Zakai d415b4145d ensure floats in varargs 2013-05-02 15:36:38 -07:00
Alon Zakai 6b5e7e2901 check sanity later in test runner, so we can know env settings, and do not needless tear down le32 stuff 2013-05-02 15:31:52 -07:00
Alon Zakai 18d740126c unpress keys when losing focus 2013-05-01 14:57:52 -07:00
Alon Zakai 94e097a1fd require -g with jcache, fixes test_jcache 2013-05-01 11:11:19 -07:00
Alon Zakai 18c03af5f0 Merge branch 'newtriple' into incoming 2013-05-01 10:01:16 -07:00
Alon Zakai 263df2b1e2 fix benchmarks 2013-04-30 18:07:22 -07:00
Alon Zakai 6a9dcd37e9 use target in test runner library cache 2013-04-30 17:48:36 -07:00
Alon Zakai 0f67578eff fix le32 detection in test runner 2013-04-30 17:41:27 -07:00
Alon Zakai e64bcc5d2e simplify compiler flags in test runner, now that we use emcc 2013-04-30 16:09:54 -07:00
Alon Zakai f786185043 use emcc in test runner to compile to bitcode, to make sure it gets the target right 2013-04-30 15:36:01 -07:00
Alon Zakai 9cd0580f3c add support for changing the llvm target using EMCC_LLVM_TARGET in the env 2013-04-30 12:30:10 -07:00
Alon Zakai 623871bc2b store target in sanity file, so changing it causes the cache to be flushed 2013-04-30 10:44:33 -07:00
Bruce Mitchener dd7c2d9164 Use isfinite() instead of finite().
finite() was from BSD days, isfinite() is the standard now.
2013-04-30 15:46:26 +07:00
Alon Zakai 80343d7637 add glew test and some degree of support 2013-04-29 18:19:55 -07:00
Alon Zakai 60960a6a1f do not get confused by local vars that alias names of library functions, and are used as function pointers 2013-04-29 17:14:08 -07:00
Alon Zakai d6ea75e7f2 add python le32 bitcode file + instructions 2013-04-29 16:26:44 -07:00
Alon Zakai aa62072c9b make lua test build from source 2013-04-29 13:53:27 -07:00
Alon Zakai 3bc476a569 disable test_dlmalloc_partial_2 with CHECK_HEAP_ALIGN, like SAFE_HEAP 2013-04-29 13:02:33 -07:00
Alon Zakai 37ef568b2e disable test_lua in le32 2013-04-29 13:02:33 -07:00
Alon Zakai 200c188d21 align struct fields to 64-bit in le32 2013-04-29 13:02:33 -07:00
Alon Zakai f7c4e5176d disable test_unaligned in le32 2013-04-29 13:02:33 -07:00
Alon Zakai 7c350b5163 autofail test_unaligned 2013-04-29 13:02:33 -07:00
Alon Zakai e997f18e44 add heap alignment checks to asm1 2013-04-29 13:01:59 -07:00
Alon Zakai 9b8e4488d7 use fasta names 2013-04-29 13:01:59 -07:00
Alon Zakai 91db790951 add benchmark.test_fasta_double_full, with DOUBLE_MODE=1 2013-04-29 13:01:59 -07:00
Alon Zakai df08074e4c enable benchmark.test_fasta_double to test handling of doubles 2013-04-29 13:01:59 -07:00
Alon Zakai 741365c789 update test_structbyval 2013-04-29 13:01:59 -07:00
Alon Zakai 9270ab0773 update test_python 2013-04-29 13:01:59 -07:00
Alon Zakai f3ef63bc4a update test_varargs_byval 2013-04-29 13:01:59 -07:00
Alon Zakai 47f1437453 update test_unaligned 2013-04-29 13:01:58 -07:00
Alon Zakai e3c27642a8 update test_pystruct 2013-04-29 13:01:58 -07:00
Alon Zakai dee5b6982c Merge pull request #1114 from waywardmonkeys/wrong-int64-type
Use the standard int64_t rather than __int64_t.
2013-04-29 12:53:01 -07:00
Alon Zakai 72befd5a68 Merge pull request #1113 from waywardmonkeys/missing-stdint-includes
Include <stdint.h> to use int64_t.
2013-04-29 12:52:41 -07:00
Alon Zakai 2e6686a51f Merge pull request #1111 from waywardmonkeys/use_va_copy
Use va_copy (C99) instead of __va_copy (GNU ext).
2013-04-29 12:51:03 -07:00
Alon Zakai 68642fde1e Merge pull request #1110 from waywardmonkeys/fix_test_799_include_path
This header is <arpa/inet.h>, not <net/arpa/...>
2013-04-29 12:50:38 -07:00
Alon Zakai 3a108dc9cd ERROR_ON_UNRESOLVED_SYMBOLS option 2013-04-29 12:12:32 -07:00
Alon Zakai f06f3dc128 update benchmarks 2013-04-29 11:00:23 -07:00
Bruce Mitchener b1426dcfab Use the standard int64_t rather than __int64_t. 2013-04-29 22:22:16 +07:00
Bruce Mitchener 868ae0d8e5 Include <stdint.h> to use int64_t. 2013-04-29 22:12:36 +07:00
Bruce Mitchener 82a55f49df Use va_copy (C99) instead of __va_copy (GNU ext).
musl libc headers don't have __va_copy as it is a GNU extension
and hasn't been needed for over a decade.
2013-04-29 21:35:26 +07:00
Bruce Mitchener 6b98f6ca92 This header is <arpa/inet.h>, not <net/arpa/...> 2013-04-29 18:20:35 +07:00
Alon Zakai 5ba1a0e94f do not swallow exceptions in invoke_* that are not C++ exceptions or longjmp 2013-04-28 17:04:51 -07:00
Alon Zakai 1796e1798e update benchmarks to have 0 be just start up 2013-04-26 19:01:09 -07:00
Alon Zakai a7768671a5 update test_emcc 2013-04-26 17:56:12 -07:00
Alon Zakai 6ab6f6130e fix test_llvm_nativizer 2013-04-26 17:50:19 -07:00
Alon Zakai d7ef40f359 fix test_runtimelink_multi 2013-04-26 17:45:27 -07:00
Alon Zakai a364fc71be refactor missing symbol tests 2013-04-26 17:41:54 -07:00
Alon Zakai 7a71deddd2 fix test_warn_undefined 2013-04-26 17:37:23 -07:00
Alon Zakai 0003a86864 fix test_life 2013-04-26 17:31:17 -07:00
Alon Zakai 75bf333498 fix auto-returns after aborts in float-returning functions, and enable poppler in asm 2013-04-26 14:50:30 -07:00
Éloi Rivard cb76c6e992 * Added comments on edited code. 2013-04-26 22:12:28 +02:00
Éloi Rivard c6c8356c81 * Removed some freetype ASM_JS warnings. 2013-04-26 18:38:59 +02:00
Alon Zakai d239ec265a standardize benchmark inputs 2013-04-25 21:32:43 -07:00
Alon Zakai 46630aa446 informative error on bad function pointer call with ASSERTIONS=1 2013-04-25 15:44:54 -07:00
Alon Zakai ca2633c821 test for dangerous function pointer casts in asm 2013-04-25 15:08:15 -07:00
Alon Zakai e66467d1be fix test_life 2013-04-25 14:19:33 -07:00
Alon Zakai 5db12d067e fix llvm_uadd_with_overflow_i64 in the case of 0 higher bits 2013-04-25 13:59:25 -07:00
Alan Kligman 87ce53bcc7 Add browser.test_preload_caching to unit tests. Replace modified-time check with uuid check for cached packages, and remove HEAD XHR. 2013-04-25 00:58:26 -04:00
Alon Zakai a81c27d892 Merge pull request #1088 from juj/branchless_i64_ops
Remove 'if()' branches from i64 add and subtract code.
2013-04-24 16:09:03 -07:00
Alon Zakai e6b1b23b34 warn on missing functions 2013-04-24 13:25:51 -07:00
Alon Zakai fafd0b49ad update tests 2013-04-24 09:25:36 -07:00
Alon Zakai 087231e369 auto-generate library stubs that abort for missing library functions, and implement DEAD_FUNCTIONS that way 2013-04-24 09:14:54 -07:00
Alon Zakai 9971952dd5 disable s_x_x in test_libcextra 2013-04-23 19:50:05 -07:00
Alon Zakai f6fa219f12 Merge pull request #1063 from waywardmonkeys/musl-libc
Add wchar and multibyte libc functions
2013-04-23 18:50:47 -07:00
Alon Zakai a5e96a395f fix memory corruption in setjmp/asm.js; fixes #1087 2013-04-23 14:56:14 -07:00
Jukka Jylänki b1c49bd22d Improve test/cases/uadd_overflow_64_ta2.ll to check that the tricky addition case 0xFFFFFFFFFFFFFFFF + 0x0000000100000001 is handled correctly. 2013-04-23 22:46:04 +03:00
Alon Zakai 27601a8a9f add test for repeated longjmp to a single setjmp 2013-04-23 11:16:11 -07:00
Alon Zakai 23ed21d54e clear errors on calling dead functions 2013-04-23 10:54:59 -07:00
Alon Zakai 40edec0ec8 use invoke when doing a setjmp-guarding call via a function pointer 2013-04-22 20:38:00 -07:00
Alon Zakai 247ae2e571 show clear error message instead of 987 when too many setjmp calls 2013-04-22 13:08:40 -07:00
Jukka Jylänki 9a37f4ce7d In test_time, be more relaxed about the time wait condition - thread scheduling/system contention may interfere with the wait and produce a longer wait than 2 seconds. 2013-04-22 20:43:46 +03:00
Alon Zakai b80d879b78 fix argument hardcoding 2013-04-22 09:31:22 -07:00
Bruce Mitchener 654b36699e Move wchar,mb stuff to libcextra. 2013-04-22 18:51:43 +07:00
Jukka Jylänki fe8c5821fc Add new passgameobject_ptr embind benchmark to test smartptr routing in and out of functions. 2013-04-21 09:15:05 +03:00
Alon Zakai 31872fbd01 support for Runtime.addFunction in asm.js 2013-04-19 20:36:02 -07:00
Alon Zakai 9089dc78a6 add erf dep and testing 2013-04-19 16:28:43 -07:00
Alon Zakai 9e66630084 add testing for gl in asm2g 2013-04-19 15:55:38 -07:00