Armin Ronacher
a2562088f7
C++ domain now supports array definitions.
2011-01-07 15:49:01 +01:00
Georg Brandl
b3108306cd
Fix #677 : allow multiple signatures in C++ domain directives.
2011-09-22 10:23:54 +02:00
Georg Brandl
fad48a6a0f
Complain about unparseable C++ references.
2011-01-08 16:06:11 +01:00
Georg Brandl
b1cf1a9aae
Fix general index links for C++ domain objects.
2011-01-07 18:58:23 +01:00
Georg Brandl
81ecbc19b0
Fix tracebacks occurring for duplicate C++ domain objects.
2011-01-06 12:28:55 +01:00
Georg Brandl
417571176b
#560 : Change default split_owner to return something useful.
2011-01-04 12:55:37 +01:00
Georg Brandl
0e1db6ad90
New year update.
2011-01-04 10:00:51 +01:00
Georg Brandl
eecd8bff03
Fix pretty-printing of C++ function arguments.
2011-01-04 00:34:47 +01:00
Georg Brandl
13ebda2b76
Fix CPP domain modifiers: short can be unsigned and signed, but not short.
2010-12-29 10:24:14 +01:00
Michael Jones
71660ccdf1
Account for arguments with only a type and no parameter name
...
Previously, the code was parsing the type into the argname variable and then
when it found something (not "," or ")") following the type it swapped the name
into the type and parsed next part as the name.
However, when no name is provided, as it allowed in c++, if you're not planning
on using the parameter, or it is in a function declaration, then the actual
type was being left in the name variable and the type variable was empty.
As a result function signatures for references were being generated without
knowledge of the type, which is the important factor in disambiguating
overloaded functions.
2010-11-18 08:56:39 +13:00
Michael Jones
d04182b85c
Update cpp domain identifier regex to match destructors
...
Previously the regex would fail to match c++ destructors, as the presence of a
"~" would mean that the "\b" would no longer match the start of a word.
Now we try to find the optional "~" first then continue with the word as
normal.
2010-11-18 08:51:43 +13:00
Georg Brandl
8e3b14c812
Remove unused import.
2010-08-24 01:41:08 +02:00
Armin Ronacher
528f305d96
Nicer solution for the C++ fix
2010-05-30 22:18:16 +02:00
Armin Ronacher
475c3ba93b
Fixed a C++ bug that caused bad references to be generated. This also
...
adds a note on overloads always ending up on the first version of the
method in case more than one is defined.
2010-05-30 13:51:50 +02:00
Armin Ronacher
a534f39187
Fixed a bug in the C++ domain and documented more
2010-05-27 14:12:24 +02:00
Georg Brandl
0f2a0381ba
Rename default_domain to primary_domain; give it special semantics.
2010-05-23 16:48:54 +02:00
Georg Brandl
5b7e794e2b
#413 : Added a way for intersphinx to refer to named labels in other
...
projects, and to specify the project you want to link to.
2010-05-23 13:06:01 +02:00
Armin Ronacher
71a985c06c
long double exists.
2010-03-30 18:57:56 +02:00
Armin Ronacher
a6c625f25c
More operators for C++. Forgot about new/delete and some other less used
...
such as ->*.
2010-03-02 13:10:44 +01:00
Armin Ronacher
91322038e2
Added first CPP test
2010-03-02 01:27:44 +01:00
Armin Ronacher
c6a6cc5c5f
Fixed reference targets
2010-03-01 23:25:33 +01:00
Armin Ronacher
e2063b0bae
Fixed two undefined errors.
2010-03-01 22:23:56 +01:00
Armin Ronacher
89fdb83831
Relative references work now for the C++ domain
2010-03-01 21:48:40 +01:00
Armin Ronacher
27667cc0b7
Added basic modifier support
2010-03-01 19:54:11 +01:00
Armin Ronacher
9da129aeb9
Added namespace directive to CPP domain, warn instead of raise exceptions
...
for broken signatures and fixed a name error.
2010-03-01 15:00:58 +01:00
Armin Ronacher
21194f3b2b
Started working on support for c++ xrefs
2010-03-01 14:30:24 +01:00
Armin Ronacher
3f82edf3b9
Refactored again. This time added a new type PrefixedNameDefExpr that is
...
used to prefix a name. This is used to give a node a full name if it was
defined in the context of a parent (eg, function in a class).
2010-03-01 14:14:14 +01:00
Armin Ronacher
45b89708f0
Added type support
2010-03-01 13:37:44 +01:00
Armin Ronacher
b5ee4489be
Heavily improved const support, create proper identifiers that pass for
...
HTML4 and support overloading.
2010-03-01 12:29:05 +01:00
Armin Ronacher
cb0e407cbb
Refactored description objects again.
2010-03-01 11:05:52 +01:00
Armin Ronacher
7f5e4a271f
Prefix classes with "class " and removed useless desc_type node.
2010-03-01 03:25:28 +01:00
Armin Ronacher
6f901f6c74
Proper indices for the c++ object descriptions now. Also broke up the
...
monolithic class into multiple separate classes and refactored a bit.
Still does not handle overloads.
2010-03-01 03:17:09 +01:00
Armin Ronacher
bd576bbe5d
Properly parses operator definitions now. 'std:string
...
module::class::operator std::string()' is picked up properly.
2010-02-28 21:04:35 +01:00
Armin Ronacher
be39ba81e6
C++ function signatures are now properly converted to rst nodes.
2010-02-28 19:07:32 +01:00
Armin Ronacher
5db407f4ae
Added first version of the C++ signature parser
2010-02-28 17:44:40 +01:00