Commit Graph
62 Commits
Author SHA1 Message Date
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
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