Commit Graph

332 Commits

Author SHA1 Message Date
John (J5) Palmieri
0a18473ca7 Speed up startup by another 2 seconds by using follow_name_owner_changes
* this is a side effect of follow_name_owner_changes which removes some
      blocking calls in the __init__ of proxies.  It introduces some semantics
      we might not want (such as following name owner changes) but which
      are fairly beinign
2007-08-22 17:37:33 -04:00
Morgan Collett
63f987594b Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-22 15:55:16 +01:00
Morgan Collett
52f2bea3ed Use new PresenceService API for sharing by invitation only 2007-08-22 15:54:12 +01:00
Tomeu Vizoso
254433a393 Save the sharing info about the activity to the datastore. 2007-08-21 12:12:13 +02:00
Marco Pesenti Gritti
1c06a44a7d Use CamelCase for the activity service methods. 2007-08-20 15:18:46 +02:00
Marco Pesenti Gritti
5741d21be9 Rename genmo to genl10n 2007-08-18 12:48:40 +02:00
Marco Pesenti Gritti
db57fc38be Make activity names translatable. 2007-08-18 12:48:40 +02:00
Marco Pesenti Gritti
cace8c0a47 Hide the combo when max_participants == 1 2007-08-16 20:43:05 +02:00
Marco Pesenti Gritti
d33b74469d Add max_participants property. 2007-08-16 17:55:52 +02:00
Marco Pesenti Gritti
f056056691 Patch by Simon to make sugar start when not connected to wireless. 2007-08-16 17:32:29 +02:00
Tomeu Vizoso
4c812eb210 Set ACTIVITY_ROOT environment variable. 2007-08-13 21:14:25 +02:00
Tomeu Vizoso
cff8ffc328 Complete move to external bundle registry. 2007-08-09 18:10:16 +02:00
Tomeu Vizoso
f00f3e2f8d Correctly include .mo files in bundles. 2007-08-09 15:26:52 +02:00
Dan Winship
d2aba901c3 Notice when (non-sugar) activity factories fail to launch. #1975
(still need a better shell UI for when this happens)
2007-08-08 18:24:11 -04:00
Tomeu Vizoso
fa8bcd2ba5 Move the activity register to the clipboard service. 2007-08-08 18:08:07 +02:00
Marco Pesenti Gritti
d8faf0ba04 Get rid of some of the obsolete units usage. 2007-07-31 14:56:05 +02:00
Marco Pesenti Gritti
d4ea1f8101 Do not traceback if bundle version is not integer. 2007-07-30 12:45:01 +02:00
Marco Pesenti Gritti
0f17ae5d04 Cleanup mo packaging. 2007-07-29 15:20:19 +02:00
Tomeu Vizoso
92a953862d #2564: use the activity service name as the base name for translation files. 2007-07-29 12:20:45 +02:00
Marco Pesenti Gritti
0e45b8fcf1 Make sure the handle dict values are string. Looks
like dbus-python get confused if they are dbus.String.
2007-07-26 11:08:31 +02:00
Marco Pesenti Gritti
0a11ebafe8 Increase activity launching timeout. 2007-07-26 10:07:50 +02:00
Marco Pesenti Gritti
6fcad53763 Add icons for the private/shared dropdown. 2007-07-25 15:05:07 +02:00
Marco Pesenti Gritti
1b292a7514 Combo for shared/private in the activity menu. 2007-07-24 11:29:14 +02:00
Tomeu Vizoso
32074713c8 Clean up only when latest call to the DS has finished. 2007-07-23 13:45:46 +02:00
Tomeu Vizoso
cb6d459815 Fix some temp file leaks. 2007-07-20 19:50:49 +02:00
Marco Pesenti Gritti
19c8532d09 Ensure activity uniquness in the shell 2007-07-20 13:15:11 +02:00
Dan Williams
86b36cc5d3 Actually handle multiple mime types 2007-07-18 02:08:16 -04:00
Marco Pesenti Gritti
882a5f2c29 setup.py release does a git pull before releasing. 2007-07-17 22:28:40 +02:00
Marco Pesenti Gritti
9f4da4e6d1 Bundle releases can also contain 0 2007-07-16 00:57:14 +02:00
Marco Pesenti Gritti
2cf15ff1f8 Require a bundle name argument to start(). Apparently
people are doing crazy things and using the parent directory
name does not work well in those cases.
2007-07-13 23:31:03 +02:00
Tomeu Vizoso
91f0eb52aa Adapt to datastore API changes. 2007-07-13 13:20:44 +02:00
Tomeu Vizoso
bbbea6167d gtk.gdk.pixbuf.get_from_drawable can return None in many occasions (patch from Reinier Heeres). 2007-07-11 11:02:43 +02:00
Bert Freudenberg
c1fa54c0c0 bundlebuilder: MANIFEST was still included twice ... fix for real now 2007-07-10 17:06:03 +02:00
Marco Pesenti Gritti
ac082511a2 Use the new activity-stop icon. 2007-07-10 16:09:21 +02:00
Marco Pesenti Gritti
587c1347e1 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-07-10 15:19:10 +02:00
Marco Pesenti Gritti
071cc596c5 Rename close to stop and save to keep 2007-07-10 15:18:08 +02:00
Bert Freudenberg
d16a2fb44a bundlebuilder: include files only once if both default and in MANIFEST 2007-07-10 14:43:56 +02:00
Bert Freudenberg
e14288abb3 do not include setup.py in .xo bundle 2007-07-10 13:59:34 +02:00
Tomeu Vizoso
ecca1dca00 Add caching to the activity and object type registries. 2007-07-09 20:14:24 +02:00
Marco Pesenti Gritti
1ae7a908ea Fix parsing bug 2007-07-09 19:55:06 +02:00
Marco Pesenti Gritti
1d567905c8 Make maint helper add snapshot to NEWS and update NEWS.sugar 2007-07-08 16:04:21 +02:00
Marco Pesenti Gritti
8cc395cae9 Make setup.py release add version to the NEWS file.
Add the news for the release to the global NEWS.sugar.
2007-07-08 15:49:30 +02:00
Tomeu Vizoso
52fff021d0 #1930: Only take preview before closing. 2007-07-06 22:43:16 +02:00
Marco Pesenti Gritti
e322027996 Some setup.py release fixes 2007-07-06 03:11:55 +02:00
Marco Pesenti Gritti
ddecddcb42 Remove unused methods from the activity services. Cleanups. 2007-07-03 20:55:46 +02:00
Marco Pesenti Gritti
502239631e Just warn about missing NEWS 2007-07-02 17:31:39 +02:00
Marco Pesenti Gritti
0926382f69 Typo 2007-07-02 16:50:05 +02:00
Marco Pesenti Gritti
983d494d38 Include NEWS in the xo 2007-06-29 22:52:25 +02:00
Marco Pesenti Gritti
1d4112a882 Set glib program name and application name.
Better way of importing ltihooks.
Several cleanups.
2007-06-29 22:11:28 +02:00
Tomeu Vizoso
a609da166b Don't create so many objects until we have differential versioning support in the datastore. 2007-06-29 20:24:22 +02:00
Marco Pesenti Gritti
d7a8c5430e Make notification work from outside the shell process 2007-06-29 19:05:10 +02:00
Marco Pesenti Gritti
c1ecedeb79 Add a command to automatically do releases. 2007-06-29 01:53:57 +02:00
Marco Pesenti Gritti
0d6760b194 Do not fail is lang is not set 2007-06-28 22:40:37 +02:00
Marco Pesenti Gritti
03ef9c034e Translate the default activity toolbar 2007-06-28 15:55:33 +02:00
Marco Pesenti Gritti
51c66de817 Do not allow to close the journal 2007-06-28 12:03:12 +02:00
John (J5) Palmieri
9cdd9058da add process title setting to activities
* they now will show up as Activity Name <id> in the process list
     truncated to 15 characters though
