Commit Graph

1643 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
56ecabbd78 Readd timestamps to the logs 2007-10-09 21:43:55 +02:00
Marco Pesenti Gritti
50344772eb Looks like I can't dup2 and stream logs on the same file. 2007-10-09 21:30:28 +02:00
Marco Pesenti Gritti
46d128c85a Cleanup the logs stuff a bit. 2007-10-09 21:18:54 +02:00
Marco Pesenti Gritti
b44a2916ba Rework sugar.logger and make activities just
redirect their output to a log.
2007-10-09 18:58:39 +02:00
Marco Pesenti Gritti
b03cf6c5e8 More service_name -> bundle_id renaming 2007-10-09 17:03:00 +02:00
Marco Pesenti Gritti
c2982f2774 Implement a sugar-launch command. Works like the old sugar-activity
but should deal fine with native activities too.
2007-10-09 15:25:24 +02:00
Marco Pesenti Gritti
6073a396b3 Rename activity service_name to bundle_id 2007-10-09 13:15:06 +02:00
Marco Pesenti Gritti
57961d17bc Leftover service initialization 2007-10-09 12:29:20 +02:00
Marco Pesenti Gritti
fc6ded013f Remove activity services creation. 2007-10-09 12:22:20 +02:00
Marco Pesenti Gritti
177ee7220a Add $bundlepath/bin to the PATH when launching an
activity.
2007-10-09 12:08:03 +02:00
Marco Pesenti Gritti
f82e79e27c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-08 14:58:36 +02:00
Marco Pesenti Gritti
6ebe910e93 In preparation of enabling rainbow by default, remove
the factory service from the public API. The Exec field
will now launch an activity instance.
Add a -s argument to sugar-activity to enable the single
process mode for activities that really need it.
2007-10-08 14:56:12 +02:00
Benjamin Berg
af77859c21 Don't fail to expose if there is no invoker. 2007-10-08 13:54:27 +02:00
Marco Pesenti Gritti
c74013db1f Timeout of 120 seconds for mount to work around jffs2 issues. 2007-10-06 11:15:36 +02:00
Tomeu Vizoso
eeae5d011f Save activity previews to the datastore as binary png images. 2007-10-05 22:39:45 +02:00
Dan Winship
2bcbde6e44 Add bundle removing methods/signals to the activity registry, and use them 2007-10-04 15:59:23 -04:00
Dan Winship
b82c9c2c2f Reorganize the uninstall code for #3151
(Make it so you can build a Bundle object from the zip file but still use
its uninstall() method to uninstall the unzipped version.)
2007-10-04 14:58:43 -04:00
Tomeu Vizoso
fab9ac8972 Add DSMetadata.get() method. 2007-10-03 21:33:34 +02:00
Simon Schampijer
03e6db4393 Add support for 'keys' and 'in' method in datastore metadata 2007-10-02 23:40:39 +02:00
Dan Winship
53adb39e84 Allow the first file in a bundle to be "mimetype", and ignore it if it's there 2007-10-01 11:48:46 -04:00
Benjamin Berg
45efe5eff6 Call the correct remove function when removing old content from palettes. 2007-09-30 00:20:27 +02:00
Simon Schampijer
b8ec83c5b8 This prevented activties whith no share-scope set to set the window title 2007-09-28 16:32:22 +02:00
Simon McVittie
d60cc6ae39 activityfactory: Cope with dbus-python 0.82.2's fix to non-default timeouts. In 0.82.1 async call timeouts were wrongly in milliseconds, in >= 0.82.2 they are correctly in seconds. Synchronous timeouts have always been in seconds.
This patch can be simplified once dbus-python gets into builds (#3903).
2007-09-27 20:57:44 +02:00
Marco Pesenti Gritti
e543eada4e Revert "Adapt to dbus-python API change"
This reverts commit 7391e4a3c3.
2007-09-27 20:53:41 +02:00
Marco Pesenti Gritti
7391e4a3c3 Adapt to dbus-python API change 2007-09-27 20:46:20 +02:00
Marco Pesenti Gritti
79db010653 Fix uri list parsing 2007-09-26 11:00:16 +02:00
Dan Winship
8ff6cbab1e Fix MIME icon installation (#2458) and icon/mimetype info uninstallation 2007-09-25 14:50:38 -04:00
Dan Winship
70940b8573 fix _uninstall() 2007-09-25 14:50:11 -04:00
Marco Pesenti Gritti
a8969d776f Ship the startup sound with sugar 2007-09-24 21:16:06 +02:00
Simon Schampijer
e3f97b042f Save state of volume when shutdown and reboot fix for #3652 2007-09-24 18:00:36 +02:00
Simon McVittie
a2e7d03686 Refactoring and beginnings of scope-change support in client library (partially addresses #3378) 2007-09-24 12:02:51 +01:00
Marco Pesenti Gritti
9ffcbfca4d Play a startup sound if it exists. 2007-09-22 14:49:21 +02:00
Benjamin Berg
9b11183eae Hide the menu and content when they are empty and added a
separator between them.
2007-09-22 00:43:14 +02:00
Benjamin Berg
f6cc705133 Removed the padding from the vbox and added some to the
palette (xthickness). Also correctly pad the label,
set it to be bold and give it a fixed height. This fixes
bug #3081.
2007-09-22 00:21:45 +02:00
Benjamin Berg
30d6361fb4 Merge branch 'master' of git://dev.laptop.org/sugar 2007-09-22 00:13:42 +02:00
Benjamin Berg
c1894d3ec4 Implement a do_size_request to be able to correct resize on size
changes, and set a minimum width. Fixes #3497 and adresses #3081.
2007-09-22 00:13:33 +02:00
Michael Stone
46357bdc66 Fixes #3723, "Fix Rainbow/Sugar Integration." 2007-09-21 17:26:58 -04:00
Simon Schampijer
2a91e02444 Copy and paste error in the EditToolbar 2007-09-21 11:37:46 +02:00
Dan Winship
070d7a6dfc Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar 2007-09-20 15:56:28 -04:00
Marco Pesenti Gritti
c4ac2f47fd Drop obsolete widget 2007-09-20 21:04:36 +02:00
Dan Winship
f377d6e519 Redo activity bundles in terms of sugar.bundle.bundle 2007-09-20 12:20:21 -04:00
Marco Pesenti Gritti
0f2a58d737 Human readable file names when copying on usb...
Conflicts:

	NEWS
2007-09-20 12:25:12 +02:00
Marco Pesenti Gritti
3ccd79e3ca Don't crash when entering the detailed view if the
activity which created the entry is no more installed.
2007-09-18 23:34:04 +02:00
Simon Schampijer
53f1265252 Handle the passing of the child of the toolitem to the WidgetInvoker in ToolInvoker, FrameWidgetInvoker 2007-09-18 14:24:16 +02:00
Simon Schampijer
8ae1f9aad8 Fix that several palettes are not hooked up to the same button #3293 2007-09-17 23:42:17 +02:00
Marco Pesenti Gritti
44ffef5f67 Convenience method to get the pubkey, which the activities seem to need. 2007-09-17 16:35:23 +02:00
Marco Pesenti Gritti
2536f51570 Use nick name consistently in the profile 2007-09-17 16:28:21 +02:00
Marco Pesenti Gritti
30edb542b1 Cleanup the profile code and rename the Server section to Jabber. 2007-09-17 13:53:10 +02:00
Marco Pesenti Gritti
8aecf00060 Use logging.error or dbus errors. Launch the activity
even if the dbus call on the datastore to find object_id
fails.
2007-09-15 00:08:49 +02:00
Marco Pesenti Gritti
0a666e23cf When starting an activity with activity_id but no object_id
try to figure out from the journal which object it was
associated to.
2007-09-14 16:16:54 +02:00