1
0
mirror of https://github.com/php/phd.git synced 2026-03-23 22:52:05 +01:00

397 Commits

Author SHA1 Message Date
Gang Chen
6c0050597b Fixed Bug #46714 - change ereg_* to preg_* 2008-12-24 13:27:51 +00:00
SVN Migration
c873eb0daa This commit was manufactured by cvs2svn to create branch 'MAIN'. 2008-12-24 01:23:28 +00:00
Gang Chen
d94ea3f23c Fixed Bug #46714 - change ereg_* to preg_* 2008-12-24 01:23:27 +00:00
Hannes Magnusson
2c21ee9fb9 Add a class to callout lists too 2008-12-18 20:27:08 +00:00
Philip Olson
d74a0fdbc1 Change border=5 to class=doctable for doc tables 2008-12-18 17:34:36 +00:00
Richard Quadling
4932ff5f34 Removing my completely pointless code. No need to keep it hanging around. Never what was required. 2008-12-09 15:43:01 +00:00
Nilgün Belma Bugüner
956fc290df add Turkish language support for CHM 2008-12-06 08:00:17 +00:00
Nilgün Belma Bugüner
1da2b12f10 add Turkish language 2008-12-06 07:52:32 +00:00
Hannes Magnusson
062172153c Add -L <lang> / --lang <lang> option so the CHM theme can populate correct CHM values 2008-12-03 20:01:04 +00:00
Hannes Magnusson
487d46807f Fix notice 2008-12-03 19:55:25 +00:00
Kalle Sommer Nielsen
88e474c566 Add missing @echo off 2008-12-02 21:27:09 +00:00
Christian Weiske
a6c3a2c5d9 Use PEAR's PHP_Compat package if there is no getopt() available 2008-11-25 06:23:55 +00:00
Hannes Magnusson
64a9b82e8b Link <interfacename> to interfaces like we do with <classname> 2008-11-15 17:48:11 +00:00
Hannes Magnusson
a7136fe858 Add support for the numeration attribute for orderedlist 2008-11-11 19:59:26 +00:00
Nilgün Belma Bugüner
0a35884171 fix for "major problems" with some browsers 2008-11-10 09:49:55 +00:00
Christian Weiske
79648f6104 Merge Nilgün's anchor patch into head and adhere to CS a bit more 2008-11-08 22:51:58 +00:00
Christian Weiske
2e7956b8e7 Do not only allow chunking normally unchunked elements but make it possible
to not chunk normally chunked elements
2008-11-08 08:40:57 +00:00
Christian Weiske
88acd24c7d Bump package.xml version to next one 2008-11-08 07:41:48 +00:00
Christian Weiske
c1e92dd199 Merge changes from package.xml in 0_4 to head 2008-11-08 07:34:15 +00:00
Christian Weiske
43f5821fb5 Merge phpdoc:varentry fix from 0_4 to head 2008-11-07 23:46:17 +00:00
Christian Weiske
3777890364 Merge changes from 0_4 to head 2008-11-07 23:08:11 +00:00
Christian Weiske
20522766e8 Merge loudis change from 0_4 back to head 2008-11-07 21:49:18 +00:00
Christian Weiske
f84c8f8f98 DOC] Implement
<phd:pearapi phd:package="PackageName" phd:linkend="ClassName"/>
for pear themes
2008-11-07 17:55:50 +00:00
Brett Bieber
bc311cd4bf Change <b> to <strong>, <i> to <em>, and fix CDATA \n to <br/> replacement. 2008-11-05 20:54:59 +00:00
Brett Bieber
2e6a678df7 CS fixes, add a few docblocks, change double quotes to single where no variable expansion was used giving around 9% speedup for the pearweb build. :-D 2008-11-05 19:11:16 +00:00
Brett Bieber
7b974cbc8c Coding standards fixes and add in documentation for methods. 2008-11-05 16:45:14 +00:00
Christian Weiske
50c4260060 Make "Prev" links work correctly on last pages (e.g. last in chapter) 2008-11-04 23:04:04 +00:00
Brett Bieber
0aa07a7d63 Add missing quotes to setManualHeaders $lang parameter. 2008-11-04 19:48:39 +00:00
Christian Weiske
ea7738579e Clean up pear html after generation 2008-11-03 20:34:45 +00:00
Christian Weiske
a149ba9a11 Remove workaround for itemizedlist tags in paras - we do it better now. 2008-11-03 07:34:22 +00:00
Christian Weiske
af19f52ce1 - Move nifty <p> closing and re-opening code from peartheme to xhtml format
- support empty th tags
2008-11-02 23:34:49 +00:00
Christian Weiske
62245df0f2 Fix 95% of invalidity in the generated HTML of the PEAR themes by
automatically closing and re-opening paragraph tags when a tag
is created that may not be nested in a <p> tag in html.
Also rtrim CDATA sections when they are in a <screen> or <programlisting>
and have no role.
This feature should be moved to xhtml theme as soon as bjori sees that it is
good and approves it (which would fix another 4% of invalid xhtml, e.g. for
<orderedlist> tags).

