Commit Graph

342 Commits

Author SHA1 Message Date
Daniel Narvaez
ee88193186 Release 0.101.0 2013-12-05 21:27:22 +01:00
Daniel Narvaez
1329531d2d Release 0.100.0 2013-11-01 00:42:45 +01:00
Daniel Narvaez
2d33c92299 Release 0.99.4 2013-10-03 13:08:46 +02:00
Daniel Narvaez
6fdf5f208a Use python2 shebang
Some distributions have switched to python3 as default and our code
breaks because it's python2 specific. Follow the PEP 394
recommendation.
2013-09-30 11:55:14 -03:00
Daniel Narvaez
9717e5954b Fix translations in non standard prefix
This drops a lot of code at the same time. The code in
__init__ was:

* Using a SUGAR_PREFIX environment variable that is not
defined anywhere
* Hardcoding prefix to /usr
* Setting up the sugar-base domain which doesn't exist anymore

The i18n module code was overcomplex because it was thought
for language packs which we don't support anymore, it was
not handling correctly locales with a country prefix, it
was hard coding the python prefix and it was not sorting
the directories as it intended too anyway.

The logic is very simple now. Use the locale directory in
the same prefix sugar-toolkit-gtk3 was installed, unless
SUGAR_LOCALEDIR is defined (for self contained bundles).
2013-09-10 22:55:11 +02:00
Daniel Narvaez
2c225c0cee Release 0.99.3 2013-09-05 16:47:12 +02:00
Daniel Narvaez
51bc902afa Release 0.99.2 2013-08-14 11:28:56 +02:00
Daniel Narvaez
c992f5fbfe Release 0.99.1 2013-07-31 19:06:19 +02:00
Daniel Narvaez
058271a4d7 Release 0.99.0 2013-06-27 18:01:19 +02:00
Daniel Narvaez
bfe17826cb Use xz for distribution
It has better compression.
2013-06-27 15:57:46 +02:00
Daniel Narvaez
680c501ad6 Add a binding for gconf_client_set_list (using strings) 2013-04-29 20:03:09 +02:00
Daniel Narvaez
6202d4d5cc Bind xdgmime in SugarExt
And use it in the sugar3.mime modules. This allows
to get rid of the pygtk generated sugarbase module,
along with the wrapping code.

Also add more cases to test_time to make sure
everything is still working.
2013-04-09 11:36:51 +02:00
Daniel Narvaez
e6397cf2db Some initial infrastructure for UI tests
The uitree module exposes the at-spi tree. We can use it to do
functional tests of the UI, by checking if the expected
widgets exists, clicking them etc.

A simple example of how this can be used is in the test, which
runs a window and check that it has the expected button.
2013-04-09 11:36:51 +02:00
Daniel Narvaez
5ea6472e0d Add missing dependencies
I'm not sure how it works with GNU ld, but it breaks with ld
gold and it's clearly wrong anyway.
2013-01-28 19:01:44 +01:00
Simon Schampijer
8357ccc4ea Release 0.98.3 2012-12-21 15:49:44 +01:00
Simon Schampijer
5b438e797a Release 0.98.2 2012-12-17 22:47:09 +01:00
Simon Schampijer
4de6057e1b Release 0.98.1 2012-12-10 19:14:47 +01:00
Simon Schampijer
783db60027 Release 0.98.0 2012-11-29 16:51:51 +01:00
Simon Schampijer
d87967303c Release 0.97.13 2012-11-27 19:51:55 +01:00
Simon Schampijer
43bd520f3d Release 0.97.12 2012-11-23 20:52:53 +01:00
Simon Schampijer
936ebaa382 Release 0.97.11 2012-11-21 20:28:29 +01:00
Simon Schampijer
458e357585 Release 0.97.10 2012-11-10 11:54:10 +01:00
Simon Schampijer
dcfc92dbd0 Release 0.97.9 2012-11-07 20:25:26 +01:00
Simon Schampijer
63a34191b1 Release 0.97.8 2012-10-25 16:25:20 +02:00
Simon Schampijer
a2d2c79d5d Release 0.97.7 2012-10-16 20:47:10 +02:00
Simon Schampijer
23399f51dd Release 0.97.6 2012-10-10 23:03:47 +02:00
Simon Schampijer
31d6e6dd1e Release 0.97.5 2012-10-05 20:43:52 +02:00
Simon Schampijer
1da1f4a1ca Release 0.97.4 2012-09-26 15:27:33 +02:00
Simon Schampijer
6387b20c31 Release 0.97.3 2012-09-20 15:54:08 +02:00
Carlos Garnacho
ade02f958b event-controller: Add separate library for event controllers
SugarEventController is an abstract object that attaches to a widget
and interprets an arbitrary set of events. Implementations of that
object get to define the sequence of events that trigger these.

The basic touch gestures (long press, rotate, swipe, zoom) have
been implemented on top of that object.

