· Repeat support in 4-way directional pad
· Lot of memory leaks in the interpreter code is fixed.
· appuifw.app.track_allocations can be set if the interpreter should track all memory allocations and then free the memory which was not explicitly released before application exit. To debug memory leaks in 3rd party extension modules set the value to false.
· All the Pyds that have zero UID will be assigned with the applications UID at the time of packaging. As a result, Python applications can now be symbian signed. This opens the door for submitting Python applications to OVI Store.
· Pdf documentation is available in the installer/archive.
· API cleanup in the SensorFW module.
· On the below mentioned devices Python runtime and its dependencies will be installed automatically when the Python applications is started. 6220 classic, N86 8 MP, N85, 6720 classic, 6730 classic, N96, 5730 XpressMusic, N78, 5630 XpressMusic, E52, E55, 6710 Navigator, E75, N79, 5800 XpressMusic, 5530 XpressMusic, 5230, X6 and N97 mini
Feature requests:
· Python Runtime and application sis can be on different drives. The limitation of both should be installed on the same drive is eliminated.
Corrected defects:
· Missing (platform) functionality on ensymble/Application packager: The 2nd point in the bug description is fixed
· appuifw.Icon sample code refers to non-existing file [doc error]
What is new:
· Touch support added for GLCanvas UI Control. Directional pad is displayed by default on touch enabled devices. A sample application - gles_touch_demo.py is added to ScriptShell which demonstrates the functionality.
· Two new APIs are added to canvas - begin_redraw and end_redraw. These can be used to instruct the window server to enable redraw drawing on the canvas UI control. Please refer the documentation (Section 3.1.10) for more details.
· The multi-selection listbox has been modified such that the dialog for the option 'checkmark' now has 'Options' and 'Back' as its left and right softkeys respectively. The 'Options' has Mark/Unmark entry that can be used to select and de-select respectively. The 'Back' softkey returns the current state of the listbox based on the selected items.
· 4-way directional pad support in landscape mode
· Different flavors of Scriptshell application can coexist on the device.
· Scribble application improvements: - Performance improvement by using API's begin_redraw and end_redraw. - The drawing area is retained between landscape and portrait modes as the toolbar shifts to accommodate for this change. - Pen width can be selected from a list of predefined values.
· PyS60 document is available online on maemo.garage http://pys60.garage.maemo.org/doc/
Corrected defects:
· The compression type for the dll and exe files for Python is shown as Deflate instead of Byte-pair.
· Scrollbar visible afterwards, should not be there
· Multiple lisbox objects decrease scroll performance
· time.mktime() taking too much time to execute
· Support for a virtual 4-way directional pad is added for Canvas and text widgets. This D-Pad is displayed at the bottom of the screen and this feature is enabled by default on touch enabled devices. Currently, this is supported only in the portrait mode and landscape support will be available in a future release. The 'full_max' mode is invalidated by this change and is removed in this release.
· The modules in the base runtime is more refined and hence the size of application SIS, created using PyS60 Application Packager is reduced.
· A new chapter is added in the PyS60 documentation (Extending and Embedding PyS60), that is an end-to-end tutorial for creating 3rd party extension modules and distributing them.
Corrected defects:
· Floating point formatting/parsing routines on this platform are imprecise
· socket.access_points() returns iapid 0 for lots of entries
· Problems exiting standalone apps
· Calendar module returns end time with time zone offset added to Unix time
· Using rollback in calendar module returns error
· Screen orientation remains landscape after exit, while device was portrait all the time
· default.py cannot load .pyc files
· sys.exit() doesn't exit Python
· e32.s60_version_info is now modified to do a dynamic fetch and return of S60 version information, instead of returning the version information configured at the compile time.
· Default heapsize for PyS60 applications is increased to 100k,4M from 4k,1M
· An option "Continue with missing dependencies" is added to packaging tool. Enabling this option will display the missing dependencies as warnings and continue with SIS generation. Otherwise the packaging is strict. Missing dependencies are displayed as errors and SIS generation is aborted.
Feature requests:
· Add option to convert to bytecode before py2sis
· appuifw listbox now sports a scrollbar
Corrected defects:
· time.clock() does not work as expected.
· Python shell file listing in reverse alphabetical order
· uninstall_Python script for SDK has a leading \ in path
· appuifw.Icon creates only grey boxes
· Listbox scrolling off-by-one with touch
· Fake selection problem when sliding quickly your fingers over a list with two lines per raw (XM 5800)
· Lists with one raw per item are generating a type_error when sliding my finger from top to down
· relates to 1.9.4. !! returns wrong S60 OS version number
· ZeroDivisionError running ball.py in 1.9.4
· 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() & 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.
· The prefix to the binaries of 1.9.x to support co-existence with 1.4.x runtime, has been changed from '251_' to 'kf_'.
Corrected defects:
· Importing modules under application's private directory fails.
· socket vs. btsocket interoperability
· Touch event support is added to appuifw Canvas. An API is added to appuifw module, touch_enabled() for checking if the device supports touch input.
· scribble application developed using PyS60 touch feature is available in the installer.
· This release includes a new extension module, sciptext. This is an enabler for using S60 Platform Service APIs that were introduced in the S60 5th Edition and back ported on S60 3rd edition FP2, from Python. It supports services like Application Manager, Calendar, Contacts, Landmarks, Location, Logging, Messaging, Media Management, Sensors and Sys Info. Refer scriptext module documentation for the usage and the convention for accessing the platform Service API interfaces is subjected to change.
· Easier runtime deployment: Python runtime and its dependent components can be installed by just running the scriptshell application that comes with 1.9.3 release. This feature is available only from S60 3rd edition FP2 devices onwards and also these devices should have been updated with the latest firmware. The easier runtime deployment support will be available with all ensymble packaged applications in future releases.
· SSL support for socket is enabled
· Python core is upgraded to 2.5.4
Corrected defects:
· Time and strptime modules fails when the 'Z' format specifier is used
· Issue with non-blocking TCP socket
· Problem with decimal separator when the phone's locale uses a non dot decimal separator
· SSL Client not supported by this Python installation
· The packager does not remember the source directory of previous invocation
· sensor module support for accessing the sensors on the devices that have S60 Sensor Framework libraries. This module's API compatibility between 1.9.x versions isn't guaranteed until 2.0. It won't be broken without good reason, but it can happen. Refer to the sensor-module-specifications.doc available from the installer for more details.
· Reduction in the installer size! The application packager GUI is now based on Tkinter, hence PyQt setup is removed from the windows installer.
· The UID of PythonRuntime has changed from '0xF0201514' to '0xE0201514'
· PyS60 Application Packager is now based on ensymble 0.28
· Better interpreter startup and sis installation time!
· All the Python files in the runtime sis are compiled into .pyc files and included in a zip file. sys.path is updated with the path of this zip file. This reduced the interpreter startup time considerably.
· A more generic error message is displayed when trying to load an application without the PyS60 Dependencies installed.
· Support for building just a < subsystem > is provided. Refer build, build_emu, build_device help of setup.py
· Unlike 1.4.x, a single SDK zip contains both gcce and armv5 link libraries. Separate SDK zips are provided for 3rdEd, 3rdEdFP1 and 3rdEdFP2.
· The default mode of ensymble py2sis command is changed to 'pycore'. All scripts which refer to pys60 modules socket and calendar should use the new names - btsocket and e32calendar to use the S60 functionality in pycore mode. Also renamed "Prioritize PyS60 module library" to "1.4.x compatibility mode" on the UI of application packager.
Corrected defects:
· Problems with applications packaged with console profile and PyS60 mode.
· N70 is included in the supported device list in the Getting Started Guide, even though it's a 2ndEdFP2 device
· Python 2.5.1 core, with much better compliance to the standard Python than before. Most of the modules in the standard library are included - basically almost all that make sense on this platform and even some that don't (for regression testing purposes). This includes such goodies as the Expat XML parser, ftplib, smtplib, urllib2, xmlrpclib, SimpleHTTPServer, cPickle, asyncore and especially the much more compliant socket module. Garbage collection is enabled, so there is no need to dismantle reference cycles anymore.
· The 1.9.0 release improves things with the new all-in-one installer that gives you the packaging tool with GUI and a README file, the documentation and the SIS files needed for development on Windows platform, in a single package. Similarly for Linux/Mac platforms, an all-in-one archive is provided that includes all the contents provided by the installer except the GUI for the packaging tool.
· Packaging Python applications to SIS files is much easier. The user-friendly Ensymble tool is now the official packaging tool, and we've made a GUI for it so packaging your application is now just a button press away.
· The environment for SIS packaged applications is closer to the script shell environment, since the script shell is no longer a special case but just a regular application packaged using the Ensymble tool. This should make testing your application easier.
· PyS60 extension modules socket and calender are renamed to btsocket and e32calender due to the conflicting names with Python core modules. Two packaging modes pys60 and pycore have been provided with ensymble tool to maintain the compatibility with PyS601.4.x binaries. The existing scripts dependent on these extension modules need not be modified if it is packaged with pys60 mode.
· On 3.2 devices, access GPS out of the box without signing hassle! Since S60 3.2 devices now permit the Location capability for self-signed applications, that capability is now enabled by default in the 3.2 builds.
· The UID of Python runtime and PythonScriptShell has changed.
· The script directory of PythonScriptShell is changed from C:/python to C:/data/python/
· To support co-existence of 1.4.x and 1.9.0 Python runtimes, the binaries of the latter version are prefixed with '251_' and the import hook in site.py is modified to look for the renamed binary.
SIS packaged applications are now more robust:
· If the runtime is missing and you try to launch the application, a human readable error message is displayed instead of the application just failing to start, like before.
· If the application raises an exception on startup, the traceback is printed on the screen instead of the application quitting silently.
· The applications have a default text console just like in the script shell environment, so printing text using the print statement works the same way in SIS packaged apps and the script shell.
Feature additions:
· Added the possibility to run Python code in threads that weren't started by Python itself, by adding the functions InitializeForeignThread() and FinalizeForeignThread() to the CSPyInterpreter class. For details see the section "Python/C API Extensions" of the API Reference.
· Added timeout support to globalui module.
· The positioning module has been made safe to use from several threads.
· Support for the "description" field has been added to the calendar module.
Feature additions:
· globalui module added for displaying notes and queries from background applications.
· Added functionality to mark SMS's in the inbox as read or unread.
· Added support for S60 SDK 3.1 with a separate SDK ZIP. Resolves bug 1760277.
· Added the twipsize attribute to graphics objects as part of resolving bugs 1784027 and 1758727.
The S60 3.1 SDK ZIP package also supports the S60 3.2 SDK, with the following limitations:
· (a) Missing feature: The sensor module is not supported on 3.2.
· (b) Known defect: The statement "print ''" crashes the script shell.
Corrected defects:
· PC Suite synchronized contact field types broken
· e32.start_service() crashes pys60 1.4.2
· unread(sms_id) returns 32
· calendar can't see appointments on last day of a month
· Audio.say won't say ��
· print in _internalsocketobject
· PyS60 1.4.0 text drawing fails on Image with tuple
· select_access_point() and access_points() bug
· custom font drawing dont work with Image
· error import socket because e32socket error