aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog38
-rw-r--r--tests/test_browser.py16
2 files changed, 47 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index cca1b833..94a24675 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,44 @@ To browse or download snapshots of old tagged versions, visit https://github.com
Not all changes are documented here. In particular, new features, user-oriented fixes, options, command-line parameters, usage changes, deprecations, significant internal modifications and optimizations etc. generally deserve a mention. To examine the full set of changes between versions, visit the link to full changeset diff at the end of each section.
+Current trunk code
+------------------
+ - To see a list of commits that in the active development branch 'incoming', which have not yet been packaged in a release, see
+ https://github.com/kripken/emscripten/compare/1.7.5...incoming
+
+v1.7.5: 11/13/2013
+------------------
+ - Fix issues with the built-in C++ function name demangler.
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.4...1.7.5
+
+v1.7.4: 11/12/2013
+------------------
+ - Fixed issues with BSD sockets code and SDL joystick implementation.
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.3...1.7.4
+
+v1.7.3: 11/12/2013
+------------------
+ - Added support for generating single-precision floating point instructions.
+ - For more information, read https://blog.mozilla.org/javascript/2013/11/07/efficient-float32-arithmetic-in-javascript/
+ - Made GLES2 support library more spec-conformant by throwing fewer exceptions on errors. Be sure to build with -s GL_ASSERTIONS=1, remember to use glGetError() and check the browser console to best detect WebGL rendering errors.
+ - Converted return value of emscripten_get_now() from float to double, to not lose precision in the function call.
+ - Added support for joysticks in SDL via the Gamepad API
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.2...1.7.3
+
+v1.7.2: 11/9/2013
+------------------
+ - The compiler now always generates a .js file that contains the generated source code even when compiling to a .html file.
+ - Read https://groups.google.com/forum/#!topic/emscripten-discuss/EuHMwqdSsEs
+ - Implemented depth+stencil buffer choosing behavior in GLUT, SDL and GLFW.
+ - Fixed memory leaks generated by glGetString and eglGetString.
+ - Greatly optimized startup times when virtual filesystems with a large amount of files in them.
+ - Added some support for SIMD generated by LLVM.
+ - Fixed some mappings with SDL keyboard codes.
+ - Added a new command line parameter --no-heap-copy to compiler and file packager that can be used to optimize VFS memory usage at startup.
+ - Updated libcxx to revision 194185, 2013-11-07.
+ - Improvements to various library support.
+ - Full list of changes: https://github.com/kripken/emscripten/compare/1.7.1...1.7.2
+
v1.7.1: 10/24/2013
------------------
- Remove old call to Runtime.warn in file packager code
diff --git a/tests/test_browser.py b/tests/test_browser.py
index f2bcaa93..128820b3 100644
--- a/tests/test_browser.py
+++ b/tests/test_browser.py
@@ -1,12 +1,15 @@
-import BaseHTTPServer, multiprocessing, os, shutil, subprocess, unittest, zlib
+import BaseHTTPServer, multiprocessing, os, shutil, subprocess, unittest, zlib, webbrowser, time, shlex
from runner import BrowserCore, path_from_root
from tools.shared import *
-''' Enable this code to run in another browser than webbrowser detects as default
-def run_in_other_browser(url):
- execute(['yourbrowser', url])
-webbrowser.open_new = run_in_other_browser
-'''
+# User can specify an environment variable EMSCRIPTEN_BROWSER to force the browser test suite to
+# run using another browser command line than the default system browser.
+emscripten_browser = os.environ.get('EMSCRIPTEN_BROWSER')
+if emscripten_browser:
+ cmd = shlex.split(emscripten_browser)
+ def run_in_other_browser(url):
+ Popen(cmd + [url])
+ webbrowser.open_new = run_in_other_browser
def test_chunked_synchronous_xhr_server(support_byte_ranges, chunkSize, data, checksum):
class ChunkedServerHandler(BaseHTTPServer.BaseHTTPRequestHandler):
@@ -108,7 +111,6 @@ class browser(BrowserCore):
cwd=self.get_dir()).communicate()
assert os.path.exists(html_file)
assert os.path.exists(html_file + '.map')
- import webbrowser, time
webbrowser.open_new('file://' + html_file)
time.sleep(1)
print '''