[pypy-commit] lang-js default: Fixed a but in optimized array member access.

2013-05-15 Thread stepahn
Author: Stephan Branch: Changeset: r380:96c04922c1ef Date: 2013-05-15 10:19 +0200 http://bitbucket.org/pypy/lang-js/changeset/96c04922c1ef/ Log:Fixed a but in optimized array member access. Thanks to Andrews Medina https://bitbucket.org/andrewsmedina for finding and supplyin

[pypy-commit] lang-js default: Merged changes

2013-05-13 Thread stepahn
Author: Stephan Branch: Changeset: r378:cc983acc4a7f Date: 2013-05-13 09:15 +0200 http://bitbucket.org/pypy/lang-js/changeset/cc983acc4a7f/ Log:Merged changes diff --git a/README.rst b/README.rst new file mode 100644 --- /dev/null +++ b/README.rst @@ -0,0 +1,17 @@ +langjs +== + +langjs

[pypy-commit] lang-js default: cleaned up comparsion code

2013-05-13 Thread stepahn
Author: Stephan Branch: Changeset: r377:fb52d8a52d9e Date: 2013-05-13 09:11 +0200 http://bitbucket.org/pypy/lang-js/changeset/fb52d8a52d9e/ Log:cleaned up comparsion code diff --git a/js/baseop.py b/js/baseop.py --- a/js/baseop.py +++ b/js/baseop.py @@ -3,10 +3,12 @@ """ from js.jsobj i

[pypy-commit] lang-js default: backed out of 9e9af1fdf61d due to performance issues

2013-03-21 Thread stepahn
Author: Stephan Branch: Changeset: r374:81e6e06fb4aa Date: 2013-03-21 16:35 +0100 http://bitbucket.org/pypy/lang-js/changeset/81e6e06fb4aa/ Log:backed out of 9e9af1fdf61d due to performance issues diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -1187,6 +1187,7

[pypy-commit] lang-js default: changed version string to include hg id and build time

2013-03-21 Thread stepahn
Author: Stephan Branch: Changeset: r373:2d3ad1d9eda1 Date: 2013-03-21 16:33 +0100 http://bitbucket.org/pypy/lang-js/changeset/2d3ad1d9eda1/ Log:changed version string to include hg id and build time diff --git a/js/builtins/js_global.py b/js/builtins/js_global.py --- a/js/builtins/js_global

[pypy-commit] lang-js default: added annotation

2013-03-21 Thread stepahn
Author: Stephan Branch: Changeset: r372:1d6b0ccb866f Date: 2013-03-20 17:46 +0100 http://bitbucket.org/pypy/lang-js/changeset/1d6b0ccb866f/ Log:added annotation diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -956,6 +956,7 @@ from js.object_space impor

[pypy-commit] lang-js default: pass function name into printable location

2013-03-20 Thread stepahn
Author: Stephan Branch: Changeset: r368:d4640c906e90 Date: 2013-03-20 16:22 +0100 http://bitbucket.org/pypy/lang-js/changeset/d4640c906e90/ Log:pass function name into printable location diff --git a/js/functions.py b/js/functions.py --- a/js/functions.py +++ b/js/functions.py @@ -160,6 +16

[pypy-commit] lang-js default: use _idx_put in LOAD_ARRAY

2013-03-20 Thread stepahn
Author: Stephan Branch: Changeset: r367:937cc2089ea1 Date: 2013-03-20 16:21 +0100 http://bitbucket.org/pypy/lang-js/changeset/937cc2089ea1/ Log:use _idx_put in LOAD_ARRAY diff --git a/js/opcodes.py b/js/opcodes.py --- a/js/opcodes.py +++ b/js/opcodes.py @@ -179,7 +179,7 @@ list_w

[pypy-commit] lang-js default: added array trace view samples

2013-03-20 Thread stepahn
Author: Stephan Branch: Changeset: r363:eab8506c2aed Date: 2013-02-27 20:06 +0100 http://bitbucket.org/pypy/lang-js/changeset/eab8506c2aed/ Log:added array trace view samples diff --git a/test/jit_view.py b/test/jit_view.py --- a/test/jit_view.py +++ b/test/jit_view.py @@ -286,3 +286,87 @@

[pypy-commit] lang-js default: added array benchmarks

2013-03-20 Thread stepahn
Author: Stephan Branch: Changeset: r361:4cd3183a5d9e Date: 2013-02-27 20:05 +0100 http://bitbucket.org/pypy/lang-js/changeset/4cd3183a5d9e/ Log:added array benchmarks diff --git a/bench/array/run.js b/bench/array/run.js new file mode 100644 --- /dev/null +++ b/bench/array/run.js @@ -0,0 +1,

[pypy-commit] lang-js default: added float jit viewer test

2013-03-20 Thread stepahn
Author: Stephan Branch: Changeset: r371:642c59a0ffd5 Date: 2013-03-20 16:24 +0100 http://bitbucket.org/pypy/lang-js/changeset/642c59a0ffd5/ Log:added float jit viewer test diff --git a/test/jit_view.py b/test/jit_view.py --- a/test/jit_view.py +++ b/test/jit_view.py @@ -48,6 +48,20 @@

[pypy-commit] lang-js default: removed some annotaitons

