Task #678

Apply PHP5 namespaces

Added by Davide Principi over 9 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:11/23/2011
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:Sigma

nsapply.awk - Add @namespace@ declaration. Pass -v option to gawk "-v Namespace=..." (459 Bytes) Davide Principi, 11/23/2011 02:50 PM

nethgui_ns.sed - classes and interfaces symbol substitution (17.8 KB) Davide Principi, 11/23/2011 02:50 PM

license.awk - Add license notice after @namespace@ declaration (696 Bytes) Davide Principi, 11/24/2011 02:10 PM

nsprefix.awk (361 Bytes) Davide Principi, 11/24/2011 02:10 PM

fixtest.awk - Applies namespace to Test package (978 Bytes) Davide Principi, 11/24/2011 02:10 PM

Associated revisions

Revision 63794fff
Added by Davide Principi over 9 years ago

Replaced extended class names with namespaced class names. Refs #678 - Apply PHP5 namespaces

Revision d28864c9
Added by Davide Principi over 9 years ago

Support for namespaces in class autoloader. Refs #678 - Apply PHP5 namespaces

Revision 85d47e54
Added by Davide Principi over 9 years ago

Added namespace declarations. Refs #678 Apply PHP5 namespaces

Revision f75babac
Added by Davide Principi over 9 years ago

Tweaked absolute namespace names. Refs #678 - Apply PHP5 namespaces

Revision ff21f716
Added by Davide Principi over 9 years ago

Renamed "Abstract" module class name to AbstractModule. Refs #678

"abstract" is a PHP reserved keyword.

Revision 5fc38596
Added by Davide Principi over 9 years ago

Renamed Renderer\Abstract class into Renderer\AbstractRenderer. Refs #678

  • Substituted Abstract with Xhtml in typed arguments

Revision 7347b263
Added by Davide Principi over 9 years ago

Fixed global namespace .. Refs #678.

Revision 32ab20c7
Added by Davide Principi over 9 years ago

Fixed some global namespace references. Refs #678..

Revision 5ae019c6
Added by Davide Principi over 9 years ago

Fixed ArrayObject User\Plugin loadChildren().. Refs #678

Revision 60a7f1eb
Added by Davide Principi over 9 years ago

Fixed Nethgui/Widget package . Refs #678

Revision d90afc81
Added by Davide Principi over 9 years ago

Renamed Widget/Xhtml into Widget/XhtmlWidget to avoid name clashes. Refs #678

Revision e9b09b48
Added by Davide Principi over 9 years ago

Other namespace issues fixed. Refs #678

Revision 52f87d1b
Added by Davide Principi over 9 years ago

Help: fixed help file name parsing. Refs #678 - Apply PHP5 namespaces

Revision d014c8d7
Added by Davide Principi over 9 years ago

Removed all @package and @subpackage annotations. Refs #678 - Apply PHP5 namespaces

Revision 119b7be7
Added by Davide Principi over 9 years ago

Added license notice in any namespaced script. Refs #678.

  • Added missing User plugin Ssh

Revision 4fe309ee
Added by Davide Principi over 9 years ago

Changed API generator to PEAR PHP_UML package. Refs #678

Revision 3161eb71
Added by Davide Principi over 9 years ago

Fixed Test namespaces. Refs #678

Revision ee1e0c73
Added by Davide Principi over 9 years ago

All tests green. Refs #678 - Apply PHP5 namespaces

Revision a4370a73
Added by Davide Principi over 9 years ago

Removed @ignore and @internal annotations. Refs #678

Revision 5c676d01
Added by Davide Principi over 9 years ago

Fixed Exception types and throw statements. Refs #678

All exception $code argument set to Unix timestamp. See http://flow3.typo3.org/documentation/codingguidelines/php.html#throwing-an-exception

Revision 61e0bca6
Added by Davide Principi over 9 years ago

Removed `NETHGUI_` constants. Refs #678

Revision cc36f83d
Added by Davide Principi over 9 years ago

View: fixed url generators; all tests green. Refs #678 - Apply PHP5 namespaces

History

#1 Updated by Davide Principi over 9 years ago

#2 Updated by Davide Principi over 9 years ago

#3 Updated by Davide Principi over 9 years ago

emacs php-mode namespace-compatible

https://github.com/ejmr/php-mode.git

#4 Updated by Davide Principi over 9 years ago

  • Status changed from ON_DEV to CLOSED

Also available in: Atom PDF