Commit Graph

26 Commits

Author SHA1 Message Date
Daniel James
ce2f9fd8ac Tweak some of the consistent ids in boostbook
They use '.' as a separator which results in paths like
'as_fe_id-1/3/2/6/2/7/1/1/1.html'.
2017-10-29 12:45:11 +00:00
Daniel James
02619b765d Fix fast-elements
In the last commit I changed it to store in fast-elements with the wrong id.
Unfortunately this can't be picked up in testing, as the fallback still works
correctly. Although it didn't make any notable difference to the build time,
so maybe the fast-elements mechanism isn't needed?
2017-10-29 12:10:59 +00:00
Daniel James
1b8441c17c Use object.id in boostbook to docbook conversion
Will generate more consistent ids if generate.consistent.ids is set to 1.
2017-10-25 01:14:54 +01:00
Steven Watanabe
33ce2b8cb2 Try harder to avoid generating unstable filenames like any_cast_idp758556752.html. Functions with the same name only conflict if they're in the same scope. 2017-07-22 19:05:04 -06:00
Daniel James
dd17d84274 Boostbook: Fix typo in id truncation.
[SVN r77599]
2012-03-27 23:01:18 +00:00
Steven Watanabe
2663ea7d9c Fix bug in cxx-name-lookup
[SVN r61959]
2010-05-14 03:16:14 +00:00
Steven Watanabe
ee1d651df1 rewrite the syntax highlighter and the c++ name lookup rules to make them faster
[SVN r61936]
2010-05-12 22:29:47 +00:00
Daniel James
6576f2ba89 Revert Steven's patches.
Sorry, I was on the wrong git branch when I checked in my unordered
change and accidentally checked in Steven's optimization patches at the
same time.

[SVN r60811]
2010-03-24 20:27:32 +00:00
Daniel James
3cd34e5f14 Steven's patch.
[SVN r60803]
2010-03-24 08:47:23 +00:00
Daniel James
e0f2099dc2 Make checking for duplicated names case insensitive.
This avoids generating filenames with names that only differ by case as they
cause problems on case insensitive file systems.


[SVN r50798]
2009-01-26 23:14:53 +00:00
Daniel James
b9f65e69a4 Rewrite the id code to convert the characters of parts of the id at the time of
generating the id. This means that characters are translated to underscores for
ids as well as for filenames, since in the eventual documents they have to be
percent encoded this is probably an approvement. It also lets us deal with the
translation more intelligently and truncate long identifiers.

[SVN r48927]
2008-09-23 19:29:01 +00:00
Daniel James
843e939404 Support for variadic parameters.
Merged revisions 44832-44957,44959-44995,44997-45128,45132-45135 via svnmerge from 
https://svn.boost.org/svn/boost/branches/doc

........
  r44832 | danieljames | 2008-04-28 07:55:01 +0100 (Mon, 28 Apr 2008) | 2 lines
  
  Add variadic attribute to template type parameters.
........
  r44943 | danieljames | 2008-04-30 20:27:32 +0100 (Wed, 30 Apr 2008) | 1 line
  
  Back out my half-done support for variadic template parameters.
........
  r44994 | danieljames | 2008-05-01 21:52:59 +0100 (Thu, 01 May 2008) | 1 line
  
  Support for variadic template parameters.
........
  r45132 | danieljames | 2008-05-05 12:37:35 +0100 (Mon, 05 May 2008) | 2 lines
  
  Rename variadic attributes pack.
........
  r45133 | danieljames | 2008-05-05 12:37:50 +0100 (Mon, 05 May 2008) | 2 lines
  
  Support for function parameter packs.
........
  r45134 | danieljames | 2008-05-05 12:38:08 +0100 (Mon, 05 May 2008) | 2 lines
  
  Support for inherited pack expansions.
........
  r45135 | danieljames | 2008-05-05 12:38:25 +0100 (Mon, 05 May 2008) | 2 lines
  
  Support for pack expansions in template specializations.
........


[SVN r45741]
2008-05-25 16:14:17 +00:00
Daniel James
68bc7fa4dc Merge in improved ids in boostbook.
Merged revisions 44958,45130-45131,45152-45153,45366 via svnmerge from 
https://svn.boost.org/svn/boost/branches/doc

