Commit Graph
100 Commits
Author SHA1 Message Date
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
Dan Williams 7fc7656f78 Fix dead code error 2006-09-12 14:22:06 -04:00
Dan Williams 1853ea3a3e Fix traceback in logging print 2006-09-12 14:04:35 -04:00
Dan Williams 8c58dcd540 spacing cleanups; refactor service addition so that service address checks aren't done for owner 2006-09-12 12:58:24 -04:00
Dan Williams bf035f3685 Cosmetic spacing fix 2006-09-12 12:48:32 -04:00
Dan Williams 13cca4606f Merge fix 2006-09-12 12:37:23 -04:00
Dan Williams f205e8c67b Rework PS owner service handling to use avahi flags for local services 2006-09-12 12:36:24 -04:00
Dan Williams 6e558713ff Add environment variable to control dbus monitor 2006-09-08 11:47:02 -04:00
Dan Williams e402fe3286 Get initial properties synchronously rather than async 2006-09-08 11:26:40 -04: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
Dan Williams 4c167037d4 Add Owner to buddy list 2006-09-07 23:29:28 -04:00
Dan Williams 45e37349d2 Add dbus-monitor service, but disable to reduce spew 2006-09-07 23:28:01 -04:00
Dan Williams ef254ce128 Create placeholder Owner object when PS starts, fill in services later 2006-09-06 10:16:49 -04:00
Dan Williams aea10ae900 Fix array signature for mdns call properties 2006-08-29 16:52:55 -04:00
Dan Williams 721ef6e29c Write out log strings as utf8 2006-08-29 11:52:49 -04:00
Dan Williams 93a97660b4 Remove obsolete gtk import and code and save 1.7MiB writeable. Whee\! 2006-08-25 16:09:54 -04: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
Dan Williams ba3d5fce8c Don't traceback when buddies have bad colors 2006-08-25 12:11:25 -04:00
Dan Williams f0a4459103 Don't die when an activity doesn't have an icon 2006-08-25 11:24:39 -04:00
Dan Williams 9e970b5b0f Add IconColor.py to makefile 2006-08-24 14:39:53 -04:00