2007-06-27 17:12:32 -04:00
Marco Pesenti Gritti
2b463a2013 Merge new translations when updating the .pot. 2007-06-26 10:43:49 +02:00
Marco Pesenti Gritti
537556b605 Typo 2007-06-25 11:29:46 +02:00
Marco Pesenti Gritti
2fcca4d656 Add a bunch of copyrights 2007-06-24 14:52:46 +02:00
Marco Pesenti Gritti
99e8077f59 Implement fix-copyright and fix some of them 2007-06-24 14:43:48 +02:00
Marco Pesenti Gritti
90c0ace5c0 Add a license checker.
Remove obsolete testint infrastructure.
2007-06-24 12:05:52 +02:00
Tomeu Vizoso
c1d4f3ce7a Add keep-in-journal button to the activity toolbar. 2007-06-22 14:11:39 +02:00
Marco Pesenti Gritti
c94995148e Refactor translation system a bit 2007-06-21 17:23:32 +02:00
Marco Pesenti Gritti
6f4af67856 Default to the source directory name as bundle name,
allow to override in setup.py.
2007-06-21 14:54:09 +02:00
Marco Pesenti Gritti
61314c9705 Don't make all .py executable please... 2007-06-20 12:31:54 +02:00
Bert Freudenberg
bd86aee0d4 use activity_id in service name
- construct service name from activity id instead of X window id
- cleanup unused declarations in activityfactory.py
- remove obsolete _dbus_name_owner_changed_cb()
- see http://dev.laptop.org/ticket/1767
- cleared by marcopg
2007-06-20 11:52:29 +02:00
Marco Pesenti Gritti
f7b6a0c0af Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-06-19 15:54:05 +02:00
Marco Pesenti Gritti
737a8b3932 Cleanup activity closing 2007-06-19 15:51:56 +02:00
Tomeu Vizoso
99369114cb Set title on change. Fixes #1715. 2007-06-18 20:38:20 +02:00
Marco Pesenti Gritti
3552b92428 Create the locale dir if it does not exist. 2007-06-18 10:05:11 +02:00
Tomeu Vizoso
d4323957a1 Change preview image size. 2007-06-17 14:25:13 +02:00
Tomeu Vizoso
f0e18ba785 Support for previews in the journal. 2007-06-15 18:03:17 +02:00
Tomeu Vizoso
6c0885b490 Check type of bundle path by os.path.isdir(). 2007-06-15 16:48:53 +02:00
Tomeu Vizoso
cb9dd212e9 Add to Bundle facilities for dealing with not-yet-installed bundles. 2007-06-15 11:36:08 +02:00
Tomeu Vizoso
b320ea36cf Some activity registry fixes. Thanks cjb. 2007-06-13 11:50:05 +02:00
Tomeu Vizoso
22689ed1da Several fixes for the object type registry and the activity registry. 2007-06-12 21:57:49 +02:00
Tomeu Vizoso
a9600516fb Take screenshot and save it to the journal (<alt>1). 2007-06-04 18:35:05 +01:00
Marco Pesenti Gritti
b2980d7bd6 Restore get_id/get_service_name, didn't realize they was used by subclasses. 2007-06-03 22:12:47 +02:00
Marco Pesenti Gritti
2b7ffe41d9 Make bundle_id and activity_id window properties to
avoid races.
2007-06-01 21:21:30 +02:00
Marco Pesenti Gritti
fc53bf8667 Support icons inside the activity 2007-05-31 11:30:16 +02:00
Tomeu Vizoso
c35db7acf8 Some refactoring of the DataStore API. 2007-05-29 15:53:58 +02:00
Marco Pesenti Gritti
11437e3484 Add mime matching to the registry. 2007-05-27 20:43:31 +02:00
Marco Pesenti Gritti
42fef182f4 Refactor the bundle registry. Move it inside
the shell and expose the parts that should be
public to the shell dbus service.
2007-05-27 20:24:10 +02:00
Marco Pesenti Gritti
5f912f0330 Avoid to reparse the activity registry on each activity start, hrm! 2007-05-24 19:50:17 +02:00
Marco Pesenti Gritti
98c5c0734e Add API to get the mime types 2007-05-24 17:53:57 +02:00
Marco Pesenti Gritti
1cb7700136 Rename interface name to org.laptop 2007-05-22 14:49:28 +02:00
Tomeu Vizoso
11c89d86c9 Put dates to work correctly on the journal, create a new journal entry when resuming a past entry. 2007-05-20 12:38:08 +02:00
Tomeu Vizoso
5d4b9b1dfa Set the activity icon on new journal entries. 2007-05-19 20:06:36 +02:00
Bert Freudenberg
6dd2f7109c Find executable in bundle (approved by marcopg, fix for #1362) 2007-05-17 13:18:56 +02:00
Tomeu Vizoso
3a1d514e9f Save to the journal when switching to another activity. 2007-05-16 21:30:49 +02:00
Tomeu Vizoso
1d31c51ecc Don't save to the journal on focus-out. 2007-05-16 17:55:56 +02:00
Dan Williams
e659d15384 Make datastore find & update operations async 2007-05-16 00:41:45 -04:00
Marco Pesenti Gritti
9fa0790c2b Do not assume we are packing an ActivityToolbox inside the activity 2007-05-15 11:23:46 +02:00
Marco Pesenti Gritti
141072c9e9 Set a default title for the activity 2007-05-14 19:56:06 +02:00
Marco Pesenti Gritti
820e739a0f Improve the layout of the activity toolbar 2007-05-14 19:27:35 +02:00
Tomeu
f3289d2e59 Implement setting the journal entry title from the toolbar. 2007-05-13 18:21:35 +02:00
Tomeu Vizoso
d6850279a8 Temporary fix while we stabilize the new datastore. 2007-05-10 14:34:10 +02:00
Tomeu Vizoso
30114f9545 Temporary try..excepts while we stabilize the new datastore. 2007-05-10 14:16:48 +02:00
Tomeu Vizoso
929dabd165 Use the new DataStore and remove the old one. 2007-05-10 11:01:32 +02:00
Simon McVittie
00e8348c73 Set _shared_activity correctly when we share an activity successfully 2007-05-09 16:32:16 +01:00