Commit Graph

247 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
1b611fc842 More chat refactoring 2006-06-15 16:51:30 -04:00
Marco Pesenti Gritti
c05bc5a669 Fix 2006-06-15 11:46:42 -04:00
Marco Pesenti Gritti
27b4f25fad Merge 2006-06-15 11:29:00 -04:00
Marco Pesenti Gritti
f0af49616c Fixed a bunch of issues reported by pylint 2006-06-15 11:18:33 -04:00
Dan Williams
ecf81ba35f Generalize activity publishing code for > 1 activity per process 2006-06-15 11:20:18 -04:00
Marco Pesenti Gritti
f2ae132410 Fix a bunch of outdated makefiles. 2006-06-15 08:38:21 -04:00
Marco Pesenti Gritti
4fda4b8cb4 Start refactoring chat. Get the UI to show as a slide in (ctrl+up) 2006-06-14 23:24:11 -04:00
Marco Pesenti Gritti
7e6f6ec349 Dan doesn't like the big share button, tasteless! 2006-06-14 22:20:28 -04:00
Marco Pesenti Gritti
4eaa096576 Cast to int where necessary 2006-06-14 22:08:18 -04:00
Marco Pesenti Gritti
a4b2e74d25 Get rid of the web search activity, refactor 2006-06-14 22:04:44 -04:00
Marco Pesenti Gritti
3e3c168ab0 Cleanup searching some 2006-06-14 21:52:46 -04:00
Marco Pesenti Gritti
3497fd3ad2 More work on the slide in windows 2006-06-14 19:00:56 -04:00
Marco Pesenti Gritti
6cca4f34f3 My first window manager!!! :P 2006-06-14 16:30:53 -04:00
Marco Pesenti Gritti
26b117cff0 Use ignore_reply rather than idle_add, thanks j5 2006-06-14 15:27:54 -04:00
Dan Williams
ca60226fb0 Do callbacks in an idle handler so we don't dbus deadlock at any point 2006-06-14 15:06:25 -04:00
Marco Pesenti Gritti
3ea146e17c Initial start page implementation 2006-06-14 15:01:17 -04:00
Dan Williams
4a7aac0e01 Add makefile for presence module 2006-06-14 14:43:56 -04:00
Dan Williams
1cdaf97f20 Switch from Groups to grouping services based on activity UID 2006-06-14 14:42:44 -04:00
Dan Williams
55f538253c Error checking on activity UID 2006-06-13 16:01:39 -04:00
Dan Williams
b92c730457 Add uid argument to PresenceService.start() 2006-06-13 16:00:11 -04:00
Dan Williams
26ee2d57d8 Clean up tracking of service advertisements and conversion to Service objects. 2006-06-13 15:25:54 -04:00
Marco Pesenti Gritti
3e666c005f Forgot to add this 2006-06-13 15:18:29 -04:00
Marco Pesenti Gritti
0f3c33de86 Add messages on idle so that we don't break 2006-06-13 15:18:04 -04:00
Marco Pesenti Gritti
9ebcd65659 Implement the share button on the presence window 2006-06-13 14:49:01 -04:00
Marco Pesenti Gritti
2415fee0ed Add util to generate unique ids. 2006-06-13 13:32:49 -04:00
Dan Williams
21d1294c7a Fix service disappearance 2006-06-12 21:33:05 -04:00
Marco Pesenti Gritti
20d7582f1d Add scrollbars to the console, wrap word 2006-06-12 20:22:12 -04:00
Marco Pesenti Gritti
6037caa691 Run gtk_main only if it's __main__, 2006-06-12 20:08:27 -04:00
Marco Pesenti Gritti
cdf7583d39 Adapt to the new api... get back the browser running 2006-06-12 19:52:37 -04:00
Marco Pesenti Gritti
37d6c00fc3 Remove unused files 2006-06-12 19:44:08 -04:00
Dan Williams
ce1d1c879f Add Owner.py, forgot that one too 2006-06-12 18:51:40 -04:00
Dan Williams
ef35f9327e Forgot to add the Group.py file 2006-06-12 18:51:06 -04:00
Dan Williams
e934e153f6 Add module init file 2006-06-12 18:50:04 -04:00
Dan Williams
17c371119d More presence service rework 2006-06-12 18:31:26 -04:00
Dan Williams
d931dca579 Main bits of presence service refactor 2006-06-09 17:23:42 -04:00
Marco Pesenti Gritti
c4b112366c Force themes to be olpc, so people can get 2006-06-07 16:08:14 -04:00
Marco Pesenti Gritti
09353c0154 Merge 2006-06-07 13:26:38 -04:00
Marco Pesenti Gritti
8ae9f43540 ugly workaround for a dbus < 0.61 bug 2006-06-07 13:26:01 -04:00
Dan Williams
a0ed2fa232 merge 2006-06-07 12:23:14 -04:00
Dan Williams
f7cd0939c4 Fix traceback on focus changes 2006-06-07 12:22:28 -04:00
Marco Pesenti Gritti
55d863fc71 Add a few missing files to the makefiles, 2006-06-07 12:21:47 -04:00
Marco Pesenti Gritti
3710eea217 Start factoring out the presence stuff from chat UI... very very very broken right now 2006-06-06 12:43:26 -04:00
Dan Williams
046a954de1 Change Activity so that subclasses don't have to call Activity superclass methods from the shell callbacks. Makes subclasses simpler since they don't (necessarily) have to care about OO concepts like superclasses right away. 2006-06-05 12:35:00 -04:00
Dan Williams
93333ed5cf Ignore avahi 'Local name collision' exceptions for now, but this should really get fixed 2006-06-05 10:47:14 -04:00
Dan Williams
a0f7a4abc6 Only try for buddy icon 3 times 2006-06-05 10:46:41 -04:00
Dan Williams
46a6122d26 Return correct GSource callback return value 2006-06-05 10:46:26 -04:00
Dan Williams
f2161d533b Further fixes for Activity refactoring changes. 2006-06-02 15:02:59 -04:00
Dan Williams
4c7f15f694 Refactor dbus out of Activity objects so that we're sure when 2006-06-02 14:52:20 -04:00
Marco Pesenti Gritti
f96fbfc10b Split up the browser, some cleanups and 2006-05-31 18:01:24 -04:00
Marco Pesenti Gritti
03af8bceea Simplify redirecting output to the console 2006-05-23 16:02:13 -04:00
Marco Pesenti Gritti
f2e9500a9b s/Web Browser/Web 2006-05-23 15:46:42 -04:00
Marco Pesenti Gritti
92280c8503 Remove notify_new.. again, bad dcbw 2006-05-23 13:47:01 -04:00
Marco Pesenti Gritti
b9734f4da3 Add missing file 2006-05-23 13:04:06 -04:00
Marco Pesenti Gritti
dde63625a5 Merge 2006-05-23 12:48:29 -04:00
Marco Pesenti Gritti
178468e2c0 Don't show hidden tabs border in the editor 2006-05-23 12:48:08 -04:00
Dan Williams
a7a0c2cda5 Fix some spacing issues; catch exceptions in XMLRPC client code and return result status (success or failure) to XMLRPC client callback 2006-05-23 12:42:26 -04:00
Marco Pesenti Gritti
89f9730641 Merge 2006-05-23 12:42:17 -04:00
Marco Pesenti Gritti
dcf78f2665 Change notification for browser sharing 2006-05-23 12:37:31 -04:00
Dan Williams
d9314f5314 Remove hack for scroll-to-bottom and do it properly. 2006-05-23 12:23:38 -04:00
Marco Pesenti Gritti
5879cc8190 Fix links in one-to-one chat 2006-05-23 12:01:42 -04:00
Dan Williams
8c21c67cf1 - (__key_press_event_cb): don't send zero-length messages 2006-05-23 02:59:27 -04:00
Dan Williams
54450d3482 Nicely space buddy icons, and bold-ify nicknames in chat view 2006-05-23 01:55:27 -04:00
Dan Williams
6cc5d749f6 - Implement async XML-RPC client 2006-05-23 00:15:14 -04:00
Dan Williams
8e7a72c9da Fix traceback on activity disconnect 2006-05-23 00:10:10 -04:00
Marco Pesenti Gritti
fc5e077bdc Make that red not so red ;) 2006-05-22 23:16:54 -04:00
Marco Pesenti Gritti
073ffd1bff Default to tab active, this is damn racy 2006-05-22 23:10:12 -04:00
Marco Pesenti Gritti
bbeced56e5 Finish up chat notification, there are races but it seem 2006-05-22 23:08:41 -04:00
Marco Pesenti Gritti
9df1c653d5 Make it easy to run two instances. See README 2006-05-22 22:40:49 -04:00
Marco Pesenti Gritti
a32007ec7a Add two env vars to set nick name and user dir 2006-05-22 22:14:22 -04:00
Marco Pesenti Gritti
d213eada76 Change tab label color when there are 2006-05-22 17:59:42 -04:00
Marco Pesenti Gritti
a6b1307eb4 Fix tab focus stuff 2006-05-22 16:45:50 -04:00
Marco Pesenti Gritti
112f067c01 Merge 2006-05-22 16:36:02 -04:00
Marco Pesenti Gritti
d5ff67caa5 Listen on buddy for icon changes 2006-05-22 16:35:31 -04:00
Dan Williams
4fb745e204 Turn off debug print 2006-05-22 16:12:45 -04:00
Dan Williams
c52b59cd6c Turn off debug print 2006-05-22 16:11:02 -04:00
Dan Williams
a7a2211b68 Ensure that services this sugar instance registers are register with the owner as well. 2006-05-22 16:05:17 -04:00
Marco Pesenti Gritti
0c2940d56e Get rid of the new message icon entirely 2006-05-22 15:25:10 -04:00
Dan Williams
30f3c73dcb Add some comments; retry icon requests after a bit 2006-05-22 14:27:35 -04:00
Dan Williams
84ae7feb3a String-ify data before trying to pack it into the struct. 2006-05-22 14:27:06 -04:00
Dan Williams
55bf8c79cb Fix bad usage of a dict 2006-05-22 14:26:14 -04:00
Marco Pesenti Gritti
2b2dbc8099 Clear the setchpad after sending 2006-05-22 13:36:58 -04:00
Dan Williams
8b4a4e2afe Ensure buddy icon is at least None; if the sugar directory doesn't exist, make it. 2006-05-22 13:30:13 -04:00
Dan Williams
dabfae4763 Remove thread init stuff again, dbus angry 2006-05-22 12:53:27 -04:00
Dan Williams
d4fb0608fd Another try at not making dbus angry with threads. 2006-05-22 12:52:07 -04:00
Dan Williams
6998f6b3a6 Ensure keys exist or don't exist before using them or adding them, respectively 2006-05-22 12:51:39 -04:00
Dan Williams
3f320fcc52 Get group from the right place 2006-05-22 12:02:00 -04:00
Dan Williams
560648afa5 Make dbus happy by _not_ initializing gtk threading... (WTF?) 2006-05-22 11:53:22 -04:00
Dan Williams
58ed74bae6 Stick main code into main() 2006-05-22 11:47:59 -04:00
Marco Pesenti Gritti
cf283a91a8 Missing [] 2006-05-22 02:35:22 -04:00
Marco Pesenti Gritti
7ecf98ba95 Check if the icon exists 2006-05-22 02:32:34 -04:00
Marco Pesenti Gritti
f5173c33d0 Merge 2006-05-22 02:11:39 -04:00
Marco Pesenti Gritti
d3c5da1a66 Display icons in the chat 2006-05-22 02:10:30 -04:00
Dan Williams
3b2f185e5c - Refactor service handling. Buddies can now have more than one service associated 2006-05-22 01:21:12 -04:00
Marco Pesenti Gritti
cbae21b487 Add an .hgignore file so that I stop to forget 2006-05-22 00:18:33 -04:00
Marco Pesenti Gritti
e4cad71b56 Forgot to add this 2006-05-21 23:33:47 -04:00
Marco Pesenti Gritti
67beb6298b Merge 2006-05-21 22:21:42 -04:00
Marco Pesenti Gritti
325fb8ff25 Add an emoticons menu 2006-05-21 22:20:37 -04:00
Dan Williams
3841ac9983 merge 2006-05-21 21:31:57 -04:00
Dan Williams
2c272cc892 Do buddy icons 2006-05-21 21:30:26 -04:00
Dan Williams
1c54ef5002 Make colors work in Sketch 2006-05-21 00:29:20 -04:00