Commit Graph
100 Commits
Author SHA1 Message Date
Dan Williams d46c922350 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-12-19 17:50:25 -05:00
Dan Williams 5aedeae62f Validate colors; ensure that Owner's color is a string 2006-12-19 17:50:13 -05:00
Dan Williams f63456c089 Tell activities to start after launching them 2006-12-19 16:35:24 -05:00
Dan Williams baab27377f Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-12-19 16:00:55 -05:00
Dan Williams cebf9cfe33 Use correct DBus session bus when launching activities 2006-12-19 16:00:50 -05:00
Dan Williams 5103f1fb27 run data store from emulator when needed 2006-12-14 17:21:46 -05:00
Dan Williams 72b5383214 Export session bus address for testing purposes 2006-12-14 17:21:25 -05:00
Dan Williams 461b5ae2a9 Fix name so imports work 2006-12-14 17:21:04 -05:00
Dan Williams 238912cc21 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-12-14 13:45:16 -05:00
Dan Williams cb38a2c1fa Install a service file for activating the datastore upon demand 2006-12-14 13:45:13 -05:00
Dan Williams 039ac19432 datastore fixes 2006-12-11 17:25:48 -05:00
Dan Williams dbca112368 don't allow blank property values in find(); handle property deletion 2006-12-11 10:59:30 -05:00
Dan Williams 74d9555796 Remove useless dbus service file; the datastore is a session service and doesn't need one 2006-12-11 08:02:09 -05:00
Dan Williams ff53fdc185 Add a simple prototype data store 2006-12-11 07:55:01 -05:00
Dan Williams fefe201d24 Patch from Owen Williams:
Switch terminal colors to black-on-white for readability, especially in
no-backlight situations.
2006-12-07 12:55:56 -05:00
Dan Williams 880842dd86 don't kill the shell when a non-activity window is brought to front
(cherry picked from 5f03e1deb014d91af7deea5051011a67bc2dde5c commit)
2006-11-17 15:31:53 -05:00
Dan Williams 0c47294dbd Merge 2006-11-16 16:55:58 -05:00
Dan Williams a029157488 Remap keys to match OLPC keyboard and use Shift+Alt for non-OLPC machines 2006-11-16 16:50:36 -05:00
Dan Williams b51b2917d0 Rearrange keymappings for the real B1 machines' keyboards
(cherry picked from cda50cbf099f1db64f3cd95aeb05b54444fd66d0 commit)
2006-11-15 17:13:45 -05:00
Dan Williams 3919643c7d Expose local name collision errors (ie, somebody else registered that service) 2006-10-02 17:11:20 -04:00
Dan Williams 3524042ad7 Update makefile 2006-10-02 15:46:37 -04:00
Dan Williams 88da2c7e2d Update makefile 2006-10-02 15:41:44 -04:00
Dan Williams fc9c923da9 Ignore local name collisions again 2006-09-29 16:53:42 -04:00
Dan Williams ca56406aa4 Add OverlayWindow to makefile 2006-09-29 16:46:12 -04:00
Dan Williams 72562502b9 Add composited overlay window underneath chat 2006-09-29 13:35:48 -04:00
Dan Williams ba05afdc53 Activate chat service when activity gets shared 2006-09-28 17:08:42 -04: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 5db9888666 Set default chat window size 2006-09-28 17:00:03 -04:00
Dan Williams a55242d798 Center chat window, and give it a frame 2006-09-28 16:20:48 -04:00
Dan Williams e2225c443f Initialize _frame_was_visible, and move signal connections lower 2006-09-28 16:13:48 -04:00
Dan Williams ef539c50d9 Fix frame behavior on chat; when we show the chat remember previous frame state and return to it when we hide chat 2006-09-28 16:12:07 -04:00
Dan Williams a91738d3a9 Default values for args for do_slide_in and do_slide_out, and add is_visisble() 2006-09-28 16:11:29 -04:00
Dan Williams 5a6a0d2d7d Start making activity chat work; hit F9 to activate 2006-09-28 15:52:56 -04:00
Dan Williams e95e6c2a4e Import the PS correctly 2006-09-28 15:51:40 -04:00
Dan Williams ddef3947d4 Import gobject 2006-09-28 14:45:32 -04:00
Dan Williams 906f5bbed0 Make ShellModel emit signals on activity change, and make Owner listen for them. Fix Owner's current activity update code to actually update at the correct interval 2006-09-27 17:00:12 -04:00
Dan Williams 22be6cb0da Work around bug where Avahi passes back a blank service type; and don't traceback on invalid service types 2006-09-27 16:47:23 -04:00
Dan Williams 70cbd90c7a Fix signal args 2006-09-27 15:01:40 -04:00
Dan Williams 71b0e7c3a9 Don't traceback on unknown image formats 2006-09-27 14:27:17 -04:00
Dan Williams 0064e6c3ff Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-27 11:43:27 -04:00
Dan Williams 9ce768ca39 Add and remove activities to/from Buddy objects at appropriate times 2006-09-27 11:35:34 -04:00
Dan Williams 38e85f3987 Ignore duplicate activity additions 2006-09-27 11:35:15 -04:00
Dan Williams ba21a36ef8 Correctly deal with current activities on startup, buddy presence changes, and current activity changes 2006-09-26 13:40:52 -04:00
Dan Williams c9533d448b Fix current activity handling 2006-09-26 13:39:42 -04: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
Dan Williams 31c69ed167 Hook up Buddy.add_activity() and Buddy.remove_activity() 2006-09-26 13:23:12 -04:00
Dan Williams ef24aa7553 Scale the icon to a paritcular size 2006-09-25 15:36:40 -04:00
Dan Williams 5343a4d6ef Fix mixup of set_constraints() args 2006-09-25 15:27:52 -04:00
Dan Williams 6e28f4467d Add buddy icon to the buddy menu 2006-09-25 15:20:28 -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
Dan Williams 550c201101 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-25 14:15:49 -04:00
Dan Williams 0e67d939a8 Set icon cache earlier 2006-09-25 14:15:42 -04:00
Dan Williams d0664dc801 Add icon-changed signal 2006-09-25 14:05:01 -04:00
Dan Williams 7ba30ea0d2 Clean up debug messages 2006-09-25 13:42:37 -04:00
Dan Williams b1354cf711 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-25 13:24:40 -04:00
Dan Williams e89c88b191 Fix location of cache debug prints 2006-09-25 13:24:27 -04:00
Dan Williams 5e3d56fe77 Rename function to match previous _request_buddy_icon->_get_buddy_icon 2006-09-25 13:15:36 -04:00
Dan Williams 709eefc5bd Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-25 13:14:36 -04:00
Dan Williams de23158979 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-25 10:57:26 -04:00
Dan Williams 85d70f2383 Use the buddy icon cache 2006-09-25 10:57:21 -04:00
Dan Williams f6c043b204 Add a buddy icon cache 2006-09-25 10:56:31 -04:00
Dan Williams ea5b59dca7 Send buddy icon hash in presence service announcement too 2006-09-25 10:56:12 -04:00
Dan Williams 804848ba47 _stringify_hash -> printable_hash; generalize, make more public 2006-09-25 09:45:24 -04:00
Dan Williams 9fa9bd9583 Add BuddyActivityView.py to makefile 2006-09-25 09:25:44 -04:00
Dan Williams aa0adcf0c5 Unconditionally reschedule current activity switch timeout 2006-09-25 07:35:44 -04:00
Dan Williams 3e4c8cabc7 Switch to BuddyActivityView to show current activity 2006-09-24 23:15:53 -04:00
Dan Williams da221ee84e Add get_current_activity accessor 2006-09-24 23:12:46 -04:00
Dan Williams 07c0ffbb7d Use two different activity types 2006-09-24 23:12:09 -04:00
Dan Williams f83567ba32 Determine scale as a float so it's not clamped at 0 2006-09-24 21:53:39 -04:00
Dan Williams e2f82f02a0 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	shell/view/home/IconLayout.py
2006-09-24 21:37:46 -04:00
Dan Williams 701cef3f1d Only broadcast and activity change if it actually changed 2006-09-24 21:31:48 -04:00
Dan Williams b67c0a6b3d Don't print EntryGroup messages for now 2006-09-24 21:30:48 -04:00
Dan Williams d2e235838e Only print out service resolutions, not updates 2006-09-24 21:30:28 -04:00
Dan Williams 7268d8803d Ensure owner validity before using 2006-09-24 21:29:11 -04:00
Dan Williams d42b9da06d Use get/set_property rather than direct accessors 2006-09-24 18:52:10 -04:00
Dan Williams e92548df5c Use the new BuddyModel color-changed signal 2006-09-22 17:37:41 -04:00
Dan Williams d12c57895c Add color-changed and current-activity-changed signals 2006-09-22 17:37:16 -04:00
Dan Williams 188394f09f - Track BuddyModel appeared/disappeared signals, and update our icon colors accordingly
- s/friend/buddy since BuddyModel isn't just for friends
2006-09-22 17:24:56 -04:00
Dan Williams 2031eb650a - don't hardcode inactive buddy color
- shorten signal handler id variable names
- add appeared/disappeared signals to BuddyModel
- deal with buddy disappearance
2006-09-22 17:24:00 -04:00
Dan Williams 6473444e09 Add a 'Disappeared' signal on the buddy object 2006-09-22 17:21:34 -04:00
Dan Williams 0aea72f485 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-22 16:35:09 -04:00
Dan Williams 940329703f Clean up buddy checking & retrieval; make constructor choice between name & real buddy explicit. 2006-09-22 16:35:03 -04:00
Dan Williams 2d445fcc5f Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-22 15:49:23 -04:00
Dan Williams 2f7b3abef7 Monitor buddy property change signals on creation; misc cleanups 2006-09-22 15:49:16 -04:00
Dan Williams fcef47181b Don't hardcode property key names; protect against spurious _presence_olpc services; watch for changes on the _presence_olpc service, like current activity updates 2006-09-22 15:47:12 -04:00
Dan Williams 1ab8089457 Make Service a GObject subclass, and add a property-changed signal
Also fix bug where all property keys were sent in the property-changed signal
because the properties dict was cleared too early.
2006-09-22 15:44:25 -04:00
Dan Williams c978b5ed6d Ensure properties will always be an empty dict 2006-09-22 15:42:11 -04:00
Dan Williams 801d020058 Don't die on malformed friends config file 2006-09-22 12:50:55 -04:00
Dan Williams 7061434703 Don't traceback on Ctrl+C 2006-09-22 12:13:34 -04:00
Dan Williams 4d0dae0e35 Change update frequency to 10 - 20 seconds 2006-09-21 17:03:18 -04:00
Dan Williams 4410ad5056 Don't traceback on reset-by-peer errors 2006-09-21 17:02:20 -04:00
Dan Williams 3c11feca6f Start trying to deal with current activity changes 2006-09-21 16:49:25 -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
Dan Williams f9012b88f6 Move remove code down to fix undefined var error 2006-09-21 13:52:17 -04:00
Dan Williams d0f23744f0 Use asynchronous service resolution to capture service updates too 2006-09-19 13:54:32 -04:00
Dan Williams 14763c0f5c Fix up registered service type checking code 2006-09-15 18:37:54 -04: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