Python for S60 1.9.4 is now released.
You can download the release from maemo garage
This release runs on S60 3rd edition, S60 3rd edition FP1, S60 3rd edition FP2 and S60 5th edition devices.
The release includes:
- Installer for Windows platform that includes
----- Getting started guide
----- Nocs signed PyS60 runtime sis which will work on S60 3rdEd, 3rdEdFP1, 3rdEdFP2 and 5thEd devices.
----- selfsigned and unsigned high capas PythonScriptShell sis
----- Application packaging tool with GUI and README
----- Python HTML documentation updated with S60 module reference
- Separate SDK zips for 3rdEd, 3rdEdFP1 and 3rdEdFP2. SDK zip contains both gcce and armv5 link libraries
- Python source code
- OpenSSL source code. This source code is released just to be in complaint with the terms of LGPL licensed software. This source code is
nothing to do with PyS60 software.
The PythonScriptShell packages are available with the user-grantable capability set.
The capability set for S60 3rd Ed is ReadUserData WriteUserData NetworkServices LocalServices UserEnvironment.
The capability set for S60 3rd Ed FP2 is ReadUserData WriteUserData NetworkServices LocalServices UserEnvironment Location.
The PythonScriptShell package is available with high capability set.
The capability set is LocalServices NetworkServices ReadUserData WriteUserData UserEnvironment Location PowerMgmt ProtServ SwEvent SurroundingsDD ReadDeviceData WriteDeviceData TrustedUI
The UID of Python runtime is changed to 0x20022EE8.
Expectation management: THIS IS NOT A FINAL PRODUCT.
This is one of the rough releases of a code-base that has been rewritten to a large extent. Just like we did with the 1.1.x and 1.3.x
series. We want to involve you in the development and testing process so that you can point out any sharp edges and pointy bits that the releases may have.
The idea is to expose the code to early testing and gather feedback so that the final PyS60 2.0 can be solid and fulfill YOUR needs.
Now, on to what we have now - the 1.9.4 release.
On the brighter side:
- A single Nokia signed runtime package which can be installed on all S60 3rd ED and above devices is available. The actual size of the runtime is ~1MB, but due to the embedded OpenC sis and Platform Service sis, the size is increased to 2.8MB. The runtime includes only the most essential modules. The Rest of the modules are available with the application packager tool.
- Improved version of application packager tool. The PyS60 application packager now scans the Python application being packaged and picks up the missing Python modules on which the application is dependent and packages them along with the application files. Refer Chapter 7. "Module Repository" in the PyS60 Documentation for more details.
- Easier runtime deployment: Python runtime and its dependent components can be installed by just running any Python application packaged using 1.9.4 application packager. This feature is available only from S60 3rd edition FP2 devices onwards and also these devices should have been updated with the latest firmware.
- Two new APIs are added to the socket module - access_points() and set_default_access_point() which have similar functionality to the APIs present in btsocket module.
- Two new APIs are added to e32 module - get_capabilities() and has_capabilities(). The former can be used to get the capabilities, the application has been signed with, and the latter to check if a given list of capabilities is granted to the application or not.
Note: The capabilities of scriptshell are displayed on startup using the get_capabilities() API.
- Added a new mode to appuifw.app.screen - 'full_max' which can be used to achieve fullscreen on devices that don't have Left Soft Key and Right Soft Key(e.g.: Nokia 5800). Setting the screen to 'full' will translate to 'large' mode on these devices.
Here are some of the things that are worse in 1.9.4 when compared to 1.4.5:
- There is an additional dependency to the OpenC libraries, which must be installed for the runtime to work.
- Sadly, S60 2.x devices are not supported by the new code-base, and never will be. This is because OpenC libraries aren't available for S60 2.x.
- Binary compatibility between 1.9.x versions isn't guaranteed until 2.0. We won't break it without good reason, but it can happen.
- API compatibility of new sensor module isn't guaranteed until 2.0. We won't break it without good reason, but it can happen.
Our targets for the final 2.0 are:
- Better usability for the developer and the end user:
- Easier runtime deployment. It must be possible for a developer to package their application in a way that the end user doesn't need
to think about the runtime installation. Note that we're not saying the end user doesn't have to _install_ the runtime, we're just saying
they don't need to _think_ about it.
- Easier tools installation and SIS packaging for Python applications. Especially packaging Python applications to SIS has proved to be pretty
tough with all the dependencies you need to install. The 1.9.0 release improves things with the new all-in-one installer that gives you the
packaging tool, the documentation and the SIS files you need for development in one package. The user-friendly Ensymble tool is now official,
and there is a GUI for one-button package creation.
- Easier and more robust ways to use and distribute 3rd party extension modules with your application. Free use of third party extensions is
one of the main advantages of Python, and we want to enable and encourage that. We'll improve the Ensymble packaging tool to automatically
bundle modules not included in the base runtime into your application SIS, as well as specify how a module author can distribute their
module to other developers so that the module can be easily used.
- Integrated HTML documentation: The S60 specific documentation is now a part of the full Python documentation so you no longer need to switch
- Reliability and compliance with the standard Python. We've put effort into automatic testing on multiple target platforms as well as fixing
any noncompliance revealed by Python's own regrtest.py test suite. The compliance isn't perfect yet, but it's much better than with the old
- Quicker start-up and smaller base runtime package size than with 1.9.0.
- Selected API additions. Our previous reference to Qt support being on the roadmap was misleadingly worded and should be read with emphasis on the second part of the statement: "Schedule we can't give yet". Qt support is on the roadmap, but according to current knowledge – and in fact, knowledge at the time of 1.9.0 release - the support will not make it to 2.0, but will be delivered as an add-on later. The main thing that happens at the 2.0 release is the beginning of a binary compatibility guarantee for extensions and applications, and there is no reason to delay that because of any independent component schedules.
- Support for non-Windows platforms for things other than C++ extension development. Already preliminary support is available in 1.9.0, which
contains an all-in-one archive that gives you the packaging tool, the documentation and the SIS files.
Bug reports, patches and feature requests can be filed in mamemo garage. That's what we track regularly, not every thread in the discussion
board. If you post a bug report only in the DiBo, we might miss it.
Feature Requests: https://garage.maemo.org/tracker/?at...54&func=browse
When filing bugs, include the device you used, its firmware version (you can see this by entering *#0000# in the idle screen), the PyS60 version
and a minimal test case (if applicable).
For more details on reporting bugs refer the "Reporting Bugs" section of the Python documentation.
That's it for now. Try it out, send feedback and stay tuned for 1.9.5.
-- Python for S60 team