Commit Graph

791 Commits

Author SHA1 Message Date
hpk 194f5be88f [svn r51077] bump version number
--HG--
branch : trunk
2008-01-27 12:55:27 +01:00
hpk e03e71c96f [svn r51058] fix ReST
--HG--
branch : trunk
2008-01-26 12:45:03 +01:00
hpk 923c85b701 [svn r51057] review, refactor and write up for some 1.0 related TODOs
--HG--
branch : trunk
2008-01-26 12:33:32 +01:00
hpk f7e1bbeb24 [svn r51056] fijal: don't use py.test.skip directly in a conftest.py -
this will get called very early during import time.
This lead to windows not executing any py/ tests at all.

--HG--
branch : trunk
2008-01-26 11:58:23 +01:00
hpk f2b0bd10e6 [svn r51034] merging in fijal's reporter-merge branch into the trunk,
still needs refactoring as far as i am concernced.

--HG--
branch : trunk
2008-01-25 16:54:04 +01:00
hpk 192a890435 [svn r51033] merging of svn+ssh://codespeak.net/svn/py/branch/reporter-merge/py/test/session.py
revisions 47584 to 51032:

    ------------------------------------------------------------------------
    r51030 | hpk | 2008-01-25 14:30:54 +0100 (Fri, 25 Jan 2008) | 5 lines

    fixing test and restoring the functionality
    that session.main returns a list of failures
    (py.test --exec=python should work again)


    ------------------------------------------------------------------------
    r50984 | hpk | 2008-01-24 18:27:06 +0100 (Thu, 24 Jan 2008) | 1 line

    avoid reporting hooks on session object
    ------------------------------------------------------------------------
    r49391 | fijal | 2007-12-05 17:33:05 +0100 (Wed, 05 Dec 2007) | 2 lines

    Don't cache results.

    ------------------------------------------------------------------------
    r48698 | fijal | 2007-11-15 01:31:42 +0100 (Thu, 15 Nov 2007) | 2 lines

    Uh. 2.4 compatibility

    ------------------------------------------------------------------------
    r48318 | fijal | 2007-11-05 16:47:34 +0100 (Mon, 05 Nov 2007) | 3 lines

    Seems that --pdb don't need to imply -s and worked out of the box.
    I've got no idea how to test it though :-/

    ------------------------------------------------------------------------
    r48140 | fijal | 2007-10-28 19:43:21 +0100 (Sun, 28 Oct 2007) | 2 lines

    Reintroduce boxing

    ------------------------------------------------------------------------
    r48138 | fijal | 2007-10-28 19:22:42 +0100 (Sun, 28 Oct 2007) | 2 lines

    Share more code.

    ------------------------------------------------------------------------
    r48130 | fijal | 2007-10-28 14:58:42 +0100 (Sun, 28 Oct 2007) | 2 lines

    Add --collectonly handling, new style, logic separated

    ------------------------------------------------------------------------
    r48129 | fijal | 2007-10-28 14:41:06 +0100 (Sun, 28 Oct 2007) | 2 lines

    Refactor LocalReporter not to rely on hosts being there

    ------------------------------------------------------------------------
    r48128 | fijal | 2007-10-28 14:24:41 +0100 (Sun, 28 Oct 2007) | 2 lines

    Small regactoring for simple usage of default reporter class

    ------------------------------------------------------------------------
    r48127 | fijal | 2007-10-28 12:56:41 +0100 (Sun, 28 Oct 2007) | 2 lines

    Remove terminal session as it's no longer needed

    ------------------------------------------------------------------------
    r48126 | fijal | 2007-10-28 12:48:35 +0100 (Sun, 28 Oct 2007) | 2 lines

    Some real test for itemgen

    ------------------------------------------------------------------------
    r47678 | fijal | 2007-10-21 18:43:54 +0200 (Sun, 21 Oct 2007) | 2 lines

    Make even less things working.

    ------------------------------------------------------------------------
    r47667 | fijal | 2007-10-21 13:00:20 +0200 (Sun, 21 Oct 2007) | 4 lines

    Huge refactoring, the target is unification of session reporters and
    eventually sessions. Right now there is about 200 lines of code cut,
    but there is still some code to die and also some features missing :)

    ------------------------------------------------------------------------
    r47660 | fijal | 2007-10-21 00:02:04 +0200 (Sun, 21 Oct 2007) | 2 lines

    Create a new branch for reporter merge

    ------------------------------------------------------------------------

--HG--
branch : trunk
2008-01-25 16:51:46 +01:00
cfbolz b7c0d84ee3 [svn r51029] make sure the artificial GeneratorExit claims to come from the exceptions
module

--HG--
branch : trunk
2008-01-25 13:46:31 +01:00
fijal 37073e11f9 [svn r50755] Port from reporter-merge branch.
--HG--
branch : trunk
2008-01-18 17:35:33 +01:00
arigo 9ca5974f0a [svn r50645] Fix for "utestconvert.py < input".
--HG--
branch : trunk
2008-01-15 18:46:55 +01:00
hpk 8569bd57a9 [svn r50606] don't fail for links to html files where we don'T have a .txt
--HG--
branch : trunk
2008-01-14 17:43:08 +01:00
arigo efd732b035 [svn r50576] This patch by Thiemo Seufer adds support for mips and mipsel.
--HG--
branch : trunk
2008-01-14 10:38:23 +01:00
arigo c5f6b437c8 [svn r49974] Restore the following behavior: py.test exits with an exit code 1
when there are failures.

--HG--
branch : trunk
2007-12-21 10:55:40 +01:00
fijal 150a396f66 [svn r49423] (naro) Fix for list.append() obviously, has no single test.
--HG--
branch : trunk
2007-12-05 22:08:23 +01:00
cfbolz de0879d46d [svn r48347] make status on working copy objects deal with replaced files
--HG--
branch : trunk
2007-11-06 23:11:30 +01:00
fijal b97ff86b0f [svn r47584] Implement very sophisticated algorith for -k TestClass.test to work
--HG--
branch : trunk
2007-10-19 15:46:10 +02:00
fijal aabae96514 [svn r47277] Argh. Fix -d -x
--HG--
branch : trunk
2007-10-08 10:19:55 +02:00
cfbolz 1e67da155a [svn r46794] embarassing typo
--HG--
branch : trunk
2007-09-21 15:29:26 +02:00
cfbolz d61ed8c014 [svn r46772] add a custom pdb.Pdb subclass that has the ability to properly list the lines
generated by py.code.Source. Very useful in PyPy debugging.

--HG--
branch : trunk
2007-09-20 17:26:09 +02:00
cfbolz 77163a5bf7 [svn r46771] remove nonsense __init__.py line -- belongs to the next checkin
--HG--
branch : trunk
2007-09-20 17:20:45 +02:00
cfbolz 66f7db5894 [svn r46770] add py.builtin.GeneratorExit, to make it possible to write 2.3 and 2.4
compatible code. The exception is never raised there.

--HG--
branch : trunk
2007-09-20 17:17:22 +02:00
guido 303a6e659a [svn r46692] Added 'export()' method to py.path.svnurl.
--HG--
branch : trunk
2007-09-17 14:22:39 +02:00
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