Commit Graph

648 Commits (7eb123595bdcb4667c827a58ba8e80f06f0ad6f9)
 

Author SHA1 Message Date
David Wilson 4bf9d35e74 Better LocalStream bootstrap failure message. 8 years ago
David Wilson 8216edd755 Quieter logging of ImportError. 8 years ago
David Wilson fa0beffac2 Fix stdout reopen when stdout is a socket. 8 years ago
David Wilson 625bec9db5 Remove wait= from Finalize(), main() try/except. 8 years ago
David Wilson d9e9d94f30 GetLocal(python_path=...) 8 years ago
David Wilson d8b6aa8902 Beginnings of graceful shutdown. 8 years ago
David Wilson 8a081a103f Python 2.4 open() vs. file(). 8 years ago
David Wilson 82a31cfb7a Tidy up _ReceiveOne() logic. 8 years ago
David Wilson f93839c318 Fix variable name. 8 years ago
David Wilson 7683ee060e Split out GetPreamble. 8 years ago
David Wilson 8fdedff8e7 Do docstring and comment removal before compression. 8 years ago
David Wilson d4875fdec7 Fix obvious importer bug. 8 years ago
David Wilson bca3a65157 Use set_cloexec() everywhere. 8 years ago
David Wilson 6bedfe1934 Fix input length check error. 8 years ago
David Wilson eeecf0f984 Simplify module loader (master already checked in) 8 years ago
David Wilson 1d4e63947f Remove finalize_on_disconnect. 8 years ago
David Wilson 274f7f91a3 Oops, forgot to check in master.py. 8 years ago
David Wilson 054e74c952 Remove ancient stuff. 8 years ago
David Wilson c6b0bdf12e Try harder to avoid roundtrips for missing modules. 8 years ago
David Wilson ae3316b985 Split into core and master modules. 8 years ago
David Wilson dc231847a0 Add absent package cache. 8 years ago
David Wilson 5775f9791c Fix package imports. 8 years ago
David Wilson 27a1c9b182 Better default remote context name. 8 years ago
David Wilson 081565358d utils.run_with_broker. 8 years ago
David Wilson 0b0663e21b flake8 8 years ago
David Wilson 34595dd00f Don't infinite loop on short reads. 8 years ago
David Wilson 98da046f81 Remove various bits of debug junk. 8 years ago
David Wilson aeb953738a Fix reception of multiple frames in one read(). 8 years ago
David Wilson 29f38d578c Replace GetStream/SetStream with Disconnect() 8 years ago
David Wilson e042bfa954 Fix CallError when no traceback is active. 8 years ago
David Wilson 0b0e828c04 Fixes/improvements
Get rid of syslog.
Get rid of section comments.
Move IOLOG to separate logger to avoid infinite loop.
Change function docstring style.
Delete log Formatter.
Implement LogHandler to forward logs to parent.
Delete Pickle(), simplify Unpickle().
Have slave Finalize() when parent disconnects.
Delete AddStream().
8 years ago
David Wilson 9e2b1d24be Fix memory leak. 8 years ago
David Wilson b9e4dd62e9 Fix _UpdateStream race. 8 years ago
David Wilson da77cb5870 Fixes
CallError rather than trying to preserve exceptions.
Dead sentinel value instead of killed everywhere.
Simplify Channel.
MasterModuleResponder error response.
Simplify Unpickle().
Simplify reprs everywhere.
AllowClass() instead of AllowModule().
Get rid of needless property().
Split ExternalContextMain up into class.
econtext.utils module.
8 years ago
David Wilson cd9b93dd17 Turn into a package. 8 years ago
David Wilson 89e282734c Fixes
* Tidy up docstrings.
* Start work on IoLogger and LogForwarder.
* Fix race in Stream.Accept / AddHandleCb CALL_FUNCTION
* Fix stdout slave stream corruption.
* Fix HOSTNAME vs. socket.gethostname().
* Remove silly locking.
* Move handle management to Context for later reconnects.
8 years ago
David Wilson 07ba2de7b0 Replace dodgy synchronization
Use Queue.Queue() rather than event.
8 years ago
David Wilson e62b891b9a SSH working
* Get rid of persistent functions for now.
* Split select into read/write sides for unidirectional SSH IO.
* Put more of Loop in a try/except.
8 years ago
David Wilson 1a30570057 Working recursive module import OS X
* Replace Log() with logging package.
* Better namespace handle ranges.
* Replace poll() with select().
* Implement module loader.
* Pickle protocol 2.
* Abstract BasicStream and generalize Loop()
* base64 rather than hex.
* Reuse stdio don't connect back (yet).
* Get rid of use_channel for now.
* Fix input_buffer arithmetic.
* Extraneous os.wait()?
* Move demos to subdir child can't access.
8 years ago
David Wilson 4666cbb435 setup.py. 8 years ago
David Wilson 9d0c2139d0 fixes 8 years ago
David Wilson 6db7f23e35 old file 8 years ago
David Wilson e1236f857a Perms, move tests 8 years ago
David Wilson 9ed5d771f5 whitespace. 8 years ago
David Wilson 09f3bda1bb econtext-head 8 years ago
David Wilson b4bba0357a econtext-20070515-1322 8 years ago
David Wilson 94b94fb838 econtext-20070515-0811 8 years ago
David Wilson b35689bfe8 econtext-20070514-1643 8 years ago