59 Commits (master)

Author SHA1 Message Date
Aniket21mathur ac7482081e Fix check-po target of Makefile and update LINGUAS 5 years ago
Pro-Panda aa8a5e70c4 Port from Python 2 to six
Signed-off-by: James Cameron <quozl@laptop.org>
5 years ago
Daniel Narvaez d79815a86d Add missing translations 10 years ago
Daniel Narvaez aa08f38a80 Implement only the test target, not check
At the moment our tests requires to be run inside a clean
dbus/xvfb session, which is not always available where the
check target is used (for example in distcheck). Also when
running distcheck in buildbot we don't really want to run
tests again, since we just run them in the check step.

We might revisit this in the future but using a non standard
target is the easiest solution for now.
11 years ago
Daniel Narvaez 6d319619f0 Factor out the discover logic to the test module
This avoids duplication in sugar and sugar-toolkit-gtk3
makefiles.
11 years ago
William Orr c736ffefcd pep8'd sugar3 11 years ago
Daniel Narvaez 5db54b25a2 Ensure we cleanup the tmp dir
Even if the tests fails.
11 years ago
Daniel Narvaez fab8f96088 Run pyflakes on make check 11 years ago
Daniel Narvaez f66fbe4c08 Add tests for bundlebuilder 11 years ago
Daniel Narvaez 148655635f Add a make target for tests
We are running the existing test_mime.py. All the other tests which
are not unit tests but more examples of code one can run interactively
are moved to the example directory.
11 years ago
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>
13 years ago
Simon Schampijer 10d7f7d3f9 Switch sugarext to be an introspectable library
This makes sugarext accessible through introspection. It is used
from the shell (key grabber, sound volume management) and the
shell session management.

Making the sugarext introspectable was done following the
descriptions at: http://live.gnome.org/GObjectIntrospection#Using_GI

Signed-off-by: Simon Schampijer <simon@schampijer.de>
13 years ago
Marco Pesenti Gritti 72c2a1d770 Use a src directory consistently with base and shell. 16 years ago
Marco Pesenti Gritti f90b1d3ebc Make it distcheck. Fix license. 16 years ago
Marco Pesenti Gritti 488402df7d Split sugar-toolkit out of sugar shell. 16 years ago
Marco Pesenti Gritti 44efc2a131 Complete paths cleanup and remove SUGAR_PREFIX and
SUGAR_PATH environment variables.
16 years ago
Marco Pesenti Gritti ae5ce06ccb Refactor directory structure a bit, preliminary to the
library split-out.
16 years ago
Marco Pesenti Gritti 6240c1cf6f Cleanup the source structure 17 years ago
Simon McVittie d93122bf5e Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 17 years ago
Dan Winship 56eb7c2dc3 Borrow some autofoo goo from nautilus to make the mimedb stuff distcheck 17 years ago
Simon McVittie 96023f3e42 Fix regeneration of ./configure from configure.ac when using make
To use an m4 macro library you need three things:

* configure.ac mentions it (OK)
* autogen.sh mentions it (OK)
* Makefile.am mentions it (fixed by this patch)

Omission of the third part means that when you change configure.ac and run
make, ./configure is rebuilt without using the m4 directory, so autoconf
doesn't load python.m4 and the rebuild fails.
17 years ago
Marco Pesenti Gritti c202b6be43 Import xdgmime and start hooking it up 17 years ago
Marco Pesenti Gritti 0ddbf7e9ab Add the AddressEntry object to sugar 17 years ago
Marco Pesenti Gritti 42f7eeedc8 Drop the browser stuff, it will be replaced by hulahop. 17 years ago
Marco Pesenti Gritti 5343752c35 Make browser a modules inside sugar library 17 years ago
Marco Pesenti Gritti 9af06c0b26 Add a script to start sugar. Move the gtkrc to avoid conflicts when
installing on a complete system.
17 years ago
Marco Pesenti Gritti c9f28b7317 Rework the emulator. Move matchbox in the shell. 17 years ago
Marco Pesenti Gritti 57c928916c Refactor sugar.env and paths 17 years ago
Marco Pesenti Gritti 73c1dbe4a7 CLeanup emulator shutdown 17 years ago
Marco Pesenti Gritti cf156fac07 Get rid of our custom dbus config, simplify stuff 18 years ago
Marco Pesenti Gritti 594613aa6b Remove the internal activities. They are now splitted to their own module. 18 years ago
Marco Pesenti Gritti 9a7518f230 Get rid of dbus 0.94 compatibility, since we build dbus in jhbuild now. Yay! 18 years ago
Marco Pesenti Gritti 4b328c8417 Less invasive solution for the reverted commit 18 years ago
Marco Pesenti Gritti 984035f933 Revert "Fixup services path with the various installed/uninstalled 0.94/0.95 combinations. What a pain!"
This reverts commit 6d84d886e1.
18 years ago
Marco Pesenti Gritti 6d84d886e1 Fixup services path with the various installed/uninstalled 0.94/0.95 combinations. What a pain! 18 years ago
Marco Pesenti Gritti a906c1e758 Release 0.35 18 years ago
Marco Pesenti Gritti 535b67ea41 alt+q shutdown the emulator 18 years ago
Marco Pesenti Gritti 096d5c5238 Fix makefiles 18 years ago
Marco Pesenti Gritti a3be4492b2 Delete unused p2p model code. Fix distcheck. 18 years ago
Marco Pesenti Gritti 62a46ff92b Create a private sugar lib and put our extensions there. 18 years ago
Marco Pesenti Gritti 5f99dcf9a5 Move the presence service out of the shell 18 years ago
Marco Pesenti Gritti b34cff91a3 Move threadframe inside bindings directory, will add more stuff there. 18 years ago
Marco Pesenti Gritti 7d6adc55a3 Fixup distcheck, release 0.19 18 years ago
Dan Williams 95c06280ca Add threadframe and TracebackUtils.py so we can get tracebacks of dbus deadlocks 18 years ago
Marco Pesenti Gritti 167dbec0f5 Add a script to install external activities 18 years ago
Marco Pesenti Gritti 86bd6f50f0 Use dbus activation to launch factories. This breaks
p-to-p chat and ./sugar/activities. Will fix tomorrow.
18 years ago
Marco Pesenti Gritti 9ea6805174 More work on packages refactoring, mostly working 18 years ago
Marco Pesenti Gritti f2ae132410 Fix a bunch of outdated makefiles. 18 years ago
Marco Pesenti Gritti f6491e6afc Refactor the directory structure to match the packages 18 years ago
Marco Pesenti Gritti 5d2ce73c23 Merge 18 years ago