Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add ds2xos conversion script to export journal entries as .xos session dirs.xosMichael Stone2010-06-271-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This script converts the contents of whatever datastore is accessible on the current session bus to subdirectories of the current working directory. The purpose of this conversion is to encode all the data needed to show a nice journal entry into a wire format that is easy to process with standard filesystem tools and APIs. The chosen format consists of one ".xos session dir" per journal entry. A session dir is a directory: * whose name is URL-encoded with spaces encoded as pluses * which contains a directory named ".xos": * which contains a file called "metadata.json" * which, optionally, contains an image named "preview.png" * which, optionally, contains an executable called "resume" * and which may contain any other files or directories you like When creating session dirs from pre-existing journal entries: * we do our best to come up with human-meaningful and unique names by concatenating a few bytes of the journal entry's "activity_id" field onto the journal entry's "title" field separated by an underscore, * we try to create stand-alone "resume" files and to ensure that all the data that we put into such files is shell-quoted, and * we try to hard-link any files associated with the journal entry into our session dir with names derived from the title and mime-type of the stored file.
* sugar-emulator: use vnc instead of Xephyr (#1659)Sascha Silbe2010-06-261-75/+151
| | | | | | | | | | | | | | | | Use VNC4 instead of Xephyr so non-US keyboards work fine. On Ubuntu it requires lsb_release for detecting Ubuntu so it can use a workaround for Ubuntu bug #110263. The workaround breaks other systems so we really need it to be conditional. Tested on: - Debian squeeze - Ubuntu Intrepid - Ubuntu Jaunty - Fedora 12 Signed-off-by: Sascha Silbe <sascha@silbe.org> Signed-off-by: Michael Stone <michael@laptop.org>
* Return None rather than exceptions on missing bundle entries.Michael Stone2010-06-261-1/+1
|
* Propagate exceptions through PresenceService.get_owner().Michael Stone2010-06-261-6/+1
|
* Don't blow up if a key-pair already exists.Michael Stone2010-06-261-2/+0
|
* Set icon theme name in the gtkrc file we actually install.Michael Stone2010-06-261-0/+5
|
* Make sugar actually usable from arbitrary DESTDIRs.Michael Stone2010-06-264-15/+29
|
* Correct bugs in default layout selection.Michael Stone2010-06-261-2/+2
|
* Ensure that -fPIC is used when compiling shared libraries.Michael Stone2010-06-251-8/+8
| | | | | | | Bernie reports that -fPIC is required for compilation with gcc on x86_64 and that his CFLAGS override mine. This change ensures that it is present. Signed-off-by: Michael Stone <michael@laptop.org>
* Release 0.88.1Tomeu Vizoso2010-06-251-1/+1
|
* Add icons for the sorting options in the JournalAndrés Ambrois2010-06-244-0/+59
| | | | | | | Thanks to Gary C. Martin for the icons. Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Add ctime property to the journal model.Andrés Ambrois2010-06-242-6/+11
| | | | | Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Add sort by creation time option to the ListViewButtonAndrés Ambrois2010-06-241-0/+1
| | | | | Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Implement sorting for removable devices.Andrés Ambrois2010-06-241-3/+13
| | | | | Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Expandedentry: Try to use the filesize property.Andrés Ambrois2010-06-241-2/+3
| | | | | | | Instead of calling the datastore again. Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Display the sorting property in the last column.Andrés Ambrois2010-06-241-3/+8
| | | | | | | | update_with_query() is called when the query is modified in the toolbox. Get the name of the property and set the sort_column cell renderer accordingly. Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Rename the date column to 'sort_column'Andrés Ambrois2010-06-241-11/+11
| | | | | | | As it will be used to display the currently active sorting property. Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Add a ListViewButton to the journal search toolbar.Andrés Ambrois2010-06-241-0/+74
| | | | | | | | | | | Add a button to display the sorting options. Rebuild the query when the sort option changes. Use a RadioToolButton for a future implementation of multiple journal views (as described in the Journal Design Proposal). Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Journaltoolbox: Add add_separator method for convenience.Andrés Ambrois2010-06-241-0/+11
| | | | | Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Add a filesize column to the journal list modelAndrés Ambrois2010-06-241-6/+11
| | | | | | | | This will make it easy to display the current sorting column by associating a cell renderer with it. Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Journal: Retrieve filesize from the datastoreAndrés Ambrois2010-06-241-3/+3
| | | | | | | | Add the filesize property to the list of properties we ask the datastore for. Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Implement migration from DS v0 for ctime property.Andrés Ambrois2010-06-241-0/+3
| | | | | Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Add ctime property to the index and datastoreAndrés Ambrois2010-06-242-2/+15
| | | | | Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Increment CURRENT_LAYOUT_VERSION to trigger an index rebuild.Andrés Ambrois2010-06-241-1/+1
| | | | | Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Add migration code from DS v0 for the filesize propertyAndrés Ambrois2010-06-241-1/+8
| | | | | Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Add filesize property to the indexAndrés Ambrois2010-06-242-0/+22
| | | | | Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* Merge remote branch 'sl-main/master'Michael Stone2010-06-221-4/+4
|\
| * Improve activity updater icon (Gary C. Martin)sucrose-0.88Tomeu Vizoso2010-06-141-4/+4
| |
* | Wrong exception when copying an entry with no file to a removable device.Andrés Ambrois2010-06-141-1/+1
| | | | | | | | | | | | | | | | In that case write() was called with file_path=None by copy() and a TypeError was raised by os.path.exists(). Signed-off-by: Andrés Ambrois <andresambrois@gmail.com> Signed-off-by: Michael Stone <michael@laptop.org>
* | Merge remote branch 'sl-tk/master'Michael Stone2010-06-122-6/+6
|\ \ | | | | | | | | | | | | | | | Conflicts: toolkit/configure.ac toolkit/src/sugar/bundle/activitybundle.py
| * | Release 0.88.1Simon Schampijer2010-06-031-1/+1
| | |
| * | Bundelbuilder should not use localized activity name #1968 (Walter Bender)Simon Schampijer2010-06-032-3/+11
| | | | | | | | | | | | | | | | | | The localized activity name is only used for user-facing strings. The .xo and .tar files are left in the original name.
| * | Cannot delete stalled download from journal #1987Aleksey Lim2010-06-021-3/+2
| | |
| * | Reset timeout delay on every TitleEntry change #1948Aleksey Lim2010-06-021-3/+4
| | |
* | | Merge remote branch 'sl-main/master'Michael Stone2010-06-129-59/+135
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Conflicts: main/configure.ac main/src/jarabe/model/shell.py main/src/jarabe/view/launcher.py
| * | Release 0.88.1v0.88.1Tomeu Vizoso2010-06-031-1/+1
| | |
| * | Increase sucrose version to 0.88.1Tomeu Vizoso2010-06-031-1/+1
| | |
| * | keyboard cpsection: don't choke on option group (SL#2022)Sascha Silbe2010-06-021-1/+3
| | | | | | | | | | | | | | | | | | Don't wrap the option group in another list if it's already a list. Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
| * | Set the DISPLAY env var once Xephyr has been launched #1860Tomeu Vizoso2010-06-021-11/+11
| | | | | | | | | | | | | | | Otherwise when we retry to run Xephyr, it runs under the wrong DISPLAY var and would always fall.
| * | Failure to cleanup temporary files after filesystem full errors #1876Aleksey Lim2010-06-021-0/+5
| | |
| * | resume journal entry race may duplicate resumed activity id #1719Aleksey Lim2010-06-025-47/+96
| | |
| * | sugar-emulator: better error messages in case of failures (#1755)Sascha Silbe2010-06-021-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaces traceback with error message in these cases: - virtual X server cannot be executed - virtual X server doesn't work Provides explicit error message in these cases: - DISPLAY not set Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
| * | Does not automatically connect to wifi network at startup anymore #1883Simon Schampijer2010-06-011-3/+3
| | | | | | | | | | | | | | | The mesh support tried to connect to a mesh network automatically, even though there was a connection set in the configuration.
* | | Avoid popping an empty list in the software updater. (v2)Michael Stone2010-06-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When you run Sugar with no activities installed, UpdateModel._bundles_to_check is empty. Attempting to unconditionally pop this list results in an IndexError. Instead, the updater should stop trying to update bundles when it determines that it has no more bundles to check. Amended-by: James Cameron <quozl@laptop.org> Signed-off-by: Michael Stone <michael@laptop.org>
* | | Simplify the definition of UpdateModel._bundles_to_check.Michael Stone2010-06-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The only purposes of the list comprehension in UpdateModel.check_updates() is to set self._bundles_to_check to a list containing the elements returned by bundleregistry.get_registry(). This purpose can be more succinctly achieved by means of the list() constructor. Signed-off-by: Michael Stone <michael@laptop.org>
* | | Merge remote branch 'sl-art/master'Michael Stone2010-05-231-1/+5
|\ \ \
| * | | sugar-artwork: stricter compiler flagsBernie Innocenti2010-05-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WARN_CFLAGS was already used in gtk/engine/Makefile.am, but not initialized by configure. For backwards compatibility, GCC's by default is very permissive. In my case, it was silently miscompiling code which was calling a non-existent GTK function. For this particular case, the proposed WARN_CFLAGS should make the build fail early in this case. I'm not proposing -Werror because it frequetly results in broken builds for trivial reasons when distros update the toolchain. Signed-off-by: Bernie Innocenti <bernie@codewiz.org> Reviewed-by: James Cameron <quozl@laptop.org> Tested-by: James Cameron <quozl@laptop.org>
* | | | Merge remote branch 'sl-main/master'Michael Stone2010-05-231-2/+12
|\ \ \ \ | | |/ / | |/| | | | | | | | | | Conflicts: main/src/jarabe/model/olpcmesh.py
| * | | Updated README introtimClicks2010-05-191-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated README * removed reference to obsolete page of http://wiki.laptop.org * added reference to http://wiki.sugarlabs.org/go/Development_Team/Jhbuild * added small intro content, sourced from the above page
| * | | fix broken log statement in OlpcMeshManager._activate_connection() (#1890)Sascha Silbe2010-05-151-2/+2
| | | |