Permalink
Browse files

Implementing new file system

  • Loading branch information...
1 parent d9205b8 commit 95c0b9b609fcad9ac97dde10b4851a412555cd3c @chdemko committed Mar 18, 2012
Showing with 8,985 additions and 0 deletions.
  1. +2 −0 docs/manual/en-US/chapters/packages.xml
  2. +541 −0 docs/manual/en-US/chapters/packages/filesystem.xml
  3. +492 −0 libraries/joomla/filesystem/accessor.php
  4. +64 −0 libraries/joomla/filesystem/accessor/character.php
  5. +110 −0 libraries/joomla/filesystem/accessor/contents.php
  6. +135 −0 libraries/joomla/filesystem/accessor/csv.php
  7. +58 −0 libraries/joomla/filesystem/accessor/formatted.php
  8. +139 −0 libraries/joomla/filesystem/accessor/ini.php
  9. +139 −0 libraries/joomla/filesystem/accessor/json.php
  10. +155 −0 libraries/joomla/filesystem/accessor/line.php
  11. +122 −0 libraries/joomla/filesystem/accessor/serializable.php
  12. +61 −0 libraries/joomla/filesystem/accessor/xml.php
  13. +1,007 −0 libraries/joomla/filesystem/element.php
  14. +329 −0 libraries/joomla/filesystem/element/directory.php
  15. +285 −0 libraries/joomla/filesystem/element/directory/contents.php
  16. +133 −0 libraries/joomla/filesystem/element/directory/directories.php
  17. +167 −0 libraries/joomla/filesystem/element/directory/files.php
  18. +602 −0 libraries/joomla/filesystem/element/file.php
  19. +112 −0 libraries/joomla/filesystem/element/file/iterator.php
  20. +197 −0 libraries/joomla/filesystem/filesystem.php
  21. +72 −0 tests/core/case/filesystem.php
  22. +385 −0 tests/core/case/filesystem/accessor.php
  23. +65 −0 tests/core/case/filesystem/accessor/character.php
  24. +96 −0 tests/core/case/filesystem/accessor/contents.php
  25. +118 −0 tests/core/case/filesystem/accessor/csv.php
  26. +63 −0 tests/core/case/filesystem/accessor/formatted.php
  27. +93 −0 tests/core/case/filesystem/accessor/ini.php
  28. +102 −0 tests/core/case/filesystem/accessor/json.php
  29. +126 −0 tests/core/case/filesystem/accessor/line.php
  30. +118 −0 tests/core/case/filesystem/accessor/serializable.php
  31. +68 −0 tests/core/case/filesystem/accessor/xml.php
  32. +546 −0 tests/core/case/filesystem/element/directory.php
  33. +974 −0 tests/core/case/filesystem/element/file.php
  34. +102 −0 tests/core/case/filesystem/stubs/testcontent.php
  35. +34 −0 tests/core/case/filesystem/system/ftp.php
  36. +25 −0 tests/core/case/filesystem/system/php.php
  37. +21 −0 tests/suites/filesystem/ftp/JFilesystemAccessorTest.php
  38. +21 −0 tests/suites/filesystem/ftp/accessor/JFilesystemAccessorCharacterTest.php
  39. +21 −0 tests/suites/filesystem/ftp/accessor/JFilesystemAccessorContentsTest.php
  40. +21 −0 tests/suites/filesystem/ftp/accessor/JFilesystemAccessorCsvTest.php
  41. +21 −0 tests/suites/filesystem/ftp/accessor/JFilesystemAccessorFormattedTest.php
  42. +21 −0 tests/suites/filesystem/ftp/accessor/JFilesystemAccessorIniTest.php
  43. +21 −0 tests/suites/filesystem/ftp/accessor/JFilesystemAccessorJsonTest.php
  44. +21 −0 tests/suites/filesystem/ftp/accessor/JFilesystemAccessorLineTest.php
  45. +21 −0 tests/suites/filesystem/ftp/accessor/JFilesystemAccessorSerializableTest.php
  46. +21 −0 tests/suites/filesystem/ftp/accessor/JFilesystemAccessorXmlTest.php
  47. +21 −0 tests/suites/filesystem/ftp/element/JFilesystemElementDirectoryTest.php
  48. +21 −0 tests/suites/filesystem/ftp/element/JFilesystemElementFileTest.php
  49. +21 −0 tests/suites/unit/joomla/filesystem/JFilesystemAccessorTest.php
  50. +171 −0 tests/suites/unit/joomla/filesystem/JFilesystemTest.php
  51. +21 −0 tests/suites/unit/joomla/filesystem/accessor/JFilesystemAccessorCharacterTest.php
  52. +47 −0 tests/suites/unit/joomla/filesystem/accessor/JFilesystemAccessorContentsTest.php
  53. +21 −0 tests/suites/unit/joomla/filesystem/accessor/JFilesystemAccessorCsvTest.php
  54. +21 −0 tests/suites/unit/joomla/filesystem/accessor/JFilesystemAccessorFormattedTest.php
  55. +21 −0 tests/suites/unit/joomla/filesystem/accessor/JFilesystemAccessorIniTest.php
  56. +21 −0 tests/suites/unit/joomla/filesystem/accessor/JFilesystemAccessorJsonTest.php
  57. +21 −0 tests/suites/unit/joomla/filesystem/accessor/JFilesystemAccessorLineTest.php
  58. +21 −0 tests/suites/unit/joomla/filesystem/accessor/JFilesystemAccessorSerializableTest.php
  59. +21 −0 tests/suites/unit/joomla/filesystem/accessor/JFilesystemAccessorXmlTest.php
  60. +163 −0 tests/suites/unit/joomla/filesystem/element/JFilesystemElementDirectoryTest.php
  61. +326 −0 tests/suites/unit/joomla/filesystem/element/JFilesystemElementFileTest.php
@@ -14,4 +14,6 @@
<xi:include href="packages/input.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="packages/log.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+ <xi:include href="packages/filesystem.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</chapter>
Oops, something went wrong.

1 comment on commit 95c0b9b

This is beautiful. Once we learn how to use JFileSystemElement - that should be very powerful.

Excellent stand alone package - will get a lot of us in this world.

Any reason not to simply bring in Jxmlelement? Appears to be the only dependency.

Will be interested in seeing how JRegistry is adapted for this class. Seems like it could be simplified. It's another great piece of code.

Please sign in to comment.