Commit Graph

870 Commits

Author SHA1 Message Date
fijal 28c5aae67d [svn r46011] Branch merge of session cleanups.
* killed _tryiter usage in rsession
* moved reporter one level up, so it can be reused later for normal session
* a lot of small simplifications

--HG--
branch : trunk
2007-08-27 11:02:50 +02:00
fijal 46fdbe7867 [svn r46010] Merge from branch - a lock for files, prevents segfaults of cpython
--HG--
branch : trunk
2007-08-27 10:45:03 +02:00
guido ee7dc229f9 [svn r45994] Adding support for locking and non-recursive commits (a somewhat obscure
feature, but was easy to implement) to svnwc. Not tested on SVN 1.2 (anyone?).

--HG--
branch : trunk
2007-08-26 14:31:20 +02:00
fijal ea8038db10 [svn r45907] Fix number
--HG--
branch : trunk
2007-08-22 14:43:50 +02:00
ac 643289e013 [svn r45901] Do not use os.tmpfile() as it will fail on Windows unless You are Administrator.
--HG--
branch : trunk
2007-08-21 20:39:21 +02:00
fijal e722cb2db7 [svn r45671] Change lines for code.txt not to fail on cpy2.5
Problem is described in tests (skipped) anyway, hence there is no point
in failing code snippet in documentation

--HG--
branch : trunk
2007-08-15 12:53:26 +02:00
fijal a18a291dee [svn r45655] Kill unnecessary sanity check
--HG--
branch : trunk
2007-08-14 17:21:02 +02:00
fijal 2b39cfd09c [svn r45649] Two possible skip reasons
--HG--
branch : trunk
2007-08-14 11:49:04 +02:00
fijal 773848823d [svn r45648] Add possibility to specify reason for skips
--HG--
branch : trunk
2007-08-14 11:48:15 +02:00
fijal a7a95973eb [svn r45647] use repr() rather than direct return
--HG--
branch : trunk
2007-08-14 11:47:27 +02:00
fijal 5318f7b145 [svn r45646] Rewrite it a bit not to rely on exact formatting (rather checking whether
information is there)

--HG--
branch : trunk
2007-08-14 11:45:04 +02:00
fijal 8ce22f32ac [svn r45550] Skip those tests on windows
--HG--
branch : trunk
2007-08-08 14:03:03 +02:00
hpk 2371fb16fa [svn r45549] fix a bug that servemain() wouldn't actually
try to join threads at exit because of a
(hidden) attribute error.

--HG--
branch : trunk
2007-08-08 14:02:55 +02:00
hpk 62634136b9 [svn r45548] - refactoring cleanup mechanics into its own class
- have setDaemon(1) for the receiverThread as
  otherwise on python2.5 atexit will not be invoked
  (the receiver thread apparently blocks it)

