Commit Graph
100 Commits
Author SHA1 Message Date
Marco Pesenti Gritti eae978346d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-14 14:20:14 +01:00
Marco Pesenti Gritti 1650ff3111 Use nsIWebBrowser conditionally, so that people don't need to patch mozilla. 2007-03-14 14:19:31 +01:00
Marco Pesenti Gritti 4960ddae25 Adapt to the new hippo canvas sizing API 2007-03-14 03:19:24 +01:00
Marco Pesenti Gritti 9d8fa7d42a Implement save_document 2007-03-13 17:12:09 +01:00
Marco Pesenti Gritti c9bdd4418c Implement save_uri. Add boolean return arguments. 2007-03-13 14:07:03 +01:00
Marco Pesenti Gritti 49ef39ac7c Add saving API, unimplemented. 2007-03-13 12:59:58 +01:00
Marco Pesenti Gritti 6b14d9e883 Get the image uri from the DOM 2007-03-13 12:51:15 +01:00
Marco Pesenti Gritti e05313c152 First go at adding events support to Browser 2007-03-13 11:41:27 +01:00
Marco Pesenti Gritti ac8805246d Actually use EASE_OUT by default, add EASE_IN.
Thanks to Dan to point this out.
2007-03-13 00:25:41 +01:00
Marco Pesenti Gritti d041eadf92 Give up on the save/restore logic, it seem too unpredictable to be clear to the user.
Try a simpler logic where the frame state is reset when switching zoom levels.
2007-03-13 00:19:21 +01:00
Marco Pesenti Gritti 2c468110ba Go back to the home page when all activities are closed. 2007-03-12 22:47:17 +01:00
Marco Pesenti Gritti 57b9ca4b71 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	shell/view/Shell.py
2007-03-12 22:39:00 +01:00
Marco Pesenti Gritti 3bfd94899a Bunch of fixes 2007-03-12 22:29:11 +01:00
Marco Pesenti Gritti bf80cb55b9 Some cleanups in the Shell. Add a way to save/restore the frame state. 2007-03-12 20:18:55 +01:00
Marco Pesenti Gritti 2bd609e5fd Cleanup 2007-03-12 19:14:02 +01:00
Marco Pesenti Gritti ed454220e6 Cleanup 2007-03-12 19:13:09 +01:00
Marco Pesenti Gritti d389933b77 Remove the old timeline 2007-03-12 18:13:01 +01:00
Marco Pesenti Gritti d91c7a90e4 Rework the popup animation to use the new API 2007-03-12 17:47:09 +01:00
Marco Pesenti Gritti f435a60ca0 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-12 16:58:06 +01:00
Marco Pesenti Gritti ce91f2df99 Force hiding when running an activity even if the user hover the frame again. 2007-03-12 16:57:52 +01:00
Marco Pesenti Gritti 978965bfa8 Fix a race 2007-03-12 16:30:53 +01:00
Marco Pesenti Gritti 0d90a7b4e7 More fixes to the hover logic.. 2007-03-12 16:22:03 +01:00
Marco Pesenti Gritti 49b0db642e Fix hover checking logic 2007-03-12 16:09:41 +01:00
Marco Pesenti Gritti acaac29906 Add the frame when starting an activity 2007-03-12 14:54:55 +01:00
Marco Pesenti Gritti 540cef4b0d Implement modes, some fixes 2007-03-12 14:48:02 +01:00
Marco Pesenti Gritti a3a6d0cd89 Implement mouse logic 2007-03-12 14:05:50 +01:00
Marco Pesenti Gritti c4fbb41bcd Complete the key logic 2007-03-12 13:35:07 +01:00
Marco Pesenti Gritti 0984938f95 New animation API. Start rewriting the frame slidein slideout logic.
(Use the keys for now, mouse is not working)
2007-03-12 12:39:29 +01:00
Marco Pesenti Gritti 158d933a10 Complete the UI for the battery 2007-03-12 10:51:48 +01:00
Marco Pesenti Gritti cc7ad2d42b Missing imports 2007-03-09 17:43:55 +01:00
Marco Pesenti Gritti b8cc8ec68f Drop support for running from source dir. As it is now it's just confusing.
Will have to figure out the exact needs and rewrite in a better way.
2007-03-09 17:38:05 +01:00
Marco Pesenti Gritti 6c5d28ecf5 Save also the sugar session display and use it in sugar-activity. 2007-03-09 17:29:03 +01:00
Marco Pesenti Gritti a5d303f9ff Smarter bundle name matching 2007-03-09 16:55:18 +01:00
Marco Pesenti Gritti d3493aea9e Smarter sugar-activity which can make itself the factory and open
one instance.
2007-03-09 16:35:53 +01:00
Marco Pesenti Gritti 1587218e9e Remove unused files 2007-03-09 15:07:08 +01:00
Marco Pesenti Gritti 8a98cdc6e0 Fix matchbox invocation 2007-03-09 14:59:47 +01:00
Marco Pesenti Gritti 62a1b69bcf Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-09 14:58:09 +01:00
Marco Pesenti Gritti 57c928916c Refactor sugar.env and paths 2007-03-09 14:57:54 +01:00
Marco Pesenti Gritti a380b7f915 Move data to be relative to the code. 2007-03-09 14:07:17 +01:00
Marco Pesenti Gritti 73c1dbe4a7 CLeanup emulator shutdown 2007-03-09 13:53:26 +01:00
Marco Pesenti Gritti 6afd512d55 Cleanup kbd config passing 2007-03-09 13:47:17 +01:00
Marco Pesenti Gritti c255a7b544 Remove unused var 2007-03-09 13:28:00 +01:00
Marco Pesenti Gritti 66e341c58e Use button_press virtual method instead of the connect_after hacks. 2007-03-09 13:12:52 +01:00
Marco Pesenti Gritti 2d9a06ec9a Add the root path of the services to python path, not services/.
Get rid of the now useless env.get_services_dir
2007-03-09 12:32:32 +01:00
Marco Pesenti Gritti 810bea6772 Remove unused var 2007-03-09 12:08:10 +01:00
Marco Pesenti Gritti 1d70e212c7 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-09 11:24:38 +01:00
Marco Pesenti Gritti cda47a41f4 Implement ToggleIconButton 2007-03-09 11:22:51 +01:00
Marco Pesenti Gritti e9f3099635 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-08 15:50:54 +01:00
Marco Pesenti Gritti 751fa0f663 Correct sugar-shell path logic 2007-03-08 15:50:29 +01:00
Marco Pesenti Gritti e1f0ba15f4 Make sugar-emulator [program] actually work again 2007-03-08 11:44:00 +01:00
Marco Pesenti Gritti 8ddaa516b3 Add a default picture, so that we don't force people to find one.
Implementation is ugly but the cleanest I could come with :(
2007-03-08 01:33:55 +01:00
Marco Pesenti Gritti 655e4018f2 Do not show the battery device since it's not hooked up 2007-03-07 22:30:52 +01:00
Marco Pesenti Gritti 8c928f05b8 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-07 14:24:06 +01:00
Marco Pesenti Gritti eefad0aeed Do not try to add access points on model removed signal!
Some fixes to access point state.
2007-03-07 14:23:44 +01:00
Marco Pesenti Gritti ce6d21075f Simplified logic using a grid. It looks ugly but we don't care right now. 2007-03-07 12:11:14 +01:00
Marco Pesenti Gritti dacf05fcd9 Intialize the service to None, we are freeing it later. 2007-03-07 10:59:48 +01:00
Marco Pesenti Gritti 1992a8a2d8 Disable journal automatic startup for now 2007-03-06 03:03:28 +01:00
Marco Pesenti Gritti e62fcbd296 Call remove access point with the right signature 2007-03-05 20:32:39 +01:00
Marco Pesenti Gritti 59c1d0f437 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-05 13:34:45 +01:00
Marco Pesenti Gritti d06c1af638 Tweak menu layout 2007-03-05 13:34:31 +01:00
Marco Pesenti Gritti 5cc06cb5eb Tweak optionmenu and entry paddings 2007-03-05 12:43:32 +01:00
Marco Pesenti Gritti 5ae521be77 Fix aligment of menu icons 2007-03-05 12:29:52 +01:00
Marco Pesenti Gritti 52ca451a05 More fake entries improvements 2007-03-05 12:05:13 +01:00
Marco Pesenti Gritti 583ea4214d Improve the demo entries 2007-03-05 12:00:51 +01:00
Marco Pesenti Gritti 4d0c540f85 Fix bw/color switch. Patch by Owen Williams. 2007-03-04 00:54:50 +01:00
Marco Pesenti Gritti b4836718de Fix signal signature 2007-03-03 21:25:34 +01:00
Marco Pesenti Gritti 8763d9d5e2 Typo 2007-03-02 22:22:20 +01:00
Marco Pesenti Gritti 1cadd9c1ce Add object_id 2007-03-02 21:58:36 +01:00
Marco Pesenti Gritti 921bccd48c Tweak video size. People report it's too big on the olpc too.
Dan feel free to tweak this, I'm changing it to get a functional
build in for tonight compose.
2007-03-02 21:02:18 +01:00
Marco Pesenti Gritti 69f8d84663 Make video size resolution dependent at least in the emulator. 2007-03-02 20:39:29 +01:00
Marco Pesenti Gritti 7b89672604 Catch GetActiveNetwork exceptions.
Listen for activation failures.
2007-03-02 16:45:09 +01:00
Marco Pesenti Gritti d748682ef7 Handle the case where we get an Activating event
but we don't have an active device yet.
2007-03-02 15:56:06 +01:00
Marco Pesenti Gritti baad778406 Improve logging 2007-03-02 15:11:59 +01:00
Marco Pesenti Gritti d1a29ecf32 Set font to 7 points. Tweak zoom levels. 2007-03-01 21:38:38 +01:00
Marco Pesenti Gritti 1c69095310 Remove TODO 2007-03-01 16:31:14 +01:00
Marco Pesenti Gritti 819d08082c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-01 15:53:03 +01:00
Marco Pesenti Gritti 8ec1e2b524 Use the dropdown icon. Quite an hack to get the icon size right,
we will have to fix this properly.
2007-03-01 15:52:36 +01:00
Marco Pesenti Gritti 6c16653173 Convert points correctly to device. Tweak zoom factor logic a bit 2007-02-28 21:04:26 +01:00
Marco Pesenti Gritti abc400f841 Fix points_to_pixels impl 2007-02-28 19:05:56 +01:00
Marco Pesenti Gritti 458aaf3786 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-28 18:00:31 +01:00
Marco Pesenti Gritti ad17143eb3 Missing file 2007-02-28 18:00:03 +01:00
Marco Pesenti Gritti 32ac23ce27 Make the icon pulse when connecting 2007-02-28 16:19:01 +01:00
Marco Pesenti Gritti b364612615 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-28 15:43:11 +01:00
Marco Pesenti Gritti aec4fcf874 More work on devices, getting there 2007-02-28 15:42:41 +01:00
Marco Pesenti Gritti b473b4f17c Pass the X dpi to Xephyr. Default to a minimum of 96, some distros appear to be broken. 2007-02-28 13:24:47 +01:00
Marco Pesenti Gritti 3baf796d83 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-28 12:38:47 +01:00
Marco Pesenti Gritti d47d882bce Port the whole dpi check from mozilla 2007-02-28 12:38:29 +01:00
Marco Pesenti Gritti e3bab8cd12 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-27 23:19:16 +01:00
Marco Pesenti Gritti 5f288b68c9 Typo 2007-02-27 23:19:02 +01:00
Marco Pesenti Gritti 8a9232234b Fix distcheck 2007-02-27 22:21:55 +01:00
Marco Pesenti Gritti 4f4291e41c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-27 20:09:40 +01:00
Marco Pesenti Gritti b3452663bc Use a custom style to get rid of the damned window background 2007-02-27 20:08:33 +01:00
Marco Pesenti Gritti b2f50f9da4 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-27 17:05:01 +01:00
Marco Pesenti Gritti 7081909d2d Fix some bugs with frame animation and enable it 2007-02-27 17:04:15 +01:00
Marco Pesenti Gritti e478de4224 Use Window, add a compatibility hack to not break API 2007-02-27 15:05:44 +01:00
Marco Pesenti Gritti 2e2db562c5 Make the canvas window background transparent 2007-02-27 13:56:00 +01:00
Marco Pesenti Gritti b04c19efb4 Add a window class to graphics, it contains a canvas. 2007-02-27 13:41:51 +01:00
Marco Pesenti Gritti df1f01552d Fix overlay box alignment 2007-02-26 14:54:17 +01:00
Marco Pesenti Gritti 8f57bf7c9d Support running without network manager service.
Rework code to run without hardware manager service.
2007-02-26 14:42:39 +01:00
Marco Pesenti Gritti 4c23a821ef Missing file 2007-02-26 14:11:55 +01:00