Commit Graph

1573 Commits

Author SHA1 Message Date
fijal d80bbf4a68 [svn r37622] Don't use previous versions in future examples
--HG--
branch : trunk
2007-01-30 17:56:58 +01:00
fijal ff7e89a145 [svn r37621] all tests works for me
--HG--
branch : trunk
2007-01-30 17:55:04 +01:00
fijal 1974e5ecf6 [svn r37620] ensure 2.5 compatibility
--HG--
branch : trunk
2007-01-30 17:54:14 +01:00
guido e905f71e72 [svn r37616] All code snippets are colored now, also properly fixed hiding of _* names
in the navigation.

--HG--
branch : trunk
2007-01-30 17:29:33 +01:00
hpk d435873e03 [svn r37615] skip this test on windows, it should work but doesn't
and it's not too important (apigen does not fully
run on win32 because of LSession not working there)

--HG--
branch : trunk
2007-01-30 17:28:43 +01:00
guido 85854514b7 [svn r37610] Stack trace code snippets are now syntax colored.
--HG--
branch : trunk
2007-01-30 16:44:30 +01:00
guido e625497c5f [svn r37609] Oops, forgot to check this in: update to deal with change in py.xml.html.
--HG--
branch : trunk
2007-01-30 16:43:00 +01:00
guido 1ac5c69420 [svn r37608] Added some code to make sure 'inline' elements aren't indented (gotta love
'ignorable' whitespace).

--HG--
branch : trunk
2007-01-30 16:42:19 +01:00
guido 2f8325e277 [svn r37602] Fixed support for files ending on a comment rather than a newline, fixed some
unicode() call so it's not done on objects that are already unicode.

--HG--
branch : trunk
2007-01-30 15:46:57 +01:00
hpk 0b985318fa [svn r37599] fixing a windows-error: i believe that most strings
passed into htmlgen.deindent() actually have
a normalized '\n' line-ending already (e.g. if they
come from python docstrings).  So the caller
now needs to specify otherwise.

--HG--
branch : trunk
2007-01-30 15:08:47 +01:00
hpk e96e4f61c7 [svn r37598] removing broken tkinter session support ahead of the
0.9 release (might be re-introduced later)

--HG--
branch : trunk
2007-01-30 15:02:28 +01:00
hpk 1f0835df15 [svn r37596] bah, waiting longer also in py-trunk
--HG--
branch : trunk
2007-01-30 14:44:52 +01:00
guido 45868fe506 [svn r37594] Fixed unicode issues in apigen/htmlgen.py and apigen/source, moved some methods
out of HTMLDocument and added support for finding out the encoding of a Python
file in order to accomplish that (both in source/html.py), fixed some minor
issues (items with a name starting with _ are now hidden from nav, fixed
indentation issue in nav) in htmlgen.py.

--HG--
branch : trunk
2007-01-30 14:24:27 +01:00
guido c2e1510f86 [svn r37582] Updated mock-up function return value.
--HG--
branch : trunk
2007-01-30 11:45:46 +01:00
guido bef3ad84ce [svn r37579] Made that the package name can be set when using from_dict() to fill a
DocStorage.

--HG--
branch : trunk
2007-01-30 11:34:08 +01:00
fijal c1e6116de5 [svn r37555] update
--HG--
branch : trunk
2007-01-29 18:14:27 +01:00
fijal 7759bb404f [svn r37554] add XXX
--HG--
branch : trunk
2007-01-29 18:12:17 +01:00
fijal 8a4e21ecd5 [svn r37553] Skip if boxed
--HG--
branch : trunk
2007-01-29 18:11:13 +01:00
guido fe3a71994a [svn r37545] Moved get_star_import_tree out of the DocStorage class, created 'pkg_to_dict'
function in docstorage.py and using that from apigen.py (to later simplify
py.test integration, and to improve testability). Simplified 'deindent()' a
bit, made the wrap_page use the filenames from the stylesheeturl and the
scripturls instead of having them hard-coded, some minor HTML/CSS changes.

