Commit Graph

12 Commits

Author SHA1 Message Date
Alon Zakai
e375d247f2 Strip the tot value. (#375)
Opening it and saving it in an editor can add a newline, and we have user
reports of this happening for users.

Fixes emscripten-core/emscripten#9651
2019-10-17 15:26:22 -07:00
Alon Zakai
7f9af7bd1a 1.38.48 (#371) 2019-10-11 09:13:44 -07:00
Nikolaos S. Papaspyrou
27d6233c80 Add support for constructing a t?csh environment (#370) 2019-10-10 14:55:27 -07:00
Sam Clegg
cf01b11c4e Fix for default NODE_JS in config file (#369)
This was broken in #362
2019-10-09 11:33:15 -07:00
Sam Clegg
6ab7f5829a Cleanup emsdk.py (#362)
- Remove some unneeded use of `global` keyword
- Use OrderedDict
- Add exit_with_error helper
- Remove SPIDERMONKY_ENGINE from emscripten config
2019-10-07 17:02:15 -07:00
Hills
29ad7fab7b Add a warning on old Python SSL/TLS certificates (#354)
The OSX message is [SSL: CERTIFICATE_VERIFY_FAILED] while trying to download files.
While, the Linux Python message is less descriptive.
Error downloading URL 'https://xxxx.xxx.xxx': <urlopen error unknown url type: https>.

This hopefully reduces the stream of common issues raised during installation as a result of the change of Python TLS certs to 2048 or greater.
This change relates to  #133 #136 #140 #176 #6275 #6548 #6723 #9036 … and possibly more.

Installation can be accomplished by installing the latest Python certificates (pip install certifi), symbolic linking a new python version, and relying on the python shebang line to run $ ./emsdk.py install latest.
2019-10-07 14:08:53 -07:00
Alon Zakai
a6c8e25a59 Remove some mozilla-games remnants (#360)
Remove obsolete docs links.

Remove downloading of the old releases list, and bundle the file in the repo.

Also the message in update-tags was wrong: we need git to do anything there now, as update-tags gets emscripten-releases using git currently (which is ok as update-tags is run by users that installed with git; otherwise they installed without git and just update the entire emsdk normally).
2019-09-23 10:37:49 -07:00
Sam Clegg
252410a7e8 Handle missing downloads gracefully (#353)
Previously we were asserting and generating a stack track if a
download failed.  However the assert is only relevant if the download
succeeds.

Also:

- Remove an unused function
- Remove extra braces from tuple destructuring
2019-09-13 14:53:04 -07:00
Sam Clegg
40495c0a31 Fix a bunch of flake8 warnings (#239)
Now that we have much better testing in CI this kind of change
should be much easier to make with confidence.
2019-08-29 12:15:39 -07:00
Sam Clegg
880be59788 Add circleci config with mac, windows and linux testing (#338)
- Add EMSDK_NOTTY variable which we can use on CI to prevent tty output.
- Add test.bat for windows which mirrors test.sh.
- Remove travis support
2019-08-29 00:35:36 -07:00
Sam Clegg
f68effe57e Update flake8 and fix warnings in .py files (#334) 2019-08-28 15:15:38 -07:00
Sam Clegg
a562ff7bda Use a wrapper script for running emsdk.py (#292)
This change moves the python code for emsdk into a file ending in .py.
This script is then run via emsdk.bat on windows or emsdk (a shell
script) on non-windows.

This avoid the #!/bin/sh at the top of the python script and the "exec"
hack on the first line that re-runs it under python.  Hopefully this
preserves the intent of #273 without jumping through so many hoops.
2019-08-27 14:02:50 -07:00