2013-03-20 Thread stepahn
Author: Stephan Branch: Changeset: r370:9e9af1fdf61d Date: 2013-03-20 16:23 +0100 http://bitbucket.org/pypy/lang-js/changeset/9e9af1fdf61d/ Log:removed some annotaitons diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -1186,7 +1186,6 @@ @enforceargs(int) -@

[pypy-commit] lang-js default: use _idx_put in array constructor

2013-03-20 Thread stepahn
Author: Stephan Branch: Changeset: r369:a380e25f0db6 Date: 2013-03-20 16:23 +0100 http://bitbucket.org/pypy/lang-js/changeset/a380e25f0db6/ Log:use _idx_put in array constructor diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -1015,13 +1015,13 @@ e

[pypy-commit] lang-js default: added LOAD_MEMBER_DOT alias for LOAD_MEMBER for debugging

2013-03-20 Thread stepahn
Author: Stephan Branch: Changeset: r366:2ee7cb2fc38e Date: 2013-03-20 16:20 +0100 http://bitbucket.org/pypy/lang-js/changeset/2ee7cb2fc38e/ Log:added LOAD_MEMBER_DOT alias for LOAD_MEMBER for debugging diff --git a/js/opcodes.py b/js/opcodes.py --- a/js/opcodes.py +++ b/js/opcodes.py @@ -26

[pypy-commit] lang-js default: fixed integer to float contamination

2013-03-20 Thread stepahn
Author: Stephan Branch: Changeset: r365:f6a6c15c2f42 Date: 2013-03-20 16:19 +0100 http://bitbucket.org/pypy/lang-js/changeset/f6a6c15c2f42/ Log:fixed integer to float contamination diff --git a/js/baseop.py b/js/baseop.py --- a/js/baseop.py +++ b/js/baseop.py @@ -3,7 +3,7 @@ """ from js

[pypy-commit] lang-js default: optimized array index access

2013-03-20 Thread stepahn
Author: Stephan Branch: Changeset: r364:856ad47ccf75 Date: 2013-02-27 23:40 +0100 http://bitbucket.org/pypy/lang-js/changeset/856ad47ccf75/ Log:optimized array index access diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -18,6 +18,14 @@ NOT_ARRAY_INDEX = -1

[pypy-commit] lang-js default: back array by dict

2013-03-20 Thread stepahn
Author: Stephan Branch: Changeset: r362:6bb16769d0c0 Date: 2013-02-27 20:06 +0100 http://bitbucket.org/pypy/lang-js/changeset/6bb16769d0c0/ Log:back array by dict access array with integer index diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -12,10 +12,39 @@

[pypy-commit] lang-js default: optimized property access

2013-02-21 Thread stepahn
Author: Stephan Branch: Changeset: r360:33a38e14a318 Date: 2013-02-21 14:57 +0100 http://bitbucket.org/pypy/lang-js/changeset/33a38e14a318/ Log:optimized property access diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -2,7 +2,7 @@ from rpython.rlib.rarithmetic

[pypy-commit] lang-js default: optimized declarative binding initialization

2013-02-21 Thread stepahn
Author: Stephan Branch: Changeset: r359:1e753170a6e1 Date: 2013-02-21 14:56 +0100 http://bitbucket.org/pypy/lang-js/changeset/1e753170a6e1/ Log:optimized declarative binding initialization diff --git a/js/astbuilder.py b/js/astbuilder.py --- a/js/astbuilder.py +++ b/js/astbuilder.py @@ -320

[pypy-commit] lang-js default: re-enabeld jit-viewer

2013-02-19 Thread stepahn
Author: Stephan Branch: Changeset: r356:22529703a4ae Date: 2013-02-19 12:59 +0100 http://bitbucket.org/pypy/lang-js/changeset/22529703a4ae/ Log:re-enabeld jit-viewer diff --git a/test/jit_view.py b/test/jit_view.py --- a/test/jit_view.py +++ b/test/jit_view.py @@ -1,4 +1,4 @@ -from pypy imp

[pypy-commit] lang-js default: added translatable date and time functions

2013-02-19 Thread stepahn
Author: Stephan Branch: Changeset: r358:0eca2e45608b Date: 2013-02-19 13:02 +0100 http://bitbucket.org/pypy/lang-js/changeset/0eca2e45608b/ Log:added translatable date and time functions diff --git a/js/builtins/date.py b/js/builtins/date.py --- a/js/builtins/date.py +++ b/js/builtins/date.

[pypy-commit] lang-js default: use unicodedb from rpython

2013-02-19 Thread stepahn
Author: Stephan Branch: Changeset: r357:36100f4aa72b Date: 2013-02-19 13:00 +0100 http://bitbucket.org/pypy/lang-js/changeset/36100f4aa72b/ Log:use unicodedb from rpython diff --git a/js/builtins/js_global.py b/js/builtins/js_global.py --- a/js/builtins/js_global.py +++ b/js/builtins/js_glo

[pypy-commit] lang-js default: updated imports from pypy to rpython

2013-02-17 Thread stepahn
Author: Stephan Branch: Changeset: r355:09ec22ba4517 Date: 2013-02-17 15:29 +0100 http://bitbucket.org/pypy/lang-js/changeset/09ec22ba4517/ Log:updated imports from pypy to rpython diff --git a/js/astbuilder.py b/js/astbuilder.py --- a/js/astbuilder.py +++ b/js/astbuilder.py @@ -1,6 +1,6 @@

[pypy-commit] lang-js default: deleted unused file