Also adding some docblocks for methods and parameters.

And I removed the dumb <table> tags around programlisting and screen tags.
2008-11-02 18:55:01 +00:00
Christian Weiske
82a3a72dcb Make the index look a bit better in kchmviewer 2008-11-01 09:32:04 +00:00
Christian Weiske
ab7d609ee5 make peardoc chm work. We have an index.html, not a guide.html 2008-11-01 07:54:50 +00:00
Christian Weiske
88c8afdd4f Move <phd:toc> generation to the xhtml format instead of keeping it in the
theme. phpdoc also has phd:toc support now, but still misses
<chapter phd:toc-depth="2"> attribute. phpdoc theme could also use the
createToc() function instead of using the current code.
2008-11-01 06:02:05 +00:00
Christian Weiske
0bbe586bd0 Add support for <phd:toc> tags for pear. I'll move this to xhtml format
soon, but am putting that in here so people can play around.

Example:
 <phd:toc phd:element="package.html.html-quickform.elements" phd:toc-depth="2">
   <title>Test-TOC for package.html.html-quickform.elements</title>
 </phd:toc>
2008-10-31 16:00:10 +00:00
Christian Weiske
689eb63a63 Implement phd:toc-depth for the pear theme.
This partially fixes bug #46412: Allow random TOC depths
http://bugs.php.net/?id=46412
2008-10-30 18:20:51 +00:00
Christian Weiske
3a55d1cef4 Move TOC-generation code into a function of its own and use it from the
code. This commit prepares for the phd:toc-depth attribute and the
<phd:toc/> tag but changes (nearly) nothing in the output.
2008-10-30 18:10:35 +00:00
Christian Weiske
ca050fcea2 Restore the old dsssl behavior and don't put the first section of
a chapter/chunking element on the same page, as discussed on the mailing
list [1].
This also fixes bug #46415: Don't chunk first section on parent site when
it has children. [2]

[1] http://markmail.org/message/mvzh3xtobn3xy6tz
[2] http://bugs.php.net/?id=46415
2008-10-30 17:53:51 +00:00
Christian Weiske
ef2a7d8a5c Implement request #46411: Allow random chunking depths
We can use phd:chunk="true" in any element with an ID now to get a chunk of
it. Preferably <section> and other elements that are prepared to be chunked
:)
2008-10-30 05:16:45 +00:00
Rudy Nappée
01437b57b9 * updated package-pman.xml 2008-10-29 23:33:42 +00:00
Rudy Nappée
69533bf4b3 * fixed bug #46413 Weird examples in Unix manual pages 2008-10-29 11:20:24 +00:00
Christian Weiske
02cb40c1a5 - make table captions render properly in peardoc
- add support for <arg> and <cmdsynopsis> used in peardoc
2008-10-28 20:10:45 +00:00
Christian Weiske
5593484529 - titles for top prev/next links
- escape titles - yes, pear has titles like <channel>
2008-10-28 18:17:18 +00:00
Christian Weiske
10fad81fe5 - Prevent prev/next errors in combination with chunking elements without ids
- Support double nested chunking elements without ids
2008-10-28 18:16:31 +00:00
Christian Weiske
98bb7946bf Make the PEARdoc TOC behave correctly 2008-10-28 17:13:15 +00:00
Hannes Magnusson
02401e7dce Missing translation file 2008-10-25 23:02:30 +00:00
Nilgün Belma Bugüner
e453621e9a fix xml:lang 2008-10-25 19:02:12 +00:00
Nilgün Belma Bugüner
5233affabd modified 'note' translation and revision comment 2008-10-25 18:20:09 +00:00
Rudy Nappée
44ea65b587 * added varlistentries to the CHM index
=> now php.ini directives appears in the CHM index
2008-10-24 20:46:29 +00:00