Commit Graph

1013 Commits

Author SHA1 Message Date
Tomeu Vizoso
a6503b8bd8 Merge branch 'master' of git://dev.laptop.org/sugar 2006-11-02 17:21:00 +01:00
Marco Pesenti Gritti
26b04db5e3 Add activity_version support 2006-11-02 11:10:37 +01:00
Tomeu Vizoso
23565cfd48 First version of the ClipboardService. Added support for showing the progress of a pdf download in the clipboard. 2006-11-01 19:43:59 +01:00
Marco Pesenti Gritti
8571920734 Tweak activity search path. Use ~/Activities and XDG_DATA_DIRS/activities 2006-10-31 13:10:34 +01:00
Marco Pesenti Gritti
cb285aba06 Get running activities to work. Still hacky. 2006-10-31 12:06:28 +01:00
Marco Pesenti Gritti
92f37d31da Several fixes, generate the service, add a test bundle 2006-10-31 10:48:45 +01:00
Marco Pesenti Gritti
3e4f570d16 Do not catch exceptions from the called method 2006-10-30 17:05:01 +01:00
Dan Williams
4bf76960a0 Add a text style 2006-10-29 22:41:52 -05:00
Marco Pesenti Gritti
b44dac1010 Don't crash if bundles dir doesn't exist in the profiles 2006-10-29 21:03:28 +01:00
Marco Pesenti Gritti
9a0401e0d0 Fix makefiles 2006-10-29 19:09:13 +01:00
Marco Pesenti Gritti
d150ac40cc More work on bundles support 2006-10-29 19:05:09 +01:00
Marco Pesenti Gritti
87274fd89f Initial bundle registry code 2006-10-29 18:28:48 +01:00
Marco Pesenti Gritti
7a6c1595e3 Removed by mistake 2006-10-25 18:00:52 +02:00
Marco Pesenti Gritti
b873bfe18d Fix icon background color 2006-10-25 15:45:55 +02:00
Marco Pesenti Gritti
96b150d2bb Add stdout and stderr to the logs 2006-10-25 15:24:40 +02:00
Marco Pesenti Gritti
ebb896cb5b Another iteration on the spread out box. Make it work
well also for the mesh.
2006-10-25 14:31:44 +02:00
Marco Pesenti Gritti
159349e7e0 Unused variable 2006-10-25 01:21:49 +02:00
Marco Pesenti Gritti
03d82108d7 Write a chat activity, remove some unused code 2006-10-25 00:36:42 +02:00
Marco Pesenti Gritti
ffbed76210 We was missing the warning level 2006-10-24 20:15:41 +02:00
Marco Pesenti Gritti
6ab3b3c07e Cleanup logs dir on shell startup 2006-10-24 20:00:14 +02:00
Marco Pesenti Gritti
31f6ffe916 Fix up buffering. Improve perf and avoid flickering. 2006-10-23 18:31:13 +02:00
Marco Pesenti Gritti
1ed5450651 Do not trap all exceptions grrr 2006-10-23 17:22:26 +02:00
Dan Williams
1226b0b6b9 Fix Buddy object's get_service_of_type() method
This call would always fail for activity services because the
dbus bindings for it did not pass in the activity at all.  Fix
that.
2006-10-20 13:15:23 -04:00
Dan Williams
fe448938b1 Add default_type accessort to Activity class 2006-10-20 12:30:29 -04:00
Marco Pesenti Gritti
4f81f305b2 Fix a race in the spread box. Adapt to api change. 2006-10-19 16:49:53 +02:00
Dan Williams
941345d649 Add stylesheet.py to Makefile.am 2006-10-19 10:04:07 -04:00
Dan Williams
4260c5a4a5 Enhance SketchPad for easier subclass usage
- New 'new-user-sketch' signal when a local path is closed
- Trap BUTTON_RELEASE_EVENTs now
2006-10-19 09:54:51 -04:00
Dan Williams
4f54f7921f Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-10-19 09:52:55 -04:00
Dan Williams
5a3e7c3c0a Add get_points accessor 2006-10-19 09:52:15 -04:00
Marco Pesenti Gritti
cd29967c2e Refactor a bit to keep host independent from the shell 2006-10-19 15:22:42 +02:00
Marco Pesenti Gritti
cf13a7ff5b Unregister the chat service on destroy. 2006-10-19 14:51:13 +02:00
Marco Pesenti Gritti
fafa1ae35e Refactor stylsheets code a bit to load the global stylsheet
for all modules.
Implement the links sidebar per discussion with Eben.
2006-10-19 11:54:51 +02:00
Marco Pesenti Gritti
e098bdf8eb Fix out of screen computation. Release 0.37 2006-10-18 21:50:14 +02:00
Marco Pesenti Gritti
6c375a20f3 Center the icon in the allocation space 2006-10-18 19:41:34 +02:00
Marco Pesenti Gritti
ea8d801ad8 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-10-18 17:59:40 +02:00
Marco Pesenti Gritti
f3fbea70a3 Rework menu positioning logic 2006-10-18 17:57:41 +02:00
Dan Williams
ea103dc6d8 Make SketchPad background color settable at object creation time rather than hardcoded to ugly green 2006-10-18 11:14:02 -04:00
Marco Pesenti Gritti
54dcb672e5 Move the menu positioning code inside menu shell and
unify it.
2006-10-18 16:23:06 +02:00
Marco Pesenti Gritti
7a06102b2e Fix programmatical popdown 2006-10-18 14:26:07 +02:00
Marco Pesenti Gritti
a4ef03fbda Rewrite the menu activation/deactivation logic using a timeline 2006-10-18 14:05:50 +02:00
Marco Pesenti Gritti
ddac6e07d0 Remove debug code 2006-10-17 14:52:55 +02:00
Marco Pesenti Gritti
96867a37bf Fix browser initialization 2006-10-17 14:51:20 +02:00
Marco Pesenti Gritti
84a2dfac31 Missing var 2006-10-17 14:48:03 +02:00
Marco Pesenti Gritti
637a08154e Fix some path bugs. Reload the profile when first time dialog wrote it. 2006-10-17 14:31:04 +02:00
Marco Pesenti Gritti
99cd1512ae Some cleanups 2006-10-17 10:35:38 +02:00
Marco Pesenti Gritti
ec3094e08b Move the running from source dir hacks in the emulator. 2006-10-17 10:25:47 +02:00
Marco Pesenti Gritti
0836c57f76 Get rid of the global python path extensions 2006-10-17 10:14:42 +02:00
Marco Pesenti Gritti
77f2de8f73 Let activities extend their own path 2006-10-17 10:07:35 +02:00
Marco Pesenti Gritti
4b7b1586d2 Remove unnecessary path 2006-10-17 09:58:35 +02:00
Marco Pesenti Gritti
dc0de1d35d Let the presence service set his own path 2006-10-17 09:57:00 +02:00
Marco Pesenti Gritti
f74614a02b Let the shell deal with extending his own path 2006-10-17 09:39:31 +02:00
Marco Pesenti Gritti
535b67ea41 alt+q shutdown the emulator 2006-10-17 01:09:44 +02:00
Marco Pesenti Gritti
781988589a Add a fullscreen option to the emulator 2006-10-16 17:22:05 +02:00
Marco Pesenti Gritti
f98956acda Cleanup the messages 2006-10-16 17:04:26 +02:00
Marco Pesenti Gritti
4a65739b71 Flush the stream after writing a log 2006-10-16 16:56:48 +02:00
Marco Pesenti Gritti
4e88e927fb Remove the old dbus stuff, use one log file per process 2006-10-16 15:56:22 +02:00
Marco Pesenti Gritti
096d5c5238 Fix makefiles 2006-10-16 13:40:59 +02:00
Marco Pesenti Gritti
6bd4e0f793 Forgot to add these 2006-10-16 13:35:07 +02:00
Marco Pesenti Gritti
bc0ee6d34c Refactor startup. In progress, give me a couple hours.
For now start sugar with "sugar-emulator shell/sugar-shell"
2006-10-16 13:34:43 +02:00
Marco Pesenti Gritti
a3be4492b2 Delete unused p2p model code. Fix distcheck. 2006-10-15 02:03:58 +02:00
Marco Pesenti Gritti
615242f4f8 Add LGPL header 2006-10-15 01:08:44 +02:00
Marco Pesenti Gritti
e176a531ab Remove old browser and fix makefiles 2006-10-13 21:31:51 +02:00
Marco Pesenti Gritti
63e12fbd5e More work on links 2006-10-13 18:05:48 +02:00
Marco Pesenti Gritti
75b158c3d7 First go at shared links (not functional) 2006-10-13 15:46:11 +02:00
Marco Pesenti Gritti
1df5b0020d Fix get_published_values to actually return the dict.
Get rid of the activity title property, we are not using it anyway.
2006-10-13 13:03:24 +02:00
Marco Pesenti Gritti
395472edea Shutdown the factory when all activities has been destroyed.
Initialize the profile.
2006-10-13 11:24:07 +02:00
Marco Pesenti Gritti
62a46ff92b Create a private sugar lib and put our extensions there. 2006-10-12 12:47:17 +02:00
Marco Pesenti Gritti
d01a5cdf95 Move font size in the theme 2006-10-12 02:59:20 +02:00
Marco Pesenti Gritti
d791577e79 Set default font size to 14 2006-10-11 21:55:10 +02:00
Marco Pesenti Gritti
0ec5283081 Adapt gtk icon size to the grid 2006-10-11 19:58:57 +02:00
Marco Pesenti Gritti
3f68640c13 Get rid of the old simulator 2006-10-10 16:35:52 +02:00
Marco Pesenti Gritti
f1f0e9d26c Get names in random order 2006-10-10 10:02:03 +02:00
Marco Pesenti Gritti
279ebda451 Fix children counting 2006-10-10 01:14:24 +02:00
Marco Pesenti Gritti
7fa1b02a82 Fix size request calculation 2006-10-10 00:56:19 +02:00
Marco Pesenti Gritti
067d60573e Join the activity before changing to it 2006-10-10 00:35:37 +02:00
Marco Pesenti Gritti
b309da53f6 Add activity change 2006-10-09 18:29:54 +02:00
Marco Pesenti Gritti
c9b5381c16 Add a list of names to pick from. Refactor a bit to allow different simulator stages.
Create a bunch of random bots.
2006-10-09 18:03:35 +02:00
Marco Pesenti Gritti
386dbe7123 Add a wait method to the bot 2006-10-09 16:35:36 +02:00
Marco Pesenti Gritti
994b337709 Add a bot and ability to share chat 2006-10-09 16:10:01 +02:00
Marco Pesenti Gritti
cbd3a52a68 Do not set up the owner of the presence service if there
is no nick name in the env. I'm not sure this is the best
approach, we need to figure it out.