2013-02-17 Thread stepahn
Author: Stephan Branch: Changeset: r354:9ebc5003814d Date: 2013-02-17 15:29 +0100 http://bitbucket.org/pypy/lang-js/changeset/9ebc5003814d/ Log:deleted unused file diff --git a/js/newparser.py b/js/newparser.py deleted file mode 100644 --- a/js/newparser.py +++ /dev/null @@ -1,95 +0,0 @@ -f

[pypy-commit] lang-js default: removed dead code and fixed whitespaces

2013-02-15 Thread stepahn
Author: Stephan Branch: Changeset: r353:6993c1e37591 Date: 2013-02-15 14:09 +0100 http://bitbucket.org/pypy/lang-js/changeset/6993c1e37591/ Log:removed dead code and fixed whitespaces diff --git a/js/astbuilder.py b/js/astbuilder.py --- a/js/astbuilder.py +++ b/js/astbuilder.py @@ -356,12 +

[pypy-commit] lang-js default: more jit view tests

2013-02-15 Thread stepahn
Author: Stephan Branch: Changeset: r352:723ba8f60958 Date: 2013-02-15 14:09 +0100 http://bitbucket.org/pypy/lang-js/changeset/723ba8f60958/ Log:more jit view tests diff --git a/test/jit_view.py b/test/jit_view.py --- a/test/jit_view.py +++ b/test/jit_view.py @@ -106,6 +106,22 @@

[pypy-commit] lang-js default: moved SymbolMap into separate file

2013-02-15 Thread stepahn
Author: Stephan Branch: Changeset: r351:d1a5abd654d6 Date: 2013-02-15 14:08 +0100 http://bitbucket.org/pypy/lang-js/changeset/d1a5abd654d6/ Log:moved SymbolMap into separate file diff --git a/js/astbuilder.py b/js/astbuilder.py --- a/js/astbuilder.py +++ b/js/astbuilder.py @@ -4,59 +4,7 @@

[pypy-commit] lang-js default: unified new_map

2013-02-15 Thread stepahn
Author: Stephan Branch: Changeset: r350:9f8d4517536f Date: 2013-02-06 17:49 +0100 http://bitbucket.org/pypy/lang-js/changeset/9f8d4517536f/ Log:unified new_map diff --git a/js/environment_record.py b/js/environment_record.py --- a/js/environment_record.py +++ b/js/environment_record.py @@ -

[pypy-commit] lang-js default: added more jit viewer test cases

2013-02-03 Thread stepahn
Author: Stephan Branch: Changeset: r349:a907889d585c Date: 2013-02-03 17:37 +0100 http://bitbucket.org/pypy/lang-js/changeset/a907889d585c/ Log:added more jit viewer test cases diff --git a/test/jit_view.py b/test/jit_view.py --- a/test/jit_view.py +++ b/test/jit_view.py @@ -7,11 +7,22 @@

[pypy-commit] lang-js default: jit tuning

2013-02-03 Thread stepahn
Author: Stephan Branch: Changeset: r348:83da05a4775d Date: 2013-02-03 17:37 +0100 http://bitbucket.org/pypy/lang-js/changeset/83da05a4775d/ Log:jit tuning diff --git a/js/jscode.py b/js/jscode.py --- a/js/jscode.py +++ b/js/jscode.py @@ -1,6 +1,5 @@ #from pypy.rlib.jit import hint #from p

[pypy-commit] lang-js default: re-enabled and fixed virtualizables

2013-02-03 Thread stepahn
Author: Stephan Branch: Changeset: r347:4d28120584cd Date: 2013-02-01 13:20 +0100 http://bitbucket.org/pypy/lang-js/changeset/4d28120584cd/ Log:re-enabled and fixed virtualizables diff --git a/js/completion.py b/js/completion.py --- a/js/completion.py +++ b/js/completion.py @@ -2,6 +2,8 @@

[pypy-commit] lang-js default: removed dead code

2013-02-03 Thread stepahn
Author: Stephan Branch: Changeset: r346:f558b5dab11a Date: 2013-02-01 13:19 +0100 http://bitbucket.org/pypy/lang-js/changeset/f558b5dab11a/ Log:removed dead code diff --git a/js/jscode.py b/js/jscode.py --- a/js/jscode.py +++ b/js/jscode.py @@ -167,33 +167,7 @@ if self.has_labels:

[pypy-commit] lang-js default: assert date

2013-02-03 Thread stepahn
Author: Stephan Branch: Changeset: r345:1ea736642e6a Date: 2013-01-30 16:27 +0100 http://bitbucket.org/pypy/lang-js/changeset/1ea736642e6a/ Log:assert date diff --git a/js/builtins/date.py b/js/builtins/date.py --- a/js/builtins/date.py +++ b/js/builtins/date.py @@ -270,9 +270,19 @@ re

[pypy-commit] lang-js default: removed resizable stack code

2013-02-03 Thread stepahn
Author: Stephan Branch: Changeset: r344:2990200ab3f0 Date: 2013-01-19 14:28 +0100 http://bitbucket.org/pypy/lang-js/changeset/2990200ab3f0/ Log:removed resizable stack code diff --git a/js/execution_context.py b/js/execution_context.py --- a/js/execution_context.py +++ b/js/execution_contex

[pypy-commit] lang-js default: renamed js.execution to js.exception

