Commit Graph
100 Commits
Author SHA1 Message Date
Jakob Lykke Andersen efa5382e9b Merge pull request #3072 from jakobandersen/multiline-signatures
Make rendering of multiline signatures better in html.
2016-10-24 13:38:33 +02:00
Jakob Lykke Andersen 4c2815bc95 Make rendering of multiline signatures better in html. 2016-10-20 09:28:59 +02:00
Jakob Lykke Andersen 54dd5c5fd1 C++, add proper template introduction mangling 2016-08-07 21:55:58 +02:00
Jakob Lykke Andersen 611ac9782a C++, fix ref checks for concepts. 2016-08-07 19:03:12 +02:00
Jakob Lykke Andersen 1b251797bb Merge branch 'master' into cpp-concepts 2016-08-07 18:37:31 +02:00
Jakob Lykke Andersen 678630a59b C++, add support for removing index text prefixes
Closes sphinx-doc/sphinx#1958.
2016-08-06 00:53:50 +02:00
Jakob Lykke Andersen 9ec75826af C++, oops 2016-08-06 00:28:05 +02:00
Jakob Lykke Andersen c85e60a5ac C++, increase support for attributes.
User-defined attributes and simple C++11 style attributes.
Closes sphinx-doc/sphinx#2682.
2016-08-06 00:08:02 +02:00
Jakob Lykke Andersen 86f3e5aabb Merge branch 'master' into cpp-attributes 2016-08-05 08:11:47 +02:00
Jakob Lykke Andersen 68a32a2bff C++, fix id generation of var/member declarations.
Namespaces not in the declaration are now properly included in the id.
Fixes sphinx-doc/sphinx#2722.
2016-06-29 09:02:35 +02:00
Jakob Lykke Andersen f64ec1349a C++, initial support for attributes.
Only simple GNU style supported, and only in the decl-specifier-list.
See sphinx-doc/sphinx#2682.
2016-06-26 10:02:15 +02:00
Jakob Lykke Andersen fab5911004 C, neutralize xrefs to fundamental types.
TypedFields generate xrefs to whatever it gets.
See sphinx-doc/sphinx#2439.
2016-06-24 09:37:20 +02:00
Jakob Lykke Andersen 4be597bb34 C++, fix role mismatch warnings for templateParam 2016-06-24 09:15:31 +02:00
Jakob Lykke Andersen 65dddfcd69 C++, fix parsing of function types in other types.
Let all kinds of function parameters be allowed to have a name.
Fixes michaeljones/breathe#267.
2016-06-16 10:54:16 +09:00
Jakob Lykke Andersen 5728e5e837 C++, add test for initialized variable concepts 2016-06-14 16:23:57 +09:00
Jakob Lykke Andersen 494aeb901a Merge pull request #1 from mickk-on-cpp/cpp-concepts
C++, allow arbitrary initializer for variable concepts.
2016-06-14 16:18:23 +09:00
Jakob Lykke Andersen c0df9205e6 C++, skip adding already used old-style ids.
See michaeljones/breathe#266.
2016-06-14 15:55:01 +09:00
Jakob Lykke Andersen bd342b8724 C++, add warnings for misleading uses of roles. 2016-06-14 15:20:21 +09:00
Jakob Lykke Andersen 2d20e337b3 C++, properly look up constructors.
Fixes sphinx-doc/sphinx#2666.
2016-06-14 15:17:45 +09:00
Jakob Lykke Andersen 49957210d5 C++, fix missing scope info on some declarations.
See sphinx-doc/sphinx#2607
2016-06-13 00:06:11 +09:00
Jakob Lykke Andersen 8a64cfdd91 C++, add support for template introductions.
Thanks to mickk-on-cpp.
2016-05-30 23:18:10 +09:00
Jakob Lykke Andersen 74191207db C++, add support for concept declarations.
Concept placeholders are automatically linked.
Thanks to mickk-on-cpp.
2016-05-30 19:45:17 +09:00
Jakob Lykke Andersen a441ac98a1 Fix crash on any-references with unicode.
Fixes sphinx-doc/sphinx#2555.
2016-05-18 09:38:27 +09:00
Jakob Lykke Andersen 12b83372ac C++, fix crash reported in #2536. 2016-05-13 09:22:46 +09:00
Jakob Lykke Andersen aaf9173ede C++, fixes sphinx-doc/sphinx#2456.
Rename node attributes to only use lower case,
because Docutils wants it that way.
2016-04-19 17:33:52 +09:00
Jakob Lykke Andersen e2830e5d7e C++, fix crash on duplicate declarations.
Fixes sphinx-doc/sphinx#2413.
2016-04-06 14:35:15 +09:00
Jakob Lykke Andersen 42395a177a C++, also support 'extern' for functions.
Thanks to Victor Zverovich.
2016-03-31 13:40:02 +09:00
Jakob Lykke Andersen c6ba3093fe C++, make prefixes of type declarations better.
Type declarations are now using the prefixes ``typedef``, ``using``, and ``type``,
depending on the style of declaration.
See also michaeljones/breathe#243 and michaeljones/breathe#242.
2016-03-30 16:55:02 +09:00
Jakob Lykke Andersen dca9e59ea5 C++, add support for 'extern' and 'thread_local'.
Thanks to michaeljones/breathe#243 for noticing the lack of 'extern' support.
2016-03-30 16:19:03 +09:00
Jakob Lykke Andersen 2b224bec5f C++, tagnames for Breathe.
See michaeljones/breathe#242.
2016-03-30 14:39:42 +09:00
Jakob Lykke Andersen 5c363a683e Fix :cpp:any: fix_paren with explicit title. 2016-01-28 13:19:23 +09:00
Jakob Lykke Andersen a66041b541 Fix exception on reference lookup in C++ domain.
Fixes sphinx-doc/sphinx#2271.
2016-01-27 23:46:29 +09:00
Jakob Lykke Andersen d044268d60 Merge pull request #2163 from jakobandersen/master
C++, parallel build fix
2015-12-14 16:17:04 +01:00
Jakob Lykke Andersen f04c3d8496 Fix flake8 error 2015-12-10 09:52:55 +01:00
Jakob Lykke Andersen c2db93f00b C++, parallel build fix
Delete operator symbols when clearing.
2015-12-10 09:39:45 +01:00
Jakob Lykke Andersen 0dd6ce3063 C++, fix line numbers in warnings.
See sphinx-doc/sphinx#2146.
2015-12-02 23:00:40 +01:00
Jakob Lykke Andersen 0e28d366bc C++, add support for pointers to member (function)
See sphinx-doc/sphinx#2146
2015-12-02 20:00:28 +01:00
Jakob Lykke Andersen eaab538d00 C++, don't accidentally deepcopy all domain data.
See sphinx-doc/sphinx#2145.
2015-12-01 13:26:43 +01:00
Jakob Lykke Andersen 17e3845704 C++, fix sphinx-doc/sphinx#2145
Also fix lookup enumerators in unscoped enums, by their unscoped name.
2015-12-01 11:19:14 +01:00
Jakob Lykke Andersen 7c4595e321 C++, don't remove symbols.
Symbols may be parents of some xref.
2015-12-01 11:04:32 +01:00
Jakob Lykke Andersen bd354f653c Exclude stuff from style-check 2015-11-29 15:25:10 +01:00
Jakob Lykke Andersen 439326a50b Merge branch 'master' of github.com:sphinx-doc/sphinx 2015-11-29 15:22:20 +01:00
Jakob Lykke Andersen 9ac166d326 C++, full support for parallel builds.
Fixes sphinx-doc/sphinx#2130.
2015-11-29 15:19:45 +01:00
Jakob Lykke Andersen 03cc72eea0 C++, fix template parameter bug.
Symbols for template parameters should only have a declaration if the
parent symbol has.
2015-11-27 23:00:57 +01:00
Jakob Lykke Andersen 8d087e86fb C++, fix name lookup to match the current scope.
Fixes sphinx-doc/sphinx#2133.
2015-11-26 12:36:11 +01:00
Jakob Lykke Andersen c286917f53 Fix to parallel builds
Hax the C++ domain to support parallel builds when it's not used.
See sphinx-build/sphinx#2130.
2015-11-25 16:31:12 +01:00
Jakob Lykke Andersen 89d7ab6941 C++, tparam info field docs. 2015-11-21 16:51:17 +01:00
Jakob Lykke Andersen 5f09ecd4cf C++, cross-reference update
(see also sphinx-doc/sphinx#2057)
- Elaborate the documentation in regard to templates.
- Add shorthand for template declarations.
- Add shorthand for (full) template specialisations.
- Add better error messages for unparseable references.
2015-10-14 09:41:52 +09:00
Jakob Lykke Andersen 346df54358 C++, properly render multi-line declarations.
Fixes template rendering, e.g., when generating Latex.
Thanks to michaeljones/breathe#127 for pointing in the right direction.
2015-10-13 22:05:42 +09:00
Jakob Lykke Andersen 4d2c17e043 Merge pull request #2081 from dean0x7d/cpp11literals
C++, add support for user-defined literals
2015-10-12 21:49:20 +09:00
Jakob Lykke Andersen 4e8f630176 C++, fix templated operator bug
Fixes sphinx-doc/sphinx#2058
Fixes sphinx-doc/sphinx#2080
2015-10-12 21:06:45 +09:00
Jakob Lykke Andersen c823ffbcf1 C++, remove symbol hax for template params 2015-10-12 15:22:46 +09:00
Jakob Lykke Andersen 758abb926e C++, fix bug in type alias parsing.
Fixes sphinx-doc/sphinx#2061
2015-10-02 17:19:59 +09:00
Jakob Lykke Andersen df3d6476a4 C++, fix parsing of types prefixed with 'enum'.
Fixes michaeljones/breathe#223.
2015-10-01 22:28:54 +09:00
Jakob Lykke Andersen 3fb3fdbd53 C++, add parameter pack expansion as base classes. 2015-10-01 17:42:04 +09:00
Jakob Lykke Andersen 8e864076a9 C++, add support for final classes. 2015-10-01 17:25:07 +09:00
Jakob Lykke Andersen bf25b48d78 C++, document base class grammar, and cleanup. 2015-10-01 17:01:50 +09:00
Jakob Lykke Andersen add4c2467d C++, add missing support for 'friend' functions. 2015-09-14 14:31:15 +02:00
Jakob Lykke Andersen 2b3c249a4a C++, fix parsing of signed/unsigned char. 2015-09-13 12:33:57 +02:00
Jakob Lykke Andersen cccebfd28c Fix build 2015-09-12 18:44:21 +02:00
Jakob Lykke Andersen a22fb0d45f C++, add namespace push/pop directives. 2015-09-06 22:28:55 +02:00
Jakob Lykke Andersen c9470fac65 C++, fix for template argument parsing.
Non-type template arguments where not parsed correctly. It is a bit
better now. The example in michaeljones/breathe#218 should work now.
2015-09-06 20:34:01 +02:00
Jakob Lykke Andersen 38db131ee9 C++, yet more code cleanup 2015-09-06 16:08:37 +02:00
Jakob Lykke Andersen 45a8169184 C++, code cleanup. 2015-09-06 16:01:34 +02:00
Jakob Lykke Andersen 89c3dd81c3 C++, support for templates.
Fixes sphinx-doc/sphinx#1729.
2015-09-06 15:36:58 +02:00
Jakob Lykke Andersen ed29c298a6 C++ initial refactoring to support templates.
Create symbol tables to represent all declarations, including templated
declarations (sphinx-doc/sphinx#1729).
Fixes sphinx-doc/sphinx#1314.
2015-09-02 22:09:57 +02:00
Jakob Lykke Andersen 11b817bd65 C++, fix base class rendering. 2015-09-02 22:07:40 +02:00
Jakob Lykke Andersen 6b8f29bb45 C++, fixes sphinx-doc/sphinx#1913 2015-05-30 09:56:32 +02:00
Jakob Lykke Andersen f6bcb6e414 Merge pull request #1795 from meisterluk/meisterluk/typo
Doc typo: speicifer -> specifier
2015-03-22 12:14:47 +01:00
Jakob Lykke Andersen 7ad1926ef7 Update CHANGES and AUTHORS. Closes #1765. 2015-03-10 22:19:25 +01:00
Jakob Lykke Andersen dc8786bd5e C++, ref #1765, old id generation fix. 2015-03-10 21:56:58 +01:00
Jakob Lykke Andersen a8a8b1fd8f Update CHANGES 2015-03-10 21:04:09 +01:00
Jakob Lykke Andersen 3cf67aa5cf C++, more name lookup fixes.
Not all names knew of the scope they were in, resulting in not links.
See sphinx-doc/sphinx#1746.
2015-03-08 14:58:34 +01:00
Jakob Lykke Andersen 1617e451af Merge branch 'master' of github.com:sphinx-doc/sphinx 2015-03-07 20:22:04 +01:00
Jakob Lykke Andersen 0dc265ff01 C++, properly look up names in all parent scopes.
See sphinx-doc/sphinx#1746.
2015-03-07 20:19:23 +01:00
Jakob Lykke Andersen 4333534f7b Update CHANGES 2015-03-05 23:47:06 +01:00
Jakob Lykke Andersen 9dfd204be4 Merge branch 'cpp-fix-1753' 2015-03-05 23:37:31 +01:00
Jakob Lykke Andersen bbf97fe8fd Last details. Closes sphinx-doc/sphinx#1753. 2015-03-05 23:34:44 +01:00
Jakob Lykke Andersen 8ca12f5307 Main revamp for sphinx-doc/sphinx#1753.
Support `( ptr-declarator )`, e.g., `int (*f)(double)`, or
`int (&a)[42]`.
Still missing check for compatibility with old id generation scheme.
2015-03-05 10:51:28 +01:00
Jakob Lykke Andersen 9e83537e90 Merge branch 'cpp-tests' into cpp-fix-1753 2015-03-02 21:05:31 +01:00
Jakob Lykke Andersen 7c240a5ec8 C++, imrpove errors from function parsing. 2015-03-02 21:04:56 +01:00
Jakob Lykke Andersen 4f0e246109 C++, add tests for ids. 2015-03-01 15:04:15 +01:00
Jakob Lykke Andersen b1775cbf8c Add convenience directives and roles to C++ domain
Add directive `cpp:var` and roles `cpp:var` and `cpp:any`.
Fixes sphinx-doc/sphinx#1577, fixes sphinx-doc/sphinx#1744.
2015-02-26 21:44:46 +01:00
Jakob Lykke Andersen 5047098d24 Fix sphinx-doc/sphinx#1737.
Also do better error handling when an outer name could not be parsed.
2015-02-25 11:17:12 +01:00
Jakob Lykke Andersen 370048531c Merge fix sphinx-doc/sphinx#1738. 2015-02-25 10:08:44 +01:00
Jakob Lykke Andersen b8e324fb2f Fixes sphinx-doc/sphinx#1738. 2015-02-24 09:49:43 +01:00
Jakob Lykke Andersen 3d6bae0cde Merge from master 2015-02-08 23:48:31 +01:00
Jakob Lykke Andersen 46cd97873c Fix C++ tests. 2015-02-08 23:22:31 +01:00
Jakob Lykke Andersen 44ee988981 C++, update docs and enums. Fixes sphinx-doc/sphinx#772. 2015-02-08 23:09:44 +01:00
Jakob Lykke Andersen fd84a3d602 Update CHANGES 2015-02-08 21:40:23 +01:00
Jakob Lykke Andersen 75c30ba2af HTML search results for C++. Fixes sphinx-doc/sphinx#1591.
The C++ domain did not return the actual id of elements, but the name.
The fix is as Rapptz suggested.
2015-02-07 12:27:29 +01:00
Jakob Lykke Andersen d09bcfa717 C++, minor code formatting fixes. 2015-02-07 01:26:35 +01:00
Jakob Lykke Andersen d8a109976b Merge from master 2015-02-07 00:55:19 +01:00
Jakob Lykke Andersen fb3a524a90 C++, fixes to id generation.
New ids are prefixed with "_CPPv1". Replacing the prefix with "_Z"
should yield a valid mangled name following the Itanium C++ ABI,
except for expressions, which are currently not handled.
2015-02-06 08:35:12 +01:00
Jakob Lykke Andersen f4cf30b95e C++, old-style linkes, const/volatile and templates, sphinx-doc/sphinx#1704 2015-02-05 10:00:50 +01:00
Jakob Lykke Andersen 89c919911f Merge from master 2015-02-04 23:23:28 +01:00
Jakob Lykke Andersen aaa71b0606 Towards a solution for sphinx-doc/sphinx#1704.
Elements now get multiple ids to keep permalinks permanent. The default
id is the newest style, which is used as the shown permalink and in the
index. The old style ids have been (partially) replicated and are
temporarily used as the default id for testing purposes.
2015-02-04 10:11:58 +01:00
Jakob Lykke Andersen 5f0977ca30 C++, add support for 'const', 'volatile', etc. on the right-hand side of the type. 2015-02-03 09:18:18 +01:00
Jakob Lykke Andersen c010b47589 C++, initial enum support (see #772) 2015-01-03 16:59:08 +01:00
Jakob Lykke Andersen e43fcfa1f4 C++, test now also work with Python 3. 2014-08-10 11:59:22 +02:00