Pyjamas for Linux Publisher's description
from James Tauber
Pyjamas is a toolkit and library designed to enable writing AJAX applications in Python.
Pyjamas is a toolkit and library designed to enable writing AJAX applications in Python. Pyjamas is based on Google's GWT, which does the same thing for Java.
The overall translation of individual components is managed by build which also creates the necessary boilerplate code. The result is a set of .html and .js files that can be served up by a Web server.
There are other components planned which have not been covered here such as server-side code for communication in client-server applications.
What's New in This Release:В· Fixed Autocompletion which just needed non-modal on PopupPanel (thanks to lovelysystems for implementing non-modal dialogs otherwise it wouldn't be possible to fix Autocompletion)
В· Added implementation of metaclass "type" function
В· Made KeyboardListener a singleton module rather than have a class named the same as the module. Likewise with MouseListener, Event and Focus.
В· Added Right-clickable Context Menus, and added an example in KitchenSink Menus.py to show how to set them up.
В· Added python-spidermonkey as an experimental platform, exactly like pyv8run.py now there is pysmrun.py
В· Top-level global variables, and top-level functions, now correctly scope in a module (thanks to Jose for raising this one)
В· made == comparison use __eq__, which conditionally uses __cmp__ if it is available: this fixes bugs in comparison of lists in the LibTest. replaced a large number of numerical "==" comparisons with "is", so that __eq__ doesn't get called (efficiency).
В· added support for calling *args on functions: previously, a call function(*args) would result in the args being thrown away!
В· made Tuple its own class, rather than inheriting from List, in order that it can be distinguished from List. __cmp__ of a List with a Tuple now correctly fails.
В· rewrote the examples/libtest so that they can be run under standard python (python ./LibTest.py). this allows for a comparison of pyjs against standard python.
В· add method extend to pyjslib.List
В· add float to builtins
В· add pyjamas.log based on examples/libtest/write.py
В· registered builtin function 'cmp'. was already implemented but not registered in pyjs.py
В· added an --optimize option to which results in removing print statements. this could be further improved. e.g. when assert is implemented
В· fixed Mozilla "Permission Denied" bug in DOM.isOrHasChild
В· pyjslib.Dict now use the hash method to generate keys internally, so it si possible to use objects as keys like in python. For limitations on dicts read examples/libtest/DictTest.py
System Requirements:No special requirements.
Program Release Status: Minor Update
Program Install Support: Install and Uninstall