2013-02-03 Thread stepahn
Author: Stephan Branch: Changeset: r343:ede3ac137de0 Date: 2013-01-18 14:28 +0100 http://bitbucket.org/pypy/lang-js/changeset/ede3ac137de0/ Log:renamed js.execution to js.exception diff --git a/js/builtins/array.py b/js/builtins/array.py --- a/js/builtins/array.py +++ b/js/builtins/array.py

[pypy-commit] lang-js default: moved reference code into separate file

2013-02-03 Thread stepahn
Author: Stephan Branch: Changeset: r342:50d27cfd406a Date: 2013-01-18 14:17 +0100 http://bitbucket.org/pypy/lang-js/changeset/50d27cfd406a/ Log:moved reference code into separate file diff --git a/js/lexical_environment.py b/js/lexical_environment.py --- a/js/lexical_environment.py +++ b/js

[pypy-commit] lang-js default: marked immutable fields

2013-01-14 Thread stepahn
Author: Stephan Branch: Changeset: r340:22e52dea7899 Date: 2013-01-09 11:00 +0100 http://bitbucket.org/pypy/lang-js/changeset/22e52dea7899/ Log:marked immutable fields diff --git a/js/opcodes.py b/js/opcodes.py --- a/js/opcodes.py +++ b/js/opcodes.py @@ -8,6 +8,8 @@ class Opcode(object

[pypy-commit] lang-js default: deleted unused opcode code

2013-01-14 Thread stepahn
Author: Stephan Branch: Changeset: r339:91cc8d6ca943 Date: 2013-01-09 10:49 +0100 http://bitbucket.org/pypy/lang-js/changeset/91cc8d6ca943/ Log:deleted unused opcode code diff --git a/js/opcodes.py b/js/opcodes.py --- a/js/opcodes.py +++ b/js/opcodes.py @@ -66,12 +66,6 @@ _stack_change

[pypy-commit] lang-js default: cleaned up commoncall and commonnew

2013-01-14 Thread stepahn
Author: Stephan Branch: Changeset: r341:301dfd045fd3 Date: 2013-01-09 11:09 +0100 http://bitbucket.org/pypy/lang-js/changeset/301dfd045fd3/ Log:cleaned up commoncall and commonnew diff --git a/js/opcodes.py b/js/opcodes.py --- a/js/opcodes.py +++ b/js/opcodes.py @@ -638,16 +638,17 @@

[pypy-commit] lang-js default: make W_Root settled

2013-01-14 Thread stepahn
Author: Stephan Branch: Changeset: r338:b62ede861110 Date: 2013-01-09 10:34 +0100 http://bitbucket.org/pypy/lang-js/changeset/b62ede861110/ Log:make W_Root settled diff --git a/js/builtins/array.py b/js/builtins/array.py --- a/js/builtins/array.py +++ b/js/builtins/array.py @@ -64,6 +64,8 @

[pypy-commit] lang-js default: refactored boxing

2013-01-08 Thread stepahn
Author: Stephan Branch: Changeset: r337:8a151cf97de6 Date: 2013-01-08 20:06 +0100 http://bitbucket.org/pypy/lang-js/changeset/8a151cf97de6/ Log:refactored boxing diff --git a/js/builtins/__init__.py b/js/builtins/__init__.py --- a/js/builtins/__init__.py +++ b/js/builtins/__init__.py @@ -1,

[pypy-commit] lang-js default: removed unused files

2013-01-08 Thread stepahn
Author: Stephan Branch: Changeset: r336:ef8b7e480059 Date: 2013-01-08 20:05 +0100 http://bitbucket.org/pypy/lang-js/changeset/ef8b7e480059/ Log:removed unused files diff --git a/js/console.py b/js/console.py deleted file mode 100644 --- a/js/console.py +++ /dev/null @@ -1,139 +0,0 @@ -#!/us

[pypy-commit] lang-js default: moved _w to js.object_space

2013-01-08 Thread stepahn
Author: Stephan Branch: Changeset: r335:77a0a486f6e4 Date: 2013-01-08 18:03 +0100 http://bitbucket.org/pypy/lang-js/changeset/77a0a486f6e4/ Log:moved _w to js.object_space diff --git a/js/baseop.py b/js/baseop.py --- a/js/baseop.py +++ b/js/baseop.py @@ -2,7 +2,8 @@ """ Base operations imp

[pypy-commit] lang-js default: re-organized builtins

2013-01-08 Thread stepahn
Author: Stephan Branch: Changeset: r334:7c7a58b2bf0b Date: 2013-01-08 17:21 +0100 http://bitbucket.org/pypy/lang-js/changeset/7c7a58b2bf0b/ Log:re-organized builtins diff --git a/js/astbuilder.py b/js/astbuilder.py --- a/js/astbuilder.py +++ b/js/astbuilder.py @@ -218,8 +218,8 @@ r

[pypy-commit] lang-js default: moved doc folder

2013-01-08 Thread stepahn
Author: Stephan Branch: Changeset: r333:1ee936b6c7c5 Date: 2013-01-08 16:07 +0100 http://bitbucket.org/pypy/lang-js/changeset/1ee936b6c7c5/ Log:moved doc folder diff --git a/js/doc/bytecode.txt b/doc/bytecode.txt rename from js/doc/bytecode.txt rename to doc/bytecode.txt ___

