Squashed 'floo/common/' changes from 4ce847b..f1767ff

f1767ff Return if user cancels share dir. Print size of buf in bytes.
c616191 Don't use %s when formatting file names, since names can contain crazy unicode.
e28a4fd Merge port_block_abstract_ui, fix conflicts.
cbc6e60 copy-paste error
b41a8b4 move prejoin_workspace to UI out of API
9ea6b20 fix multiple selection and cleanup
d978039 legacy emacs urls and cleanup
5de0dca use save-excursion and widen where appropriate.  need a dir selection utility in the abstract ui
4c80f50 make agent needs a context.  Also, move more stuff into common
3434121 merge
2b2b884 Merge python common. Fix conflicts.
5ed2b15 Cleanup. Show port blocked message if we're linking to not-floobits.com.
d107ab8 Add reset_retries. Call it on room_info.
81ea9ae Only use outbound filtering workaround for floobits.com
e8c1a99 No need to remove self from reactor protos. Emit stop when stopping. Don't throw if self.fd is None and reactor tries to read.
36a13db Better detection of outbound filtering. Don't reset connection error counters if in proxy mode.
36820b5 Don't die when the first argument to log is not a string.
b577736 Disable auto-account creation in constructor for account creation handler.
c3e62d9 Log tracebacks of file descriptor read/write exceptions when in debug mode.
4a6a215 Call connect instead of reconnect.
3b827f7 Try to work around blocked outbound ports.
567ab04 Try connecting to proxy.floobits.com on port 443 if we have issues connecting directly to floobits.com. Hacky, but it works.
508aae2 Merge pull request #190 from Floobits/abstract-ui
0c95796 change name prompt
f497d04 better UI
65446b1 remove unused comments
d791376 bugs
a0549fe clean up dialogs and fix perms
11efef2 can create workspaces again
7325537 interface problems
c1ec2f3 interface
5732dea Merge commit '90ebbd85ba8189a1e00d89da076355516459ad6f'
4b6bf5c really fix startup for st2
4ca3d4d resurrect the modal for st. other editors can set expert_mode for now
9d928e6 fix st2 stupidity with no windows existing
a3ada07 merge master
84c636a Replace string interpolation with *args. This should fix many unicode errors when trying to log stuff.
db81bfa Merge commit '185bef543e10c79340d8f97ebc5a511f235a725b'
8825e1f fixed workspace windowing
b362885 more cleanup
137c968 cleanup join workspace interface
7a02d93 sharedir implemented
0be0dbb join workspace implemented and used
d36c82a sublime breaks up choices into big/small txt
4e341c3 start of shared ui
5183687 Merge python common. Fix conflicts.
e7460e7 Fix #186. Also fix a bug when uploading changed binary files. Also, use upload rate limiting.

git-subtree-dir: floo/common
git-subtree-split: f1767ffef6694a82adff76971368c389bc99ad92
Merge python common. Fix conflicts.