........
  r44958 | danieljames | 2008-05-01 00:08:20 +0100 (Thu, 01 May 2008) | 2 lines
  
  Don't generated file names with spaces, and replace multiple consecutive underscores with a single underscore. Refs #1705
........
  r45130 | danieljames | 2008-05-05 12:37:04 +0100 (Mon, 05 May 2008) | 2 lines
  
  Combine the two alternative versions of the function generate.id
........
  r45131 | danieljames | 2008-05-05 12:37:18 +0100 (Mon, 05 May 2008) | 2 lines
  
  Deal with generated ids that contain dots which aren't separators.
........
  r45152 | danieljames | 2008-05-05 21:28:44 +0100 (Mon, 05 May 2008) | 2 lines
  
  Only add the id to fully qualified ids inside specializations - so that we're not adding generated ids on to the end of generated ids.
........
  r45153 | danieljames | 2008-05-05 21:28:56 +0100 (Mon, 05 May 2008) | 2 lines
  
  If the same macro appears twice, generated unique ids.
........
  r45366 | danieljames | 2008-05-14 21:39:14 +0100 (Wed, 14 May 2008) | 2 lines
  
  Avoid removing underscores that are part of a class or function name.
........


[SVN r45577]
2008-05-20 15:49:55 +00:00
Frank Mori Hess
02677802b7 Made generated ids for functions and overloaded functions human-readable
which also results in (mostly) human-readable names for 
their .html output files. Made generate.id template properly use 
its node parameter (merge of parts of revision 41461 from sandbox/boost_docs). 

Made class name in synopsis a link to class reference page, which is useful 
for nested classes (merge of revision 41435 from sandbox/boost_docs). 

Removed spurious new line in synopisis between a nested class 
and the comment describing its purpose (merge of revision 41434 from
sandbox/boost_docs). 

Added a warning if an "inherit" element has 
no "type" child element (partial merge of revision 41463 from
sandbox/boost_docs). 



[SVN r41698]
2007-12-04 19:55:50 +00:00
Frank Mori Hess
677773ea5b Added support for new boostbook <access> element for documenting non-public
class members.

function.xsl, type.xsl, utility.xsl: Added support for <access> elements to
allow nonpublic access specifiers for class member documentation.

boostbook.dtd: Updated to reflect new <access> element.  Updated Peter Simons
email address.  Added mention of boost license.

reference.dtdxml: Added reference documentation for new <access> element.
Removed some obsolete remarks from the description of inherit element.

reference.xml: The changes to this file were generated by applying
dtd2boostbook.xsl to the updated reference.dtdxml file.



[SVN r40555]
2007-10-29 15:18:49 +00:00
Eric Niebler
1fd93209ff also search ancestor::struct when doing name lookup
[SVN r37603]
2007-05-06 17:16:56 +00:00
Eric Niebler
78a4d97076 make boostbook at least marginally better at handling template specializations
[SVN r37583]
2007-05-03 16:45:24 +00:00
Rene Rivera
835e482af7 Cross merge HEAD and RC_1_34_0.
[SVN r36024]
2006-11-13 16:24:38 +00:00
Eric Niebler
168ede115f fix fully-qualified-name for members of structs and unions
[SVN r33701]
2006-04-14 20:35:25 +00:00
Douglas Gregor
f2e3909666 Use longer names for reference entries
[SVN r32831]
2006-02-11 17:32:04 +00:00
João Abecasis
84880ec014 typo
[SVN r32590]
2006-02-05 16:51:49 +00:00
Eric Niebler
3972c6c991 fix XSL bug making a hash out of specializations
[SVN r32343]
2006-01-17 17:43:09 +00:00
Douglas Gregor
8e045fb1b3 Limit generated ID lengths to 26 characters
[SVN r25396]
2004-09-24 14:54:35 +00:00
Douglas Gregor
6b906dcc7d lookup.xsl:
- After dumping a warning about ambiguous links, link to the first
one.


[SVN r22750]
2004-05-06 18:07:21 +00:00
Douglas Gregor
1689acb635 - use generate.id instead of generate-id
- Add the "-bb" suffix to id names generated by generate-id


[SVN r19756]
2003-08-23 15:54:46 +00:00
Douglas Gregor
df433e64bd Imported BoostBook XSL stylesheets and DTD
[SVN r17862]
2003-03-12 22:01:44 +00:00