[pypy-commit] lang-js default: added loop benchmarks

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r330:a35850255c77 Date: 2012-12-28 11:12 +0100 http://bitbucket.org/pypy/lang-js/changeset/a35850255c77/ Log:added loop benchmarks diff --git a/js/bench/loop/base.js b/js/bench/loop/base.js deleted file mode 100644 --- a/js/bench/loop/base.js +++ /dev/null

[pypy-commit] lang-js default: updated jit view tests

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r328:ec9990b6a34c Date: 2012-12-28 11:08 +0100 http://bitbucket.org/pypy/lang-js/changeset/ec9990b6a34c/ Log:updated jit view tests diff --git a/js/test/jit.py b/js/test/jit_view.py rename from js/test/jit.py rename to js/test/jit_view.py --- a/js/test/jit

[pypy-commit] lang-js default: fixed cleanup after break in for/in loop

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r327:70d628d7642b Date: 2012-12-25 14:47 +0100 http://bitbucket.org/pypy/lang-js/changeset/70d628d7642b/ Log:fixed cleanup after break in for/in loop diff --git a/js/jscode.py b/js/jscode.py --- a/js/jscode.py +++ b/js/jscode.py @@ -42,6 +42,7 @@

[pypy-commit] lang-js default: fixed cleanup of loop head

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r326:8a2574c80508 Date: 2012-12-25 12:21 +0100 http://bitbucket.org/pypy/lang-js/changeset/8a2574c80508/ Log:fixed cleanup of loop head diff --git a/js/operations.py b/js/operations.py --- a/js/operations.py +++ b/js/operations.py @@ -1031,7 +1031,7 @@

[pypy-commit] lang-js default: moved looping tests into separate suite

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r325:7c959c8425bc Date: 2012-12-21 18:47 +0100 http://bitbucket.org/pypy/lang-js/changeset/7c959c8425bc/ Log:moved looping tests into separate suite diff --git a/js/bench/loop/base.js b/js/bench/loop/base.js new file mode 100644 --- /dev/null +++ b/js/benc

[pypy-commit] lang-js default: no need for no-exception-jseval

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r323:857128c82b9a Date: 2012-12-21 18:46 +0100 http://bitbucket.org/pypy/lang-js/changeset/857128c82b9a/ Log:no need for no-exception-jseval diff --git a/js/builtins_interpreter.py b/js/builtins_interpreter.py --- a/js/builtins_interpreter.py +++ b/js/buil

[pypy-commit] lang-js default: removed Interpreter.run_file

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r322:dad77daeb611 Date: 2012-12-21 18:45 +0100 http://bitbucket.org/pypy/lang-js/changeset/dad77daeb611/ Log:removed Interpreter.run_file diff --git a/js/builtins_interpreter.py b/js/builtins_interpreter.py --- a/js/builtins_interpreter.py +++ b/js/builtin

[pypy-commit] lang-js default: fix repl error handling

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r320:cc682c3cb2c5 Date: 2012-12-11 22:45 +0100 http://bitbucket.org/pypy/lang-js/changeset/cc682c3cb2c5/ Log:fix repl error handling diff --git a/js/py-js.py b/js/py-js.py --- a/js/py-js.py +++ b/js/py-js.py @@ -72,7 +72,7 @@ def print_sourcepos(filenam

[pypy-commit] lang-js default: fixed tests

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r318:8900acd9518c Date: 2012-12-11 16:35 +0100 http://bitbucket.org/pypy/lang-js/changeset/8900acd9518c/ Log:fixed tests diff --git a/js/test/ecma/conftest.py b/js/test/ecma/conftest.py --- a/js/test/ecma/conftest.py +++ b/js/test/ecma/conftest.py @@ -118,

[pypy-commit] lang-js default: better error message

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r316:4c5295270755 Date: 2012-12-11 16:32 +0100 http://bitbucket.org/pypy/lang-js/changeset/4c5295270755/ Log:better error message diff --git a/js/opcodes.py b/js/opcodes.py --- a/js/opcodes.py +++ b/js/opcodes.py @@ -682,7 +682,7 @@ # TODO if not

[pypy-commit] lang-js default: assert unicode identifiers

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r313:2c028cb476fd Date: 2012-12-11 16:29 +0100 http://bitbucket.org/pypy/lang-js/changeset/2c028cb476fd/ Log:assert unicode identifiers diff --git a/js/environment_record.py b/js/environment_record.py --- a/js/environment_record.py +++ b/js/environment_rec

[pypy-commit] lang-js default: strange hack to make references more jit-friendly

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r312:8d5191d68fe4 Date: 2012-12-11 16:21 +0100 http://bitbucket.org/pypy/lang-js/changeset/8d5191d68fe4/ Log:strange hack to make references more jit-friendly diff --git a/js/lexical_environment.py b/js/lexical_environment.py --- a/js/lexical_environment.p

[pypy-commit] lang-js default: fix try/catch stack handling

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r310:360e0e58f321 Date: 2012-12-11 16:18 +0100 http://bitbucket.org/pypy/lang-js/changeset/360e0e58f321/ Log:fix try/catch stack handling diff --git a/js/execution_context.py b/js/execution_context.py --- a/js/execution_context.py +++ b/js/execution_contex

[pypy-commit] lang-js default: cache resolved references in execution context

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r309:2481cfac22ff Date: 2012-12-11 16:15 +0100 http://bitbucket.org/pypy/lang-js/changeset/2481cfac22ff/ Log:cache resolved references in execution context diff --git a/js/execution_context.py b/js/execution_context.py --- a/js/execution_context.py +++ b/j

