Revision:

Revisions

# Date Author Comment
1612 2008-12-11 17:56 k-fish Smarty:
  • fixed two uses of old namespaces syntax
1599 2008-12-10 15:39 k-fish !!! 5.3.0alpha3 namespaces refactoring:
  • changed namespace delimiter from :: to \
  • all class references in namespaced code prepended by \
PHPUnit:
  • adapted mock object handling to the new namespaces syntax
FLOW3:
  • PropertyReflection now uses setAccessible() instead of array cast to access protected properties
PHPCR:
  • added a missing interface already used for type hints
1489 2008-11-11 17:58 bwaidelich
1481 2008-11-11 12:16 robert
  • FLOW3: (Component) Renamed "component" to "object" - everywhere. That means we now have an Object Manager instead of a Component Manager, an Object Factory etc. Resolves #2119

Globally adjusted all code for the above change.

1449 2008-11-07 16:04 robert

COMMIT PART 2

  • FLOW3: Implemented a YAML configuration source, resolves #1852
  • Globally refactored code and converted configuration files to use the new YAML configuration format

Note: FLOW3 is now getting even slower because the whole YAML parsing results are not cached yet.
You can still use .php based configuration but it is recommended to switch over to YAML ASAP.

Documentation and speed improvements follow

1422 2008-11-03 19:23 robert
  • FLOW3: (Component) Renamed the method Component::Factory->getComponent() to Component::Factory->create(). Resolves #1846
  • FLOW3: (Component) Component::Factory->create() will now throw an exception on trying to create a component of scope != prototype
  • FLOW3: (Component) The Component::Manager->getComponent() method can still be used as a last resort to retrieve components of any scope. However dependency injection for singletons and the component factory for prototype should always be the first choice!

Refactored all packages of the TYPO3 distribution to match the above changes.

Note: The test "F3::TYPO3CR::NodeTest::setPropertySetsValue" currently fails on my machine with the following message:

Error in setPropertySetsValue with data set #34 Detail
TYPO3CR/Classes/F3_TYPO3CR_Node.php:577
Unable to convert value of type string to Name: Namespace prefix is invalid
1358 2008-10-14 12:47 bwaidelich
  • Smarty: changed location of compiled/cached Smarty templates by taking FLOW3 context and installation into account. This fixes #1664.
1357 2008-10-14 12:27 bwaidelich
  • Smarty: replaced $smarty->display() to $smarty->fetch() in F3_Smarty_View. This fixes #1709 (thanks to Jochen Rau).
1310 2008-10-02 13:26 k-fish Smarty:
  • added documentation to the smarty plugins
1307 2008-10-02 09:32 bwaidelich
  • Smarty: first working version of Smarty template engine.
  • Smarty: added plugins for link/URI generation. They are making use of the View Helpers (see r1305).
1290 2008-09-26 21:12 k-fish FLOW3:
  • fixed one error in persistence manager test that only showed on Phoenix - whatever
  • some changes to Utility::Environment (have been playing with the superglobals replacement)
Smarty:
  • short-circuited the constructor of the original Smarty class, as it accesses $_SERVER.

When activating the superglobals replacement, all tests run green, except for the memcached backend tests - I have no clue why, yet...

1265 2008-09-19 21:03 k-fish

Smarty: updated svn:externals to point to 2.6.20 (was 2.6.19).

1210 2008-09-12 17:07 k-fish

!!! Major change, will break existing code.

Part 3 - Packages

FLOW3, most other packages:
  • added namespaces to the code of FLOW3 and all packages in the current TYPO3v5 distribution.
PHPUnit:
  • some changes to make PHPUnit (more) namespace-compatible.
Some notes:
  • Documentation updates will follow
  • you might need to change your class names when adapting namespaces to avoid using "Class", "Empty", "Default", ...
  • expect FLOW3CGL and/or PHPCodeSniffer to be broken (I'll have a look)
  • some parts might still be broken, especially in edge-cases where the global namespace needs to explicitly used
1047 2008-07-22 11:46 robert

!!! Important global change !!!

Extracted the getComponent() method from the Component Manager into its own class, the Component Factory. From now on, use the factory if you only need the getComponent() functionality and use the manager if you need the more advanced functions.

1009 2008-07-15 17:07 k-fish FLOW3:
  • Package configuration and settings now need to specify their package and are returned only for the package key given to getConfiguration().
Smarty, TestPackage:
  • Adjusted configuration files accordingly.
862 2008-05-22 15:24 k-fish Further work to make FLOW3 run green in CGL checks:
  • Renamed some abstract classes to conform to rules
  • Adjusted code using those classes
831 2008-05-10 17:43 k-fish

Pending commit, fixes #477.

817 2008-05-09 11:01 root

Moving packages up

735 2008-04-18 18:46 k-fish Fixing (unit test) errors:
  • The Smarty package has been adapted to changes done to the FLOW3 abstract view during T3BOARD08
  • TYPO3CR code and tests have been changed to correctly reuse existing components, fixes some PDO errors
  • Online documentation fixes to TYPO3CR
663 2008-03-25 15:36 robert

Globally renamed the PackageInfo.xml files to Package.xml and updated the FLOW3 code accordingly. Resolves #409.

661 2008-03-25 15:03 robert

Big global change: Renamed the class prefix "T3_" to "F3_". Resolves #423.

660 2008-03-25 13:22 robert
  • FLOW3: Added basic support for Configuration/Packages.php configuration. Still needs proper implementation but it works for now.
  • PHPUnit / Smarty: Adapted the Configuration/Package.php to the new Packages.php format.
  • PHPUnit: A few tweaks for getting the "New" controller to work again.
  • FLOW3: (Package) Renamed the package manager's getPackages() method to getAvailablePackages() and introduced a new method getActivePackages()
  • FLOW3: (Package) Removed parsing of package configuration by the "Package" class.
539 2008-02-20 14:57 robert
  • Replaced declare(encoding = 'utf-8'); by declare(ENCODING = 'utf-8'); in all packages of the current TYPO3v5 distribution. Relates to #265.
  • FLOW3: Sorted tests into subdirectories grouped by the subpackages.
511 2008-02-18 19:59 robert
  • FLOW3: (Component) Removed support for setter injection via generic "setProperty()" method.
  • FLOW3: (Component) Setter injection is now also possible via a "inject" method, e.g. injectSomeDependency() (instead of setSomeDependency). All methods whose name starts with "inject" will be included into the autowiring procedure. Therefore dependencies don't need to be configured explicitly in the Components.ini when "inject" methods are used. Resolves #319.
  • FLOW3: (Component) Added autowiring support for "inject" setter methods. Addresses #319.
  • Smarty: Added check against multiple definition of "SMARTY_DIR"
  • Testing, TYPO3, PhoneBookTutorial: Refactored to the new "inject*" methods in the action controllers.
507 2008-02-18 16:18 robert
  • Smarty: The Smarty View was not in a prototype scope yet - fixed that.
  • Smarty: Added the Smarty Engine class
  • FLOW3: Changed the Abstract View's constructor

1 2 Next » (1-25/32) | Per page: 25, 50, 100, 200