Commit Graph

5013 Commits

Author SHA1 Message Date
Takayuki Shimizukawa
c8d9300743 * update CHANGES for pull request #294. 2014-09-24 01:13:59 +09:00
tk0miya
5f96826ffc Merge with default 2014-09-23 17:58:02 +09:00
Georg Brandl
986aba2a43 merge heads 2014-09-23 07:51:52 +02:00
Georg Brandl
363d40b8dd merge with stable 2014-09-23 07:51:31 +02:00
Takayuki Shimizukawa
836d9584fd * update CHANGES for pull request #291. 2014-09-23 12:26:32 +09:00
Takayuki Shimizukawa
a820a73442 Merged in tk0miya/sphinx (pull request #291)
Fix cannot capture title of literal_block node by xref
2014-09-23 12:21:15 +09:00
Takayuki Shimizukawa
be97cdae1b * update CHANGES for pull request #288, #1512 2014-09-23 11:58:01 +09:00
Takayuki Shimizukawa
5b5937d057 Merged in tk0miya/sphinx/stable (pull request #288)
Fix #1512 env.record_dependency crashes on multibyte directories
2014-09-23 11:43:13 +09:00
Georg Brandl
e3135cfc87 Make remaining builtin extensions parallel-read-proof. 2014-09-22 22:05:03 +02:00
Georg Brandl
52e5316b6e Document env-merge-info event, add parallel reading to changelog 2014-09-22 21:55:11 +02:00
Georg Brandl
d44efd6254 Fix default for verbosity option (crashes on Py3). 2014-09-22 21:28:30 +02:00
Georg Brandl
4197144f96 Fix a memory leak in the parallel impl. ParallelChunked is now unnecessary. 2014-09-22 19:53:19 +02:00
Georg Brandl
339c6f1335 Switch sphinx.cmdline to optparse. 2014-09-22 19:08:52 +02:00
Georg Brandl
46e8309c31 Add a possibility to later execute finishing-up tasks in parallel. 2014-09-22 18:16:53 +02:00
Georg Brandl
0c833c020e Refactor parallel process into a base class that executes any task, and a derived class that executes a batch of the same task. 2014-09-22 17:29:52 +02:00
Georg Brandl
1f23a5c369 Factor out parallel building into a utility class. Better error handling
with traceback of the parallel process saved in the error log.
2014-09-22 16:21:04 +02:00
Georg Brandl
7bbaa4c73f Test suite fixes after env.update() change. 2014-09-22 15:08:15 +02:00
Georg Brandl
31452fc64d [WIP] parallel read 2014-09-22 14:51:47 +02:00
Georg Brandl
905cbf853d Move status_iterator to application object. 2014-09-22 14:34:57 +02:00
Georg Brandl
71cd2f7e50 Change extension setup() return value to a dictionary of metadata.
This makes it possible to introduce more metadata values later.
2014-09-22 11:06:42 +02:00
Georg Brandl
57e897669d autodoc: minor PEP8 adjustments 2014-09-22 10:54:20 +02:00
Georg Brandl
062492d75f env: minor comment clarification 2014-09-22 10:49:14 +02:00
Georg Brandl
9ae7c784b5 doctest: minor PEP8 adjustments 2014-09-22 10:47:08 +02:00
Georg Brandl
e748e23187 Instantiate our source class directly, this lets us get rid of the method-local class def. 2014-09-22 10:41:04 +02:00
Georg Brandl
80144f19f5 cpp domain: minor PEP8 cleanup 2014-09-22 10:20:14 +02:00
Georg Brandl
7aa43488ea add a paragraph about sphinx-contrib on the front page 2014-09-22 10:20:02 +02:00
Georg Brandl
0a416c2d13 Raise env version for the ref_context introduction. 2014-09-22 10:00:40 +02:00
Georg Brandl
772dbbd4d9 Fix the docs index sidebar for unreleased versions. 2014-09-22 09:58:09 +02:00
Georg Brandl
e7ed7cd627 Rename env-read-docs to env-before-read-docs, add changelog entry and fixup tests. 2014-09-22 09:13:44 +02:00
Georg Brandl
3c5cda97d1 Merged in guillemNaN/sphinx (pull request #261)
Add env-read-docs event to allow modify docnames list before processing
2014-09-22 09:05:00 +02:00
Georg Brandl
cdaf4b0a52 remove a few unused imports 2014-09-21 20:28:37 +02:00
Georg Brandl
24d303706f Fixup windows newlines. 2014-09-21 20:23:24 +02:00
Georg Brandl
df53ece2f7 Minor PEP8 cleanup. 2014-09-21 20:21:43 +02:00
Guillem Barba
fe077ea18b Don't multiply docnames list size per each listener of env-read-docs
The env-read-docs listener function doesn't return the modified docnames list
but change the list received as parameter.
Updated the tests
2014-09-21 19:50:46 +02:00
Georg Brandl
c5cc2a8cf9 flush stdout after printing messages, might fix output ordering on drone.io 2014-09-21 19:01:03 +02:00
Georg Brandl
db43cba254 add a bullet point about keeping tests fast 2014-09-21 18:59:56 +02:00
Georg Brandl
ac690b4b07 move new assertion helpers to util.py 2014-09-21 18:54:01 +02:00
Georg Brandl
fa91f19e55 Reimplement assert_in and assert_not_in, they are not in nose in Py2.6. 2014-09-21 18:48:21 +02:00
Georg Brandl
70cf797c10 fix incompatibility in doctree between gettext and the rest 2014-09-21 18:46:15 +02:00
Georg Brandl
b637f0a728 No need to insist on fresh builds with test_build_* 2014-09-21 18:41:08 +02:00
Georg Brandl
b335e03b02 Speed up test_theming using a minimal project. 2014-09-21 18:37:44 +02:00
Georg Brandl
2661c1060d Refactor/speed up test_build_gettext using generators 2014-09-21 18:36:27 +02:00
Georg Brandl
be72ed6dc7 Refactor/speed up test_intl by combining all tests with a certain builder into a generator. 2014-09-21 18:26:50 +02:00
Georg Brandl
a73ab32bc5 Split viewcode and linkcode tests out of main test root. 2014-09-21 17:34:16 +02:00
Georg Brandl
78af37370c mock is builtin in Py3. 2014-09-21 17:32:52 +02:00
Georg Brandl
d47a7587f9 Complete test suite overhaul.
* rename a few test modules to make the names more consistent

* do not copy/use Sphinx from build/ (unnecessary without 2to3)

* use a temporary dir for *all* test projects, the source tree
  will stay pristine that way  (default is tests/build)

* speed up tests by ~3x by splitting up test projects and avoiding
  rebuilds
2014-09-21 17:17:02 +02:00
Georg Brandl
c5dfd5c732 Fix a few missing Unicode/bytes filename problems. 2014-09-21 16:52:41 +02:00
Georg Brandl
0511ced21a Override the current-directory local "docutils.conf" location with the Sphinx srcdir. 2014-09-21 16:38:19 +02:00
Georg Brandl
db1cf80a69 Make pygments unconditional, it is required by setup.py anyway. 2014-09-21 16:37:37 +02:00
Georg Brandl
97d2edf380 Very short introduction in README 2014-09-20 21:09:33 +02:00