Commit Graph
8 Commits
Author SHA1 Message Date
Kyle Marek-Spartz a132bca534 fix: switch Google Fonts link to protocol-relative URL in template.html
Remove the explicit `https:` scheme from the Google Fonts stylesheet href in
`doc/site/template.html` to avoid mixed content warnings when the site is served
over HTTP and to allow the browser to automatically use the same protocol as the
page.
2015-01-09 15:25:06 +00:00
Kyle Marek-Spartz 9a0ead8fec fix: switch Google Fonts stylesheet URL from http to https to resolve Firefox Mixed Content errors 2015-01-09 01:57:15 +00:00
Kyle Marek-Spartz 74a6b32d7f docs: fix typo in expressions documentation changing "they behavior" to "their behavior" 2015-01-08 15:32:50 +00:00
Kyle Marek-Spartz 1180516d0c style: adjust print formatting in benchmark output for consistency 2015-01-06 23:57:57 +00:00
Kyle Marek-Spartz 3127ea9c68 fix: alert missing interpreter in run_trial instead of crashing on OSError
Wrap the subprocess.check_output call in a try-except block for OSError. When the interpreter binary is not found, print a user-friendly message and return None from run_trial rather than letting the exception propagate and halt the benchmark run.
2015-01-06 22:49:09 +00:00
Kyle Marek-Spartz f26801dc6e feat: add benchmark file metrics tracking with line and TODO counters
Add four new counters (num_benchmark_files, num_benchmark_todos, num_benchmark_empty, num_benchmark) and a walk over the benchmark directory to count .wren files, empty/non-empty lines, and TODO patterns. Print the new benchmark section after the existing test output.
2015-01-06 22:20:52 +00:00
Kyle Marek-Spartz 9ec401bdc9 fix: convert print statements to functions and add future import for Python 3 compatibility 2015-01-06 22:20:21 +00:00
Kyle Marek-Spartz 864a70abdf feat: make Python scripts compatible with both Python 2 and 3
Update print statements to function syntax, add from __future__ import print_function in test.py, change shebangs to /usr/bin/env python, replace str.translate with re.sub for anchor sanitization in generate_docs.py, and decode subprocess output to utf-8 in test.py for cross-version string handling.
2015-01-06 02:09:23 +00:00