Commit Graph
38 Commits
Author SHA1 Message Date
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
Jakob Lykke Andersen e65287ec9c C++, fix cpp:parent bug and add all aliases of fundamental integer types. 2014-08-10 11:14:47 +02:00
Jakob Lykke Andersen 0de1022a78 Ooops, revert stray function renames. 2014-08-07 13:33:52 +02:00
Jakob Lykke Andersen 640dfc1951 Merged birkenfeld/sphinx into default 2014-08-06 18:54:23 +02:00
Jakob Lykke Andersen 9230dd6a89 Doc, update C++ domain. 2014-08-06 18:54:00 +02:00
Jakob Lykke Andersen 14e6affa7d C++, update id generation to use name mangling 2014-08-06 17:41:51 +02:00
Jakob Lykke Andersen c19a15ea0d Doc, update C++ domain. 2014-07-27 11:42:01 +02:00
Jakob Lykke Andersen 23df17b404 C++, change parsing context to explicit arguments, fixes some casting operators. 2014-07-27 02:57:41 +02:00
Jakob Lykke Andersen eb2a0a090e C++, fix class name rendering to 'lastIsName', though not the template part. Put function argument names in emphasis. 2014-07-26 14:14:49 +02:00
Jakob Lykke Andersen 6cde3d596a C++, improve xrefs with templates. 2014-07-24 16:30:50 +02:00
Jakob Lykke Andersen caad958de4 C++, fix namespacing of elements and xrefs. 2014-07-24 11:09:28 +02:00
Jakob Lykke Andersen 967ca06545 Revamp of C++ domain. 2014-07-24 01:40:48 +02:00
Jakob Lykke Andersen 55eb97e9c5 C++, actually add 'virtual' to output, and fix missing rename. 2014-07-19 18:08:46 +02:00
Jakob Lykke Andersen b293be1fc9 C++ domain, add support for virtual functions. 2014-07-18 18:09:25 +02:00