[pypy-commit] lang-js default: split adding and setting object properties

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r304:9d320448401d Date: 2012-09-04 16:10 +0200 http://bitbucket.org/pypy/lang-js/changeset/9d320448401d/ Log:split adding and setting object properties diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -240,8 +240,6 @@

[pypy-commit] lang-js default: promote constant global objects

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r303:2e05247c816b Date: 2012-09-04 16:05 +0200 http://bitbucket.org/pypy/lang-js/changeset/2e05247c816b/ Log:promote constant global objects diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -133,8 +133,10 @@ raise JsTy

[pypy-commit] lang-js default: immutable attributes for lexical environment

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r302:e3c9379963dc Date: 2012-09-04 16:04 +0200 http://bitbucket.org/pypy/lang-js/changeset/e3c9379963dc/ Log:immutable attributes for lexical environment diff --git a/js/lexical_environment.py b/js/lexical_environment.py --- a/js/lexical_environment.py +++

[pypy-commit] lang-js default: immutable attributes for JsCode

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r301:f08a48e5ddf8 Date: 2012-09-04 16:03 +0200 http://bitbucket.org/pypy/lang-js/changeset/f08a48e5ddf8/ Log:immutable attributes for JsCode diff --git a/js/jscode.py b/js/jscode.py --- a/js/jscode.py +++ b/js/jscode.py @@ -32,6 +32,8 @@ class JsCode(

[pypy-commit] lang-js default: removed elidable annotaiton from properties

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r299:5cef7b103d3a Date: 2012-09-04 16:02 +0200 http://bitbucket.org/pypy/lang-js/changeset/5cef7b103d3a/ Log:removed elidable annotaiton from properties diff --git a/js/property.py b/js/property.py --- a/js/property.py +++ b/js/property.py @@ -26,7 +26,6 @

[pypy-commit] lang-js default: mark function attributes immutable

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r298:d1560c3fe2b8 Date: 2012-09-04 16:01 +0200 http://bitbucket.org/pypy/lang-js/changeset/d1560c3fe2b8/ Log:mark function attributes immutable diff --git a/js/functions.py b/js/functions.py --- a/js/functions.py +++ b/js/functions.py @@ -48,6 +48,8 @@

[pypy-commit] lang-js default: changed string output

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r331:4437cf09b290 Date: 2012-12-28 11:13 +0100 http://bitbucket.org/pypy/lang-js/changeset/4437cf09b290/ Log:changed string output diff --git a/js/opcodes.py b/js/opcodes.py --- a/js/opcodes.py +++ b/js/opcodes.py @@ -148,7 +148,7 @@ ctx.stack_app

[pypy-commit] lang-js default: mark ObjectEnvironmentRecord._binding_object_ immutable

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r297:2c91b00ad550 Date: 2012-09-04 15:47 +0200 http://bitbucket.org/pypy/lang-js/changeset/2c91b00ad550/ Log:mark ObjectEnvironmentRecord._binding_object_ immutable diff --git a/js/environment_record.py b/js/environment_record.py --- a/js/environment_recor

[pypy-commit] lang-js default: fix Map.not_found

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r296:36e85c168342 Date: 2012-09-04 15:45 +0200 http://bitbucket.org/pypy/lang-js/changeset/36e85c168342/ Log:fix Map.not_found diff --git a/js/object_map.py b/js/object_map.py --- a/js/object_map.py +++ b/js/object_map.py @@ -18,7 +18,7 @@ @jit.elidab

[pypy-commit] lang-js default: implemented Date.now

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r324:c24ab50436a7 Date: 2012-12-21 18:46 +0100 http://bitbucket.org/pypy/lang-js/changeset/c24ab50436a7/ Log:implemented Date.now diff --git a/js/builtins_date.py b/js/builtins_date.py --- a/js/builtins_date.py +++ b/js/builtins_date.py @@ -88,6 +88,8 @@

[pypy-commit] lang-js default: static stack size

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r294:eed924e44c28 Date: 2012-09-04 15:40 +0200 http://bitbucket.org/pypy/lang-js/changeset/eed924e44c28/ Log:static stack size diff --git a/js/execution_context.py b/js/execution_context.py --- a/js/execution_context.py +++ b/js/execution_context.py @@ -3,

[pypy-commit] lang-js default: fixed date constructor

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r321:a749d54a3839 Date: 2012-12-12 15:49 +0100 http://bitbucket.org/pypy/lang-js/changeset/a749d54a3839/ Log:fixed date constructor diff --git a/js/builtins_date.py b/js/builtins_date.py --- a/js/builtins_date.py +++ b/js/builtins_date.py @@ -91,7 +91,7 @@

[pypy-commit] lang-js default: added hide_on_translate decorator to hide untraslatable methods

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r291:7831b84f40c0 Date: 2012-08-26 00:05 +0200 http://bitbucket.org/pypy/lang-js/changeset/7831b84f40c0/ Log:added hide_on_translate decorator to hide untraslatable methods diff --git a/js/builtins_date.py b/js/builtins_date.py --- a/js/builtins_date.py ++

[pypy-commit] lang-js default: handle get_binding_value properly

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r319:16f3a9108e70 Date: 2012-12-11 17:41 +0100 http://bitbucket.org/pypy/lang-js/changeset/16f3a9108e70/ Log:handle get_binding_value properly diff --git a/js/environment_record.py b/js/environment_record.py --- a/js/environment_record.py +++ b/js/environm

