New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Q unit20120826 #75
Q unit20120826 #75
Commits on Feb 18, 2012
-
Configuration menu - View commit details
-
Copy full SHA for e6287f4 - Browse repository at this point
Copy the full SHA e6287f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0718c6 - Browse repository at this point
Copy the full SHA b0718c6View commit details
Commits on Feb 19, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 8b30579 - Browse repository at this point
Copy the full SHA 8b30579View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7620e3e - Browse repository at this point
Copy the full SHA 7620e3eView commit details -
create the basic method that will be used to build references for var…
…iable definitions. use it for class def
Configuration menu - View commit details
-
Copy full SHA for 22f5354 - Browse repository at this point
Copy the full SHA 22f5354View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8df8e4b - Browse repository at this point
Copy the full SHA 8df8e4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c9a195 - Browse repository at this point
Copy the full SHA 2c9a195View commit details -
Configuration menu - View commit details
-
Copy full SHA for 811289b - Browse repository at this point
Copy the full SHA 811289bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7801c6e - Browse repository at this point
Copy the full SHA 7801c6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c223f3b - Browse repository at this point
Copy the full SHA c223f3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 370eff3 - Browse repository at this point
Copy the full SHA 370eff3View commit details -
add a command line flag to clean the tests before running them. does …
…the equivalent of make testclean without requiring make
Configuration menu - View commit details
-
Copy full SHA for 8a26789 - Browse repository at this point
Copy the full SHA 8a26789View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e41f1e - Browse repository at this point
Copy the full SHA 4e41f1eView commit details -
add the option to compile code as a module. can also provide the base…
… path to use for generating the dotted path.
Configuration menu - View commit details
-
Copy full SHA for 7b3a649 - Browse repository at this point
Copy the full SHA 7b3a649View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d92b89 - Browse repository at this point
Copy the full SHA 9d92b89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 544ced0 - Browse repository at this point
Copy the full SHA 544ced0View commit details -
it is more useful to provide scope iterables than to provide methods …
…for checking if a name is in scope
Configuration menu - View commit details
-
Copy full SHA for e8f753c - Browse repository at this point
Copy the full SHA e8f753cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc6e8e9 - Browse repository at this point
Copy the full SHA bc6e8e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12a02cb - Browse repository at this point
Copy the full SHA 12a02cbView commit details -
modify python compiler to use scoping properties defined in previous …
…commit so that the attached test passes without causing any other tests to fail (verified on Windows)
Configuration menu - View commit details
-
Copy full SHA for c8a9d0f - Browse repository at this point
Copy the full SHA c8a9d0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfa1cf0 - Browse repository at this point
Copy the full SHA bfa1cf0View commit details -
create a function that will act as the module initiation point. Named…
… after runpy.run_module from http://docs.python.org/library/runpy.html#runpy.run_module Currently only sets __name__ and __builtins__. __name__ is set to "__main__" so that the standard if __name__ == "__main__" type code block can be used. __builtins__ is set to the pyjaco __builtins__ object. Modules namespace __builtins__ so that it doesn't matter what the global builtin variable is named.
Configuration menu - View commit details
-
Copy full SHA for 0ee1f28 - Browse repository at this point
Copy the full SHA 0ee1f28View commit details -
move as_module tests and change how they are initialized. use the "st…
…andard" if __name__ == "__main__" approach.
Configuration menu - View commit details
-
Copy full SHA for 45f2602 - Browse repository at this point
Copy the full SHA 45f2602View commit details -
check for "special globals" in visit_Name. Had to create a new util p…
…ackage and move the special_global dict there so that they could be imported into the main pyjaco compiler and the python compiler without errors.
Configuration menu - View commit details
-
Copy full SHA for b29f370 - Browse repository at this point
Copy the full SHA b29f370View commit details
Commits on Feb 20, 2012
-
separate the calls for checking scope in visit_Name. This is more ver…
…bose, but it is easy to see the order of preference for determining the final name.
Configuration menu - View commit details
-
Copy full SHA for a5cbeb1 - Browse repository at this point
Copy the full SHA a5cbeb1View commit details -
__file__, __loader__, and __package__ are not used at this time, so d…
…o not define them yet.
Configuration menu - View commit details
-
Copy full SHA for e8dca12 - Browse repository at this point
Copy the full SHA e8dca12View commit details -
return the module definition from calls to run_module because python'…
…s runpy.run_module returns "the resulting module globals dictionary"
Configuration menu - View commit details
-
Copy full SHA for ac12f0c - Browse repository at this point
Copy the full SHA ac12f0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e70419 - Browse repository at this point
Copy the full SHA 7e70419View commit details -
Configuration menu - View commit details
-
Copy full SHA for d52f7b6 - Browse repository at this point
Copy the full SHA d52f7b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51665ac - Browse repository at this point
Copy the full SHA 51665acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93800f1 - Browse repository at this point
Copy the full SHA 93800f1View commit details
Commits on Feb 21, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 31509ae - Browse repository at this point
Copy the full SHA 31509aeView commit details -
strip ".__init__" from the end of the dotted path because __init__.py…
… files provide the module named by the directory name
Configuration menu - View commit details
-
Copy full SHA for 6b51f55 - Browse repository at this point
Copy the full SHA 6b51f55View commit details
Commits on Feb 22, 2012
-
Configuration menu - View commit details
-
Copy full SHA for fdff148 - Browse repository at this point
Copy the full SHA fdff148View commit details -
Configuration menu - View commit details
-
Copy full SHA for a22cd1a - Browse repository at this point
Copy the full SHA a22cd1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c6dfa4 - Browse repository at this point
Copy the full SHA 2c6dfa4View commit details -
had trouble getting .gitignore to work with an arbitrary number of su…
…bdirectories. ** supposedly works with some OS. Windows doesn't appear to be one of them.
Configuration menu - View commit details
-
Copy full SHA for 493c767 - Browse repository at this point
Copy the full SHA 493c767View commit details -
Configuration menu - View commit details
-
Copy full SHA for 830e9f7 - Browse repository at this point
Copy the full SHA 830e9f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for abd5db1 - Browse repository at this point
Copy the full SHA abd5db1View commit details -
Assume module exists in __import_cache, react if it doesn't. I think …
…this is more readable.
Configuration menu - View commit details
-
Copy full SHA for d9fadbc - Browse repository at this point
Copy the full SHA d9fadbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9126f44 - Browse repository at this point
Copy the full SHA 9126f44View commit details -
test single import statement with multiple imports separated by comma…
… (i.e. import a, b, c)
Configuration menu - View commit details
-
Copy full SHA for b4f0abe - Browse repository at this point
Copy the full SHA b4f0abeView commit details
Commits on Feb 27, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 27e8190 - Browse repository at this point
Copy the full SHA 27e8190View commit details -
namespace module variable definition inside the module definition to …
…avoid name collisions with python code. in the future: should probably condense this down into one variable instead of using object hierarchy.
Configuration menu - View commit details
-
Copy full SHA for 2cbfa1b - Browse repository at this point
Copy the full SHA 2cbfa1bView commit details
Commits on Jul 4, 2012
-
Configuration menu - View commit details
-
Copy full SHA for d8f5963 - Browse repository at this point
Copy the full SHA d8f5963View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5419fa6 - Browse repository at this point
Copy the full SHA 5419fa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e933c6d - Browse repository at this point
Copy the full SHA e933c6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 562f6ee - Browse repository at this point
Copy the full SHA 562f6eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd7d240 - Browse repository at this point
Copy the full SHA cd7d240View commit details -
Configuration menu - View commit details
-
Copy full SHA for f404943 - Browse repository at this point
Copy the full SHA f404943View commit details -
Configuration menu - View commit details
-
Copy full SHA for aff32cd - Browse repository at this point
Copy the full SHA aff32cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9431bb0 - Browse repository at this point
Copy the full SHA 9431bb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac50694 - Browse repository at this point
Copy the full SHA ac50694View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fb40f9 - Browse repository at this point
Copy the full SHA 6fb40f9View commit details
Commits on Jul 5, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 1e33524 - Browse repository at this point
Copy the full SHA 1e33524View commit details
Commits on Jul 6, 2012
-
Configuration menu - View commit details
-
Copy full SHA for f84142b - Browse repository at this point
Copy the full SHA f84142bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 095771a - Browse repository at this point
Copy the full SHA 095771aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7856257 - Browse repository at this point
Copy the full SHA 7856257View commit details
Commits on Jul 7, 2012
-
Configuration menu - View commit details
-
Copy full SHA for a14253c - Browse repository at this point
Copy the full SHA a14253cView commit details -
Configuration menu - View commit details
-
Copy full SHA for afa56ed - Browse repository at this point
Copy the full SHA afa56edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a0491f - Browse repository at this point
Copy the full SHA 5a0491fView commit details
Commits on Jul 8, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 7b8b9fe - Browse repository at this point
Copy the full SHA 7b8b9feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 958b7ad - Browse repository at this point
Copy the full SHA 958b7adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58ade5f - Browse repository at this point
Copy the full SHA 58ade5fView commit details -
glob is grabbing previously compiled files that should not be tested …
…like "tests/test_compile_js_as_module.py.js"
Configuration menu - View commit details
-
Copy full SHA for 2e83a0b - Browse repository at this point
Copy the full SHA 2e83a0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 934de97 - Browse repository at this point
Copy the full SHA 934de97View commit details -
the line >>> name = self.build_ref("__getattr__('%s')" % name) <<< sh…
…ould not have been committed.
Configuration menu - View commit details
-
Copy full SHA for 1529551 - Browse repository at this point
Copy the full SHA 1529551View commit details -
Configuration menu - View commit details
-
Copy full SHA for 543e325 - Browse repository at this point
Copy the full SHA 543e325View commit details -
Configuration menu - View commit details
-
Copy full SHA for a86b330 - Browse repository at this point
Copy the full SHA a86b330View commit details -
add a kwarg on the compiler indent method that allows a fixed level o…
…f indention. Useful for indenting a specific level for blocks.
Configuration menu - View commit details
-
Copy full SHA for 5441746 - Browse repository at this point
Copy the full SHA 5441746View commit details -
make try blocks easier to read by adjusting indentation and whitespac…
…e for debugging purposes
Configuration menu - View commit details
-
Copy full SHA for c4fa3b5 - Browse repository at this point
Copy the full SHA c4fa3b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fba308 - Browse repository at this point
Copy the full SHA 2fba308View commit details
Commits on Jul 9, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 666661c - Browse repository at this point
Copy the full SHA 666661cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e7ab8 - Browse repository at this point
Copy the full SHA 91e7ab8View commit details
Commits on Jul 10, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 3fa5d14 - Browse repository at this point
Copy the full SHA 3fa5d14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 822e53a - Browse repository at this point
Copy the full SHA 822e53aView commit details -
Throw a SyntaxWarning instead of SyntaxError when encountering a keyw…
…ord in the package path.
Configuration menu - View commit details
-
Copy full SHA for 4b2dc0d - Browse repository at this point
Copy the full SHA 4b2dc0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bfcc74 - Browse repository at this point
Copy the full SHA 8bfcc74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 525649a - Browse repository at this point
Copy the full SHA 525649aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cadc2fa - Browse repository at this point
Copy the full SHA cadc2faView commit details
Commits on Jul 11, 2012
-
Configuration menu - View commit details
-
Copy full SHA for c966cc0 - Browse repository at this point
Copy the full SHA c966cc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d2457 - Browse repository at this point
Copy the full SHA e9d2457View commit details
Commits on Jul 14, 2012
-
Configuration menu - View commit details
-
Copy full SHA for b164451 - Browse repository at this point
Copy the full SHA b164451View commit details -
fix test "tests/functions/and.py" and others that were failing becaus…
…e visit_AssignSimple added "var " to module references
Configuration menu - View commit details
-
Copy full SHA for 126b10a - Browse repository at this point
Copy the full SHA 126b10aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85faecd - Browse repository at this point
Copy the full SHA 85faecdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54a3e62 - Browse repository at this point
Copy the full SHA 54a3e62View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8d2bc2 - Browse repository at this point
Copy the full SHA c8d2bc2View commit details -
if the compiler is in module mode and has not yet encountered a local…
… scope function definition for the function name being called in visit_Call, it is unclear where the call should reference. Push this decision into javascript with preference on local scope.
Configuration menu - View commit details
-
Copy full SHA for eff659e - Browse repository at this point
Copy the full SHA eff659eView commit details
Commits on Jul 15, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 9169aa9 - Browse repository at this point
Copy the full SHA 9169aa9View commit details -
Process exceptions in javascript catch blocks so that native javascri…
…pt exceptions can be translated to their python equivalents. Specifically for this commit, translate JavaScript ReferenceError to Python NameError
Configuration menu - View commit details
-
Copy full SHA for 84ab87c - Browse repository at this point
Copy the full SHA 84ab87cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96c587a - Browse repository at this point
Copy the full SHA 96c587aView commit details
Commits on Jul 16, 2012
-
Configuration menu - View commit details
-
Copy full SHA for afa1f31 - Browse repository at this point
Copy the full SHA afa1f31View commit details -
Configuration menu - View commit details
-
Copy full SHA for e14fc81 - Browse repository at this point
Copy the full SHA e14fc81View commit details -
Configuration menu - View commit details
-
Copy full SHA for e40d6c5 - Browse repository at this point
Copy the full SHA e40d6c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d5030c - Browse repository at this point
Copy the full SHA 1d5030cView commit details
Commits on Jul 17, 2012
-
adjust the fake console.log function such that it does not cause test…
…s to fail based on how many arguments are sent to it
Configuration menu - View commit details
-
Copy full SHA for 0df3ad1 - Browse repository at this point
Copy the full SHA 0df3ad1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a299ab - Browse repository at this point
Copy the full SHA 7a299abView commit details -
manually keep track of QUnit test index because using enumerate can a…
…llow test numbers to differ from the QUnit page if tests are skipped due to failing in python or etc
Configuration menu - View commit details
-
Copy full SHA for 19db7b7 - Browse repository at this point
Copy the full SHA 19db7b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77e3491 - Browse repository at this point
Copy the full SHA 77e3491View commit details
Commits on Jul 18, 2012
-
QUnit test fixes -- properly escape py_out and use a javascript array…
… to hold test output in the browser until it is needed. Then join it with newlines.
Configuration menu - View commit details
-
Copy full SHA for c3f5659 - Browse repository at this point
Copy the full SHA c3f5659View commit details -
Configuration menu - View commit details
-
Copy full SHA for 184f514 - Browse repository at this point
Copy the full SHA 184f514View commit details
Commits on Jul 19, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 720fc82 - Browse repository at this point
Copy the full SHA 720fc82View commit details -
Configuration menu - View commit details
-
Copy full SHA for be30110 - Browse repository at this point
Copy the full SHA be30110View commit details -
Configuration menu - View commit details
-
Copy full SHA for 067059d - Browse repository at this point
Copy the full SHA 067059dView commit details -
create a dummy "load" function instead of stripping the load call fro…
…m tests because the way load was being stripped wasn't resilient to future changes to output
Configuration menu - View commit details
-
Copy full SHA for 4f5b92d - Browse repository at this point
Copy the full SHA 4f5b92dView commit details -
test function needs to start with '"use strict";' in order to run the…
… test in strict mode. QUnit tests were not previously being run in strict mode.
Configuration menu - View commit details
-
Copy full SHA for 7ecd545 - Browse repository at this point
Copy the full SHA 7ecd545View commit details
Commits on Jul 20, 2012
-
compiled output needs to specify "use strict" and run without errors.…
… Otherwise, concatenating the builtins with the compiled code causes errors.
Configuration menu - View commit details
-
Copy full SHA for 486dd27 - Browse repository at this point
Copy the full SHA 486dd27View commit details
Commits on Jul 21, 2012
-
Configuration menu - View commit details
-
Copy full SHA for a269bf3 - Browse repository at this point
Copy the full SHA a269bf3View commit details