Commit Graph
100 Commits
Author SHA1 Message Date
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
Dan Williams d9314f5314 Remove hack for scroll-to-bottom and do it properly. 2006-05-23 12:23:38 -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
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
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
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 dc6ac64817 Set HOME too 2006-05-22 13:24:53 -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
Dan Williams 6658cfba80 Remove debug print, fix argument checking 2006-05-22 11:45:34 -04:00
Dan Williams 9df2cddf57 Add script that starts Xephyr, dbus, and metacity for a test user then dumps you to a shell 2006-05-22 10:53:14 -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
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
Dan Williams dc276e7b7f Show sketches inline in chat 2006-05-19 20:45:17 -04:00
Dan Williams 3267a94c06 Extract and receive sketches as well as text messages 2006-05-19 20:01:03 -04:00
Dan Williams 2a2903d1fb Change chat's send_message() -> send_text_message() to prepare for sketch-in-chat 2006-05-19 16:27:29 -04:00
Dan Williams 2b8d593f4a Only parse <richtext> tagged XML 2006-05-19 16:26:08 -04:00
Dan Williams 887034c8a4 Consolidate recv_message() and send_message() code 2006-05-19 15:52:44 -04:00
Dan Williams 9a1324d0b0 Replace StreamReader and StreamWriter with a unified Stream class. Since the 2006-05-19 14:50:20 -04:00
Dan Williams 8cfc17ff55 argument is a string, not a buddy 2006-05-19 14:44:42 -04:00
Dan Williams ef18be4d7d Instructions for running a second sugar with Xephyr 2006-05-19 14:27:26 -04:00
Dan Williams 795e4bb2db Deal with keyboard interrupt correctly. 2006-05-19 13:23:07 -04:00
Dan Williams 1e2d880d6d More informative error if avahi isn't around. 2006-05-19 13:20:52 -04:00
Dan Williams 825f1d205d Don't traceback on Ctrl+C 2006-05-19 12:57:56 -04:00
Dan Williams 96a90ca32c Pathetically simplify retransmit timings. 2006-05-19 11:37:05 -04:00
Dan Williams 533dbd638e Implement retransmit requests on receiver side, fix some stuff up. 2006-05-18 13:09:56 -04:00
Dan Williams 64dc217f52 Ensure that RetransmitSegment construction from data is correct. 2006-05-17 22:33:52 -04:00
Dan Williams 7f33469924 More testcases for RetransmitSegment, and fix some RetransmitSegment bugs 2006-05-17 17:06:06 -04:00
Dan Williams 11d54d71a9 Add a bunch of testcases 2006-05-17 16:23:35 -04:00
Dan Williams f751407d50 Refactor the segment class into two type-specific classes and base class 2006-05-17 13:11:48 -04:00
Dan Williams 093667d253 Refactor global vars into appropriate classes 2006-05-17 10:30:11 -04:00
Dan Williams b6d50a215b Add a segment type and start bits for retransmission requests. 2006-05-16 17:08:39 -04:00
Dan Williams 0f7dc51ac0 Do message reassembly 2006-05-16 16:26:23 -04:00
Dan Williams e4516c6d81 Add start of mostly reliable UDP pipe communication code 2006-05-16 14:40:52 -04:00
Dan Williams 6667cc9e09 Bumped version to 0.3. 2006-05-16 13:45:47 -04:00
Dan Williams 6b78600646 Merge SVGdraw.py 2006-05-15 14:48:08 -04:00
Dan Williams 0ca5a7fed5 More SVGdraw fixups, make namespaces work on import 2006-05-15 14:47:06 -04:00
Dan Williams ae2eb70b6c Add import capability to SVGdraw.py 2006-05-12 17:42:40 -04:00
Dan Williams 5b97add732 Add SVGdraw.py with some fixes for xlink namespace issues 2006-05-10 15:28:27 -04:00
Dan Williams c9105311c5 also dist sugar. 2006-05-09 00:16:33 -04:00
Dan Williams 81d59b371b More build fixes. 2006-05-08 15:48:34 -04:00
Dan Williams 05cd353891 Make 'make distcheck' actually work. 2006-05-08 13:37:05 -04:00
Dan Williams 5d827e6176 Post-release version bump. 2006-05-08 12:53:40 -04:00
Dan Williams 2a088fef08 Add 'pass' to empty functions otherwise browser.py don't work. 2006-05-08 10:38:56 -04:00
Dan Williams 121179e344 Revert badly merged bit 2006-05-05 16:11:28 -04:00
Dan Williams 9d98c5e5ae 3rd try on server traceback printing 2006-05-05 15:53:16 -04:00
Dan Williams d0613d2a42 Second try at printing tracebacks 2006-05-05 15:27:55 -04:00
Dan Williams d984e98de8 Merge 2006-05-05 15:19:23 -04:00
Dan Williams 615eb60550 Print more debug info 2006-05-05 14:27:46 -04:00
Dan Williams 992dbc9662 Fix indentation 2006-05-05 14:21:53 -04:00
Dan Williams f79570edd0 merge 2006-05-05 14:18:52 -04:00
Dan Williams ca378af286 Print local traceback on XMLRPC server exceptions 2006-05-05 14:17:57 -04:00
Dan Williams 0a43ee3d2a Fixup one instance of s/gtk.FALSE/False/ and fix up debug spew. 2006-04-27 15:38:03 -04:00
Dan Williams 699bb17627 Work with both installed sugar and devel sources 2006-04-27 15:36:01 -04:00
Dan Williams f56c3d4510 Fix another bad import 2006-04-27 15:27:50 -04:00
Dan Williams 243aac6be2 Fix group message notification 2006-04-27 15:25:02 -04:00
Dan Williams dce4a8c13c merge to tip of tree 2006-04-27 15:18:14 -04:00
Dan Williams d8dd8f8a65 Clarify 2006-04-27 15:11:47 -04:00
Dan Williams 59c8404854 Revert stupid import 2006-04-27 15:10:30 -04:00
Dan Williams 6a0bf2b7b5 Add tcsh setup script 2006-04-27 15:05:50 -04:00
Dan Williams 81f45f1447 merge to tip of tree 2006-04-27 15:01:42 -04:00
Dan Williams af89be9a0c Clarify README more and remove bin_SCRIPTS=sugar from Makefile.am. 2006-04-27 14:28:58 -04:00
Dan Williams 87241c2e8c Clarify README. Remove the sugar utility as it's kinda misleading. 2006-04-27 14:21:21 -04:00
Dan Williams 7367dfad19 Remove underscore from PYTHON_PATH 2006-04-27 14:17:10 -04:00
Dan Williams 73ac3be1e6 Add the setup-run-from-source.sh script (doesn't work yet) and allow to run the cactivities from the shell. 2006-04-27 13:54:18 -04:00
Dan Williams c4781fe8e3 Don't traceback on Ctrl+C 2006-04-27 12:20:42 -04:00
Dan Williams 2b57bcfd61 Don't traceback on Ctrl+C 2006-04-26 17:01:39 -04:00
Dan Williams 50183927d0 Remove example-activity/activity.py and merge with src/activity.py 2006-04-26 16:55:10 -04:00
Dan Williams fa43840b3c Do chat in multiple tabs 2006-04-26 16:24:52 -04:00
Dan Williams 9df61cb84b Add support for setting the tab icon. 2006-04-26 12:25:40 -04:00
Dan Williams e5cd418e7e Launch matchbox and other activities, use glib to spawn processes 2006-04-25 15:21:24 -04:00
Dan Williams d5a9ca986d Quit when shell quits 2006-04-25 15:20:47 -04:00
Dan Williams 98a5c93881 Add a legacy app runner application based on Xephyr 2006-04-25 13:50:59 -04:00
Dan Williams 8ee2dcc7ba foo 2006-04-25 13:14:20 -04:00
Dan Williams ed4fc948ca Make the on_button_close call asynchronous 2006-04-25 13:13:23 -04:00
Dan Williams 897e0132af Don't print out remove errors 2006-04-25 12:10:11 -04:00
Dan Williams 0aa037dbee Ensure the current buddy is selected in the buddy list 2006-04-25 11:57:33 -04:00
Dan Williams c6c65f3efa Fix up chat sending/receiving 2006-04-25 11:47:19 -04:00
Dan Williams 78eac624de Use some icons for chat notifications 2006-04-24 22:22:18 -04:00
Dan Williams b70e775b5e Remove some debug code 2006-04-24 15:18:41 -04:00
Dan Williams fdbb82c00e Echo messages back to ourselves now that we ignore ourselves in the buddy list 2006-04-24 15:17:03 -04:00
Dan Williams 9f0348c002 Don't traceback on Ctrl+C 2006-04-24 14:40:38 -04:00
Dan Williams 79ee53921c Ignore ourselves in the buddy list 2006-04-24 14:18:49 -04:00
Dan Williams f9e2a73b9a Don't add duplicate buddies, and fix up buddy disappearance 2006-04-24 13:42:01 -04:00
Dan Williams 6c188f1f0f Fix up p2p chat 2006-04-24 13:19:10 -04:00
Dan Williams 26e82ba250 Initial implementation of p2p IPv4 TCP chats 2006-04-24 13:08:18 -04:00
Dan Williams 2c4b9c996d Exit cleanly on keyboard interrupt 2006-04-24 10:43:45 -04:00