[pypy-commit] lang-js default: pep8

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r317:7ef91b236940 Date: 2012-12-11 16:35 +0100 http://bitbucket.org/pypy/lang-js/changeset/7ef91b236940/ Log:pep8 diff --git a/js/execution_context.py b/js/execution_context.py --- a/js/execution_context.py +++ b/js/execution_context.py @@ -190,6 +190,7 @@

[pypy-commit] lang-js default: replaced bindings dict of EnvironmentRecord with map

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r288:4cd0097a6f22 Date: 2012-08-25 21:40 +0200 http://bitbucket.org/pypy/lang-js/changeset/4cd0097a6f22/ Log:replaced bindings dict of EnvironmentRecord with map diff --git a/js/environment_record.py b/js/environment_record.py --- a/js/environment_record.p

[pypy-commit] lang-js default: use int for Array.reverse middle

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r287:c777cf5b9f0f Date: 2012-08-25 20:18 +0200 http://bitbucket.org/pypy/lang-js/changeset/c777cf5b9f0f/ Log:use int for Array.reverse middle diff --git a/js/builtins_array.py b/js/builtins_array.py --- a/js/builtins_array.py +++ b/js/builtins_array.py @@

[pypy-commit] lang-js default: assert some w_types

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r315:6e6a17017a60 Date: 2012-12-11 16:32 +0100 http://bitbucket.org/pypy/lang-js/changeset/6e6a17017a60/ Log:assert some w_types diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -281,6 +281,7 @@ if proto is w_Null:

[pypy-commit] lang-js default: mark immutable fields

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r314:38a3df9f5a9f Date: 2012-12-11 16:30 +0100 http://bitbucket.org/pypy/lang-js/changeset/38a3df9f5a9f/ Log:mark immutable fields diff --git a/js/environment_record.py b/js/environment_record.py --- a/js/environment_record.py +++ b/js/environment_record.p

[pypy-commit] lang-js default: added some jit annotations

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r286:276382b0bf8f Date: 2012-08-24 13:41 +0200 http://bitbucket.org/pypy/lang-js/changeset/276382b0bf8f/ Log:added some jit annotations diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -5,16 +5,21 @@ from js.execution import J

[pypy-commit] lang-js default: fix descriptor attribute access

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r311:8f3a92569f8b Date: 2012-12-11 16:20 +0100 http://bitbucket.org/pypy/lang-js/changeset/8f3a92569f8b/ Log:fix descriptor attribute access diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -218,10 +218,10 @@ if is_dat

[pypy-commit] lang-js default: hide js_trace from translator

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r285:90a5caed0f91 Date: 2012-08-24 13:32 +0200 http://bitbucket.org/pypy/lang-js/changeset/90a5caed0f91/ Log:hide js_trace from translator diff --git a/js/builtins_interpreter.py b/js/builtins_interpreter.py --- a/js/builtins_interpreter.py +++ b/js/builti

[pypy-commit] lang-js default: mark immutable fields on Reference

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r284:8f8a17e7646c Date: 2012-08-24 10:45 +0200 http://bitbucket.org/pypy/lang-js/changeset/8f8a17e7646c/ Log:mark immutable fields on Reference diff --git a/js/lexical_environment.py b/js/lexical_environment.py --- a/js/lexical_environment.py +++ b/js/lexi

[pypy-commit] lang-js default: handle lexer error

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r308:2b64e213c29b Date: 2012-12-11 12:22 +0100 http://bitbucket.org/pypy/lang-js/changeset/2b64e213c29b/ Log:handle lexer error diff --git a/js/py-js.py b/js/py-js.py --- a/js/py-js.py +++ b/js/py-js.py @@ -4,6 +4,7 @@ from js.execution import JsException

[pypy-commit] lang-js default: better error messages for exceptions

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r281:c6c45b6813f1 Date: 2012-08-24 10:26 +0200 http://bitbucket.org/pypy/lang-js/changeset/c6c45b6813f1/ Log:better error messages for exceptions diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -150,9 +150,9 @@ w_proto_setter

[pypy-commit] lang-js default: do not allow this in for-in

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r307:49538e407502 Date: 2012-12-11 12:19 +0100 http://bitbucket.org/pypy/lang-js/changeset/49538e407502/ Log:do not allow this in for-in diff --git a/js/execution.py b/js/execution.py --- a/js/execution.py +++ b/js/execution.py @@ -29,8 +29,15 @@ clas

[pypy-commit] lang-js default: use parse int in W_String.ToNumber ()

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r305:8b3a4555d227 Date: 2012-12-11 12:17 +0100 http://bitbucket.org/pypy/lang-js/changeset/8b3a4555d227/ Log:use parse int in W_String.ToNumber () diff --git a/js/builtins_global.py b/js/builtins_global.py --- a/js/builtins_global.py +++ b/js/builtins_glob

[pypy-commit] lang-js default: add constructor to date prototype

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r306:9075252019fe Date: 2012-12-11 12:18 +0100 http://bitbucket.org/pypy/lang-js/changeset/9075252019fe/ Log:add constructor to date prototype diff --git a/js/builtins_date.py b/js/builtins_date.py --- a/js/builtins_date.py +++ b/js/builtins_date.py @@ -90

