Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Deprecate unused Exception attributes | Jon Dufresne | 2018-12-18 | 1 | -23/+28 | |
|/ / | | | | | | | | | | | | | | | | | | | The attributes were used only for the string representation, but that is also the default behavior of the Exception class. Observe: >>> str(Exception('foo')) 'foo' >>> print(Exception('foo')) foo | |||||
* | | Merge branch '1.8' | jfbu | 2018-12-17 | 1 | -13/+31 | |
|\ \ | |/ | | | | | | | (Resolved) Conflicts: sphinx/domains/cpp.py | |||||
| * | C++, fix assertion in partial builds with duplicates | Jakob Lykke Andersen | 2018-12-16 | 1 | -13/+31 | |
| | | | | | | | | Fixes sphinx-doc/sphinx#5496 | |||||
* | | Merge pull request #5819 from jdufresne/coding-comment | Takeshi KOMIYA | 2018-12-17 | 1 | -1/+0 | |
|\ \ | | | | | | | Remove unnecessary encoding cookie from Python source files | |||||
| * | | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | 2018-12-16 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie. | |||||
* | | | Merge pull request #5813 from jdufresne/reporter-exc | Takeshi KOMIYA | 2018-12-17 | 1 | -7/+7 | |
|\ \ \ | | | | | | | | | Pass exceptions directly to docutils reporter | |||||
| * | | | Pass exceptions directly to docutils reporter | Jon Dufresne | 2018-12-16 | 1 | -7/+7 | |
| | | | | | | | | | | | | | | | | | | | | The docutils reporter supports an exception as an argument. It is converted to a string internally. | |||||
* | | | | Merge pull request #5814 from jdufresne/str-format-coerce | Takeshi KOMIYA | 2018-12-17 | 1 | -4/+3 | |
|\ \ \ \ | |_|/ / |/| | | | Remove redundant coerce to str in string formatting | |||||
| * | | | Remove redundant coerce to str in string formatting | Jon Dufresne | 2018-12-16 | 1 | -4/+3 | |
| |/ / | | | | | | | | | | | | | | | | When an object is passed to a string format placeholder '%s', Python will implicitly call str() on the object. This applies to print() and logging as well. | |||||
* | | | Merge branch '1.8' | jfbu | 2018-12-16 | 1 | -1/+12 | |
|\ \ \ | |/ / |/| / | |/ | ||||||
| * | C++, fix parsing of floating point literals | Jakob Lykke Andersen | 2018-12-16 | 1 | -1/+12 | |
| | | | | | | | | Fixes sphinx-doc/sphinx#5636 | |||||
| * | Fix flake8 violation | Takeshi KOMIYA | 2018-10-26 | 1 | -1/+1 | |
| | | ||||||
* | | Deprecate UnicodeMixin | Takeshi KOMIYA | 2018-12-16 | 1 | -12/+11 | |
| | | ||||||
* | | refactor: Remove u-prefix from strings | Takeshi KOMIYA | 2018-12-16 | 1 | -107/+108 | |
| | | ||||||
* | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -2/+2 | |
| | | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super | |||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -337/+336 | |
| | | ||||||
* | | Replace for-yield-loop by "yield from" | Takeshi KOMIYA | 2018-12-15 | 1 | -3/+2 | |
| | | ||||||
* | | Add 'type: ignore' to avoid type errors | Takeshi KOMIYA | 2018-12-15 | 1 | -2/+2 | |
| | | ||||||
* | | Add super method; CPPObject.get_index_text() | Takeshi KOMIYA | 2018-12-13 | 1 | -0/+4 | |
| | | ||||||
* | | Fix annotations for cpp domain | Takeshi KOMIYA | 2018-12-04 | 1 | -15/+12 | |
| | | ||||||
* | | Add annotations to cpp domain | Takeshi KOMIYA | 2018-12-04 | 1 | -4/+122 | |
| | | ||||||
* | | Fix annotations of process_link() | Takeshi KOMIYA | 2018-12-03 | 1 | -1/+1 | |
| | | ||||||
* | | Fix annotations (minor fixes) | Takeshi KOMIYA | 2018-12-03 | 1 | -1/+1 | |
| | | ||||||
* | | Fix annotations for Directives (Replace N_co with nodes.Node) | Takeshi KOMIYA | 2018-12-01 | 1 | -4/+4 | |
| | | ||||||
* | | Fix annotations for domains | Takeshi KOMIYA | 2018-11-30 | 1 | -5/+5 | |
| | | ||||||
* | | refactor: Use super() to call methods of superclass | Takeshi KOMIYA | 2018-11-28 | 1 | -2/+2 | |
| | | ||||||
* | | Merge pull request #5665 from tk0miya/fix_typehints | Takeshi KOMIYA | 2018-11-26 | 1 | -0/+1 | |
|\ \ | | | | | | | Add sphinx.util.typing:unicode to help mypy-3 migration | |||||
| * | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 | |
| | | | ||||||
* | | | Fix annotations for Domain.resolve_xref() | Takeshi KOMIYA | 2018-11-24 | 1 | -3/+3 | |
| | | | ||||||
* | | | Fix annotations for Domain.process_doc() | Takeshi KOMIYA | 2018-11-24 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2018-10-16 | 1 | -0/+6 | |
|\ \ | |/ | ||||||
| * | C++, fix assertion on multiple duplicate symbols | Jakob Lykke Andersen | 2018-10-11 | 1 | -0/+6 | |
| | | | | | | | | | | | | If a symbol was declared more than 2 times, it would crash. Fixes sphinx-doc/sphinx#5496. | |||||
* | | Remove unnecessary __ne__ definitions | Jon Dufresne | 2018-09-23 | 1 | -4/+0 | |
| | | | | | | | | | | | | | | | | | | In Python 3, __ne__ defaults to the inverse of __eq__. From https://docs.python.org/3/reference/datamodel.html#object.__ne__ > By default, __ne__() delegates to __eq__() and inverts the result > unless it is NotImplemented. | |||||
* | | Prefer https:// links where available | Jon Dufresne | 2018-09-23 | 1 | -3/+3 | |
| | | ||||||
* | | Merge branch 'master' into HEAD | Takeshi KOMIYA | 2018-09-22 | 1 | -2/+2 | |
|\ \ | ||||||
| * | | Remove use of six.iteritems() | Jon Dufresne | 2018-09-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | In Python 3, dict.items() is always an iterator. | |||||
* | | | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -6/+6 | |
|/ / | | | | | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | |||||
* | | Drop APIs deprecated in 2.0 | Takeshi KOMIYA | 2018-09-03 | 1 | -1/+1 | |
|/ | ||||||
* | C++, properly add (overloaded) symbols and params | Jakob Lykke Andersen | 2018-08-26 | 1 | -63/+154 | |
| | | | | | | | | | - Consider all matching symbols when adding symbols. - Only create a new symbol if no empty symbol is present. - When filling empty symbols, also add template and function parameters. Fixes sphinx-doc/sphinx#5337 | |||||
* | C++, fix UnboundLocalError for overload refs not being found. | Jakob Lykke Andersen | 2018-08-25 | 1 | -0/+1 | |
| | ||||||
* | C++, add support for overload-specific references. | Jakob Lykke Andersen | 2018-08-18 | 1 | -120/+237 | |
| | | | | | | The "any" and "func" roles now accepts full function declarations. Fixes #1552 | |||||
* | C++, unify symbol lookup algorithms | Jakob Lykke Andersen | 2018-08-18 | 1 | -112/+136 | |
| | ||||||
* | C++, improve type info | Jakob Lykke Andersen | 2018-08-18 | 1 | -87/+83 | |
| | ||||||
* | C++, add parsing of basic new expressions. | Jakob Lykke Andersen | 2018-08-17 | 1 | -21/+132 | |
| | ||||||
* | C++, add parsing of delete expressions. | Jakob Lykke Andersen | 2018-08-15 | 1 | -3/+54 | |
| | ||||||
* | Fix type check error | Jakob Lykke Andersen | 2018-08-11 | 1 | -1/+1 | |
| | ||||||
* | C++, parse attributes on declerators as well. | Jakob Lykke Andersen | 2018-08-11 | 1 | -8/+39 | |
| | | | | Fixes sphinx-doc/sphinx#5187 | |||||
* | C++, fix direct lookup problem | Jakob Lykke Andersen | 2018-08-11 | 1 | -16/+29 | |
| | | | | | | Also clarify documentation regarding cross-references involving templates. See also sphinx-doc/sphinx#2057 | |||||
* | C++, add missing isPack for some template params | Jakob Lykke Andersen | 2018-08-11 | 1 | -0/+28 | |
| | | | | Fixes sphinx-doc/sphinx#5126 | |||||
* | C++, add support for (most) character literals. | Jakob Lykke Andersen | 2018-08-10 | 1 | -2/+63 | |
| | | | | Fixes sphinx-doc/sphinx#5147 |