Commit Graph

1652 Commits

Author SHA1 Message Date
guido 646d4f93e1 [svn r37733] Removed two rather useless methods that just delegated to methods on the
underlying object, in favour of calling the underlying object's methods
directly (py.io.OutErrCapture.writeorg*).

--HG--
branch : trunk
2007-02-01 15:13:59 +01:00
guido 9f491f2058 [svn r37729] Added some code to py.io.FDCapture and py.io.OutErrCapture to allow writing
to the original (patched) file descriptor. Also made that the capturing object
is passed to apigen.py's build() function (from rsession.py), which uses the
new methods to print progress information.

--HG--
branch : trunk
2007-02-01 14:56:31 +01:00
fijal 3f31ed5742 [svn r37723] Add a test
--HG--
branch : trunk
2007-02-01 12:59:47 +01:00
fijal ee72091783 [svn r37721] Fix. !Tests needed!
--HG--
branch : trunk
2007-02-01 12:50:29 +01:00
fijal f4b4f68b40 [svn r37720] Kill dead import
--HG--
branch : trunk
2007-02-01 12:28:45 +01:00
hpk 661d984aec [svn r37703] adding references to path and code documentation
--HG--
branch : trunk
2007-01-31 23:56:18 +01:00
hpk 3e91580231 [svn r37701] note on removal of compat.TestCase
--HG--
branch : trunk
2007-01-31 23:44:03 +01:00
hpk 0945e7668a [svn r37700] refer to experimental gateway path code
for substantiating future directions.

--HG--
branch : trunk
2007-01-31 23:43:32 +01:00
hpk ba2dcf16bd [svn r37699] removing py._dist export (only accessed from setup.py
and py/bin/_makepyrelease.py)

--HG--
branch : trunk
2007-01-31 23:23:24 +01:00
hpk dbb88cdb75 [svn r37698] waiting even a bit longer for loop-on-failing
--HG--
branch : trunk
2007-01-31 23:20:33 +01:00
hpk f915de1992 [svn r37696] removing py.test.compat.TestCase - it's small
code but nobody uses it i think and there is
no documentation.

--HG--
branch : trunk
2007-01-31 22:55:30 +01:00
hpk 7970591813 [svn r37693] Some considerations regarding the experimental
Gateway/Remote Path implementation code.
Also making it "py.__." importable but
not advertising it for 0.9 at all.
It's an interesting feature for 1.0 :)

--HG--
branch : trunk
2007-01-31 21:34:29 +01:00
guido 58eace43f9 [svn r37674] Added document 'code.txt' that describes py.code, added docstrings to py.code
public items.

--HG--
branch : trunk
2007-01-31 16:29:18 +01:00
hpk 65f51efa55 [svn r37664] some streamlining, additions and "de-marketing" :)
and adding some XXX

--HG--
branch : trunk
2007-01-31 12:49:25 +01:00
hpk 9fe8e7ca65 [svn r37661] fixing this script (IMO it was broken if you provided arguments)
--HG--
branch : trunk
2007-01-31 12:27:25 +01:00
hpk bd71dff595 [svn r37647] make the example independent from the installed python binaries
--HG--
branch : trunk
2007-01-31 00:46:20 +01:00
arigo 89a4750535 [svn r37646] Wording, and missing attribute in the greenlet documentation.
--HG--
branch : trunk
2007-01-31 00:29:45 +01:00
hpk dcafd4cd60 [svn r37645] adding an example for execnet (passes doctest)
--HG--
branch : trunk
2007-01-31 00:23:59 +01:00
cfbolz a05708848a [svn r37644] typo
--HG--
branch : trunk
2007-01-31 00:20:50 +01:00
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