[pypy-commit] lang-js default: made Properties and PropertyDescriptors static

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r280:febe285a6b12 Date: 2012-08-24 10:23 +0200 http://bitbucket.org/pypy/lang-js/changeset/febe285a6b12/ Log:made Properties and PropertyDescriptors static diff --git a/js/jsobj.py b/js/jsobj.py --- a/js/jsobj.py +++ b/js/jsobj.py @@ -5,6 +5,9 @@ from js.

[pypy-commit] lang-js default: fixed implicit self for function calls

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r279:569359399701 Date: 2012-08-24 10:14 +0200 http://bitbucket.org/pypy/lang-js/changeset/569359399701/ Log:fixed implicit self for function calls diff --git a/js/execution_context.py b/js/execution_context.py --- a/js/execution_context.py +++ b/js/execut

[pypy-commit] lang-js default: replace Date builtins with empty functions for now

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r276:15528e94cec6 Date: 2012-08-04 15:17 +0200 http://bitbucket.org/pypy/lang-js/changeset/15528e94cec6/ Log:replace Date builtins with empty functions for now diff --git a/js/builtins_date.py b/js/builtins_date.py --- a/js/builtins_date.py +++ b/js/builti

[pypy-commit] lang-js default: promote mapso

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r300:b0f8efa032ff Date: 2012-09-04 16:02 +0200 http://bitbucket.org/pypy/lang-js/changeset/b0f8efa032ff/ Log:promote mapso diff --git a/js/object_map.py b/js/object_map.py --- a/js/object_map.py +++ b/js/object_map.py @@ -15,18 +15,17 @@ return "%

[pypy-commit] lang-js default: replaced stack implementaton

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r275:03801871d3fb Date: 2012-08-04 14:53 +0200 http://bitbucket.org/pypy/lang-js/changeset/03801871d3fb/ Log:replaced stack implementaton diff --git a/js/execution_context.py b/js/execution_context.py --- a/js/execution_context.py +++ b/js/execution_contex

[pypy-commit] lang-js default: static sisze of slots in declarative environment record

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r295:3c974365c7f1 Date: 2012-09-04 15:44 +0200 http://bitbucket.org/pypy/lang-js/changeset/3c974365c7f1/ Log:static sisze of slots in declarative environment record diff --git a/js/astbuilder.py b/js/astbuilder.py --- a/js/astbuilder.py +++ b/js/astbuilder

[pypy-commit] lang-js default: mark JsCode._get_opcode and JsCode._opcode_count as elidable

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r274:08f6f19acef9 Date: 2012-08-04 12:20 +0200 http://bitbucket.org/pypy/lang-js/changeset/08f6f19acef9/ Log:mark JsCode._get_opcode and JsCode._opcode_count as elidable diff --git a/js/jscode.py b/js/jscode.py --- a/js/jscode.py +++ b/js/jscode.py @@ -202

[pypy-commit] lang-js default: amed to 298:7831b84f40c0

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r293:80dc61db9048 Date: 2012-08-26 00:21 +0200 http://bitbucket.org/pypy/lang-js/changeset/80dc61db9048/ Log:amed to 298:7831b84f40c0 diff --git a/js/object_space.py b/js/object_space.py --- a/js/object_space.py +++ b/js/object_space.py @@ -81,3 +81,22 @@

[pypy-commit] lang-js default: replaces W_BasicObject property dict with map

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r290:43cf4303c4f4 Date: 2012-08-25 21:45 +0200 http://bitbucket.org/pypy/lang-js/changeset/43cf4303c4f4/ Log:replaces W_BasicObject property dict with map diff --git a/js/builtins_interpreter.py b/js/builtins_interpreter.py --- a/js/builtins_interpreter.py

[pypy-commit] lang-js default: better option handling

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r273:50111a408fd7 Date: 2012-08-04 11:59 +0200 http://bitbucket.org/pypy/lang-js/changeset/50111a408fd7/ Log:better option handling added option for test-eval diff --git a/js/builtins_interpreter.py b/js/builtins_interpreter.py --- a/js/builtins_interprete

[pypy-commit] lang-js default: amend to 292:90a5caed0f91

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r289:7b3aa7c2d045 Date: 2012-08-25 21:41 +0200 http://bitbucket.org/pypy/lang-js/changeset/7b3aa7c2d045/ Log:amend to 292:90a5caed0f91 diff --git a/js/builtins_interpreter.py b/js/builtins_interpreter.py --- a/js/builtins_interpreter.py +++ b/js/builtins_i

[pypy-commit] lang-js default: added object_space

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r265:83a0fa75c418 Date: 2012-06-22 11:42 +0200 http://bitbucket.org/pypy/lang-js/changeset/83a0fa75c418/ Log:added object_space diff --git a/js/builtins.py b/js/builtins.py --- a/js/builtins.py +++ b/js/builtins.py @@ -18,7 +18,7 @@ from js.object_spa

[pypy-commit] lang-js default: updated jit test

2012-12-28 Thread stepahn
Author: Stephan Branch: Changeset: r283:91ecfa517a48 Date: 2012-08-24 10:44 +0200 http://bitbucket.org/pypy/lang-js/changeset/91ecfa517a48/ Log:updated jit test diff --git a/js/test/jit.py b/js/test/jit.py --- a/js/test/jit.py +++ b/js/test/jit.py @@ -8,27 +8,32 @@ from pypy.jit.metainterp

  1   2   3   4   >