Commit Graph

5921 Commits

Author SHA1 Message Date
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