Signed-off-by: Carlos Garnacho <carlos@lanedo.com>
Acked-by: Simon Schampijer <simon@laptop.org>
2012-09-16 12:10:30 +02:00
Simon Schampijer
4cf9ce0357 Release 0.97.2 2012-09-13 18:30:49 +02:00
Manuel Quiñones
1334cd5768 Release 0.97.1 2012-08-28 09:59:43 -03:00
Simon Schampijer
db86a7282e Release 0.97.0 2012-08-15 15:05:38 +02:00
Simon Schampijer
512f14974e Release 0.96.4 2012-06-06 17:10:18 +02:00
Simon Schampijer
e97e5cac6d Release 0.96.3 2012-06-05 23:46:33 +02:00
Simon Schampijer
439d3bf08d Release 0.96.2 2012-06-01 20:51:50 +02:00
Simon Schampijer
47c838acd8 Release 0.96.1 2012-05-04 18:57:31 +02:00
Simon Schampijer
abe02123b7 Release 0.96.0 2012-04-24 19:26:38 +02:00
Simon Schampijer
db2bcbb76b Release 0.95.6 2012-04-19 18:40:21 +02:00
Simon Schampijer
f8c68b8330 Update ALL_LINGUAS
- remove qu (code change for Quechua to quz)
- remove ay (code change for Aymara to aym)
- remove cpp [Crioulo] no L10n planned at present
- remove pis [Solomon Islands Pidgin] no L10n planned at present
- remove tpi [Papua New Guinea Pidgin (Tok Pisin)] no L10n planned at present

Signed-off-by: Chris Leonard
Acked-by: Simon Schampijer <simon@laptop.org>
2012-03-27 14:00:19 +02:00
Simon Schampijer
38d881da7a Release 0.95.5 2012-03-22 18:53:55 +01:00
Sascha Silbe
c653cdf4dc configure.ac: Require gobject-introspection
configure.ac already checked if gobject-introspection is installed, but
instead of aborting with an error it continued and silently omitted crucial
parts of the build system, confusing the user with the error message

make[4]: *** No rule to make target `SugarExt-1.0.gir', needed by `all-am'.  Stop.

much later in the build. Fix this by using the appropriate autoconf macro.

Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Acked-by: Simon Schampijer <simon@laptop.org>
2012-03-21 08:00:01 +01:00
Simon Schampijer
7344db525d Release 0.95.4 2012-03-14 21:20:25 +01:00
Simon Schampijer
3ec2aca749 Release 0.95.3 2012-02-06 09:02:45 +01:00
Simon Schampijer
6499ce596d Release 0.95.2 2011-12-22 14:53:09 +01:00
Simon Schampijer
f05f221f79 Fix the installation of languages
The GETTEXT_PACKAGE name must match the repository
name. Found when packaging for Fedora.

Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Daniel Drake <dsd@laptop.org>
2011-12-20 19:19:26 +01:00
Daniel Drake
4e137f6e4f sugar-activity: import and make independent of sugar-toolkit GTK versions
As we move to adding support for a second UI toolkit (GTK+ 3.x),
the sugar-activity binary used by all activities must become
backend-toolkit-independent. It would be wasteful to have two backend
toolkits loaded in memory, and in the GTK2/GTK3 case, it is impossible
(importing both results in an instant crash).

To achieve this, we split the existing sugar-toolkit activity/main.py:main()
functionality into two parts, moving it into the sugar-activity binary and
the Activity class as follows:
 1. All toolkit-specific stuff is moved into the Activity class (i.e.
   everything that interacts with GTK)
 2. Everything that can be reasonably/easily moved into the Activity class
   is also moved.
 3. What remains is the stuff that is inherently involved with the
   construction of the Activity object, not related to UI toolkits. This
   is moved into the sugar-activity binary.

main.py is then removed from sugar-toolkit, and sugar-activity is moved
from sugar to sugar-toolkit-gtk3 in order to keep toolkit-related code
with the toolkit itself.

With this work done, the one remaining question is how to invoke the main
loop. An optional run_main_loop() method is added to the activity class,
for GTK2 this will run the GTK2 main loop, for GTK3 the GTK3 main loop will
be run, etc.

Signed-off-by: Daniel Drake <dsd@laptop.org>
2011-12-13 17:35:30 -03:00
Daniel Drake
e2c07af748 Import sugar-base into sugar-toolkit
Probably needs cleaning up a bit. And we use pygtk-codegen, ugh...

This is the commit id when we imported sugar-base:
b9406e5c9c9df5404c5b0d995178b5edb4d93628

Signed-off-by: Daniel Drake <dsd@laptop.org>
[squashed two patches into one]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
2011-12-13 17:19:53 -03:00
Raul Gutierrez Segales
3372317922 Add wrapper for rsvg
Signed-off-by: Raul Gutierrez Segales <rgs@collabora.co.uk>
[split patch into several parts]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
2011-12-13 17:19:53 -03:00
Raul Gutierrez Segales
0d3057941f configure.ac: replace PyGTK dependency with GTK3 dependencies
Signed-off-by: Raul Gutierrez Segales <rgs@collabora.co.uk>
[split patch into several parts, added description]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
2011-12-13 17:19:53 -03:00