First go at the new simulator.
2006-10-09 15:11:15 +02:00
Marco Pesenti Gritti
1dd8f78453 Rename the old simulator to oldsimulator to keep kiu working 2006-10-09 13:28:01 +02:00
Marco Pesenti Gritti
8c3ac8960f Spread box cleanups and fixes 2006-10-07 14:33:08 +02:00
Marco Pesenti Gritti
7801e05293 Put the log in the profile. Release 0.33 2006-10-06 18:53:12 +02:00
Marco Pesenti Gritti
d1205dd255 Fix the spread box test and fix the box layout logic too 2006-10-06 18:07:49 +02:00
Marco Pesenti Gritti
7f232c30c2 More fixes 2006-10-06 11:34:29 +02:00
Marco Pesenti Gritti
953b5bf286 Some fixes 2006-10-06 11:17:38 +02:00
Marco Pesenti Gritti
b33a1c141f Move the layouts to be box and subclass them. 2006-10-06 11:11:38 +02:00
Marco Pesenti Gritti
4b36f84c30 Fix several makefiles, use olpc theme for matchbox 2006-10-05 19:48:12 +02:00
Marco Pesenti Gritti
5b37955647 Revert "Install our own matchbox theme to disable shadows"
This reverts 0e77fc5bf9 commit.
2006-10-05 19:34:19 +02:00
Marco Pesenti Gritti
1b0e469dbd More work on the views layout 2006-10-05 18:53:34 +02:00
Marco Pesenti Gritti
924fe94b16 Adapt spread layout to hippo 2006-10-05 18:32:35 +02:00
Marco Pesenti Gritti
aec5cdbdcd Ooops broke default positioning strategy 2006-10-05 17:49:37 +02:00
Marco Pesenti Gritti
6479962ca7 Get back presence list to work 2006-10-05 17:09:38 +02:00
Marco Pesenti Gritti
847f69fce7 More stylification 2006-10-05 16:29:55 +02:00
Marco Pesenti Gritti
0bd96b3987 More stylsheets work 2006-10-05 14:52:33 +02:00
Marco Pesenti Gritti
250060b7f8 Remove several hardcoded sizes, substitute them with stylesheets. 2006-10-05 14:38:37 +02:00
Marco Pesenti Gritti
b3abf30dec Improve stylesheet loading 2006-10-05 13:26:02 +02:00
Marco Pesenti Gritti
0e77fc5bf9 Install our own matchbox theme to disable shadows 2006-10-04 19:52:03 +02:00
Marco Pesenti Gritti
5da630c13a Kill unused code, fix makefiles 2006-10-04 15:37:53 +02:00
Marco Pesenti Gritti
1f8ff1db1f Move all the canvas code that doesn't depend on goocanvas anymore in graphics. 2006-10-04 00:55:20 +02:00
Marco Pesenti Gritti
717bdd66f4 Get rid of the old Grid and CanvasBox 2006-10-04 00:25:03 +02:00
John (J5) Palmieri
6f337e0b14 Changed all type checking to use isinstance 2006-10-03 17:06:48 -04:00
John (J5) Palmieri
be29c542bf Deprecate dbus.dbus_bindings import and use new name_has_owner
API when available
2006-10-03 14:27:51 -04:00
Ian Bicking
bd0e612f1a Changed to tabs, to keep things consistent. 2006-10-03 12:57:50 -05:00
Ian Bicking
bdf9c1b392 Updates to presence test and mockdbus 2006-10-03 12:50:21 -05:00
Ian Bicking
b010c0cd42 I added tests for the presence client interface. But the presence
client interface, I realize, is really boring and not worth testing
much.  More interesting, I guess, is the mockdbus module.  This will
need some more extension to be used by a server (I think), like the
presence server.
2006-10-03 12:25:05 -05:00
Marco Pesenti Gritti
0cd31b900a Move the menu to hippo canvas 2006-10-03 18:52:11 +02:00
Marco Pesenti Gritti
9fd16ddd21 Remove the old menu icon code 2006-10-03 17:17:09 +02:00
Marco Pesenti Gritti
8f9f473073 Fix makefiles 2006-10-03 17:12:34 +02:00
Marco Pesenti Gritti
75b86618de Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-10-03 16:34:14 +02:00
Marco Pesenti Gritti
e14aa30f07 Port mesh and friends view to hippo, needs work 2006-10-03 16:31:32 +02:00
Dan Williams
3524042ad7 Update makefile 2006-10-02 15:46:37 -04:00
Marco Pesenti Gritti
a951b36347 Reimplement menu using hippo and hook it up for the
activity menu.
2006-10-02 16:37:30 +02:00
Marco Pesenti Gritti
0a912e214a Start moving to hippo canvas. (Friends presence in the activity regressed) 2006-10-02 01:50:43 +02:00
Marco Pesenti Gritti
d05f1f13d3 Start rewriting our canvas stuff to cleanup and use hippo.
Out of the build.
2006-10-01 19:08:26 +02:00
Dan Williams
a09dc48669 Fix missing icon check 2006-09-28 17:03:24 -04:00
Dan Williams
8e7fe5dd65 Deal with missing icons 2006-09-28 17:00:15 -04:00
Dan Williams
e95e6c2a4e Import the PS correctly 2006-09-28 15:51:40 -04:00
Dan Williams
70cbd90c7a Fix signal args 2006-09-27 15:01:40 -04:00
Marco Pesenti Gritti
72d43fde28 Add a start method to the activity module, for initialization. 2006-09-26 22:12:18 +02:00
Dan Williams
ce577a6376 Refactor current activity handling to be top-level attributes and D-Bus signals, not stuck in the property dict 2006-09-26 13:31:14 -04:00
Marco Pesenti Gritti
9619921735 Image layout fixes 2006-09-25 21:35:25 +02:00
Dan Williams
5343a4d6ef Fix mixup of set_constraints() args 2006-09-25 15:27:52 -04:00
Dan Williams
d585a251bd Do simple height-flow layout on menu items, and add an add_image() function 2006-09-25 15:20:08 -04:00
Marco Pesenti Gritti
a8322a76eb Fixes 2006-09-25 20:50:15 +02:00
Marco Pesenti Gritti
9dd98949e5 Hrm not really sure why I need this 2006-09-25 19:59:47 +02:00
Marco Pesenti Gritti
2ac1bf7302 Handle image size allocation 2006-09-25 19:06:31 +02:00
Marco Pesenti Gritti
2ee61e4475 Show activities again 2006-09-25 16:40:15 +02:00
Dan Williams
804848ba47 _stringify_hash -> printable_hash; generalize, make more public 2006-09-25 09:45:24 -04:00
Marco Pesenti Gritti
0092d85d61 Initial snow flake layout implementation 2006-09-25 14:32:08 +02:00
Marco Pesenti Gritti
d5f8d62d35 Add size request to BuddyActivityView and use it in IconLayout 2006-09-25 11:35:30 +02:00
Dan Williams
f83567ba32 Determine scale as a float so it's not clamped at 0 2006-09-24 21:53:39 -04:00
Marco Pesenti Gritti
3f73da0549 Some cleanups of the IconLayout 2006-09-24 22:55:13 +02:00
Dan Williams
6473444e09 Add a 'Disappeared' signal on the buddy object 2006-09-22 17:21:34 -04:00
Dan Williams
c978b5ed6d Ensure properties will always be an empty dict 2006-09-22 15:42:11 -04:00
Dan Williams
7061434703 Don't traceback on Ctrl+C 2006-09-22 12:13:34 -04:00
Marco Pesenti Gritti
b6e32680aa Use white for the separator 2006-09-22 14:50:26 +02:00
Marco Pesenti Gritti
d8c61d271a Convert to the new icon format 2006-09-22 14:32:07 +02:00
Marco Pesenti Gritti
ccb33fe254 Missing casts 2006-09-22 11:43:44 +02:00
Marco Pesenti Gritti
5e55efe9d5 Get icon size from the handle. Remove the padding from
the zoom view icons and reorder them.
2006-09-22 10:55:10 +02:00
Dan Williams
4410ad5056 Don't traceback on reset-by-peer errors 2006-09-21 17:02:20 -04:00
Dan Williams
ab7ef75518 Add current activity accessor 2006-09-21 16:44:19 -04:00
Dan Williams
66a1539895 Let Kiu change activities randomly 2006-09-21 16:43:51 -04:00
Marco Pesenti Gritti
66124465e8 Do not show the frame when leaving the edge before the time 2006-09-21 18:04:37 +02:00
Marco Pesenti Gritti
3c64b65829 Drop color schemes per design change 2006-09-21 15:00:59 +02:00
Marco Pesenti Gritti
a054eb3a4b Implement the frame mouse activation logic.
Some fixes in the Timeline
2006-09-21 14:45:36 +02:00
Marco Pesenti Gritti
446a58d52c Simple timeline API.
Use it to implement the frame key logic.
2006-09-21 14:08:10 +02:00
Marco Pesenti Gritti
03539cf942 Add missing file, thanks to bertf 2006-09-20 19:54:49 +02:00
Dan Williams
d0f23744f0 Use asynchronous service resolution to capture service updates too 2006-09-19 13:54:32 -04:00
Marco Pesenti Gritti
ec0debdb30 Do not hide the frame if menushell is active. 2006-09-19 14:43:42 +02:00
Marco Pesenti Gritti
9ff192d0b3 Use a different menu shell for the zoom view and the frame 2006-09-19 14:04:11 +02:00
Marco Pesenti Gritti
0c099a4b7c Do not show titlebar 2006-09-18 12:04:16 +02:00
Marco Pesenti Gritti
274dfbbf6a Add Menu.py, patch by Tomeu Vizoso 2006-09-18 10:12:26 +02:00
Marco Pesenti Gritti
e48c135ae9 Rewrite canvas box layout 2006-09-17 03:35:14 +02:00
Marco Pesenti Gritti
27b2e0080b Remove brain dead -1 2006-09-17 01:19:36 +02:00
Marco Pesenti Gritti
89e2f5be91 Rework menu positioning. Cleanups. 2006-09-17 01:05:59 +02:00
Marco Pesenti Gritti
f77046e76a Correct rect allocation 2006-09-16 21:53:03 +02:00
Marco Pesenti Gritti
edba3e0082 Implement menu color scheme and fixup colors 2006-09-16 20:48:27 +02:00
Marco Pesenti Gritti
a1d2b993c0 Generic menu 2006-09-16 15:36:39 +02:00
Marco Pesenti Gritti
8dbdda5384 Move all the popup logic from IconItem to MenuIcon 2006-09-16 15:01:38 +02:00
Marco Pesenti Gritti
dd6c3fd0fe s/rows/cols 2006-09-16 14:47:25 +02:00
Marco Pesenti Gritti
7c91b1c49f Factor out to a generic icon with menu 2006-09-16 14:45:09 +02:00
Dan Williams
922b7238b9 Merge 2006-09-15 16:50:06 -04:00
Dan Williams
b39eff3365 Refcount tracked service types; ensure only the process that registers a service can change it; add support for updated service properties/published values 2006-09-15 16:41:11 -04:00
Marco Pesenti Gritti
5f99dcf9a5 Move the presence service out of the shell 2006-09-15 13:54:16 +02:00
Marco Pesenti Gritti
b7a5854a0b More color fixes 2006-09-15 03:22:01 +02:00
Marco Pesenti Gritti
86c2de3e68 Urgh I had fill/stroke inverted, no wonder I was getting ugly colors! 2006-09-15 03:08:22 +02:00
Marco Pesenti Gritti
3a10f80aa1 A bunch of cleanups and fixes 2006-09-15 02:54:25 +02:00
Marco Pesenti Gritti
dd15b0d063 Improve function naming 2006-09-15 01:59:49 +02:00
Marco Pesenti Gritti
40ac396055 Fix small bugs in the grid logic 2006-09-15 01:56:59 +02:00
Marco Pesenti Gritti
e12881e36b Pass screen relative coordinates in the popup event 2006-09-14 21:01:59 +02:00
Marco Pesenti Gritti
3b41f1248a More layout fixes 2006-09-14 15:07:22 +02:00
Marco Pesenti Gritti
d053a7f219 Make the popup logic more solid 2006-09-14 14:24:14 +02:00
Marco Pesenti Gritti
fe69dec4ad Implement popup menu for friends 2006-09-14 13:03:11 +02:00
Marco Pesenti Gritti
016891ec9a Get rid of old grid implementation leftovers 2006-09-13 13:53:27 +02:00
Marco Pesenti Gritti
5086f2835e Forgot to add files 2006-09-13 13:50:17 +02:00
Marco Pesenti Gritti
857b9cb659 Rewrite of the grid stuff. Simpler api and cleaner implementation.
Also follow the micro grids in pentagram design.
2006-09-13 13:50:00 +02:00
Marco Pesenti Gritti
2956a3ab8c Adapt to LocalModel interface 2006-09-12 13:39:48 +02:00
Marco Pesenti Gritti
53f7cc1f34 Cleanup browser model service on destroy.
Remove the activity service even if the owner is gone.
2006-09-12 13:21:18 +02:00
Marco Pesenti Gritti
d06cb74d25 Cast size to int 2006-09-11 19:25:16 +02:00
Marco Pesenti Gritti
6a90ef11d3 Export the color in the env and initialize the buddy with it 2006-09-11 15:18:57 +02:00
Marco Pesenti Gritti
8950e0e355 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-11 13:13:35 +02:00
Marco Pesenti Gritti
6bf9c36e7f Simple svg render buffering 2006-09-11 13:13:17 +02:00
Ivan Krstić
8256be0cf2 Log unhandled exceptions in /tmp/sugar.log 2006-09-11 01:29:20 -04:00
Marco Pesenti Gritti
9aaaa500a6 Optimize cache a bit and cleanup code 2006-09-11 00:36:12 +02:00
Marco Pesenti Gritti
35e64c154a Redraw existing bounds on do_update 2006-09-10 23:48:23 +02:00
Marco Pesenti Gritti
a75adee698 Redraw on properties changes 2006-09-10 23:41:11 +02:00
Marco Pesenti Gritti
f43b97a202 Add timelined actions 2006-09-10 13:50:22 +02:00
Marco Pesenti Gritti
5b31e2b134 Abtract the bot code out to Bot 2006-09-10 13:31:08 +02:00
Marco Pesenti Gritti
7958f30744 Write a non ui test session. 2006-09-10 03:07:10 +02:00
Marco Pesenti Gritti
3884507a74 Write a session for ui tests and use it for test-icons 2006-09-10 02:54:05 +02:00
Marco Pesenti Gritti
47cc58b1e6 Make part of the session public so that it can used by tests 2006-09-10 02:35:53 +02:00
Marco Pesenti Gritti
f4f70d22f1 Remove old bots implementation. I'm going to rewrite this. 2006-09-10 01:38:04 +02:00
Marco Pesenti Gritti
85a10c7775 Add missing file 2006-09-09 14:52:50 +02:00
Marco Pesenti Gritti
1cc21aa7cf Remove invites when accepted 2006-09-09 14:37:11 +02:00
Marco Pesenti Gritti
9d4911d1e3 Insert the invites before the activities 2006-09-09 14:11:24 +02:00
Marco Pesenti Gritti
4cca5dc9ff Use stock-missing when there is no activity icon 2006-09-09 13:25:56 +02:00
Marco Pesenti Gritti
2b1a11fb66 Improved layout strategy 2006-09-09 12:23:01 +02:00
Marco Pesenti Gritti
1eae3082c2 add file 2006-09-08 22:52:06 +02:00
Marco Pesenti Gritti
f26e85a1fa Write a canvas subclass in 1200x900 that adapts to screen.
Use it in the test.
2006-09-08 22:49:49 +02:00
Dan Williams
e402fe3286 Get initial properties synchronously rather than async 2006-09-08 11:26:40 -04:00
Marco Pesenti Gritti
233051875b Bring around both colors, since multiple combinations can have
the same base color.
2006-09-08 15:09:10 +02:00
Marco Pesenti Gritti
8d27527fd9 Integrate new colors table 2006-09-08 13:53:55 +02:00
Marco Pesenti Gritti
39e1e08082 Fix redrawing 2006-09-08 11:54:31 +02:00
Marco Pesenti Gritti
071719e0a4 Do not sum up multiple translations 2006-09-08 11:31:11 +02:00
Marco Pesenti Gritti
10f3c1bc92 More fixes 2006-09-08 10:38:45 +02:00
Marco Pesenti Gritti
d2ca088057 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-08 10:20:17 +02:00
Marco Pesenti Gritti
53d9686e6e Use float for x,y,w,h 2006-09-08 10:16:23 +02:00
Dan Williams
e2306d81bd Add PropertyChanged signal for Buddy objects because color and address can change later. Also don't try to stuff None through dbus 2006-09-07 23:30:22 -04:00
Marco Pesenti Gritti
5f93f41387 Typo 2006-09-08 02:59:05 +02:00
Marco Pesenti Gritti
6bbb20c4c7 Add padding in the constraints constructor 2006-09-08 02:20:11 +02:00
Marco Pesenti Gritti
57d1221cd3 Ensure w/h > 0 2006-09-08 02:11:46 +02:00
Marco Pesenti Gritti
d51a00eaec Get the top panel back 2006-09-08 00:51:45 +02:00
Marco Pesenti Gritti
7850970f27 Make the frame adapt to screen size again.
Several cleanups.
Fixup makefiles
2006-09-07 19:51:27 +02:00
Marco Pesenti Gritti
5988a89517 Write a GridModel, with correct size and layout, and use it 2006-09-07 19:03:40 +02:00
Marco Pesenti Gritti
fbc7bd8b97 Fix inverted rows/cols 2006-09-07 18:47:15 +02:00
Marco Pesenti Gritti
4f0a470b8e Forgot to add files. Remove debug code 2006-09-07 16:42:12 +02:00
Marco Pesenti Gritti
21b19924ea Implement the grid, regress UI a bit 2006-09-07 15:11:51 +02:00
Marco Pesenti Gritti
6aadff4e87 Simple grid layout 2006-09-07 11:36:04 +02:00
Marco Pesenti Gritti
01c4658ee0 Make conf private, expose the nick name from env 2006-09-04 21:34:54 +02:00
Marco Pesenti Gritti
98c301568d Remove unnecessary method from the dbus service 2006-09-02 11:43:32 +02:00
Marco Pesenti Gritti
58a79eb123 Get rid of default type from the activity definition.
Modify code to use activity type id instead, except
from mapping service to activity.
2006-09-02 10:54:34 +02:00
Marco Pesenti Gritti
c39d693d08 Handle transformations 2006-09-01 18:46:56 +02:00
Marco Pesenti Gritti
4c80db6da0 Some cleanups 2006-09-01 15:00:45 +02:00
Marco Pesenti Gritti
126ed5840f Respect constructor properties 2006-08-31 22:41:41 +02:00
Marco Pesenti Gritti
0ae39c93e7 Reimplement the icon item to render svg directly.
Some regressions sorry, need also to fix pygoocanvas...
2006-08-31 22:29:31 +02:00
Dan Williams
721ef6e29c Write out log strings as utf8 2006-08-29 11:52:49 -04:00
Marco Pesenti Gritti
b6cf5ef31e Get the zoom level buttons to work 2006-08-28 14:36:48 +02:00
Marco Pesenti Gritti
766f9d6e68 Use gproperties in IconItem, make the color optional 2006-08-28 12:44:46 +02:00
Marco Pesenti Gritti
e34d437fb9 Make paths manipulation stuff private 2006-08-26 13:38:42 +02:00
Marco Pesenti Gritti
93d489741d Automatically read the profile (lazily) 2006-08-26 13:35:03 +02:00
Marco Pesenti Gritti
a7c552c038 Get rid of env.get_nick_name, that comes from the profile now 2006-08-26 13:03:06 +02:00
Marco Pesenti Gritti
4f3e3a290c Remove unused MeshChat 2006-08-26 12:56:40 +02:00
Marco Pesenti Gritti
8ab45f697d Do not expose unnecessary api 2006-08-26 12:52:55 +02:00
Marco Pesenti Gritti
508ab2af25 Move DonutItem out of public api 2006-08-26 11:47:02 +02:00
Dan Williams
ef47f6e4c5 Fix buddy & activity visibility leaks if they are not yet valid; add Activity color attribute and don't make activity valid until we get the color 2006-08-25 14:55:19 -04:00
Marco Pesenti Gritti
6b232d97d8 Rework profiles code a bit, initialize gecko profile 2006-08-25 20:12:52 +02:00
Dan Williams
ba3d5fce8c Don't traceback when buddies have bad colors 2006-08-25 12:11:25 -04:00
Marco Pesenti Gritti
7646366553 Keep the bindings private 2006-08-25 14:39:58 +02:00
Marco Pesenti Gritti
7fe9f84a0a Initialize the service to None 2006-08-25 01:06:37 +02:00
Dan Williams
9e970b5b0f Add IconColor.py to makefile 2006-08-24 14:39:53 -04:00
Dan Williams
18a9ea1872 Try to fix MostlyReliablePipe tracebacks in multicast stuff 2006-08-24 12:40:12 -04:00
Dan Williams
d2c0829165 Don't traceback when somebody doesn't advertise their color 2006-08-24 11:09:53 -04:00
Marco Pesenti Gritti
3f50668494 Add color support to the profile 2006-08-23 21:03:17 +02:00
Dan Williams
eef5e5b18a Convert PS bindings instantiation into a singleton to cut resource usage 2006-08-23 11:38:56 -04:00
Dan Williams
d334b6e3bd Add a color property and access to Buddy objects 2006-08-23 11:14:46 -04:00
Marco Pesenti Gritti
9f674ef232 Add missing files 2006-08-22 16:18:49 +02:00
Marco Pesenti Gritti
bf8f1e30ad Forgot to add these 2006-08-22 16:15:52 +02:00
Marco Pesenti Gritti
511fec421f Simple profile support. First time dialog (ugly and only nick atm). 2006-08-22 16:15:34 +02:00
Marco Pesenti Gritti
3e51b086df Create a conf module. Move activity registry out of the shell
(should only be graphical) into it.
2006-08-22 14:01:53 +02:00
Marco Pesenti Gritti
a3f62ee68f Integrate Walter color values.
(Still not fully hooked up to buddies)
2006-08-19 14:27:56 +02:00
Marco Pesenti Gritti
32a368bdbb Adapt to the new artwork stylesheets 2006-08-19 13:39:13 +02:00
Marco Pesenti Gritti
58ddb555c4 Merge demo4 branch 2006-08-19 11:56:49 +02:00
Marco Pesenti Gritti
f8c4f0bd66 Skeleton group chat activity.
Fix positioning in the activity bar.
2006-08-19 11:54:41 +02:00
Marco Pesenti Gritti
0d4acb6e78 Start implementing friends/mesh 2006-08-19 11:12:25 +02:00
Marco Pesenti Gritti
825758018d Update the color property name 2006-08-18 19:36:36 +02:00
Dan Williams
8b912fb9fa Don't use dbus for logging until we get deadlock issues sorted out 2006-08-17 16:27:16 -04:00
Dan Williams
f1d6f96dc4 Reset idle_id so we keep logging even if the console isn't set up yet 2006-08-17 14:46:52 -04:00
Marco Pesenti Gritti
14c9c55731 Typo 2006-08-17 14:43:17 +02:00
Marco Pesenti Gritti
640fff5619 Handle activity closed by removing his piece from the donut. 2006-08-17 14:42:29 +02:00
Marco Pesenti Gritti
f65d23c440 Add icon for activity to the donut.
Add signals in the shell for window open/close and use them in the task view.
2006-08-17 14:23:52 +02:00
Marco Pesenti Gritti
10f356cb22 Add fg and bg circles, fill the paths 2006-08-17 13:16:48 +02:00
Marco Pesenti Gritti
fb829989c7 Get tasks adding to work 2006-08-17 12:09:45 +02:00
Marco Pesenti Gritti
e5ed8275a1 Some work on the donut... 2006-08-17 11:47:41 +02:00
Marco Pesenti Gritti
7990bc0d31 Get activity bar and activity creation to work 2006-08-17 10:32:59 +02:00
Dan Williams
6d7782654c Cache activity id 2006-08-16 23:05:53 -04:00
Dan Williams
95c06280ca Add threadframe and TracebackUtils.py so we can get tracebacks of dbus deadlocks 2006-08-16 23:05:44 -04:00
Marco Pesenti Gritti
dae3d2be2b Some work to implement the activity bar 2006-08-16 23:20:22 +02:00
Marco Pesenti Gritti
7dddefe229 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar into demo4 2006-08-16 19:55:34 +02:00
Marco Pesenti Gritti
115eefb4c2 Implement a canvas element that can draw svg icons
with different colors.
2006-08-16 19:55:13 +02:00
Marco Pesenti Gritti
6b181ced13 Some cleanups 2006-08-16 00:41:51 +02:00
Marco Pesenti Gritti
1cfd208f7b Do not pass the timeout argument if we are using the in-process console 2006-08-16 00:30:50 +02:00
Marco Pesenti Gritti
b1c7385204 Print traces also on stderr 2006-08-15 13:15:46 +02:00
Marco Pesenti Gritti
621e43563f Get rid of the initial implementation of Diana design since that's no more the plan. 2006-08-14 20:54:33 +02:00
Marco Pesenti Gritti
3d4330580c Factor out a queue from the handler and use it for exceptions too.
Send all messages in the same dbus call.
2006-08-14 12:18:58 +02:00
Marco Pesenti Gritti
6eb7117c25 Getting presence service logging to work.
Don't lose debug state when switching tab.
2006-08-13 02:57:12 +02:00
Marco Pesenti Gritti
dd7fff79f8 Fix add_python_path, ensure service exist before trying to log 2006-08-13 01:31:24 +02:00
Marco Pesenti Gritti
c7c71d25a8 Use dbus activation to start the presence service 2006-08-13 00:28:38 +02:00
Marco Pesenti Gritti
e2e5bc0000 Install service files for the presence service 2006-08-13 00:06:52 +02:00
Marco Pesenti Gritti
e57f4da027 Factor out a function to write services from the activities setup code 2006-08-12 23:47:14 +02:00
Marco Pesenti Gritti
c07612c858 Fix running from installed 2006-08-12 23:38:52 +02:00
Marco Pesenti Gritti
bb60b8ad3e Cleanup environemnt setup 2006-08-12 23:35:52 +02:00
Marco Pesenti Gritti
d41c761e02 Simplify profile/nick name code. Use SUGAR_NICK_NAME env. 2006-08-12 21:34:06 +02:00
Marco Pesenti Gritti
2636bc63d0 Split the console service out of the shell, to remove dep 2006-08-12 16:19:47 +02:00
Marco Pesenti Gritti
fc1aefc72c Use dbus-launch with the --exit-with-session. dbus not exiting still not fully solved. 2006-08-12 01:29:55 +02:00
Marco Pesenti Gritti
72bf637091 Actually enable exception logging 2006-08-11 23:30:03 +02:00
Marco Pesenti Gritti
9585330e43 Add a way to enable/disable displaying debug messages 2006-08-11 17:05:06 +02:00
Marco Pesenti Gritti
884eef4bd5 Show all activities output in the console, just
activate the tab for the current activity.
2006-08-11 15:21:11 +02:00
Marco Pesenti Gritti
628271959c Refactor the console stuff 2006-08-11 13:05:33 +02:00
Marco Pesenti Gritti
27456ff723 Remove the theme hacks. sugar-jhbuild set this up fine now. 2006-08-10 23:54:34 +02:00
Marco Pesenti Gritti
9b12b11534 Get one-to-one chat back to work 2006-08-10 00:54:54 +02:00
Marco Pesenti Gritti
0dcaf314f7 Several fixes and cleanups 2006-08-09 18:29:33 +02:00
Marco Pesenti Gritti
95d9b7fe8e More work on the chat. Fix terminal api 2006-08-09 15:53:10 +02:00
Marco Pesenti Gritti
a0c69066d4 Remove default_type from the dbus service too 2006-08-09 13:05:57 +02:00
Marco Pesenti Gritti
7db5479c5c It's not necessary to pass the default_type around anymore. 2006-08-09 13:01:47 +02:00
Marco Pesenti Gritti
7e85c5160e Setup the activity from the shell process, through dbus,
this simplifies things a lot...
2006-08-09 12:57:42 +02:00
Marco Pesenti Gritti
4d67407f6a Cleanups 2006-08-09 02:13:56 +02:00
Marco Pesenti Gritti
70485218c0 Split the factory to his own module 2006-08-09 02:02:34 +02:00
Marco Pesenti Gritti
7ab6da7278 Actually join the activity, check for duplicates in the model. 2006-08-09 01:50:35 +02:00
Marco Pesenti Gritti
c6d59fd7b4 Improve the activity api 2006-08-09 01:08:19 +02:00
Marco Pesenti Gritti
f1821704e7 Cleanups and document a bit 2006-08-08 12:34:04 +02:00
Marco Pesenti Gritti
892c61e63a Publish and use title for the activities model 2006-08-08 12:08:16 +02:00
Marco Pesenti Gritti
2535a88645 Use the default service to get activity informations, instead
of Activity ps object.
2006-08-08 12:01:45 +02:00
Marco Pesenti Gritti
544e47cbe0 Move activity service registration in Activity 2006-08-07 16:42:36 +02:00
Marco Pesenti Gritti
9274f9707f Remove args from the factory interface 2006-08-07 16:26:54 +02:00
Marco Pesenti Gritti
d919848324 Rework to not use protected API 2006-08-07 11:08:10 +02:00
Marco Pesenti Gritti
167dbec0f5 Add a script to install external activities 2006-08-04 15:54:28 +02:00
Dan Williams
3117d454b9 add service unregistration 2006-08-02 10:27:09 -04:00
Marco Pesenti Gritti
86bd6f50f0 Use dbus activation to launch factories. This breaks
p-to-p chat and ./sugar/activities. Will fix tomorrow.
2006-07-28 01:25:08 +02:00
Marco Pesenti Gritti
d778d45b13 Load the current page when joining an active.
Get back page sharing to work.
2006-07-26 18:00:28 +02:00
Marco Pesenti Gritti
fd6367007a Get chat to work again 2006-07-26 14:05:43 +02:00
Marco Pesenti Gritti
5f628f1a4f Get presence to work on the chat window 2006-07-26 13:41:49 +02:00
Marco Pesenti Gritti
0947581a11 A bunch of fixes... 2006-07-26 12:57:54 +02:00
Marco Pesenti Gritti
57cc6a303c Some fixes, adapt the presence view to the new api 2006-07-26 11:44:54 +02:00
Dan Williams
ae1b278d7a Fix getting published service values 2006-07-25 19:15:36 -05:00
Dan Williams
80b92fe2aa Merge branch 'master' of git+ssh://dcbw@dev.laptop.org/git/sugar 2006-07-25 19:04:20 -05:00
Dan Williams
164add907d Make shareActivity work 2006-07-25 19:04:15 -05:00
Marco Pesenti Gritti
2e58cc8786 Work around for dbus locking issue 2006-07-26 01:14:31 +02:00
Dan Williams
e5065263a9 s/publish/share 2006-07-25 17:17:05 -05:00
Dan Williams
8d232ae292 Fix spacing 2006-07-25 16:46:09 -05:00
Dan Williams
e3065ba02d Merge branch 'master' of git+ssh://dcbw@dev.laptop.org/git/sugar 2006-07-25 16:38:52 -05:00
Dan Williams
ea133a9c6d merge 2006-07-25 16:38:48 -05:00
Dan Williams
c1e0bd39b2 presence.py is no longer used 2006-07-25 16:36:51 -05:00
Marco Pesenti Gritti
1ef5c576c2 Do not use dbus_bindings for exceptions. Use dbus.exceptions. Thanks J5 to point it out. 2006-07-25 22:52:45 +02:00
Marco Pesenti Gritti
ef71679ed6 Rewrite this since I forgot to add it and lost it grrr 2006-07-25 18:39:03 +02:00
Dan Williams
3798f29a6b Make dbus service properties public 2006-07-24 11:27:21 -05:00
Dan Williams
318c49bacf Don't traceback when our activity can't be found (because it's not shared) 2006-07-24 11:13:07 -05:00
Dan Williams
a827175a28 Fix dbus_bindings import namespace 2006-07-24 11:08:59 -05:00
Dan Williams
ba6c75725d Fix occurances of get_nick_name() -> get_name() 2006-07-24 10:57:21 -05:00
Dan Williams
a216a19f3f Re-enable ActivityChat service existing chat service detection code 2006-07-24 10:57:02 -05:00
Dan Williams
5887cb39bb Fix get_icon_pixbuf() 2006-07-24 10:56:06 -05:00
Marco Pesenti Gritti
d2f76cc41d More work on the new home page.
Remove obsolete import.
2006-07-24 15:11:14 +02:00
Marco Pesenti Gritti
1acd82599a Start working on Diana's home window visual design 2006-07-24 12:48:12 +02:00
Marco Pesenti Gritti
e4a87bea06 Implement a stage view 2006-07-24 12:15:52 +02:00
Marco Pesenti Gritti
5cec8f9734 Better applying of transformations 2006-07-24 11:53:02 +02:00
Marco Pesenti Gritti
78660bfcf6 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-07-24 11:02:10 +02:00
Marco Pesenti Gritti
1e3633baf7 Implement translation 2006-07-24 11:01:25 +02:00
Dan Williams
5afb98d0ae Add missing import 2006-07-23 22:29:27 -05:00
Dan Williams
7c996b0011 More fixes, and convert python PS bindings to more glib style method names 2006-07-23 09:21:00 -05:00
Dan Williams
b63e78a174 Make the PresenceService stuff start to work 2006-07-22 23:56:40 -05:00
Marco Pesenti Gritti
1c35f8d92c Small improvements 2006-07-22 14:32:04 +02:00
Marco Pesenti Gritti
1e3af85c40 Implement basic animation 2006-07-22 13:48:47 +02:00
Marco Pesenti Gritti
a292b642e1 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-07-22 12:42:02 +02:00
Marco Pesenti Gritti
fe69904b6c Add layout manager and a circle layout 2006-07-22 12:28:59 +02:00
Marco Pesenti Gritti
a02313d85a Beginnings of a simple scene API. Inspired opened-hand's Clutter 2006-07-22 11:54:27 +02:00
Dan Williams
ea264a1a83 More PS bits 2006-07-22 01:26:39 -04:00
Marco Pesenti Gritti
48a21ef143 Add each activity to a separate window group to get
a correct behavior with transient windows in matchbox.
Thanks to Matthew Allum for suggesting this.
2006-07-20 17:52:31 +02:00
Marco Pesenti Gritti
32bb288389 Some build fixes. pygtk.require at least one time for process. 2006-07-20 16:49:11 +02:00
Marco Pesenti Gritti
d6ec6db880 Make the console contextual to the activity and use the
window manager to activate it.
2006-07-20 12:13:47 +02:00
Marco Pesenti Gritti
87cb115aa0 Abstract activity on the shell side into an ActivityHost object.
Comment out/fix more ps borkage.
2006-07-20 11:34:06 +02:00