--HG--
branch : trunk
2007-01-29 17:11:15 +01:00
guido 06cbe63616 [svn r37540] Nicer formatting of docstrings (de-indented and such), fixed problem getting
to frame source (IOError that popped up when building the py lib's api docs)
in description.py.

--HG--
branch : trunk
2007-01-29 15:20:31 +01:00
fijal 02abf0ee5d [svn r37535] update on that
--HG--
branch : trunk
2007-01-29 14:10:51 +01:00
guido 853de83311 [svn r37534] Some minor visual modifications for stack traces, fixed check for
py.code.Source object filenames.

--HG--
branch : trunk
2007-01-29 14:09:33 +01:00
fijal acfbbcb7ff [svn r37533] Make distribution working with custom conftests at exact levels. This
is very explicit - dist_rsyncroots works only in that conftest directory.

--HG--
branch : trunk
2007-01-29 14:06:19 +01:00
guido e921ad8af9 [svn r37531] Removing try/except to make debugging a little bit easier.
--HG--
branch : trunk
2007-01-29 13:53:52 +01:00
hpk ad127323e3 [svn r37502] unify dist_* options and give dist_rsync_roots more precision:
you now specify relative paths (relative to the conftest.py
where a dist_rsync_root setting resides) or absolute paths.

--HG--
branch : trunk
2007-01-28 22:54:12 +01:00
hpk 216919d612 [svn r37501] rename for clarity
--HG--
branch : trunk
2007-01-28 21:37:30 +01:00
hpk 20222ec57b [svn r37500] postponing generalizing of host specifications for 0.9
--HG--
branch : trunk
2007-01-28 21:25:48 +01:00
hpk ae11e91791 [svn r37499] concreter error message
--HG--
branch : trunk
2007-01-28 21:25:11 +01:00
hpk 12d1da1194 [svn r37498] bah, my local config but i want to have it committed to
get rid of the "M" state, ehem.

--HG--
branch : trunk
2007-01-28 21:09:02 +01:00
hpk df3448c6f9 [svn r37494] the start of factoring out common and unified
host handling within py.test

--HG--
branch : trunk
2007-01-28 18:53:43 +01:00
cfbolz cfc0ca32f3 [svn r37481] new attempt :-(
--HG--
branch : trunk
2007-01-28 18:16:43 +01:00
hpk e991bf21bd [svn r37478] refactored/streamlined tests slightly
i think svn testing needs some more refinements
(not before 0.9)

--HG--
branch : trunk
2007-01-28 17:56:42 +01:00
cfbolz 1e44038941 [svn r37477] use relative paths to try to make the py-lib both work in paths that have
quotable characters _and_ with some versions of latex that don't like quotes in
\input. let's see whether it works...

--HG--
branch : trunk
2007-01-28 17:34:52 +01:00
hpk 1d3519bfe0 [svn r37465] * all Sessions now have fixoptions()
* added some tests for implied and conflicting options
* make all Session objects inherit from the base session
* small cleanups with respect to test setup
* separate tests a bit

--HG--
branch : trunk
2007-01-28 14:25:03 +01:00
hpk 15c1ebe506 [svn r37463] test_get_initpkg_star_items() fails for me
when run as part of the whole py lib tests,
succeeds when ran as a single test.
Pruning sys.modules fixes this (but i am
not sure why the tracer depends on seeing
the import happen)

--HG--
branch : trunk
2007-01-28 12:02:19 +01:00
hpk de9fd5ecef [svn r37462] allow the remote side to run in verbose mode
--HG--
branch : trunk
2007-01-28 12:00:17 +01:00
hpk b5d79a847b [svn r37461] skip these tests on windows (some reliances on unix-paths
and i don't think apigen can run on windows anyway at the moment)

--HG--
branch : trunk
2007-01-28 11:42:13 +01:00
hpk a938384607 [svn r37460] these tests rely on exact formatting, so skipping them again
(fail for me on pypy2)

--HG--
branch : trunk
2007-01-28 11:32:01 +01:00
hpk 6838180187 [svn r37459] fix socketgateway test to run on both win32 and linux
--HG--
branch : trunk
2007-01-28 11:14:22 +01:00
hpk e64d602cd2 [svn r37458] try to only rsync the py lib, not the dirpath() of it
--HG--
branch : trunk
2007-01-28 10:07:22 +01:00
hpk 9e7886c59b [svn r37457] explicitely shutdown the gateway for the remote session
after each run.

--HG--
branch : trunk
2007-01-28 09:49:28 +01:00
hpk dad2da4583 [svn r37456] some small adjustments/cleanups regarding intiialisation
--HG--
branch : trunk
2007-01-28 09:48:59 +01:00
hpk c736976568 [svn r37455] added a sample conftest.py to run windows tests remotely,
note the module docstring.

--HG--
branch : trunk
2007-01-28 09:46:34 +01:00
guido 37803778c9 [svn r37453] Changed test a bit to avoid issues on non-UNIX platforms.
--HG--
branch : trunk
2007-01-27 23:50:49 +01:00
hpk b677355804 [svn r37450] skip auto-import checks of directive.py because it requires docutils
--HG--
branch : trunk
2007-01-27 21:15:21 +01:00
hpk 06f68d9fb7 [svn r37449] fix failures in case of docutils not being installed
(related to importing 'py.__.rest.directive')

--HG--
branch : trunk
2007-01-27 21:11:26 +01:00
hpk 181f6cde23 [svn r37447] config._reparse() from current dir can drag in conftest.py
files (happened to me because i had two py lib checkouts)

--HG--
branch : trunk
2007-01-27 20:24:41 +01:00
hpk 8f540fe7c6 [svn r37446] don't try this on windows
--HG--
branch : trunk
2007-01-27 20:22:23 +01:00
hpk 780e715395 [svn r37445] use suprocess module to start socketserver subprocess
--HG--
branch : trunk
2007-01-27 20:13:17 +01:00
hpk 6d403d4573 [svn r37444] a try at a wrapping loop_socketserver.py
that restarts the actual socketserver.py

--HG--
branch : trunk
2007-01-27 19:57:05 +01:00
hpk 3d70646122 [svn r37443] slightly re-organizing RemoteTerminalSession for
easier subclassing.

--HG--
branch : trunk
2007-01-27 19:41:39 +01:00
fijal a1171a8726 [svn r37442] update
--HG--
branch : trunk
2007-01-27 18:33:41 +01:00
guido 00812c46f9 [svn r37439] Sorry, cfbolz, seems the print to stderr breaks some test... :|
--HG--
branch : trunk
2007-01-27 16:40:25 +01:00
guido fd40b43cdf [svn r37438] Fiddle-fixed --rest, although it works now some cleanups would be nice...
Cleaned up the tests a bit and re-enabled some (sucky tests are better than
no tests at all, I guess... :| ), re-enabled a debug print after complaints
from cfbolz ;) but this time it prints to stderr (to avoid ReST pollution).

--HG--
branch : trunk
2007-01-27 16:37:43 +01:00
guido 7ebd7ec888 [svn r37437] Made stuff a bit more robust by converting non-strings to strings in some
places.

--HG--
branch : trunk
2007-01-27 16:36:20 +01:00
guido 241ef0ff4a [svn r37435] Removing debug print (ended up in the ReST).
--HG--
branch : trunk
2007-01-27 15:29:17 +01:00
guido 58079397a2 [svn r37434] Fixed bug in add() that made that the to-be-added item didn't get added (and
yes, I've added a test now ): ), made some error message a bit clearer.

--HG--
branch : trunk
2007-01-27 15:11:52 +01:00
fijal f1b4e14f09 [svn r37433] Add a helper which returns value + path of a dir where value was found
--HG--
branch : trunk
2007-01-27 15:01:45 +01:00
guido 50a0a04bd2 [svn r37432] Some updates on stuff I've worked on, fixed ReST.
--HG--
branch : trunk
2007-01-27 14:33:40 +01:00
guido 39f357b272 [svn r37431] Fixed problem that made that the wrong package was imported when ran after
test_apigen_example.

--HG--
branch : trunk
2007-01-27 14:26:57 +01:00
guido c96eb10efd [svn r37430] Fixed test, was depending on dict order and values had changed.
--HG--
branch : trunk
2007-01-27 14:20:56 +01:00
fijal 23681b8059 [svn r37429] Ugh, revert.
--HG--
branch : trunk
2007-01-27 14:12:23 +01:00
hpk c32d3f8673 [svn r37428] added a note about dist_rsyncroots semantics
--HG--
branch : trunk
2007-01-27 14:09:09 +01:00
fijal 6c428bafbf [svn r37427] Kill the last occurencies of pkgdir
--HG--
branch : trunk
2007-01-27 14:01:58 +01:00
guido 9539e49743 [svn r37425] Fixed Code.__ne__() (wrong function sig, missing 'other' argument).
--HG--
branch : trunk
2007-01-27 13:29:39 +01:00
fijal d929f633a7 [svn r37411] Fix a bit rest and test_rest. Note that actually these tests are
testing anything from time to time, need closer look.

--HG--
branch : trunk
2007-01-26 23:35:20 +01:00
fijal e3dfe80856 [svn r37409] Fix the test
--HG--
branch : trunk
2007-01-26 22:56:50 +01:00
fijal f098c2d353 [svn r37408] Kill two unnecessary tests now.
--HG--
branch : trunk
2007-01-26 22:54:52 +01:00
fijal ac977c865d [svn r37407] Unskip two tests.
--HG--
branch : trunk
2007-01-26 22:46:11 +01:00
guido 3c08f6a614 [svn r37395] Fixed some small issues in source nav, turned namespace_tree into an instance
var (finally! :), changed the api nav so it now shows the full tree with the
current item unfolded + siblings of itself and all parents (+ children if it's
a namespace item).

--HG--
branch : trunk
2007-01-26 16:34:28 +01:00
guido b67ef229df [svn r37383] Added call stacks, made that method pages aren't built at all anymore, made
that build_namespace_view isn't called for anything but namespaces anymore,
made that parts of documents are hidden at first (with a link to 'open' them).

--HG--
branch : trunk
2007-01-26 14:01:27 +01:00
fijal c72120b8fc [svn r37381] Add a shortcut.
--HG--
branch : trunk
2007-01-26 12:50:22 +01:00
fijal 3d301edbc7 [svn r37380] This is rather huge checkin of a rsession refactoring. Got rid
of most of the pkgdir and changed to use get_collector_trail.
Some tests need to be rewritten or killed, right now they're skips.

There are no checks (yet) whether this works with topdir being something
else than previous pkgdir, we'll see...

--HG--
branch : trunk
2007-01-26 12:49:59 +01:00
guido 3cf7c74d1e [svn r37355] Fixing test (not sure why it was in this state?).
--HG--
branch : trunk
2007-01-25 21:39:43 +01:00
fijal ed9004fc46 [svn r37354] Move tracing a bit down (performance, no change in behaviour)
--HG--
branch : trunk
2007-01-25 20:59:17 +01:00
fijal 0a9399329f [svn r37348] Fallback
--HG--
branch : trunk
2007-01-25 18:13:24 +01:00
fijal e4044030b3 [svn r37347] Enchance the test.
--HG--
branch : trunk
2007-01-25 18:03:54 +01:00
fijal 6a8153ae3b [svn r37346] Add __ne__
--HG--
branch : trunk
2007-01-25 18:02:32 +01:00
fijal c237e8d959 [svn r37345] Remove unneeded import
--HG--
branch : trunk
2007-01-25 18:02:01 +01:00
fijal c53dfee4a6 [svn r37343] Hours later and tons of debug print changes....
I HATE PYTHON IMPORTS, I HATE PYTHON IMPORTS, I HATE PYTHON IMPORTS

--HG--
branch : trunk
2007-01-25 17:46:56 +01:00
guido 4ea388b640 [svn r37337] Replaced try/except with a hasattr (makes that unrelated errors are no longer
obfuscated).

--HG--
branch : trunk
2007-01-25 16:23:18 +01:00
guido bedeb1e640 [svn r37330] Replacing any non-Unix newlines with plain \n in
doctests, this fixes some win32 problem.

--HG--
branch : trunk
2007-01-25 15:08:48 +01:00
guido 4feb8d6c01 [svn r37328] Fixed problem with Windows paths in tests when running on Linux (and fixed
relpath() api to deal with line seps in a better way).

--HG--
branch : trunk
2007-01-25 14:22:04 +01:00
guido 987ae8e943 [svn r37326] Fixed exec command on win32
--HG--
branch : trunk
2007-01-25 13:56:12 +01:00
guido eac3021405 [svn r37325] Fixed problems with windows path seperators, fixed functional test exec command for win32
--HG--
branch : trunk
2007-01-25 13:54:51 +01:00
guido ba07a8769f [svn r37322] Turned out there was a function for this already, even... Thanks, fijal!
--HG--
branch : trunk
2007-01-25 12:59:02 +01:00
guido ed55fea143 [svn r37318] Rolling back previous change, instead applying what seems to have been the intention from the start: if '' is supplied as hostname from the server, use the IP address as reported by socket.getsockname()
--HG--
branch : trunk
2007-01-25 11:25:40 +01:00
guido 039ec87c64 [svn r37317] Fixed execnet tests on Windows, for some reason it uses '0.0.0.0' as IP address if '' is given as hostname
--HG--
branch : trunk
2007-01-25 11:16:35 +01:00
guido 1e7d516666 [svn r37315] Skipping test on Windows (no fcntl), removing stuff from try/finally body\n(too much crap in there, obfuscates errors).
--HG--
branch : trunk
2007-01-25 10:51:51 +01:00
guido 6795b4d23c [svn r37314] Added docstring.
--HG--
branch : trunk
2007-01-25 10:46:16 +01:00
guido 18413201f4 [svn r37306] Fixed link (now properly has an href).
--HG--
branch : trunk
2007-01-24 23:09:34 +01:00
guido 6b9e9078c8 [svn r37305] Added some JavaScript to show and hide function information (source and such).
--HG--
branch : trunk
2007-01-24 22:58:21 +01:00
guido 98c1c1809c [svn r37303] Made functional test use an absolute path to py.test.
--HG--
branch : trunk
2007-01-24 22:16:32 +01:00
hpk 4963148482 [svn r37302] experimentally enable FD-based output capturing per-test
--HG--
branch : trunk
2007-01-24 22:11:24 +01:00
fijal a1b696bdb0 [svn r37301] No longer that way (somebody should read that document once again)
--HG--
branch : trunk
2007-01-24 22:10:01 +01:00
fijal 9dc7fbbd37 [svn r37300] Make clean complaints about lack of disthosts and call fixoptions if present.
--HG--
branch : trunk
2007-01-24 22:05:33 +01:00
guido 13cb6854c1 [svn r37299] Removed stupid space.
--HG--
branch : trunk
2007-01-24 22:05:18 +01:00
fijal 72d87746c4 [svn r37298] (fijal, hpk) - bugfix
--HG--
branch : trunk
2007-01-24 22:04:57 +01:00
guido 0b8e0f869a [svn r37297] Fixed dependency on order in the function argument formatting tests.
--HG--
branch : trunk
2007-01-24 22:04:18 +01:00
hpk 3fb8b07b57 [svn r37294] seediff
--HG--
branch : trunk
2007-01-24 21:25:49 +01:00
fijal 8a5d9ac93c [svn r37293] Another aproximation :-]
--HG--
branch : trunk
2007-01-24 21:25:17 +01:00
fijal e8e044761f [svn r37292] SkippedTryiter should be reporter more like in terminal.py
--HG--
branch : trunk
2007-01-24 21:23:05 +01:00
hpk edb7bc4c0f [svn r37291] seediff
--HG--
branch : trunk
2007-01-24 20:35:23 +01:00
hpk c0535c70ad [svn r37290] * allow only CAPITAL letters for short options
* documentation and test for it
* streamlined documentation a bit

--HG--
branch : trunk
2007-01-24 20:18:46 +01:00
hpk 39a82d0400 [svn r37289] todotodo
--HG--
branch : trunk
2007-01-24 20:16:26 +01:00
hpk d6266856ca [svn r37288] added some RSession related TODOs
--HG--
branch : trunk
2007-01-24 18:56:02 +01:00
hpk 0fcaebd17c [svn r37287] don't eat exception, simply use finally
--HG--
branch : trunk
2007-01-24 18:48:13 +01:00
fijal fc740689d7 [svn r37286] Pass a config object deeper in hierarchy
--HG--
branch : trunk
2007-01-24 18:30:29 +01:00
hpk 73ffa14ac9 [svn r37285] this file describing option is obsolete now
--HG--
branch : trunk
2007-01-24 18:24:21 +01:00
hpk 8a240d01f9 [svn r37281] omit tracer test directory for imports
(XXX example Filesystem trees should be created
from code and not reside in SVN)

--HG--
branch : trunk
2007-01-24 18:10:32 +01:00
hpk 7cf9824680 [svn r37278] move files from branch to trunk (and thus complete
the merge of the config branch into the trunk)

--HG--
branch : trunk
2007-01-24 17:46:46 +01:00
hpk 638e4318e4 [svn r37277] merging of file:///svn/py/branch/config/py/test/rsession/testing/test_webjs.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r36986 | fijal | 2007-01-19 13:05:58 +0100 (Fri, 19 Jan 2007) | 4 lines

    Improve the behaviour off cleanup and channel closing, at least on slave side.
    Some cleanups, got rid of some hacks (in favor of other hacks, but posix
    is a bit hackish anyway)

    ------------------------------------------------------------------------
    r36943 | fijal | 2007-01-18 16:09:30 +0100 (Thu, 18 Jan 2007) | 3 lines

    at least LSession should work now. Did not touched yet the remote options stuff,
    but some simplifications were done.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

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

--HG--
branch : trunk
2007-01-24 17:40:06 +01:00
hpk 86ac16b937 [svn r37276] merging of file:///svn/py/branch/config/py/test/rsession/testing/test_rsession.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37262 | hpk | 2007-01-24 14:55:00 +0100 (Wed, 24 Jan 2007) | 2 lines

    fix failing test

    ------------------------------------------------------------------------
    r37015 | fijal | 2007-01-19 17:24:32 +0100 (Fri, 19 Jan 2007) | 2 lines

    Major cleanup of hostmanage. Got rid of global functions in favor of some better-structured classes.

    ------------------------------------------------------------------------
    r36974 | fijal | 2007-01-18 22:32:04 +0100 (Thu, 18 Jan 2007) | 2 lines

    Fix the test to actually perform RSync of pylib itself and a test if that was true.

    ------------------------------------------------------------------------
    r36970 | hpk | 2007-01-18 20:33:16 +0100 (Thu, 18 Jan 2007) | 6 lines

    some little cleanups - getting rid of we_are_remote
    which is not used anywhere as far as i can see.

    maciej: please check that i didn't mess anything
    up, but for me the same tests as before pass

    ------------------------------------------------------------------------
    r36968 | hpk | 2007-01-18 20:00:21 +0100 (Thu, 18 Jan 2007) | 2 lines

    fixing some imports

    ------------------------------------------------------------------------
    r36966 | fijal | 2007-01-18 19:36:02 +0100 (Thu, 18 Jan 2007) | 2 lines

    Add try: finally:

    ------------------------------------------------------------------------
    r36965 | fijal | 2007-01-18 19:35:00 +0100 (Thu, 18 Jan 2007) | 2 lines

    Fix the test.

    ------------------------------------------------------------------------
    r36963 | fijal | 2007-01-18 19:21:43 +0100 (Thu, 18 Jan 2007) | 2 lines

    Fix remaining tests and make strange hack with parse/reparse.

    ------------------------------------------------------------------------
    r36962 | fijal | 2007-01-18 19:06:13 +0100 (Thu, 18 Jan 2007) | 3 lines

    Huge refactoring. Got rid of remote_options and session_options, two tests
    still fail, so it's intermediate checkin.

    ------------------------------------------------------------------------
    r36943 | fijal | 2007-01-18 16:09:30 +0100 (Thu, 18 Jan 2007) | 3 lines

    at least LSession should work now. Did not touched yet the remote options stuff,
    but some simplifications were done.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

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

--HG--
branch : trunk
2007-01-24 17:40:04 +01:00
hpk 2bdeb13069 [svn r37275] merging of file:///svn/py/branch/config/py/apigen/testing/test_apigen_functional.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37020 | hpk | 2007-01-19 17:48:15 +0100 (Fri, 19 Jan 2007) | 3 lines

    switching in the new way of getting to a sessionclass,
    removing code in cmdline.py and elsewhere accordingly

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

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

--HG--
branch : trunk
2007-01-24 17:40:01 +01:00
hpk a1f2e0a1e0 [svn r37274] merging of file:///svn/py/branch/config/py/test/rsession/web.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37065 | arigo | 2007-01-20 17:15:10 +0100 (Sat, 20 Jan 2007) | 3 lines

    Choose a random free port when using the --runbrowser option,
    but stick to the fixed 8000 when using --startserver only.

    ------------------------------------------------------------------------
    r36993 | fijal | 2007-01-19 14:54:25 +0100 (Fri, 19 Jan 2007) | 2 lines

    Add possibility to scroll or not to scroll to web frontend. This checkin makes me believe that there is lot of stuff to do in JS backend.

    ------------------------------------------------------------------------
    r36955 | hpk | 2007-01-18 17:44:21 +0100 (Thu, 18 Jan 2007) | 4 lines

    some mods to defaultconfest dist options
    and use "_dist_import_pypy", i.e. a leading underscore
    at least

    ------------------------------------------------------------------------
    r36943 | fijal | 2007-01-18 16:09:30 +0100 (Thu, 18 Jan 2007) | 3 lines

    at least LSession should work now. Did not touched yet the remote options stuff,
    but some simplifications were done.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

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

--HG--
branch : trunk
2007-01-24 17:39:56 +01:00
hpk 7c2ccd8bc5 [svn r37273] merging of file:///svn/py/branch/config/py/test/rsession/rsession.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37173 | fijal | 2007-01-23 11:26:32 +0100 (Tue, 23 Jan 2007) | 2 lines

    Adhere to --box option.

    ------------------------------------------------------------------------
    r37127 | fijal | 2007-01-22 13:48:33 +0100 (Mon, 22 Jan 2007) | 2 lines

    Add a few docstrings.

    ------------------------------------------------------------------------
    r37110 | hpk | 2007-01-22 00:39:24 +0100 (Mon, 22 Jan 2007) | 2 lines

    renaming some variables for more clarity

    ------------------------------------------------------------------------
    r37065 | arigo | 2007-01-20 17:15:10 +0100 (Sat, 20 Jan 2007) | 3 lines

    Choose a random free port when using the --runbrowser option,
    but stick to the fixed 8000 when using --startserver only.

    ------------------------------------------------------------------------
    r37063 | arigo | 2007-01-20 17:00:31 +0100 (Sat, 20 Jan 2007) | 5 lines

    webbrowser.open() may block until the browser finishes or not, so better
    start it from a background thread.  An case where it blocks is if you
    define the $BROWSER environment variable.


    ------------------------------------------------------------------------
    r37015 | fijal | 2007-01-19 17:24:32 +0100 (Fri, 19 Jan 2007) | 2 lines

    Major cleanup of hostmanage. Got rid of global functions in favor of some better-structured classes.

    ------------------------------------------------------------------------
    r36988 | fijal | 2007-01-19 13:25:05 +0100 (Fri, 19 Jan 2007) | 2 lines

    Improve the C-c support, also keep web interface informed about crashes/interrupts.

    ------------------------------------------------------------------------
    r36969 | fijal | 2007-01-18 20:10:36 +0100 (Thu, 18 Jan 2007) | 3 lines

    Move teardown hosts out of finally (needs further refactoring)
    Kill adddefaultoptions call for now.

    ------------------------------------------------------------------------
    r36964 | hpk | 2007-01-18 19:30:02 +0100 (Thu, 18 Jan 2007) | 8 lines

    move rconfig functionality to general Config object,
    with docstrings, and trying to change rsession accordingly.

    note that it's called "make_repr" and "merge_repr"
    the latter to make it obvious that we are changing
    the instance with the given repr.


    ------------------------------------------------------------------------
    r36962 | fijal | 2007-01-18 19:06:13 +0100 (Thu, 18 Jan 2007) | 3 lines

    Huge refactoring. Got rid of remote_options and session_options, two tests
    still fail, so it's intermediate checkin.

    ------------------------------------------------------------------------
    r36943 | fijal | 2007-01-18 16:09:30 +0100 (Thu, 18 Jan 2007) | 3 lines

    at least LSession should work now. Did not touched yet the remote options stuff,
    but some simplifications were done.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

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

--HG--
branch : trunk
2007-01-24 17:39:54 +01:00
hpk 6dbd42b60e [svn r37272] merging of file:///svn/py/branch/config/py/test/rsession/rest.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37178 | fijal | 2007-01-23 11:38:39 +0100 (Tue, 23 Jan 2007) | 2 lines

    Make it a bit more working.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

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

--HG--
branch : trunk
2007-01-24 17:39:52 +01:00
hpk e94a602e59 [svn r37271] merging of file:///svn/py/branch/config/py/doc/test_conftest.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37074 | hpk | 2007-01-20 21:43:52 +0100 (Sat, 20 Jan 2007) | 9 lines

    * config.initsession() deals with getting at a session class
      and initiliazing it
    * config._getcollector(path) gets a collector pointing to path
    * added lots of tests
    * thus remove the strange getfscollector and map2colitems logic
    * mark some tkinter tests as skipped
    * fixing things all around


    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

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

--HG--
branch : trunk
2007-01-24 17:39:49 +01:00
hpk 0c4cfc40bd [svn r37270] merging of file:///svn/py/branch/config/py/doc/TODO.txt
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37133 | fijal | 2007-01-22 14:15:53 +0100 (Mon, 22 Jan 2007) | 2 lines

    another update what has been done.

    ------------------------------------------------------------------------
    r37132 | fijal | 2007-01-22 14:12:11 +0100 (Mon, 22 Jan 2007) | 2 lines

    Remove done issues.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

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

--HG--
branch : trunk
2007-01-24 17:39:46 +01:00
hpk 6040cf158d [svn r37269] merging of file:///svn/py/branch/config/py/test/config.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37263 | hpk | 2007-01-24 14:59:20 +0100 (Wed, 24 Jan 2007) | 19 lines

    * introduce config.initdirect() which should
      be the central place to perform initialization
      on remote nodes/sides.

    * fix --looponfailing (which works nicely now)

    * have Conftest() be an instance instead of
      a class-variable (avoid global state)

    * more thoroughly use the "config.topdir" concept
      (which is not neccessarily the pkgdir.dirpath())

    * on merge_repr don't write values to
      global defaultconftest module (this
      gets tests failing that reuse defaultconftest
      module, but also we want to avoid global
      state in general)


    ------------------------------------------------------------------------
    r37243 | hpk | 2007-01-24 00:06:24 +0100 (Wed, 24 Jan 2007) | 2 lines

    small step-wise cleanups

    ------------------------------------------------------------------------
    r37238 | hpk | 2007-01-23 23:09:57 +0100 (Tue, 23 Jan 2007) | 2 lines

    why do it complicated?

    ------------------------------------------------------------------------
    r37235 | hpk | 2007-01-23 22:25:16 +0100 (Tue, 23 Jan 2007) | 5 lines

    added get_collector_trail method to get
    a representation of a collector relative
    to the topdir.


    ------------------------------------------------------------------------
    r37230 | hpk | 2007-01-23 20:44:22 +0100 (Tue, 23 Jan 2007) | 2 lines

    typo-level fixes

    ------------------------------------------------------------------------
    r37193 | hpk | 2007-01-23 14:53:17 +0100 (Tue, 23 Jan 2007) | 5 lines

    introduced config.topdir, tests and use it from terminal/remote at least.
    also fix fijal's "--box" option handling a bit, but i am not
    sure it should stay this way at all.


    ------------------------------------------------------------------------
    r37172 | fijal | 2007-01-23 11:26:10 +0100 (Tue, 23 Jan 2007) | 2 lines

    Boxing implies lsession

    ------------------------------------------------------------------------
    r37114 | hpk | 2007-01-22 02:20:30 +0100 (Mon, 22 Jan 2007) | 6 lines

    streamlining initial construction of collectors
    (to unify topdir/pkgdir/collector handling
    in rsession/terminal/normal)
    still work in-progress with a skipped test


    ------------------------------------------------------------------------
    r37112 | hpk | 2007-01-22 01:07:09 +0100 (Mon, 22 Jan 2007) | 3 lines

    * moving towards a common rootdir/root collector
    * adding an xxxed test

    ------------------------------------------------------------------------
    r37110 | hpk | 2007-01-22 00:39:24 +0100 (Mon, 22 Jan 2007) | 2 lines

    renaming some variables for more clarity

    ------------------------------------------------------------------------
    r37077 | hpk | 2007-01-20 22:26:52 +0100 (Sat, 20 Jan 2007) | 2 lines

    cleaning up fixoptions() a bit

    ------------------------------------------------------------------------
    r37076 | hpk | 2007-01-20 22:19:42 +0100 (Sat, 20 Jan 2007) | 2 lines

    unskip exec and looponfailing tests, fixes for that

    ------------------------------------------------------------------------
    r37075 | hpk | 2007-01-20 21:51:18 +0100 (Sat, 20 Jan 2007) | 2 lines

    remove two debug prints

    ------------------------------------------------------------------------
    r37074 | hpk | 2007-01-20 21:43:52 +0100 (Sat, 20 Jan 2007) | 9 lines

    * config.initsession() deals with getting at a session class
      and initiliazing it
    * config._getcollector(path) gets a collector pointing to path
    * added lots of tests
    * thus remove the strange getfscollector and map2colitems logic
    * mark some tkinter tests as skipped
    * fixing things all around


    ------------------------------------------------------------------------
    r37065 | arigo | 2007-01-20 17:15:10 +0100 (Sat, 20 Jan 2007) | 3 lines

    Choose a random free port when using the --runbrowser option,
    but stick to the fixed 8000 when using --startserver only.

    ------------------------------------------------------------------------
    r37061 | hpk | 2007-01-20 16:29:25 +0100 (Sat, 20 Jan 2007) | 8 lines

    refactoring/fixing the remote terminal approach
    (used for --exec and --looponfailing) to
    use the new configiguration.  Removes
    lots of strange code.

    XXX there are still some recursive testing issues.


    ------------------------------------------------------------------------
    r37055 | hpk | 2007-01-20 12:51:54 +0100 (Sat, 20 Jan 2007) | 4 lines

    reintroducing --session to lookup custom session objects in conftests.py
    there is no other way to override a session object from conftests.


    ------------------------------------------------------------------------
    r37025 | hpk | 2007-01-19 17:59:50 +0100 (Fri, 19 Jan 2007) | 2 lines

    remove lget and its last usage (which was a bit random)

    ------------------------------------------------------------------------
    r37020 | hpk | 2007-01-19 17:48:15 +0100 (Fri, 19 Jan 2007) | 3 lines

    switching in the new way of getting to a sessionclass,
    removing code in cmdline.py and elsewhere accordingly

    ------------------------------------------------------------------------
    r37013 | hpk | 2007-01-19 17:14:11 +0100 (Fri, 19 Jan 2007) | 2 lines

    somewhat simpler lookup mechanism for sessions

    ------------------------------------------------------------------------
    r37009 | hpk | 2007-01-19 16:50:32 +0100 (Fri, 19 Jan 2007) | 2 lines

    adding a config method to determine the session name

    ------------------------------------------------------------------------
    r36994 | fijal | 2007-01-19 15:08:16 +0100 (Fri, 19 Jan 2007) | 2 lines

    removal of some trailing white-spaces.

    ------------------------------------------------------------------------
    r36964 | hpk | 2007-01-18 19:30:02 +0100 (Thu, 18 Jan 2007) | 8 lines

    move rconfig functionality to general Config object,
    with docstrings, and trying to change rsession accordingly.

    note that it's called "make_repr" and "merge_repr"
    the latter to make it obvious that we are changing
    the instance with the given repr.


    ------------------------------------------------------------------------
    r36942 | hpk | 2007-01-18 16:08:06 +0100 (Thu, 18 Jan 2007) | 4 lines

    group things used for testing and not use non-underscore
    names (otherwise they are consdiered public and
    are possibly seen from apigen through py.test.config!)

    ------------------------------------------------------------------------
    r36941 | fijal | 2007-01-18 15:59:08 +0100 (Thu, 18 Jan 2007) | 2 lines

    Add a hack which allows to temporarily overwrite the config value.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

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

--HG--
branch : trunk
2007-01-24 17:39:42 +01:00
hpk 4a2d9e3f58 [svn r37268] merging of file:///svn/py/branch/config/py/__init__.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37129 | fijal | 2007-01-22 14:04:00 +0100 (Mon, 22 Jan 2007) | 2 lines

    Move rsync to execnet and expose it as py.execnet.RSync

    ------------------------------------------------------------------------
    r37074 | hpk | 2007-01-20 21:43:52 +0100 (Sat, 20 Jan 2007) | 9 lines

    * config.initsession() deals with getting at a session class
      and initiliazing it
    * config._getcollector(path) gets a collector pointing to path
    * added lots of tests
    * thus remove the strange getfscollector and map2colitems logic
    * mark some tkinter tests as skipped
    * fixing things all around


    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

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

--HG--
branch : trunk
2007-01-24 17:39:40 +01:00
guido c9545204d0 [svn r37266] Fixed a problem in the CallFrame code, it doesn't like py.code.Source objects
(no test, sorry, didn't succeed in reproducing it from a test yet), some minor
HTML changes.

--HG--
branch : trunk
2007-01-24 17:06:35 +01:00
hpk 5992a8ef21 [svn r37264] create the new development trunk
--HG--
branch : trunk
2007-01-24 15:24:01 +01:00