1
0
mirror of https://github.com/php/phd.git synced 2026-04-27 00:48:16 +02:00
Commit Graph

58 Commits

Author SHA1 Message Date
Moacir de Oliveira Miranda Júnior 4acf0c61f8 Option PhDConfig::package. For while the default package is packages/PHP 2009-05-28 19:45:46 +00:00
Hannes Magnusson 6e9c124fa2 - Fix version (0.4.0-enterprise)
- Set default output dir to ./output/
- Set format output dirs to lowercased version of the format name
- Create output dirs if they don't already exist
- Register the format name to PhDFormat
- Fix index.sqlite file location
- Fix odd protos (same argument name twice?)
- Fix annoying E_NOTICE
2008-08-01 18:57:52 +00:00
Rudy Nappée 30afcf9400 * removed no longer necessary files
* added name of format processed
* added color and version stuff from RESTRUCTURE branch
2008-08-01 11:02:04 +00:00
Rudy Nappée 3ec12b007e * migrating from sqlite_ functions to SQLite3 OO methods (needs pecl sqlite3 extension) 2008-07-30 12:17:21 +00:00
Rudy Nappée 019fd15cc9 * added HEAD PhDConfig class
* cleaned some stuff in render.php
2008-07-29 19:56:49 +00:00
Hannes Magnusson fe09e8aace Bump to 0.4 2008-07-24 19:39:02 +00:00
Hannes Magnusson 0ac7b6f390 MFB: Add support for phpdoc:exception 2008-07-23 19:21:31 +00:00
Rudy Nappée f153a91d27 * adds pdf output (beta) & its associate theme (phppdf, which renders <book> elements and phpbigpdf, which renders the entire set root)
* adds commandline modifiers actions for pdf format (-f pdf), php themes (-t phppdf and -t phpbigpdf)
WARNING: the current PDF output isn't over and did not render all the db5 elements
2008-07-18 13:18:23 +00:00
Rudy Nappée 9b3839fe01 * adds manpage output & its associate theme (which renders RefEntries functions as man pages)
* adds commandline modifiers actions for manpage format (-f manpage), pear themes (-t pearchunkedhtml, -t pearchm, -t pearbightml, -t pearweb, -t pearchm or -t pear to render all of them), php new themes (-t phpfunctions for manpage, -t chmsource for xhtml chm)
* phd now outputs xhtml, chm & manpage (with php themes) by default
* updates package.xml
2008-07-09 22:57:06 +00:00
Rudy Nappée 12623c856a * Added the CHM rendering as a PhDTheme
* Modified config.php to support the CHM theme
* Added a howto for generating CHM file
* bug : The flag -t to render just one theme didn't work
2008-05-29 14:34:17 +00:00
Gwynne Raskind 24b0627d33 Give classes PhD prefixes and give buildoptions.php a more appropriate name 2008-05-27 14:09:42 +00:00
Gwynne Raskind 8d10a968e5 update version 2008-05-24 15:06:24 +00:00
Gwynne Raskind ec1405a062 - Rewrote option parsing, allows the same code to be reused for multiple scripts
- Rewrote config option access, avoids globals
- Cleaned up error handler
- Color output is now on all three output streams if user selects for it
- --list option now glob()s the themes/ and formats/ directories
- Whitespace fix in chunkedhtml.php
2008-05-24 15:04:50 +00:00
Gwynne Raskind 868119845a revert my big commit 2008-05-24 14:49:14 +00:00
Gwynne Raskind 3e7102833c - Rewrote option parsing, allows the same code to be reused for multiple scripts
- Rewrote config option access, avoids globals
- Cleaned up error handler
- Color output is now on all three output streams if user selects for it
- --list option now glob()s the themes/ and formats/ directories
- Whitespace fix in chunkedhtml.php
2008-05-24 14:30:00 +00:00
Hannes Magnusson af3bf626dc Fix typo 2008-05-20 09:48:29 +00:00
Hannes Magnusson 8e641dbc6e Add phd_bool() to parse getopt() true/false values (yes/no, on/off,
true/false, 1/0)
2008-05-20 09:44:10 +00:00
Gwynne Raskind 4327b7f55c experimental color support, because it looks nice when the timestamps can be told from the real meesage 2008-05-17 06:24:40 +00:00
Hannes Magnusson 55fea41f04 - Fixed bug#44750 (request for generic phd logger)
- Added VERBOSE_NOVERSION (disabled by default)
- Loop over all refnames when trying to find version info
2008-05-03 23:59:38 +00:00
Hannes Magnusson 044825e0d6 Improve error/info "logger"
Add "option" to specify a resource for PHP triggered errors, PhD
triggered errors and PhD info messages
# We really need some "config interface", adding all options as
# arguments to `phd` is already starting to get messy :(
2008-05-03 23:33:36 +00:00
Hannes Magnusson 68e3f88903 - Back to -dev
- Install .fr language file
2008-04-07 05:41:44 +00:00
Hannes Magnusson 3ec00b1772 Prep for release 2008-03-31 17:47:28 +00:00
Gwynne Raskind 3cd904d94e use DIRECTORY_SEPARATOR instead of explicit / 2008-03-11 14:40:02 +00:00
Gwynne Raskind a7762a82b7 fix output directory when none is specified 2008-03-09 15:15:29 +00:00
Hannes Magnusson 00525aafcd More typos (Richard Q.) 2008-03-03 13:23:56 +00:00
Hannes Magnusson 97efde47c5 Fixed couple of typos in PhD info messages. (Richard Q.) 2008-03-03 13:16:22 +00:00
Hannes Magnusson 64dea128e6 Added option (-o/--output) to specify output directory (FR#43193). (Richard) 2008-02-27 21:23:13 +00:00
Hannes Magnusson 7762399b2a s/All/Most 2008-02-22 12:52:36 +00:00
Gwynne Raskind 23452bdf5d remove debug flag completely. we don't need it 2008-02-09 22:58:01 +00:00
Gwynne Raskind de51223434 add short version of debug flag (-g) and note in package.xml 2008-02-06 17:02:52 +00:00
Gwynne Raskind 6d19aef707 Add debug flag (yes, we might actually USE this!) and normalize help message 2008-02-06 01:05:16 +00:00
Hannes Magnusson 29d0db1f0e - Added option (-s/--skip) to skip rendering of chunks
# Usage:
#  Render all chunks from book.strings except for ref.strings and its childrens:
#   phd --partial book.strings --skip ref.strings -d.manual.xml
#
# Render all chunks from book.strings except for ref.strings
#   phd --partial book.strings --skip ref.strings=false -d.manual.xml
2008-02-04 23:01:27 +00:00
Hannes Magnusson 949d572a62 Back to -dev 2008-01-31 18:48:52 +00:00
Hannes Magnusson 52543d230d Prep for release 2008-01-30 18:13:16 +00:00
Hannes Magnusson 0920df3259 Use valid exit status 2008-01-29 19:25:05 +00:00
Hannes Magnusson 0e4c5e06ff Add some comments and vim folding
Simplify VERBOSE_ALL and the default verbose level definition
2008-01-28 11:23:13 +00:00
Hannes Magnusson b44afc0da4 Don't try to parse the phd executable when no xml file is passed (reported by tony) 2008-01-27 17:16:24 +00:00
Hannes Magnusson 7f7f67916a Fix typo (tony) 2008-01-24 12:44:14 +00:00
Hannes Magnusson 71c8702222 - Unkown => Unknown
- Add "error message" when passing unknown argument to -l/--list
2008-01-11 19:51:04 +00:00
Hannes Magnusson 8be4fc292b Added option (-l/--list) to list the supported formats/themes (thanks Tony!) :) 2008-01-10 17:53:21 +00:00
Hannes Magnusson 77caba44b3 Bump year 2008-01-10 17:40:47 +00:00
Hannes Magnusson 9a956a1cab Added index chaching (Edward Z.) 2008-01-10 17:39:38 +00:00
Hannes Magnusson db5804545b Back to -dev 2007-12-30 15:18:49 +00:00
Hannes Magnusson 2c7fe3f863 Add missing new lines 2007-12-30 14:34:35 +00:00
Hannes Magnusson d5da561b61 Prep for release 2007-12-30 14:26:34 +00:00
Hannes Magnusson b998e83d36 Back to -dev 2007-11-25 12:04:54 +00:00
Hannes Magnusson 99117fb58b Prep for release 2007-11-08 16:40:54 +00:00
Hannes Magnusson ef85ae0468 Add a dummy getopt() for Windows (prior to PHP5.3)
Fix last-argument check (if -d/--docbook wasn't passed)
2007-11-08 16:11:44 +00:00
Hannes Magnusson 87512497f8 Added support for the VERBOSE_* constants as arguments
# You can | them together - but you obviously need to escape | from your shell :)
2007-11-05 09:49:45 +00:00
Hannes Magnusson 0ce875c147 --format takes an argument (Richard Q.) 2007-11-05 08:41:04 +00:00