[Checkins] SVN: zc.ngi/trunk/ Moved to GitHub.
Stephen Richter
cvs-admin at zope.org
Tue Mar 12 13:43:52 UTC 2013
Log message for revision 130122:
Moved to GitHub.
Changed:
D zc.ngi/trunk/COPYRIGHT.txt
D zc.ngi/trunk/LICENSE.txt
A zc.ngi/trunk/MOVED_TO_GITHUB
D zc.ngi/trunk/README.txt
D zc.ngi/trunk/bootstrap.py
D zc.ngi/trunk/buildout.cfg
D zc.ngi/trunk/setup.py
D zc.ngi/trunk/src/
-=-
Deleted: zc.ngi/trunk/COPYRIGHT.txt
===================================================================
--- zc.ngi/trunk/COPYRIGHT.txt 2013-03-12 13:38:09 UTC (rev 130121)
+++ zc.ngi/trunk/COPYRIGHT.txt 2013-03-12 13:43:51 UTC (rev 130122)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zc.ngi/trunk/LICENSE.txt
===================================================================
--- zc.ngi/trunk/LICENSE.txt 2013-03-12 13:38:09 UTC (rev 130121)
+++ zc.ngi/trunk/LICENSE.txt 2013-03-12 13:43:51 UTC (rev 130122)
@@ -1,44 +0,0 @@
-Zope Public License (ZPL) Version 2.1
-
-A copyright notice accompanies this license document that identifies the
-copyright holders.
-
-This license has been certified as open source. It has also been designated as
-GPL compatible by the Free Software Foundation (FSF).
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions in source code must retain the accompanying copyright
-notice, this list of conditions, and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the accompanying copyright
-notice, this list of conditions, and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-
-3. Names of the copyright holders must not be used to endorse or promote
-products derived from this software without prior written permission from the
-copyright holders.
-
-4. The right to distribute this software or to use it for any purpose does not
-give you the right to use Servicemarks (sm) or Trademarks (tm) of the
-copyright
-holders. Use of them is covered by separate agreement with the copyright
-holders.
-
-5. If any files are modified, you must cause the modified files to carry
-prominent notices stating that you changed the files and the date of any
-change.
-
-Disclaimer
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
-OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Added: zc.ngi/trunk/MOVED_TO_GITHUB
===================================================================
--- zc.ngi/trunk/MOVED_TO_GITHUB (rev 0)
+++ zc.ngi/trunk/MOVED_TO_GITHUB 2013-03-12 13:43:51 UTC (rev 130122)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zc.ngi
\ No newline at end of file
Deleted: zc.ngi/trunk/README.txt
===================================================================
--- zc.ngi/trunk/README.txt 2013-03-12 13:38:09 UTC (rev 130121)
+++ zc.ngi/trunk/README.txt 2013-03-12 13:43:51 UTC (rev 130122)
@@ -1,254 +0,0 @@
-Network Gateway Interface
-*************************
-
-The Network Gateway Interface provides:
-
-- the ability to test application networking code without use of
- sockets, threads or subprocesses
-
-- clean separation of application code and low-level networking code
-
-- a fairly simple inheritence free set of networking APIs
-
-- an event-based framework that makes it easy to handle many
- simultaneous connections while still supporting an imperative
- programming style.
-
-To learn more, see http://packages.python.org/zc.ngi/
-
-Changes
-*******
-
-====================
-2.0.1 (2012-04-06)
-====================
-
-Bugs Fixed
-
-- Sending data faster than a socket could transmit it wasn't handled
- correctly.
-
-====================
-2.0.0 (2011-12-10)
-====================
-
-Bugs Fixed
-
-- zc.ngi.async listeners didn't provide the real address when binding
- to port 0.
-
-====================
-2.0.0a6 (2011-05-26)
-====================
-
-Bugs Fixed
-
-- If application code made many small writes, each write was sent
- individually, which could trigger Nagle's algorithm.
-
-====================
-2.0.0a5 (2010-08-19)
-====================
-
-New Features:
-
-- Connection objects have a new peer_address attribute, which is
- equivilent to calling ``getpeername()`` on sockets.
-
-Bugs Fixed:
-
-- Servers using unix-domain sockets didn't clean up socket files.
-
-- When testing listeners were closed, handle_close, rather than close,
- was called on server connections.
-
-- The zc.ngi.async connections' ``write`` and ``writelines`` methods
- didn't raise errors when called on closed connections.
-
-- The built-in connection adapters and handy adapter base class
- didn't implement __nonzero__.
-
-====================
-2.0.0a4 (2010-07-27)
-====================
-
-Bugs Fixed:
-
-- When using zc.ngi.testing and a server sent input and closed a
- connection before set_handler was called on the client, the input
- sent by the server was lost.
-
-- By default, calling close on a connection could caause already
- written data not to be sent. Now, don't close connections until
- data passed to write or writelines as, at least, been passed to the
- underlying IO system (e.g. socket.send).
-
- (This means the undocumented practive of sending zc.ngi.END_OF_DATA
- to write is now deprecated.)
-
-====================
-2.0.0a3 (2010-07-22)
-====================
-
-Bugs Fixed:
-
-- Fixed a packaging bug.
-
-====================
-2.0.0a2 (2010-07-22)
-====================
-
-New Features:
-
-- There's a new experimental zc.ngi.async.Implementation.listener
- option to run each client (server connection) in it's own thread.
-
- (It's not documented. It's experimental, but there is a doctest.)
-
-Bugs Fixed:
-
-- There was a bug in handling connecting to testing servers that
- caused printing handlers to be used when they shouldn't have been.
-
-
-====================
-2.0.0a1 (2010-07-08)
-====================
-
-New Features:
-
-- New improved documentation
-
-- Support for writing request handlers in an imperative style using
- generators.
-
-- Cleaner testing interfaces
-
-- Refactored ``zc.ngi.async`` thread management to make the blocking
- APIs unnecessary. ``zc.ngi.async.blocking`` is now deprecated.
-
-- Added support for running multiple ``async`` implementations in
- separate threads. This is useful in applications with fewer network
- connections and with handlers that tend to perform long-lating
- computations that would be unacceptable with a single select loop.
-
-- Renamed IConnection.setHandler to set_handler.
-
-- Dropped support for Python 2.4.
-
-Bugs Fixed:
-
-- The ``Sized`` request adapter's ``writelines`` method was broken.
-
-- There we a number of problems with error handling in the ``async``
- implementation.
-
-==================
-1.1.6 (2010-03-01)
-==================
-
-Bug fixed:
-
-- Fixed bad logging of ``listening on ...``. The message was emitted
- before the actual operation was successful. Emits now a warning
- ``unable to listen on...`` if binding to the given address fails.
-
-==================
-1.1.5 (2010-01-19)
-==================
-
-Bug fixed:
-
-- Fixed a fatal win32 problem (socket.AF_UNIX usage).
-
-- Removed impropper use of the SO_REUSEADDR socket option on windows.
-
-- The sized adapter performed poorly (because it triggered Nagle's
- algorithm).
-
-
-==================
-1.1.4 (2009-10-28)
-==================
-
-Bug fixed:
-
-- Spurious warnings sometimes occurred due to a race condition in
- setting up servers.
-- Added missing "writelines" method to zc.ngi.adapters.Lines.
-
-==================
-1.1.3 (2009-07-30)
-==================
-
-Bug fixed:
-
-- zc.ngi.async bind failures weren't handled properly, causing lots of
- annoying log messages to get spewed, which tesnded to fill up log
- files.
-
-==================
-1.1.2 (2009-07-02)
-==================
-
-Bugs fixed:
-
-- The zc.ngi.async thread wasn't named. All threads should be named.
-
-==================
-1.1.1 (2009-06-29)
-==================
-
-Bugs fixed:
-
-- zc.ngi.blocking didn't properly handle connection failures.
-
-==================
-1.1.0 (2009-05-26)
-==================
-
-Bugs fixed:
-
-- Blocking input and output files didn't properly synchronize closing.
-
-- The testing implementation made muiltiple simultaneous calls to
- handler methods in violation of the promise made in interfaces.py.
-
-- Async TCP servers used too low a listen depth, causing performance
- issues and spurious test failures.
-
-New features:
-
-- Added UDP support.
-
-- Implementation responsibilities were clarified through an
- IImplementation interface. The "connector" attribute of the testing
- and async implementations was renamed to "connect". The old name
- still works.
-
-- Implementations are now required to log handler errors and to close
- connections in response to connection-handler errors. (Otherwise,
- handlers, and especially handler adapters, would have to do this.)
-
-==================
-1.0.1 (2007-05-30)
-==================
-
-Bugs fixed:
-
-- Server startups sometimes failed with an error like::
-
- warning: unhandled read event
- warning: unhandled write event
- warning: unhandled read event
- warning: unhandled write event
- ------
- 2007-05-30T22:22:43 ERROR zc.ngi.async.server listener error
- Traceback (most recent call last):
- File "asyncore.py", line 69, in read
- obj.handle_read_event()
- File "asyncore.py", line 385, in handle_read_event
- self.handle_accept()
- File "/zc/ngi/async.py", line 325, in handle_accept
- sock, addr = self.accept()
- TypeError: unpack non-sequence
Deleted: zc.ngi/trunk/bootstrap.py
===================================================================
--- zc.ngi/trunk/bootstrap.py 2013-03-12 13:38:09 UTC (rev 130121)
+++ zc.ngi/trunk/bootstrap.py 2013-03-12 13:43:51 UTC (rev 130122)
@@ -1,52 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Foundation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Bootstrap a buildout-based project
-
-Simply run this script in a directory containing a buildout.cfg.
-The script accepts buildout command-line options, so you can
-use the -c option to specify an alternate configuration file.
-
-$Id$
-"""
-
-import os, shutil, sys, tempfile, urllib2
-
-tmpeggs = tempfile.mkdtemp()
-
-ez = {}
-exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
- ).read() in ez
-ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
-import pkg_resources
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-if sys.platform == 'win32':
- cmd = '"%s"' % cmd # work around spawn lamosity on windows
-
-ws = pkg_resources.working_set
-assert os.spawnle(
- os.P_WAIT, sys.executable, sys.executable,
- '-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout',
- dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse('setuptools')).location
- ),
- ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout')
-import zc.buildout.buildout
-zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
-shutil.rmtree(tmpeggs)
Deleted: zc.ngi/trunk/buildout.cfg
===================================================================
--- zc.ngi/trunk/buildout.cfg 2013-03-12 13:38:09 UTC (rev 130121)
+++ zc.ngi/trunk/buildout.cfg 2013-03-12 13:43:51 UTC (rev 130122)
@@ -1,33 +0,0 @@
-[buildout]
-develop = .
-parts = test py sphinx
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zc.ngi [test]
-initialization =
- import sys, warnings
- if sys.version_info >= (2, 7): warnings.simplefilter('default')
-
-[test2.5]
-<= test
-python = python2.5
-
-[test2.6]
-<= test
-python = python2.6
-
-[test2.7]
-<= test
-python = python2.7
-
-[py]
-recipe = zc.recipe.egg
-eggs = zc.ngi
-interpreter = py
-
-[sphinx]
-recipe = zc.recipe.egg
-eggs = sphinx
- Pygments
- zc.ngi
Deleted: zc.ngi/trunk/setup.py
===================================================================
--- zc.ngi/trunk/setup.py 2013-03-12 13:38:09 UTC (rev 130121)
+++ zc.ngi/trunk/setup.py 2013-03-12 13:43:51 UTC (rev 130122)
@@ -1,42 +0,0 @@
-##############################################################################
-#
-# Copyright (c) Zope Foundation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-
-name, version = 'zc.ngi', '0'
-
-from setuptools import setup, find_packages
-
-readme = open('README.txt').read()
-
-tests_require = ['zope.testing', 'manuel']
-
-setup(
- name = name, version=version,
- author = "Jim Fulton",
- author_email = "jim at zope.com",
- description = readme.split('\n', 1)[0],
- license = "ZPL 2.1",
- keywords = ["networking", "testing"],
- url='http://packages.python.org/'+name,
- long_description=readme,
- tests_require = tests_require,
- test_suite = 'zc.ngi.tests.test_suite',
-
- packages = find_packages('src'),
- include_package_data = True,
- package_dir = {'':'src'},
- namespace_packages = ['zc'],
- install_requires = ['setuptools'],
- extras_require = dict(test=tests_require),
- zip_safe = False,
- )
More information about the checkins
mailing list