Commit Graph

8683 Commits

Author SHA1 Message Date
hpk 97346c8a5a [svn r37643] stroke the historical notes, and streamlined
various parts of execnet documentation,
added some api references.

--HG--
branch : trunk
2007-01-31 00:13:49 +01:00
arigo 6aaca64290 [svn r37642] issue40 resolved
Thanks ghazel.  I fixed this by directly capturing ts_current in a local
variable instead of reloading it.  I also reviewed the code a bit and
found another place where ts_current could be used out of date.

--HG--
branch : trunk
2007-01-31 00:07:48 +01:00
hpk e721d85278 [svn r37641] removing py.path.extpy after all
--HG--
branch : trunk
2007-01-30 23:22:15 +01:00
guido e7c684eb37 [svn r37640] Added first bits of a document about py.path.
--HG--
branch : trunk
2007-01-30 23:01:04 +01:00
guido d3c2f5c7b1 [svn r37639] Not sure why this was here... :|
--HG--
branch : trunk
2007-01-30 23:00:33 +01:00
guido acf54574c4 [svn r37638] Re-enabled the tests on win32
--HG--
branch : trunk
2007-01-30 21:51:57 +01:00
guido 307a727a7e [svn r37637] Fixed Windows path problems for apigen; test_apigen_functional.py now works (couldn't test with the py lib itself, though, as it wants to build greenlets and i don't have a suitable c compiler installed).
--HG--
branch : trunk
2007-01-30 21:45:18 +01:00
fijal c432765556 [svn r37631] Kill unnecessarry cache
--HG--
branch : trunk
2007-01-30 18:55:08 +01:00
fijal 3630e7fcd3 [svn r37624] Slightly hackish way to put all tracing calls as low as possible. This
should kill unnecessary frames. Right now tracing is done only for
py.test.Function objects, I don't know what to do with sth else, let's
leave it alone.

--HG--
branch : trunk
2007-01-30 17:59:32 +01:00
fijal f65d6e9d35 [svn r37623] Get rid of last frame if possible (the frame containing start_tracing should
not be there, unless this is the last frame)

--HG--
branch : trunk
2007-01-30 17:58:11 +01:00
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