Skip to content

Commit

Permalink
Merge branch 'hotfix/2.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
kukulich committed Oct 26, 2011
2 parents f8a00fb + 1889edc commit 19d1593
Show file tree
Hide file tree
Showing 24 changed files with 31 additions and 24 deletions.
2 changes: 1 addition & 1 deletion ApiGen/Backend.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/Config.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/Exception.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
4 changes: 2 additions & 2 deletions ApiGen/Generator.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down Expand Up @@ -37,7 +37,7 @@ class Generator extends Nette\Object
*
* @var string
*/
const VERSION = '2.2.0';
const VERSION = '2.2.1';

/**
* Configuration.
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/ReflectionBase.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/ReflectionClass.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/ReflectionConstant.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/ReflectionElement.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/ReflectionExtension.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/ReflectionFunction.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/ReflectionFunctionBase.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/ReflectionMethod.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/ReflectionParameter.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/ReflectionProperty.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/Template.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion ApiGen/Tree.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## ApiGen 2.2.1 ##

* Fixed processing of magic constants
* Fixed resize.png
* TokenReflection library updated to version 1.0.0RC2

## ApiGen 2.2.0 ##

* Added an option to check for updates
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Check for a new version of ApiGen, default is "Yes".

Display additional information (exception trace) in case of an error, default is "No".

```--help|-h```
```--help|-h ```

Display the list of possible options.

Expand All @@ -224,6 +224,7 @@ Even when using a config file, you can still provide additional parameters via t
Keep in mind, that any values in the config file will be **overwritten** by values from the command line. That means that providing the ```--source``` parameter values both in the config file and via the command line will not result in using all the provided values but only those from the command line.

### Example ###

We are generating documentation for the Nella Framework. We want Nette and Doctrine to be parsed as well because we want their classes to appear in class trees, lists of parent classes and their members in lists of inherited properties, methods and constants. However we do not want to generate their full documentation along with highlighted source codes. And we do not want to process any "test" directories, because there might be classes that do not belong to the project actually.

```
Expand Down
2 changes: 1 addition & 1 deletion apigen.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
REM ApiGen 2.2.0 - API documentation generator for PHP 5.3+
REM ApiGen 2.2.1 - API documentation generator for PHP 5.3+
REM
REM Copyright (c) 2010 David Grudl (http://davidgrudl.com)
REM Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion apigen.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?php

/**
* ApiGen 2.2.0 - API documentation generator for PHP 5.3+
* ApiGen 2.2.1 - API documentation generator for PHP 5.3+
*
* Copyright (c) 2010 David Grudl (http://davidgrudl.com)
* Copyright (c) 2011 Jaroslav Hanslík (https://github.com/kukulich)
Expand Down
2 changes: 1 addition & 1 deletion libs/TokenReflection
Submodule TokenReflection updated 58 files
+5 −0 .gitignore
+1 −1 README.md
+49 −10 TokenReflection/Broker.php
+2 −2 TokenReflection/Broker/Backend.php
+15 −11 TokenReflection/Broker/Backend/Memory.php
+13 −13 TokenReflection/Dummy/ReflectionClass.php
+1 −1 TokenReflection/Exception.php
+1 −1 TokenReflection/Exception/Parse.php
+1 −1 TokenReflection/Exception/Runtime.php
+1 −1 TokenReflection/IReflection.php
+13 −13 TokenReflection/IReflectionClass.php
+1 −1 TokenReflection/IReflectionConstant.php
+1 −1 TokenReflection/IReflectionExtension.php
+2 −2 TokenReflection/IReflectionFunction.php
+1 −1 TokenReflection/IReflectionFunctionBase.php
+1 −2 TokenReflection/IReflectionMethod.php
+1 −1 TokenReflection/IReflectionNamespace.php
+1 −1 TokenReflection/IReflectionParameter.php
+1 −1 TokenReflection/IReflectionProperty.php
+1 −1 TokenReflection/Php/IReflection.php
+11 −9 TokenReflection/Php/ReflectionClass.php
+2 −2 TokenReflection/Php/ReflectionConstant.php
+2 −2 TokenReflection/Php/ReflectionExtension.php
+6 −5 TokenReflection/Php/ReflectionFunction.php
+7 −6 TokenReflection/Php/ReflectionMethod.php
+2 −2 TokenReflection/Php/ReflectionParameter.php
+2 −2 TokenReflection/Php/ReflectionProperty.php
+18 −19 TokenReflection/ReflectionAnnotation.php
+11 −11 TokenReflection/ReflectionBase.php
+40 −32 TokenReflection/ReflectionClass.php
+30 −11 TokenReflection/ReflectionConstant.php
+11 −11 TokenReflection/ReflectionFile.php
+10 −10 TokenReflection/ReflectionFileNamespace.php
+10 −9 TokenReflection/ReflectionFunction.php
+17 −14 TokenReflection/ReflectionFunctionBase.php
+25 −13 TokenReflection/ReflectionMethod.php
+9 −9 TokenReflection/ReflectionNamespace.php
+18 −18 TokenReflection/ReflectionParameter.php
+16 −15 TokenReflection/ReflectionProperty.php
+128 −43 TokenReflection/Resolver.php
+50 −0 TokenReflection/Stream/FileStream.php
+26 −29 TokenReflection/Stream/StreamBase.php
+38 −0 TokenReflection/Stream/StringStream.php
+117 −0 build.xml
+10 −0 build/phpcs.xml
+15 −0 build/phpmd.xml
+18 −0 build/phpunit.xml
+8 −4 package.xml
+5 −1 tests/TokenReflection/ReflectionClassTest.php
+483 −1 tests/TokenReflection/ReflectionConstantTest.php
+5 −1 tests/TokenReflection/ReflectionFunctionTest.php
+7 −1 tests/TokenReflection/ReflectionMethodTest.php
+5 −1 tests/TokenReflection/ReflectionParameterTest.php
+9 −1 tests/TokenReflection/ReflectionPropertyTest.php
+49 −23 tests/TokenReflection/Test.php
+1 −1 tests/bootstrap.php
+178 −0 tests/data/constant/magic.php
+133 −0 tests/data/constant/magic54.php
6 changes: 3 additions & 3 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
<email>andrew@apigen.org</email>
<active>yes</active>
</lead>
<date>2011-10-16</date>
<date>2011-10-26</date>
<version>
<release>2.2.0</release>
<release>2.2.1</release>
<api>2.2.0</api>
</version>
<stability>
Expand Down Expand Up @@ -177,7 +177,7 @@
<package>
<name>TokenReflection</name>
<channel>pear.andrewsville.cz</channel>
<min>1.0.0RC1</min>
<min>1.0.0RC2</min>
</package>
</required>
</dependencies>
Expand Down
Binary file modified templates/default/resources/resize.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified templates/frames/resources/resize.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 19d1593

Please sign in to comment.