--HG--
branch : trunk
2007-08-08 13:45:04 +02:00
hpk 3cb7d3579a [svn r45547] remove global
--HG--
branch : trunk
2007-08-08 12:38:22 +02:00
fijal 506bd239bd [svn r45545] Kill lock.
--HG--
branch : trunk
2007-08-08 11:36:08 +02:00
hpk a94866a20b [svn r45541] don't use globals when we might be called from destructors
--HG--
branch : trunk
2007-08-07 19:54:09 +02:00
hpk a5e69d2035 [svn r45539] merge the execnet lessthreads branch (using the branch'es history):
* now by default Gateways DO NOT SPAWN execution threads
  you can call "remote_init_threads(NUM)" on an already instantiated
  gateway, which will install a loop on the other side which will
  dispatch each execution task to its own thread.

* execution is dissallowed on the side which initiates a gateway
  (rarely used, anyway)

* some cleanups (hopefully)

--HG--
branch : trunk
2007-08-07 19:34:59 +02:00
hpk f80336f076 [svn r45538] not exported
--HG--
branch : trunk
2007-08-07 18:59:09 +02:00
fijal 31fe9347e5 [svn r45535] Avoid hacks when creating exception name
--HG--
branch : trunk
2007-08-07 18:19:35 +02:00
fijal 11e2b9426f [svn r45525] be a bit more impersonal
--HG--
branch : trunk
2007-08-07 09:11:18 +02:00
fijal 141a101673 [svn r45520] Add some rough ideas about pylib plannign
--HG--
branch : trunk
2007-08-06 15:58:54 +02:00
fijal a99085cea3 [svn r45519] Ignore non-existing files
--HG--
branch : trunk
2007-08-06 15:58:18 +02:00
fijal f78a355042 [svn r45518] Print out communicate atomically
--HG--
branch : trunk
2007-08-06 15:57:55 +02:00
fijal 5f62c21272 [svn r45484] A comment why this will not work on different python version
--HG--
branch : trunk
2007-08-04 16:24:56 +02:00
fijal a916b74c71 [svn r45483] Fix 2.5 issue when str(excinfo.type) produced different thing than expected
--HG--
branch : trunk
2007-08-04 16:24:37 +02:00
fijal 8cbb41521c [svn r45295] Fix rsession tests
--HG--
branch : trunk
2007-07-24 11:32:44 +02:00
fijal c4ab38f5c9 [svn r45294] Complain loudly when there is pypy without stackless
--HG--
branch : trunk
2007-07-24 11:06:42 +02:00
pedronis 856c7e5695 [svn r44655] be consistent in super usage
--HG--
branch : trunk
2007-07-01 15:44:40 +02:00
pedronis 6ec2be9985 [svn r44648] PyCollectorMixin is intented to override Collector behavior, if we want to use super it really
needs to subclass from it to get mros to that effect.

If the obscure semi-override was intentional (?) holler

--HG--
branch : trunk
2007-07-01 14:18:02 +02:00
guido bdfb5ea88b [svn r44248] Fixed problem with calling .remove() on wcpaths of non-versioned files.
--HG--
branch : trunk
2007-06-14 15:32:55 +02:00
fijal 29e19de6a4 [svn r43575] Whack CSS a bit to have dots which does not go under the navbar
--HG--
branch : trunk
2007-05-23 17:03:46 +02:00
fijal 357df802d7 [svn r43299] Be more keyword-friendly for cheesshop
--HG--
branch : trunk
2007-05-12 16:53:25 +02:00
fijal e49f017024 [svn r42273] Added a file about what I would like to have in apigen.
--HG--
branch : trunk
2007-04-23 19:41:43 +02:00
xoraxax 8f733a426f [svn r42215] Copy with SVN history and restore test.
--HG--
branch : trunk
2007-04-20 18:40:39 +02:00
fijal 9f223d2bc3 [svn r42194] Add my notes (this time for real)
--HG--
branch : trunk
2007-04-20 10:02:38 +02:00
fijal 03c8634b09 [svn r42193] revert my changes
--HG--
branch : trunk
2007-04-20 10:01:00 +02:00
fijal 4a5acb9c09 [svn r42191] Move several issues from merlinux tracker
--HG--
branch : trunk
2007-04-20 09:53:54 +02:00
xoraxax 2dd380575c [svn r42188] Revive test/compat.py again, seems to work fine for me. Can be used by patching sys.modules["unittest"] in the conftest.py file.
--HG--
branch : trunk
2007-04-20 00:39:27 +02:00
hpk 8f58035cde [svn r42103] added some issues/features previously tracked elsewhere
--HG--
branch : trunk
2007-04-16 18:19:11 +02:00
hpk 446099b65e [svn r42092] add rlcompleter2 / pdbplus issues
--HG--
branch : trunk
2007-04-16 15:17:28 +02:00
hpk 5e201641af [svn r42089] some more infos/issues put to the TODO file
--HG--
branch : trunk
2007-04-16 14:37:00 +02:00
hpk 2779732a0c [svn r42085] adding some issues from the merlinux tracker (and removing them there)
--HG--
branch : trunk
2007-04-16 12:46:25 +02:00
fijal 50d77c64c0 [svn r41860] * kill start_on
* add keyword_oneshot flag, which indicates that -k is only one shot
  than all tests are run
* simplify code a bit

--HG--
branch : trunk
2007-04-03 19:28:04 +02:00
fijal d8e5e63235 [svn r41855] Add a bit hackish option which allows to start from selected
keyword test, doesn't work with rsession yet.

--HG--
branch : trunk
2007-04-03 17:23:00 +02:00
guido 1e7bb8ca99 [svn r41655] Added list of possible exceptions for callables.
--HG--
branch : trunk
2007-03-29 22:57:16 +02:00
guido cd6471e71f [svn r41620] Re-added anchors to the (full) source files, and using them from the API
documentation.

--HG--
branch : trunk
2007-03-29 13:56:14 +02:00
fijal 9466961ee4 [svn r41606] Rather strange hack to make sure that queue is not empty. Needed nowadays for
passing test_session in js/examples/console

--HG--
branch : trunk
2007-03-29 10:46:59 +02:00
arigo a86118d77b [svn r41480] Move the FunctionMixin to collect.py, as an attempt to avoid circular
imports.

--HG--
branch : trunk
2007-03-27 15:28:18 +02:00
fijal b8f6596760 [svn r41224] Added failing test, which I would suppose to pass
--HG--
branch : trunk
2007-03-24 10:20:25 +01:00
guido 417d97c850 [svn r41080] Added support for filtering listdir() calls in the SourcePageBuilder, using it
to filter out hidden files and the 'build' subdir of greenlet.

--HG--
branch : trunk
2007-03-22 16:06:41 +01:00
fijal e3715545fb [svn r40982] Possible problem-point (exploded at least once there)
--HG--
branch : trunk
2007-03-21 22:22:56 +01:00
fijal 633a3a67a3 [svn r40943] Regenerate js
--HG--
branch : trunk
2007-03-21 15:49:49 +01:00
hpk f3acdc6623 [svn r40834] skip test for XXX'ed download urls if version contains "alpha"
--HG--
branch : trunk
2007-03-20 13:20:33 +01:00
hpk e1138243dc [svn r40832] fixing syntax error
--HG--
branch : trunk
2007-03-20 13:11:31 +01:00
hpk 153ce61b48 [svn r40831] bump version number, fixes
--HG--
branch : trunk
2007-03-20 13:10:56 +01:00
fijal c2d010ad92 [svn r40753] Make MAX_COUNTER small enough. It's an obscure hack, but at least works
--HG--
branch : trunk
2007-03-19 11:43:49 +01:00
fijal ae3e6b9bf0 [svn r40739] Make FAILED TO LOAD MODULE clickable
--HG--
branch : trunk
2007-03-18 23:53:14 +01:00
fijal f6980c4b9d [svn r40738] Count also FAILED TO LOAD MODULE failures in web interface
--HG--
branch : trunk
2007-03-18 23:44:54 +01:00
fijal 3943673739 [svn r40737] A fix that allows (for command line reporter) to report failure in case
when FAILED TO LOAD MODULE

--HG--
branch : trunk
2007-03-18 23:38:57 +01:00
fijal cfd7c31a8d [svn r40720] Tracing defaults to false
--HG--
branch : trunk
2007-03-18 19:49:45 +01:00
fijal 837ba40fa7 [svn r40719] Argh. There should be post-commit hook which warns about every import pdb in your code.
--HG--
branch : trunk
2007-03-18 19:47:26 +01:00
hpk c8e69bb60e [svn r40706] test/__init__.py is needed as well (for determining test paths etc.)
--HG--
branch : trunk
2007-03-18 17:33:13 +01:00
hpk 9515dafb1c [svn r40705] move greenlet support objects to the "py/green" directory.
--HG--
branch : trunk
2007-03-18 17:28:04 +01:00
arigo 5506b03f81 [svn r40702] (pedronis, arigo)
Add setup/teardown calls around generators, with the same semantics as
around functions and methods.

--HG--
branch : trunk
2007-03-18 16:59:45 +01:00
fijal 1b639695b4 [svn r40002] Re-enable url check test
--HG--
branch : trunk
2007-03-06 22:13:33 +01:00
fijal ce974d41e1 [svn r40001] Encoding (let's suppose UTF-8 will not hurt)
--HG--
branch : trunk
2007-03-06 22:11:12 +01:00
fijal 34a4991edd [svn r39995] Possibly controversial checkin.
Kill a hack for explicit isinstance(). We've got just two methods,
so doing full getmro doesn't seem to make too much sense.

Anyway this changes semantics slightly, so now we rely on exact
inheritance rather than name (I don't have good answer for those)

--HG--
branch : trunk
2007-03-06 19:06:37 +01:00
fijal 91d7ced4eb [svn r39994] fix rest
--HG--
branch : trunk
2007-03-06 19:02:28 +01:00
fijal 0ef18c50bd [svn r39983] (arigo, fijal) -
* oneof(functions) runs all functions in parallel
  until one returns a value, then returns that value

* allof(functions) same as previous, but returns all
  return values in a tuple

--HG--
branch : trunk
2007-03-06 14:54:33 +01:00
hpk 8bf738614e [svn r39982] introduce gateway._send and have all places route
their sending of Messages (or None's) through that method.

--HG--
branch : trunk
2007-03-06 13:51:18 +01:00
fijal 9bbef25ec1 [svn r39981] Some random notes about future pylib direction
--HG--
branch : trunk
2007-03-06 13:38:49 +01:00
fijal da26d914c8 [svn r39975] Fix imports
--HG--
branch : trunk
2007-03-06 10:49:47 +01:00
fijal cda5c7215d [svn r39974] Add some comments
--HG--
branch : trunk
2007-03-06 10:40:59 +01:00
fijal f5664d4405 [svn r39973] Add a (stolen almost directly from arigo/hack) network layer
based on top of greenlets. Needs some tweaking, so it's not exposed
as a py.xxx, but rather py.__.net

--HG--
branch : trunk
2007-03-06 10:07:53 +01:00
hpk 40b28ca0fe [svn r39655] add a (somewhat clunky) way to kill processes by PID both on windows
and unix-ish systems.

--HG--
branch : trunk
2007-03-02 12:00:32 +01:00
fijal 2cd886f442 [svn r39340] A fix and a test. Thanks Marian Shubert for reporting problem
--HG--
branch : trunk
2007-02-23 15:22:50 +01:00
xoraxax e4ef5d39bf [svn r39106] Plus sign works fine for me, added to ALLOWED_CHARS in svncommon.
--HG--
branch : trunk
2007-02-17 15:12:56 +01:00
guido b4516bc432 [svn r38969] Fixed ReST.
--HG--
branch : trunk
2007-02-15 22:33:31 +01:00
santagada f9feca8c93 [svn r38967] spelling mistake
--HG--
branch : trunk
2007-02-15 22:12:15 +01:00
hpk 20398b87f3 [svn r38840] fix links to release branch
--HG--
branch : trunk
2007-02-14 15:48:39 +01:00
hpk 05ef2d5832 [svn r38831] be more careful to not work with svnwc() paths
when checking for mtimes

--HG--
branch : trunk
2007-02-14 15:07:23 +01:00
arigo 79a17fa4ef [svn r38828] Try harder to get the logic right to avoid regenerating html files for
unmodified txts.

--HG--
branch : trunk
2007-02-14 14:57:46 +01:00
hpk 96355656ce [svn r38824] skip these tests on win32
--HG--
branch : trunk
2007-02-14 14:11:34 +01:00
hpk f6040733dc [svn r38821] hum, only do the precompiled greenlet if we are invoked
with install

--HG--
branch : trunk
2007-02-14 13:51:08 +01:00
hpk 0a4d47a4c7 [svn r38819] skip apigen on win32
--HG--
branch : trunk
2007-02-14 13:44:52 +01:00
hpk 80f98fe70c [svn r38818] add release 0.9.0 announcement link to index.txt
--HG--
branch : trunk
2007-02-14 13:34:17 +01:00
cfbolz c0c60edcb2 [svn r38817] fix typo, make the promise less definite (it's ages old)
--HG--
branch : trunk
2007-02-14 13:32:37 +01:00
lene 6913d477f2 [svn r38816] tried to fix sentences and singular/plural
--HG--
branch : trunk
2007-02-14 13:32:24 +01:00
fijal 3d8b61c246 [svn r38815] Be at least consistent within one file
--HG--
branch : trunk
2007-02-14 13:28:38 +01:00
hpk a8139d7d44 [svn r38812] remove the exe for now and warn about missing greenlet
support for win32

--HG--
branch : trunk
2007-02-14 13:24:47 +01:00
hpk f2e89671d0 [svn r38810] being yet more ignorant about build problems of c-extensions
--HG--
branch : trunk
2007-02-14 13:15:20 +01:00
hpk 86155cceb8 [svn r38808] trying to be more ignorant about missing abilities
to remove c-extension modules (they might be in
site-packages) and adding a hack to make sure
that the greenlet module gets build ahead of
the setup install.

--HG--
branch : trunk
2007-02-14 13:13:39 +01:00
hpk d02d937b74 [svn r38805] be more careful about win32 supporting claims
--HG--
branch : trunk
2007-02-14 12:49:11 +01:00
hpk f016b14965 [svn r38801] fixing the download page for prospected links
--HG--
branch : trunk
2007-02-14 12:16:03 +01:00
hpk a158e35229 [svn r38799] bumping version to 0.9.0 (trying :)
--HG--
branch : trunk
2007-02-14 12:10:40 +01:00
hpk 1fd940c579 [svn r38797] fixing the too global revision caching
--HG--
branch : trunk
2007-02-14 12:02:16 +01:00
hpk 09f7bc947d [svn r38782] here as well
--HG--
branch : trunk
2007-02-14 03:30:19 +01:00
hpk 1adff0f057 [svn r38781] the target docpath needs to be determined per project
--HG--
branch : trunk
2007-02-14 03:29:11 +01:00
guido bed622d665 [svn r38779] Made that the package revision is now shown in the title rather than each
file's individual revision.

--HG--
branch : trunk
2007-02-14 03:03:51 +01:00
guido 2851e1d919 [svn r38777] Fixed api and source link role relative paths.
--HG--
branch : trunk
2007-02-14 02:31:50 +01:00
guido 74ad33da28 [svn r38776] Removed duplicate links.
--HG--
branch : trunk
2007-02-14 02:18:06 +01:00
hpk a90fb8112c [svn r38775] use relative paths, and compute them late
--HG--
branch : trunk
2007-02-14 02:03:51 +01:00
guido f074f6137c [svn r38773] Using ensure() better (thanks, hpk ;).
--HG--
branch : trunk
2007-02-14 01:11:26 +01:00
guido d457485d1b [svn r38772] Make sure target dir exists before writing files to it.
--HG--
branch : trunk
2007-02-14 01:07:45 +01:00
guido 13c44faa38 [svn r38770] Removed option --apigen_relpath, added options --docpath and --apigenpath, both
of which are not only used for building the navigation, but also to actually
tell py.test where docs should be generated. Also cleaned up and fixed the
situation regarding relative links in the navigation menu and stylesheet/js
paths.

--HG--
branch : trunk
2007-02-14 00:56:57 +01:00
hpk c9b5b1714a [svn r38766] naming consistency
--HG--
branch : trunk
2007-02-14 00:20:43 +01:00
hpk f643f601c6 [svn r38763] overriding the new a_docref and a_apigenref Page helper methods,
getting rid of update_menubar_links

--HG--
branch : trunk
2007-02-13 23:20:05 +01:00
hpk 8efaf88364 [svn r38762] slight sanitizing and allow to change sep in one place
--HG--
branch : trunk
2007-02-13 22:56:42 +01:00
hpk 441724abbe [svn r38761] split Page methods for menubar generation
allowing to override A link generation for
docs and for apigen pages.

--HG--
branch : trunk
2007-02-13 22:43:32 +01:00
hpk f12b95ff5a [svn r38760] fix ehem syntax ehem error
--HG--
branch : trunk
2007-02-13 21:40:29 +01:00
hpk a3dd6dfd7c [svn r38755] fix reporting of duplicate remote host rsyncs
and adding an XXX test (not easy to test ssh hosts
because it modifies remote state)

--HG--
branch : trunk
2007-02-13 21:09:25 +01:00
hpk d919ad9eee [svn r38750] mention command line completion
--HG--
branch : trunk
2007-02-13 20:30:34 +01:00
fijal 87aabe079e [svn r38749] Regenerated js
--HG--
branch : trunk
2007-02-13 20:30:19 +01:00
hpk 3ab95e5672 [svn r38747] hum, a last-minute namespace change: i missed
that fijal didn't move py.test.Item|Function to the py.test.collect namespace
at the time.  a pypy fix will follow shortly after i merged the dist.

--HG--
branch : trunk
2007-02-13 20:21:53 +01:00
hpk 1bddcfee3d [svn r38745] striking another XXX, mentioning limited windows path support.
--HG--
branch : trunk
2007-02-13 20:13:41 +01:00
hpk 0590bc0af1 [svn r38744] * adding a section about conftest.py files (removing an XXX)
* removing dead links

--HG--
branch : trunk
2007-02-13 20:10:09 +01:00
hpk 18120135a3 [svn r38743] fix and remove unneeded external references
remote test-distributed.txt which had lots of
not actual links and IMO would need a higher-level
introduction to become understandable.

--HG--
branch : trunk
2007-02-13 20:01:02 +01:00
hpk e4d4fb7c56 [svn r38741] doing r38739 in the right place (dist will get
recopied from trunk)

--HG--
branch : trunk
2007-02-13 19:22:47 +01:00
fijal 614675743d [svn r38726] shuffle -> sample
--HG--
branch : trunk
2007-02-13 17:37:26 +01:00
fijal 97a82f2df2 [svn r38713] Use self.source wherever applicable
--HG--
branch : trunk
2007-02-13 16:34:16 +01:00
fijal de57df5134 [svn r38712] Avoid py.test.config._reparse([])
--HG--
branch : trunk
2007-02-13 16:32:49 +01:00
fijal a38f606825 [svn r38711] Avoid infinte recursion when rsyncing (well finite - OSError file too long)
--HG--
branch : trunk
2007-02-13 16:31:31 +01:00
fijal 44337db211 [svn r38710] Invoke the skip rather than have it
--HG--
branch : trunk
2007-02-13 16:24:33 +01:00
fijal f149de635c [svn r38709] kill dead code
--HG--
branch : trunk
2007-02-13 16:24:08 +01:00
fijal db6df474fe [svn r38708] document.location is not in DOM. We need to implemented some stuff in
js backend to be able to test this

--HG--
branch : trunk
2007-02-13 16:15:26 +01:00
hpk a992ca7427 [svn r38706] privatizing config.conftest to config._conftest as well
--HG--
branch : trunk
2007-02-13 16:05:21 +01:00
guido e2931176bb [svn r38701] Fixed line heights in Konqueror.
--HG--
branch : trunk
2007-02-13 15:29:12 +01:00
guido f5f46c9f3e [svn r38700] Fixed paths, docs are now no longer placed in a sub dir.
--HG--
branch : trunk
2007-02-13 15:26:46 +01:00
guido b9965f8134 [svn r38685] Partial rewrite of fijal's pdb/apigen text.
--HG--
branch : trunk
2007-02-13 13:49:37 +01:00
fijal aaee02c214 [svn r38683] Add some information about pdb + apigen
--HG--
branch : trunk
2007-02-13 13:33:45 +01:00
hpk 275a31ed37 [svn r38659] mention that we think that py lib works on 2.3, 2.4 and 2.5
--HG--
branch : trunk
2007-02-13 09:18:31 +01:00
guido 7953ac1b82 [svn r38653] Skipping some tests on win32, for some reason svnwc.info().created_rev seems
to fail (need to look into it in more detail later).

--HG--
branch : trunk
2007-02-13 02:11:30 +01:00
guido 63c2a8f62f [svn r38652] Fixed rendering problems in IE, updated todo.txt.
--HG--
branch : trunk
2007-02-13 02:01:23 +01:00
guido cb8041a34a [svn r38650] Added env var for creating relative links to the py lib docs (in the nav bar),
added script to generate py lib's docs and api docs in a subdir in one go.

--HG--
branch : trunk
2007-02-13 00:14:50 +01:00
guido 0b575823d0 [svn r38649] Adding _findpy call to not have to set PYTHONPATH to find the py lib.
--HG--
branch : trunk
2007-02-13 00:10:38 +01:00
hpk 16e47af8a9 [svn r38626] some XXX to TODO, and adding a part about proper linking
--HG--
branch : trunk
2007-02-12 19:11:07 +01:00
hpk a07cceca9f [svn r38621] * fix for linking problems: move future.txt one level up
* be slightly more defensive about apigen_relpath

--HG--
branch : trunk
2007-02-12 18:58:38 +01:00
hpk 9e8334e8ae [svn r38601] pointing to the just uploaded py-0.9.0-beta packages
--HG--
branch : trunk
2007-02-12 18:04:15 +01:00
hpk 5271ecce58 [svn r38598] fixing download url and fix makepyrelease script
--HG--
branch : trunk
2007-02-12 17:57:45 +01:00
arigo 00aa8876d6 [svn r38597] Raise an ImportError if there is no way to build a C extension module,
e.g. on top of pypy-c.  Importing e.g. py.magic.greenlet then gives an
exception that is saner to catch than ValueError.

--HG--
branch : trunk
2007-02-12 17:49:32 +01:00
hpk 620b070002 [svn r38595] streamlining info a bit
--HG--
branch : trunk
2007-02-12 17:42:53 +01:00
hpk 1169851892 [svn r38588] or maybe this version for google? :)
--HG--
branch : trunk
2007-02-12 17:29:15 +01:00
hpk e6071cfb7a [svn r38586] use merlinux.eu (did you know it exists? :)
--HG--
branch : trunk
2007-02-12 17:27:07 +01:00
cfbolz 9f3949ba3f [svn r38585] remove the gmbh
--HG--
branch : trunk
2007-02-12 17:17:37 +01:00
hpk a4123181c8 [svn r38584] cleaning up menu bar: "index" instead of doc,
removing pseudo "home" page.

--HG--
branch : trunk
2007-02-12 17:13:05 +01:00
hpk f19050bd40 [svn r38582] refining the release announcement/finalizing from my site
fijal, cfbolz, guido_w: are you ok with it?  (your name
is under the release announcement)

--HG--
branch : trunk
2007-02-12 17:10:28 +01:00
hpk ed2759b262 [svn r38579] library code should not use magic timeouts,
testing code may use a global TESTTIMEOUT

--HG--
branch : trunk
2007-02-12 16:55:48 +01:00
guido 5a46d43990 [svn r38578] Made that the docstring isn't replaced by the function info anymore, but the
func info is appended, some small style issues.

--HG--
branch : trunk
2007-02-12 16:45:56 +01:00
fijal 53c204962a [svn r38577] Test for explicit Failed
--HG--
branch : trunk
2007-02-12 16:40:04 +01:00
fijal ba07ab5533 [svn r38576] typo!
--HG--
branch : trunk
2007-02-12 16:30:32 +01:00
fijal de078273a0 [svn r38574] Special case outcome.Failed - reuse that excinfo
--HG--
branch : trunk
2007-02-12 16:28:28 +01:00
fijal 6210030d27 [svn r38573] This tests was completely broken when pypy is there
--HG--
branch : trunk
2007-02-12 16:28:09 +01:00
fijal cb87cd42cc [svn r38572] Move a bit into using high-level traceback interface instead of low-level one
--HG--
branch : trunk
2007-02-12 16:27:46 +01:00
guido c7fa5db37b [svn r38571] Using wcpath.info().created_rev (last changed revision) rather than
wcpath.status().rev (current wc rev) as revision, added revision for source and
namespace pages.

--HG--
branch : trunk
2007-02-12 16:21:35 +01:00
hpk a43ff3108f [svn r38568] improving r38560 a bit
--HG--
branch : trunk
2007-02-12 15:58:14 +01:00
fijal 6294a4b189 [svn r38560] Compare collectors by id rather than by name. It needs to be rethought
a bit.

--HG--
branch : trunk
2007-02-12 14:20:49 +01:00
fijal d01fb4a18e [svn r38559] Give info about tests in case of failure/interruption
--HG--
branch : trunk
2007-02-12 14:14:36 +01:00
hpk d1008d3752 [svn r38549] also privatizing Config.initdirect (which relates to remote reprs and such)
--HG--
branch : trunk
2007-02-12 13:21:16 +01:00
hpk 5d36fbf365 [svn r38548] carefully privatizing Config.make_repr and Config.merge_repr
by doing a whole-pylib replace and reviewing the diff in detail

--HG--
branch : trunk
2007-02-12 13:18:23 +01:00
guido 38e3462d98 [svn r38546] Typo.
--HG--
branch : trunk
2007-02-12 12:36:07 +01:00
guido 8a07ca4457 [svn r38542] Fixed help string for --apigenrelpath.
--HG--
branch : trunk
2007-02-12 12:16:18 +01:00
hpk 4388237e69 [svn r38534] some more little issues
--HG--
branch : trunk
2007-02-12 01:41:07 +01:00
hpk 66b0639109 [svn r38533] adding a way to modify the "apigen relative path"
from the command line, unifying conftest and confrest

--HG--
branch : trunk
2007-02-12 01:37:48 +01:00
hpk 8c55dd3f35 [svn r38530] fix
--HG--
branch : trunk
2007-02-12 01:09:57 +01:00
cfbolz b4732e7982 [svn r38524] add link to pyfuse (which is the newer approach, I think) and fix the link
target.

--HG--
branch : trunk
2007-02-11 23:16:23 +01:00
hpk b1b2a94a55 [svn r38518] fix references
--HG--
branch : trunk
2007-02-11 20:57:12 +01:00
hpk 97aab00607 [svn r38516] majorly refactor future chapter, mentioning
APIgen and other more current ideas

--HG--
branch : trunk
2007-02-11 20:52:11 +01:00
hpk 790c9bbb88 [svn r38514] rewrite/refactor why_py (it was quite old)
--HG--
branch : trunk
2007-02-11 20:31:14 +01:00
hpk 00c7ccfaa0 [svn r38508] skip signal detection tests for python < 2.4
(2.4 and 2.5 work apparently)

--HG--
branch : trunk
2007-02-11 19:56:08 +01:00
hpk ff9df3c079 [svn r38506] config.getvalue_pathlist should also honour option values
(to be uniform with getvalue semantics)

--HG--
branch : trunk
2007-02-11 19:47:04 +01:00
hpk 7973f472d7 [svn r38505] clarify that config.getvalue will first lookup
in options.

--HG--
branch : trunk
2007-02-11 19:43:34 +01:00
hpk 508eb5d4de [svn r38504] fixes for python2.3
--HG--
branch : trunk
2007-02-11 19:36:38 +01:00
hpk 14ad83da06 [svn r38496] don't print the test-mode, that needs more thought how
to do it now

--HG--
branch : trunk
2007-02-11 19:01:19 +01:00
hpk bda58e9862 [svn r38484] make config.option override any conftest provided value.
--HG--
branch : trunk
2007-02-11 18:08:13 +01:00
hpk 50f9f1a410 [svn r38480] unneeded import
--HG--
branch : trunk
2007-02-11 17:56:46 +01:00
hpk 5c000e57f1 [svn r38474] make io capturing configurable per e.g.
conf_iocapture = "sys"

by default it has "fd" for performing fd-based capturing

--HG--
branch : trunk
2007-02-11 17:25:01 +01:00
hpk 245aa057b4 [svn r38473] rewrote the future section of py test
--HG--
branch : trunk
2007-02-11 17:24:17 +01:00
hpk 5be8668782 [svn r38472] clarifications regarding dist testing
--HG--
branch : trunk
2007-02-11 17:14:40 +01:00
hpk 9b7fa6514b [svn r38470] try to have py.process.cmdexec run on top of PyPy
(with its currentl limitations)

--HG--
branch : trunk
2007-02-11 16:11:49 +01:00
hpk c52a54796d [svn r38467] make string comparison lowercase-insensitive for windows
--HG--
branch : trunk
2007-02-11 15:59:56 +01:00
hpk 22d98ac3a1 [svn r38460] removing a very-likely-obsolete test
and otherwise fixing files and tests
to do py.test.skip()s only during setup.

--HG--
branch : trunk
2007-02-11 14:46:46 +01:00
hpk e068a463a1 [svn r38459] two functions with the same name, use the latter one.
--HG--
branch : trunk
2007-02-11 14:45:49 +01:00
hpk 4e66510fa7 [svn r38458] better docstring for top level object
--HG--
branch : trunk
2007-02-11 14:33:22 +01:00
hpk 155886bb54 [svn r38456] konqueror issues
--HG--
branch : trunk
2007-02-11 14:31:24 +01:00
hpk 40c8b10040 [svn r38455] various merging of startup documentation
and rewriting/refactoring information and
references.  clarifying release-structure
a bit.

--HG--
branch : trunk
2007-02-11 14:26:03 +01:00
hpk edfa8f99d5 [svn r38452] bumping version number to 0.9.0-beta
--HG--
branch : trunk
2007-02-11 12:53:42 +01:00
hpk cea9257fbb [svn r38451] a draft release announcement
--HG--
branch : trunk
2007-02-11 12:52:44 +01:00
hpk 609b34d586 [svn r38449] removed DONE issues, added one more (sources page)
and comments.

--HG--
branch : trunk
2007-02-11 12:14:44 +01:00
hpk b7b9ff2b71 [svn r38448] shorter title
--HG--
branch : trunk
2007-02-11 12:05:52 +01:00
hpk e535f80be1 [svn r38447] privatize internal regular expressions
--HG--
branch : trunk
2007-02-11 12:01:27 +01:00
hpk 1c354315a6 [svn r38441] increase hard-coded timeouts a bit (waitclose()
will not neccessarily wait that long, it returns
as soon as the channel is closed so it's not
as bad as outright sleeping)

--HG--
branch : trunk
2007-02-11 09:32:27 +01:00
guido 8a60d6ee5c [svn r38440] Made that the blue links are colored from the stylesheet.
--HG--
branch : trunk
2007-02-11 03:21:45 +01:00
guido a6fd3c241e [svn r38439] Fixed a list of things suggested by hpk: changed method order in class pages,
changed page titles, added links to the api and source index from the nav bar
(also in py/doc html), changed function views, made it possible to remove an
item from the navigation, changed header 'properties' to 'class attributes and
properties', removed duplicate stack traces (in a somewhat unsatisfying way,
needs revisiting later I think).

--HG--
branch : trunk
2007-02-11 03:04:36 +01:00
guido ac5c05b688 [svn r38438] Rolling back r38422 and part of r38397 because it made that a lot of stuff was
printed to stdout/err.

--HG--
branch : trunk
2007-02-11 02:54:22 +01:00
hpk 8e33cf6772 [svn r38427] significantly reducing the trailing "Exception in Thread"
messages by having threads die more silently.  Most
of these threads and tracebacks are anyway on some
remote machine, and we need to take care that errors
are routed to the place of invocation (e.g. the
remote_exec() invoker should get remote exceptions,
if the remote thread goes out of scope, the resulting
exception will not be seen likely, anyway)

--HG--
branch : trunk
2007-02-10 23:16:47 +01:00
fijal 7dd0491764 [svn r38422] Argh. Forgotten to check that in
--HG--
branch : trunk
2007-02-10 22:56:23 +01:00
hpk c311d2bc0a [svn r38408] my current list of things (not totally sorted in prio order)
that i'd like for 0.9

--HG--
branch : trunk
2007-02-10 21:29:03 +01:00
hpk 1095cec0dc [svn r38398] for setup/teardown pairs the correct idiom is
setup()
    try:
        ...
    finally:
        teardown()

and not to do the setup() within the try,
because if that raises, teardown() will
likely go wrong as well etc.

--HG--
branch : trunk
2007-02-10 18:00:58 +01:00
fijal 1739ba4f55 [svn r38397] Kill PidInfo and make boxing optional for distributed testing.
This should make dist testing on windows possible.

--HG--
branch : trunk
2007-02-10 17:50:47 +01:00
guido 275673ba21 [svn r38396] Capturing stdout and stderr when running the update_website tests to not mess
up --rest output.

--HG--
branch : trunk
2007-02-10 16:41:31 +01:00
guido d3cd1c5bcf [svn r38393] Made (displayed) paths to source files relative whenever possible.
--HG--
branch : trunk
2007-02-10 16:19:17 +01:00
hpk e280dfe1f0 [svn r38392] looponfailing tricked me into committing too early
(syntax error, bah)

--HG--
branch : trunk
2007-02-10 16:07:30 +01:00
hpk bc009c4aef [svn r38391] check more exactly if we are working
from a default rsync_root (checking
for rsync_root == topdir is not safe
as the topdir may be explicitely contained
in the rsync_root list)

--HG--
branch : trunk
2007-02-10 16:05:32 +01:00
hpk d3e2c68e03 [svn r38390] refining the logic: for inplace-localhosts ("optimized localhost")
we do not add any relative path.

--HG--
branch : trunk
2007-02-10 15:51:25 +01:00
hpk fa94900836 [svn r38389] completing the picture: now if you don't have rsync_roots
specified, the config.topdir is transfered but it is
transferred to the "remotepath.join(topdir.basename)"
(not actual code) to avoid random such rsyncs to
destroy/affect remote filesystem state.

--HG--
branch : trunk
2007-02-10 15:45:41 +01:00
guido f88bbf1b83 [svn r38388] Removed stuff that's done, added a couple more items to do.
--HG--
branch : trunk
2007-02-10 15:22:16 +01:00
guido ada3a4cfcf [svn r38386] Fixed some more nasty problems after running py.test --apigen on pypy: problem
recognizing """foo "bar" baz""" as a single line string (hack unfortunately),
unicode problems. Also added some code to debug the tokenizer: you can now run
the color.py script with a Python file as arg to tokenize the file.

--HG--
branch : trunk
2007-02-10 15:20:21 +01:00
hpk e11e7472bc [svn r38378] snapshot commit for: each rsync root is now copied to
remote-topdir.join(root.basename)

--HG--
branch : trunk
2007-02-10 14:21:26 +01:00
guido 663447a7d1 [svn r38370] Hrmph, probably the nastiest case of 'debug print' I ran into so far, bringing
apigen almost to a crawl... Also small optimization making that 'normal'
multi-line strings are resolved before those using \.

--HG--
branch : trunk
2007-02-10 13:02:06 +01:00
guido 4d4ce90f73 [svn r38362] Fixed stupidity in the last checkin: only matching multi-line strings using
slashes if the slash is actually at the end of the line... :(

--HG--
branch : trunk
2007-02-10 12:06:58 +01:00
hpk e04e08718f [svn r38352] made localhost inplace handling safer (and more
redundant, there is an additional flag now,
and host.gw_remotepath is None for localhost-inplace
hosts)

--HG--
branch : trunk
2007-02-10 09:52:22 +01:00
hpk e57df20f4b [svn r38315] fixing failing apigen test and adding
a string equality assertion helper
(if we need to have such exact string-comparison tests,
then let's at least make it convenient
to discover the problem quickly)

--HG--
branch : trunk
2007-02-09 21:36:20 +01:00
hpk 248a8d944f [svn r38310] assertion to be sure about keywords
--HG--
branch : trunk
2007-02-09 20:45:04 +01:00
fijal 0d6d17dc96 [svn r38302] Kill _dist_import_pypy
--HG--
branch : trunk
2007-02-09 19:33:00 +01:00
guido 30608ea412 [svn r38262] Fixed support for tokenizing multi-line strings that use \ to span lines.
--HG--
branch : trunk
2007-02-09 16:13:30 +01:00
fijal aa4896fa04 [svn r38249] It seems that there was somehow different idea in mind, but I actually
do not get it.

Right now there is no way to override default session other than
from py.__.test import config; config.TerminalSession = 'name_to_import'
which is scary. Holger please take a look.

--HG--
branch : trunk
2007-02-09 14:24:08 +01:00
guido 73281adc5a [svn r38246] Fixed problems with line height in sources, added missing commas to seperate
base classes, added all Python (2.5) keywords.

--HG--
branch : trunk
2007-02-09 14:01:08 +01:00
guido d2f11081cb [svn r38221] Reverting previous changes after a discussion with hpk.
--HG--
branch : trunk
2007-02-09 00:43:27 +01:00
hpk 4815c6de21 [svn r38220] moved -f and --exec in the documentation as well
--HG--
branch : trunk
2007-02-09 00:41:59 +01:00
hpk 828ef252d0 [svn r38219] looponfailing and exec are not so experimental
--HG--
branch : trunk
2007-02-09 00:38:07 +01:00
hpk b175e90f26 [svn r38218] i give up for now, somehow the local change
in the FileBox affects --dist testing in ways i
can't fully understand at the moment (i would
think it only affects --boxed test runs). So
we are back to share tempdirs when running boxed
(causing failures elswhere).  We care later, i guess.

--HG--
branch : trunk
2007-02-09 00:25:32 +01:00
guido c1216c2346 [svn r38217] Moved the -S option to a new conftest.py in the execnet dir to avoid nasty
option re-definition problems.

--HG--
branch : trunk
2007-02-09 00:21:38 +01:00
guido 0bd286ba94 [svn r38216] Adjusting the conftest-for-socketgateway example so it takes care of the -S
option (like the default one does), this caused some test failure.

--HG--
branch : trunk
2007-02-08 23:50:00 +01:00
guido 9a0fa93ce6 [svn r38215] Gotta love the XHTML validity checks... ;)
--HG--
branch : trunk
2007-02-08 23:47:28 +01:00
hpk 07310d0799 [svn r38214] be a bit nicer: don't pollute /tmp with a new tempdir
for each boxed test run.  Also fix the counting
of boxes (how did it ever work like this, anyway)

--HG--
branch : trunk
2007-02-08 23:24:44 +01:00
guido 999da7a376 [svn r38213] Some small cleanups, made fonts a bit smaller and more consistent.
--HG--
branch : trunk
2007-02-08 23:19:10 +01:00
hpk 0f37c632ac [svn r38212] have each boxed test run use its own tempdir
--HG--
branch : trunk
2007-02-08 23:13:59 +01:00
hpk dcf4e564ad [svn r38208] make test safer against race conditiation (dist testing)
--HG--
branch : trunk
2007-02-08 21:56:12 +01:00
hpk ab6dded07a [svn r38207] revert 38182 and 38184 changes to ensuretemp()
because getpid() is different per thread
(and if e.g. run via execnet in threads ...
it creates new tempdirectories all the time)
let's consider this sometime else

--HG--
branch : trunk
2007-02-08 21:31:50 +01:00
hpk 499d60c8ab [svn r38203] rename getpymodule/getpycodeobj to "_" methods
(which can build C modules on the fly)
it's not clear they are still useful this way
and they are easy to confuse with pyimport()

--HG--
branch : trunk
2007-02-08 20:48:31 +01:00
hpk 0a79e56b40 [svn r38201] fixing the windows conftest example to work with
the new rsync interface

--HG--
branch : trunk
2007-02-08 20:23:06 +01:00
hpk 3ea6a768e0 [svn r38198] almost cosmetic
--HG--
branch : trunk
2007-02-08 20:15:05 +01:00
hpk 479aa2e03f [svn r38197] slight reporting fix
--HG--
branch : trunk
2007-02-08 20:10:58 +01:00
hpk 4976889c53 [svn r38196] reducing the callback-indirections for rsyncing
and improving the reporting for localhosts non-rsyncs

--HG--
branch : trunk
2007-02-08 20:02:28 +01:00
hpk 6e293f593a [svn r38192] streamlining localhost optimization handling,
and simplifying the test a bit.

--HG--
branch : trunk
2007-02-08 19:35:18 +01:00
hpk 411157756b [svn r38184] avoid globals and add a comment
--HG--
branch : trunk
2007-02-08 18:39:03 +01:00
guido 1c1df46a55 [svn r38183] Made that py.execnet.Channel (referring to py.__.execnet.channel.Channel) is
picked up by the apigen doc generator, fixed some bugs that made that that
didn't work previously.

--HG--
branch : trunk
2007-02-08 18:28:55 +01:00
guido e89d5e5880 [svn r38182] Made that ensuretemp() creates a new dir after forks.
--HG--
branch : trunk
2007-02-08 18:25:32 +01:00
hpk 1e8845dfa5 [svn r38181] delete is now an option per-host
--HG--
branch : trunk
2007-02-08 18:24:30 +01:00
guido 9b22af1b32 [svn r38179] Allowing to rsync also when tests are failing using a --ignorefail switch, and
added a --help switch that shows a short help message.

--HG--
branch : trunk
2007-02-08 17:28:33 +01:00
hpk 7fccd77b8a [svn r38176] make delete a per-host option (internally it is anyway)
--HG--
branch : trunk
2007-02-08 17:04:58 +01:00
fijal c18ab8fd7e [svn r38175] Fix
--HG--
branch : trunk
2007-02-08 17:02:15 +01:00
fijal e3dce2c288 [svn r38174] Flag instead of new method and a test.
--HG--
branch : trunk
2007-02-08 17:01:51 +01:00
fijal 27cf3997e3 [svn r38173] * Minor semantics change, now host and host: are the same (we don't
want to rsync to home dir usually)
* Make a flag rsync_flag in hostinfo which tells whether to rsync
  or no, semantics are that in case of localhost we do not rsync
  and in case of localhost: we do.

--HG--
branch : trunk
2007-02-08 16:56:33 +01:00
fijal 120dae7749 [svn r38172] Add a method which sends only if there are available targets
--HG--
branch : trunk
2007-02-08 16:54:53 +01:00
fijal 395d97160c [svn r38165] Update this as well
--HG--
branch : trunk
2007-02-08 16:35:11 +01:00
fijal 0e8510648f [svn r38164] Move source as an rsync initialisation argument rather than
as a send parameter

--HG--
branch : trunk
2007-02-08 16:31:38 +01:00
guido db4a19f473 [svn r38151] Small change in the text to make it a bit more understandable.
--HG--
branch : trunk
2007-02-08 16:14:52 +01:00
guido f8e50aabad [svn r38150] Fixed test that failed after the last change in apigen (removing the stacks
from the callable info boxes).

--HG--
branch : trunk
2007-02-08 16:14:21 +01:00
guido fff15f50f3 [svn r38148] Made that stacks are built on seperate pages instead of inline in the function
information, to avoid having > 5MB pages...

--HG--
branch : trunk
2007-02-08 15:52:49 +01:00
guido 46f8c56c9b [svn r38144] Fixed a problem with the linker which on building api/source docs found matches
in its own source code, moved some elements in the apigen docs out of a header
where they shouldn't have been (making the font too large).

--HG--
branch : trunk
2007-02-08 14:54:38 +01:00
guido 9643b7d6f8 [svn r38143] Removed some confusing output to stdout/stderr (output of failing tests, which
are part of a test that tests whether a set of tests ran by a nested py.test
process fails... so the failing output is correct).

--HG--
branch : trunk
2007-02-08 14:51:38 +01:00
guido 5ea9a43dce [svn r38142] Fixed problem with indentation in the results of a doctest.
--HG--
branch : trunk
2007-02-08 14:47:23 +01:00
guido fd0cbdb95a [svn r38140] Empty literal blocks are not allowed: removing them.
--HG--
branch : trunk
2007-02-08 13:26:02 +01:00
hpk 938680d50f [svn r38125] run unboxed by default, split/improve tests for it
--HG--
branch : trunk
2007-02-07 22:56:14 +01:00
fijal ee04997eb2 [svn r38124] No, this is needed for C-c to work.
--HG--
branch : trunk
2007-02-07 22:35:14 +01:00
hpk 356b831208 [svn r38123] skip path.txt svn tests if not run via --checkremote
--HG--
branch : trunk
2007-02-07 22:32:30 +01:00
hpk 7213771cc9 [svn r38122] fix parsing of extra lines (to be executed)
--HG--
branch : trunk
2007-02-07 22:31:13 +01:00
fijal 461c0b6a54 [svn r38121] Same issue. Race conditions in file write. Probably we should not use
the same file output for multiple tests (or to put data directory outside
pylib itself).

--HG--
branch : trunk
2007-02-07 21:56:51 +01:00
fijal e5091b7e9d [svn r38120] Make sure that those test run on same machine when run.
(This is broader issue - we probably need to do some exclusive
lock on files given to process_rest_file and such)

--HG--
branch : trunk
2007-02-07 21:53:57 +01:00
hpk 6477b43d9b [svn r38119] avoid clashing the sample* prefix which is used by a listdir() test
--HG--
branch : trunk
2007-02-07 21:52:09 +01:00
hpk 1390114d82 [svn r38118] there is no gurantee anymore that tests run in order
--HG--
branch : trunk
2007-02-07 21:48:49 +01:00
fijal 1a33d1eae6 [svn r38117] call "python py.test" instead of "py.test" (does not rely on +x flag)
--HG--
branch : trunk
2007-02-07 21:41:55 +01:00
hpk 3049c6bd2a [svn r38116] fixing svn tests for -d runs (which usually
is a dependency problem)

--HG--
branch : trunk
2007-02-07 21:40:37 +01:00
fijal 60455ead56 [svn r38115] Call python directly
--HG--
branch : trunk
2007-02-07 21:40:09 +01:00
fijal cbfca77f39 [svn r38114] Kill fatals()
to be considered in future

--HG--
branch : trunk
2007-02-07 21:14:06 +01:00
fijal 1e6016ccc2 [svn r38113] Make fatal() attribute which makes boxed tests catch SystemExit, while
in-process let it slide.

--HG--
branch : trunk
2007-02-07 21:04:01 +01:00
fijal 632cc727e4 [svn r38112] This time don't catch SystemExit. Increases stability
--HG--
branch : trunk
2007-02-07 20:53:03 +01:00
hpk 028ffa53b2 [svn r38111] remove test order dependency
--HG--
branch : trunk
2007-02-07 20:52:14 +01:00
hpk 07db3fd2cc [svn r38110] i don't think one needs to use svnwc's anymore,
at least it works for me, i think.

--HG--
branch : trunk
2007-02-07 20:41:50 +01:00
hpk f07e482ddb [svn r38109] bailing out the optimize_localhost approach
to consider it differently

--HG--
branch : trunk
2007-02-07 20:36:41 +01:00
hpk d614e67fb1 [svn r38108] skip this test if we have no .svn dir
--HG--
branch : trunk
2007-02-07 20:28:29 +01:00
fijal 1d6a72d936 [svn r38107] * Have optimise_localhost flag and a test for it (but not turning it on
by default, this will be done later)
* two other occurences of possibly-failing channel.send

--HG--
branch : trunk
2007-02-07 20:24:38 +01:00
hpk d791086561 [svn r38106] making tests independent of --dist implications
--HG--
branch : trunk
2007-02-07 20:16:28 +01:00
fijal 8258b40fd6 [svn r38105] Make errors bright red and bold, easier to spot.
--HG--
branch : trunk
2007-02-07 20:14:10 +01:00
hpk 47aea3ca7b [svn r38104] fixing this so "py.test -s" passes on this as well
--HG--
branch : trunk
2007-02-07 20:04:35 +01:00
fijal 5b188f1167 [svn r38103] Hum. This test was just broken. Fix it and add additional checks.
--HG--
branch : trunk
2007-02-07 20:02:21 +01:00
fijal c5df4c335c [svn r38102] Skip this test not to interfere with py.test.config.boxed
--HG--
branch : trunk
2007-02-07 19:56:48 +01:00
fijal 3bb0c2b433 [svn r38101] oops, this will be implied anyway
--HG--
branch : trunk
2007-02-07 19:56:10 +01:00
fijal d7331146da [svn r38100] Slave is always boxed as well (different level of skips)
--HG--
branch : trunk
2007-02-07 19:55:39 +01:00
fijal ee1214fcfe [svn r38099] * RSession cannot work with nocapture, LSession can
* RSession is always boxed

--HG--
branch : trunk
2007-02-07 19:54:51 +01:00
fijal ecd605e3b2 [svn r38098] A test and typo discovered by that test.
--HG--
branch : trunk
2007-02-07 19:44:49 +01:00
hpk 77b8a010c5 [svn r38097] streamline boxed test configuration:
"config.option.boxed"  indicates now boxed tests
and RSession.fixoptions takes care to honour
dist_boxed accordingly.  So you can do

    if not py.test.config.boxed:
        py.test.skip(...)

i also fixed the documentation.

--HG--
branch : trunk
2007-02-07 19:43:23 +01:00
fijal ae9ffd2c19 [svn r38096] typo
--HG--
branch : trunk
2007-02-07 19:40:16 +01:00
fijal 6e58395de0 [svn r38095] getremoteerror does not raise!
--HG--
branch : trunk
2007-02-07 19:36:53 +01:00
fijal 337eea81cb [svn r38091] Increase verbosity in case of error. The thing is that we usually don't get
remote error, so let's print it.

--HG--
branch : trunk
2007-02-07 19:25:01 +01:00
hpk 07ee2bc39e [svn r38083] saner tempdir using
--HG--
branch : trunk
2007-02-07 18:58:47 +01:00
fijal 40eb468c71 [svn r38082] Fix reporting (and a test for that)
--HG--
branch : trunk
2007-02-07 17:49:14 +01:00
guido eeedfd2d8f [svn r38079] Typo in some help string, and made fonts of apigen a bit smaller somewhere.
--HG--
branch : trunk
2007-02-07 17:03:19 +01:00
hpk 0b7854d722 [svn r38078] some fixes and test skips for win32 (otherwise all tests
pass for me on win32)

--HG--
branch : trunk
2007-02-07 16:54:50 +01:00
guido d11aec0b42 [svn r38077] Script to run "py.test --apigen" on the py lib (well, can be used on other
projects too) and rsync the results to some remote host/path (by default
codespeak.net, currently to some dir in my home directory, when it's tested
better in practice files will go to the website directory).

--HG--
branch : trunk
2007-02-07 16:36:02 +01:00
guido 5c7fb384bc [svn r38076] Typo.
--HG--
branch : trunk
2007-02-07 16:34:01 +01:00
guido d0861a546f [svn r38075] Adding some print.
--HG--
branch : trunk
2007-02-07 16:33:46 +01:00
hpk 0fb86b2b90 [svn r38074] fix typo
--HG--
branch : trunk
2007-02-07 16:26:27 +01:00
guido 1b43f3c324 [svn r38070] Removed broken anchor from link.
--HG--
branch : trunk
2007-02-07 16:24:11 +01:00
guido b8307eeccc [svn r38068] Grmbl, the failing svn tests turned out to be my fault: copy/paste bug. (when
copying the comment, I must have copied along some lines of code... ):

--HG--
branch : trunk
2007-02-07 16:15:01 +01:00
fijal 4fae2f581d [svn r38051] Fix an option -s contradics -d
--HG--
branch : trunk
2007-02-07 12:34:08 +01:00
guido 318a1c2333 [svn r38044] Now just writing dots when running tests, decreased font size a little of the
class docstring and link.

--HG--
branch : trunk
2007-02-07 02:01:25 +01:00
guido 8ab4468b5c [svn r38043] Changed the way the lazy linking is handled: instead of building the pages
and replacing the links all in memory, pages are now written to disk with
temporary hrefs, which are replaced afterwards.

--HG--
branch : trunk
2007-02-07 01:24:21 +01:00
fijal b91e13d5df [svn r38040] My favorite lazy-lexical-scope-binding error. Still thinking how to make test
for that. Basically - callbacks with lexical scope variables are usually
(depends of coz) called with variables after the for loop has finished.

--HG--
branch : trunk
2007-02-07 00:13:50 +01:00
fijal 3fa9cbe98d [svn r38039] Fix a test
--HG--
branch : trunk
2007-02-07 00:00:24 +01:00
hpk 89a14afcbe [svn r38038] more precise rsyncing
--HG--
branch : trunk
2007-02-06 22:41:11 +01:00
hpk c888d05772 [svn r38037] not showing rsync-items by default, shows that
something is odd regarding the messages, i think
(read the diff, it's a simple change, i guess
we actually want to generate an Event also for
the web reporter at some point, i think,
but we could live with this for the merge IMO)

--HG--
branch : trunk
2007-02-06 22:22:50 +01:00
guido 12b991723e [svn r38036] Some small code cleanups (moved more HTML generation code to html.py).
--HG--
branch : trunk
2007-02-06 22:18:56 +01:00
hpk 563ed75651 [svn r38035] be more precise when reporting about hosts
(enumerate them)

--HG--
branch : trunk
2007-02-06 22:12:36 +01:00
hpk 1d4a46d46a [svn r38034] i think the rsync roots should be shown absolute
--HG--
branch : trunk
2007-02-06 21:47:21 +01:00
fijal ce498a1504 [svn r38033] Fix tests once again
--HG--
branch : trunk
2007-02-06 21:36:03 +01:00
hpk 50c6e97e1c [svn r38032] simplified testing machinery a bit
(you know just have to add an example
and can immediately use it from tests
without adding boilerplate anywhere)

--HG--
branch : trunk
2007-02-06 21:28:07 +01:00
fijal b7b83bf007 [svn r38031] refactor rest of tests
--HG--
branch : trunk
2007-02-06 21:21:09 +01:00
fijal 439b0c2378 [svn r38030] Refactor this test to use new testing service
--HG--
branch : trunk
2007-02-06 21:13:57 +01:00
fijal 8fd09aac24 [svn r38029] Move funcxxxspec out of pylib itself.
--HG--
branch : trunk
2007-02-06 21:05:55 +01:00
hpk 4369d430c8 [svn r38028] make rsync configurable regarding its output
(verbose option and overridable method)

--HG--
branch : trunk
2007-02-06 20:32:21 +01:00
hpk ef43218016 [svn r38027] more precise reporting to the user
--HG--
branch : trunk
2007-02-06 20:15:33 +01:00
fijal 63bbe18a7e [svn r38025] Fix a bit web reporter (still not perfect)
--HG--
branch : trunk
2007-02-06 20:11:12 +01:00
hpk 1945487f4a [svn r38024] avoid that hostmanage.py tests interfere
with the real world (through writing or creating
pytestcache-XXX files), semantic change: upon
gateway initialization the remote path is not
automatically created (this will be done later
by rsync anyway)

--HG--
branch : trunk
2007-02-06 20:06:57 +01:00
fijal 138b0ec79a [svn r38023] Report HostRSyncing only in case where rsyncing is really performed.
--HG--
branch : trunk
2007-02-06 20:01:07 +01:00
fijal 540736b493 [svn r38022] be a bit more verbose before rsync.
--HG--
branch : trunk
2007-02-06 19:57:14 +01:00
fijal f69c77a7ab [svn r38021] Simple refactoring to be a bit more verbose when starting.
--HG--
branch : trunk
2007-02-06 19:44:16 +01:00
guido 3690e384a9 [svn r38005] Made that source snippets are now shown in two tables, to allow selecting
the source without the line numbers, decreased font size a bit, made that the
Page class can be passed in from the outside (build() method) to more easily
allow customization of the layout and pages.

--HG--
branch : trunk
2007-02-06 14:19:16 +01:00
fijal 410e00320d [svn r38000] Fix web reporter
--HG--
branch : trunk
2007-02-06 12:15:06 +01:00
fijal fef23c34cd [svn r37994] Imrpovement of host rsync reporting. Additionally it increased stability for no particular reason
--HG--
branch : trunk
2007-02-06 11:31:08 +01:00
cfbolz 157a77ef0a [svn r37992] have real definitions (yes, the empty lines make a difference). rest is strange.
--HG--
branch : trunk
2007-02-06 00:56:14 +01:00
cfbolz d45b45a74e [svn r37991] remove colons and change the subsecion title
--HG--
branch : trunk
2007-02-06 00:53:46 +01:00
fijal eb01cfa78e [svn r37990] Fix reporting (and a test for that)
--HG--
branch : trunk
2007-02-06 00:53:29 +01:00
cfbolz 9b6787782d [svn r37989] add an overview over py.tests command-line options
--HG--
branch : trunk
2007-02-06 00:50:11 +01:00
hpk 7bc4b6a80e [svn r37988] adding a bit to the test (but the code is already correct)
--HG--
branch : trunk
2007-02-06 00:21:33 +01:00
cfbolz a430e2b8f5 [svn r37987] split the py.test docs into implementation and customization docs and normal
user docs.

--HG--
branch : trunk
2007-02-06 00:18:22 +01:00
fijal cc0dfc1c3c [svn r37986] Add a repr if we have str
Add delete keyword to parent

--HG--
branch : trunk
2007-02-06 00:09:05 +01:00
hpk 4af00f6682 [svn r37985] make sure that host.initgateway() will always
have the other side chdir()ed to home,
thus generalizing 37971 with respect to platform
support and making it independent from gateway
implementation details.

--HG--
branch : trunk
2007-02-05 23:46:31 +01:00
guido 102409a846 [svn r37984] Moved all the apigen information into one document and adjusted to match the
current situation.

--HG--
branch : trunk
2007-02-05 23:37:23 +01:00
fijal 1c287a2546 [svn r37971] This was there for a reason that we don't want to have different pylib loaded (there was even test for that, apparently killed)
--HG--
branch : trunk
2007-02-05 16:11:05 +01:00
hpk 845357dcba [svn r37960] refactored the tests and added tests and code
for disallowing to send() twice without
adding new targets.

--HG--
branch : trunk
2007-02-05 13:55:31 +01:00
hpk 11591c3c4f [svn r37950] * add and document dist_rsync_ignore option to ignore
files and directories for rsyncing

--HG--
branch : trunk
2007-02-05 02:14:17 +01:00
hpk 03dc73b195 [svn r37949] fix test for nocapturing output runs (and --pdb)
--HG--
branch : trunk
2007-02-05 01:47:43 +01:00
hpk 99661844dd [svn r37948] fix for win32
--HG--
branch : trunk
2007-02-05 01:36:00 +01:00
hpk bdf3e919c9 [svn r37947] added _gethomedir() helper to get at homedirectory
--HG--
branch : trunk
2007-02-05 01:35:40 +01:00
hpk 0b9b0909bf [svn r37946] setup/teardown hosts correspond
--HG--
branch : trunk
2007-02-05 01:23:14 +01:00
hpk c93cfc1e2b [svn r37945] make the hostmanager get at the hosts itself
(or you can pass it in a custom list of hosts)

--HG--
branch : trunk
2007-02-05 01:14:11 +01:00
hpk b68bc5b373 [svn r37938] rename report.py to repevent.py (report events)
also to ease the completion ambiguity a bit
(and to avoid having to read "reporter" and "report"
next to each other)

--HG--
branch : trunk
2007-02-05 00:34:23 +01:00
hpk fb2613135b [svn r37936] minor cleanups
--HG--
branch : trunk
2007-02-05 00:21:35 +01:00
hpk e8bdb867fa [svn r37935] remove done_dict and according experimental
code for re-scheduling (i guess)
fijal: in the diff you'll find a XXX fijal,
i changed the meaning of a test, wasn't sure
about it. can you check?

--HG--
branch : trunk
2007-02-05 00:12:12 +01:00
guido 0292420920 [svn r37931] Made that the __init__ method is the first method displayed.
--HG--
branch : trunk
2007-02-04 22:49:44 +01:00
guido 27e05e257a [svn r37930] Docstrings.
--HG--
branch : trunk
2007-02-04 22:47:03 +01:00
guido 7034b507a3 [svn r37928] Updated test (oops).
--HG--
branch : trunk
2007-02-04 22:21:35 +01:00
guido a78ad64f9d [svn r37927] Some docstrings.
--HG--
branch : trunk
2007-02-04 22:11:56 +01:00
guido a1c7ab69f9 [svn r37926] Small visual tweaks.
--HG--
branch : trunk
2007-02-04 22:11:43 +01:00
guido 16f9103a0a [svn r37922] Made that properties (class attributes) are displayed, fixed the links in the
menubar.

--HG--
branch : trunk
2007-02-04 16:47:33 +01:00
hpk a128ecb8cf [svn r37919] use a less ambigous test package name
--HG--
branch : trunk
2007-02-04 16:42:55 +01:00
hpk a7de613ed0 [svn r37916] dist_rsync_roots: py lib itself only needs itself
--HG--
branch : trunk
2007-02-04 15:42:50 +01:00