| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Michael Stone <michael@laptop.org>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Michael Stone <michael@laptop.org>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Michael Stone <michael@laptop.org>
|
|
|
|
|
|
|
| |
Instead of calling the datastore again.
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Michael Stone <michael@laptop.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Michael Stone <michael@laptop.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Michael Stone <michael@laptop.org>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Michael Stone <michael@laptop.org>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Michael Stone <michael@laptop.org>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Michael Stone <michael@laptop.org>
|
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
Signed-off-by: Michael Stone <michael@laptop.org>
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Conflicts:
toolkit/configure.ac
toolkit/src/sugar/bundle/activitybundle.py
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The localized activity name is only used for
user-facing strings. The .xo and .tar files are
left in the original name.
|
| | | |
|
| | | |
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
Conflicts:
main/configure.ac
main/src/jarabe/model/shell.py
main/src/jarabe/view/launcher.py
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Don't wrap the option group in another list if it's already a list.
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
|
| | |
| | |
| | |
| | |
| | | |
Otherwise when we retry to run Xephyr, it runs under the wrong
DISPLAY var and would always fall.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | | |
The mesh support tried to connect to a mesh network automatically,
even though there was a connection set in the configuration.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
Conflicts:
main/src/jarabe/model/olpcmesh.py
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
|