Commits

Author Commit Message Labels Comments Date
Ask Solem
Distribution meta like __version__ is now in four.distmeta
Ask Solem
Renamed stomp -> four
Ask Solem
Use new-style classes
Ask Solem
Have to keep received replies/messages in two separate intermediate queues so a message isn't received instead of a reply while waiting for a command reply.
Ask Solem
Added support for polling and non-blocking mode.
Benjamin Smith
Clean up some useless stuff in tests.. Bad style.
Benjamin Smith
Add check to make sure you are connected before trying to do anything. Otherwise, raise a NotConnectedError.
Benjamin Smith
more pythonic dict key call
Benjamin Smith
More pydoc fixes.
Benjamin Smith
Change some of the docstring to be more accurate
Benjamin Smith
Merge in changes from fork at https://bitbucket.org/justinazoff/python-stomp/, thanks justinazoff. = Flatten code to make easier to test. = * Add new function parse_command * Coverage on frame now at 100%! * Get a tad smarter with getting lines from socket. * Get full line (ending with '\x00\n') Whole project now at 100% test coverage (could probably be cleaned up). = Clean up's in general = * Be more pythonic with dict keys, use dict.get() rather than the uglier string index. * …
jus...@bouncybouncy.net
move modules into a package
jus...@bouncybouncy.net
body needs to be set to None in frame generation if it is empty
jus...@bouncybouncy.net
fix disconnect, conf can't be None
Benjamin Smith
Housekeeping! Don't take dict as arg (mutable). Improve coverage of stomp.py. Remove redundant tests. Add in support for transactions and tests.
Benjamin Smith
add todo
Benjamin Smith
Add a quick test for parsing headers.
Benjamin Smith
Committed with bad test.. Need to mock the parse_frame method, won't work with Dingus'd socket object..
Benjamin Smith
Thanks to TESTING, I found a bug that would have happened with a bytes-message. Add more tests for frame.
Benjamin Smith
Add some test for frame, coverage up to 56%.. I'd finish, but I'm le tired. Also cleaned up some redunant and uncessesary code.
Benjamin Smith
That's what I'm talkin' bout: $ coverage -r -m stomp.py Name Stmts Exec Cover Missing ------------------------------------- stomp 47 47 100% aa: Enter commit message. Lines beginning with 'HG:' are removed.
Benjamin Smith
Update some doc string bits.
Benjamin Smith
Update readme to have some more interesting info
Benjamin Smith
Make the example code 'do the right thing' with optparse.
Benjamin Smith
Actually do some testing.. Use Dingus to mock socket operations!! Move around how the socket is handled to make testing friendlier. Update example code to accomodate for interface changes. Add ignore for coverage.
Benjamin Smith
Did a bit of rearranging/refactoring. Connection ops with STOMP are now done in frame.py Generate receipt and check for it on message send. Identify client with x-client Segregated parse operations a tad, new parse_headers() function. Check for specific commands in the frame. Added examples.
Benjamin Smith
Don't reference to remote host for test. NEED TO MOCK THIS.
Benjamin Smith
Ignore helper script to push to bitbucket
Benjamin Smith
Add frame to modules in setup. Add stuff for hg to ignore.
Benjamin Smith
Add in some .hgignore defaults, LICENSE and README. Removed license in code, changed license to BSD. Add setup.py to build dist.
  1. Prev
  2. Next