matthijs/upstream/mobilegtd.git
14 years agoUse compat.sorted.
Matthijs Kooijman [Fri, 14 Aug 2009 15:00:35 +0000 (17:00 +0200)]
Use compat.sorted.

14 years agoAdd compat module with a sorted function.
Matthijs Kooijman [Fri, 14 Aug 2009 14:58:47 +0000 (16:58 +0200)]
Add compat module with a sorted function.

The sorted builtin function was not available in python 2.2 yet (pys60
1.4.x), so we add our own version.

14 years agoClean up and improve error reporting.
Matthijs Kooijman [Wed, 12 Aug 2009 21:09:37 +0000 (23:09 +0200)]
Clean up and improve error reporting.

This removes some unused stuff and tries to make the error reporting a
bit more clear and concise.

14 years agoMake the exit button on an error window work.
Matthijs Kooijman [Wed, 12 Aug 2009 20:33:24 +0000 (22:33 +0200)]
Make the exit button on an error window work.

The exit button appeared to work already on my device, but didn't work
with pys60-compat library yet.

14 years agoClean up the main run() function a bit.
Matthijs Kooijman [Wed, 12 Aug 2009 20:31:01 +0000 (22:31 +0200)]
Clean up the main run() function a bit.

14 years agoAdd getfilesystemencoding() for python < 2.3.
Matthijs Kooijman [Wed, 12 Aug 2009 20:19:58 +0000 (22:19 +0200)]
Add getfilesystemencoding() for python < 2.3.

14 years agoMake error reporting work for errors in logger.
Matthijs Kooijman [Wed, 12 Aug 2009 20:04:54 +0000 (22:04 +0200)]
Make error reporting work for errors in logger.

Previously, errors in the logger initialization would cause the
exception handling to barf.

14 years agoCatch more exceptions at top level.
Matthijs Kooijman [Wed, 12 Aug 2009 18:58:56 +0000 (20:58 +0200)]
Catch more exceptions at top level.

Previously, a bunch of intialization code was outside of the try,
so any exceptions there would not be shown at all.

14 years agoAlways call run() from main.py.
Matthijs Kooijman [Wed, 12 Aug 2009 18:52:40 +0000 (20:52 +0200)]
Always call run() from main.py.

Previously, run() was only called when main.py was the main module, but
this is never the case (since default.py is the main module).

14 years agoImport sys before using it in default.py
Matthijs Kooijman [Wed, 12 Aug 2009 16:38:51 +0000 (18:38 +0200)]
Import sys before using it in default.py

14 years agoAdd files from the old svn, r101.
Matthijs Kooijman [Wed, 12 Aug 2009 16:31:19 +0000 (18:31 +0200)]
Add files from the old svn, r101.

The directory structure was changed and the files were converted to unix
line endings, but no other changes were made. The contents of the files
is still unmodified. This means it (still) doesn't work currently.

14 years agoEmpty initial commit.
Matthijs Kooijman [Thu, 13 Aug 2009 09:00:12 +0000 (11:00 +0200)]
Empty initial commit.