Permalink
Commits on Jul 3, 2018
  1. setup.py: bump to txtorcon-18.0.2 to fix py3.4

    warner committed Jul 3, 2018
Commits on Jul 1, 2018
  1. Merge branch 'fix-py37'

    warner committed Jul 1, 2018
    I tested this locally (on MacOS) against python3.7.0, and it now works. This
    will appear broken on travis/appveyor until those CI environments add support
    for py3.7 (but the failures should be ignored since py3.7 is in the
    'allowed_failures' list).
    
    closes #306
  2. travis/appveyor: allow failures of the py3.7 build

    warner committed Jul 1, 2018
    until they're actually supported by both systems. Neither has a py3.7 image
    available yet.
  3. cmd_send/receive: work around python3.7.0 bug

    warner committed Jul 1, 2018
    See https://bugs.python.org/issue26175 . tempfile.SpooledTemporaryFile
    doesn't fully implement the IOBase abstract class, which breaks because
    py3.7.0's new zipfile module tries to delegate .seekable down to the wrapped
    file and causes an AttributeError.
    
    refs #306
  4. tox/travis/appveyor: enable testing on py3.7

    warner committed Jul 1, 2018
Commits on Jun 24, 2018
  1. setup.py: update to latest mailbox-server 0.3.1

    warner committed Jun 24, 2018
Commits on Jun 17, 2018
  1. NEWS: update with recent changes

    warner committed Jun 17, 2018
  2. setup.py: update to newly-released mailbox-server 0.2.0

    warner committed Jun 17, 2018
Commits on Jun 16, 2018
  1. delete Dockerfile: broken, and I think it's for the server anyways

    warner committed Jun 16, 2018
    The servers were moved out to separate repos (magic-wormhole-mailbox-server
    and magic-wormhole-transit-relay), and I think this Dockerfile was building
    an image mostly to run the mailbox server.
    
    It might make sense in the future to have a Docker image for just the client,
    in which case it'll be time to bring these Dockerfiles back with different
    contents.
    
    refs #295
  2. Merge PR296: require pep8 formatting

    warner committed Jun 16, 2018
  3. test_machines: remove no-longer relevant comment

    warner committed Jun 16, 2018
    The flake8 config excludes E741, which would complain about using
    'l' (lower-case ell) as a variable name. We use this for the Lister object in
    one test that uses single-character variable names for all the machines ('b'
    for Boss, 'm' for Mailbox, etc). That comment was added before excluding
    E741. If we ever restore that warning, we might want to rename the variable.
  4. cli.py: move timing check back to top

    warner committed Jun 16, 2018
    We care about how long it takes to import all the wormhole-specific things,
    to investigate user-perceived latency from the time the command is launched
    to the time they can actually interact with it. So we need to record
    `time.time()` before doing the rest of the imports, even though pep8 says all
    imports should be done before any non-importing statements.
  5. extreme measures to appease last pep8 complaint

    warner committed Jun 16, 2018
    a singly-parenthesized 'if' condition will always line up with the 'then'
    body, won't it
  6. fix remaining pep8 complaints

    warner committed Jun 16, 2018
  7. Merge PR304: fix long description on PyPI

    warner committed Jun 16, 2018
  8. Merge PR300: use pywin32 instead of pypiwin32

    warner committed Jun 16, 2018
Commits on Jun 12, 2018
  1. Add long_description_content_type to setup.py

    mgedmin committed Jun 12, 2018
    The new PyPI code discards long_description when it's not valid ReStructuredText.  Luckily it also supports Markdown, but you have to [specify the content type](https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py) explicitly in that case.
    
    (IIRC for this to work correctly you also have to use sufficiently recent versions of setuptools and twine to upload releases.)
    
    Should fix #303.
Commits on Jun 2, 2018
  1. update Windows dependency

    ofek committed Jun 2, 2018
  2. use pyinstaller to build wormhole fat/standalone binary

    ThomasWaldmann committed Jun 2, 2018
    tested with/on:
    - ubuntu linux 18.04 amd64
    - pyinstaller 3.3.1 (pip install pyinstaller)
    - python 3.6.5
    
    There is a good chance it also works on FreeBSD, maybe also on macOS.
    
    The change in __main__.py was required because otherwise it complains about
    __main__ not being a package when trying the dot-relative import.
Commits on May 29, 2018
  1. docs/api: minor rephrasings

    warner committed May 29, 2018
Commits on Apr 21, 2018
  1. Enable checking for pep8 confirmance in tox

    copyninja committed Apr 21, 2018
    Also make sure to ignore E741 naming a variable as l will raise this error and
    reason is l is similar to 1 and people might get confused. For me it doesn't
    look like an error hence ignored in tox.ini
  2. Make code pep-8 compliant

    copyninja committed Apr 21, 2018
Commits on Apr 4, 2018
  1. Merge PR293: include client version in server BIND message

    warner committed Apr 4, 2018
  2. wormhole: slightly different way to unicode-encode the version

    warner committed Apr 4, 2018
    (this is somewhat more in line with how this distinction is made elsewhere in
    the code)
Commits on Mar 23, 2018
  1. fix py 3.x versioneer issue

    Baeumla committed Mar 23, 2018
  2. bind passes tuple, fixed implementation issues

    Baeumla committed Mar 23, 2018
Commits on Mar 22, 2018
  1. setup.py: add classifiers and long_description

    warner committed Mar 22, 2018
Commits on Mar 9, 2018
  1. py 2.7 3.x fix

    Baeumla committed Mar 9, 2018
  2. py 2.7 fix

    Baeumla committed Mar 9, 2018
Commits on Mar 8, 2018
  1. report clinet version on bind

    Baeumla committed Mar 8, 2018
Commits on Mar 7, 2018
  1. rendevouz server documentation update

    Baeumla committed Mar 7, 2018
Commits on Feb 27, 2018
  1. Merge branch 'observers-4'

    warner committed Feb 27, 2018
    This factors out the various "get me a Deferred which fires when/if we
    compute a value" code from the _DeferredWormhole API calls: get_code,
    get_unverified_key, get_versions, get_message, etc. It uses an eventual-send
    for each one, which will protect against surprises when an application
    invokes an wormhole API from within a previous API's callback: without this,
    the internal wormhole state isn't guaranteed to be coherent, and crashes
    could result.