Skip to content
Commits on Jun 14, 2011
  1. Merge branch 'release/1.4'

    * release/1.4:
      Bump version to v1.4
      Minor changes to the readme.
      Exception no longer thrown if asset doesn't exist. A sensible file_get_contents error gets thrown instead, and the check seems a bit unnecessary now that we're not actively searching for the asset.
      Require lock when writing cache file (should have done this a long time ago).
      Slight performance improvement to render_js() and render_css().
      add_path() no longer removes '../'
      Remove remotve_path() function.
      Document the paths stuff in the readme.
      Add method to set the current default path key.
      Changed my mind: The current path key has to be added when the file is added, not when the file is rendered.
      Asset it now searched for in the path specified, rather than all over the place.
      add_path and remove_path now use new path syntax
      Modify config file syntax for paths, to require path keys.
      Fuel_Exception was being looked for in the Casset namespace, rather than the global one.
    committed Jun 14, 2011
  2. Bump version to v1.4

    committed Jun 14, 2011
  3. Minor changes to the readme.

    committed Jun 14, 2011
Commits on Jun 13, 2011
  1. Exception no longer thrown if asset doesn't exist.

    A sensible file_get_contents error gets thrown instead, and the check
    seems a bit unnecessary now that we're not actively searching for the
    asset.
    committed Jun 13, 2011
  2. add_path() no longer removes '../'

    I can only ever see someone using an asset name with "../" in the name
    if they're confused. In that case, stripping the "../" is unlikely to
    fix anything and very likely to add to the confusion.
    committed Jun 13, 2011
  3. Remove remotve_path() function.

    Since we no longer search through the path for an asset, but instead use
    the namespacing stuff, there's no gain in removing a path.
    Instead, removing a path might cause confusing when an asset in that
    path fails to load.
    committed Jun 13, 2011
Commits on Jun 12, 2011
  1. Merge branch 'feature/paths' into develop

    * feature/paths:
      Document the paths stuff in the readme.
      Add method to set the current default path key.
      Changed my mind: The current path key has to be added when the file is added, not when the file is rendered.
      Asset it now searched for in the path specified, rather than all over the place.
      add_path and remove_path now use new path syntax
      Modify config file syntax for paths, to require path keys.
    committed Jun 12, 2011
  2. Document the paths stuff in the readme.

    Fix problems with markdown in readme
    committed Jun 12, 2011
  3. Changed my mind: The current path key has to be added when the file i…

    …s added, not when the file is rendered.
    
    This meant that add_asset would incorrectly decide that a filename
    didn't have a path key on, and add an extra one accordingly.
    committed Jun 12, 2011
Commits on Jun 11, 2011
  1. Merge branch 'release/1.3' into develop

    * release/1.3:
      Bump version to v1.3
    committed Jun 11, 2011
  2. Merge branch 'release/1.3'

    * release/1.3:
      Bump version to v1.3
      Document order in which files and groups are rendered, and the consequences for satisfying JS deps.
      Remove declaration of 'global' group.
      Document render() function in readme
      Create render() function, which calls render_css() then render_js().
      Some functions weren't declared static. PHP man claims E_STICT should be thrown, but that didn't happen. Fixed anyway!
      Add instrunctions on how to load casset to the readme.
      Document the ability to pass any non-x (bool, array) value for some default function arguments.
      Allow the user to enter any value for some function argument defaults, rather than remember that eg 'false' must be used.
      Add "Comparison to Assetic" section to the readme.
      Remove extra forward slash from file path when rending a minified file inline.
      Remove '?$mtime' from filename when rending the file inline.
    committed Jun 11, 2011
  3. Bump version to v1.3

    committed Jun 11, 2011
  4. Merge branch 'feature/ordered-groups' into develop

    * feature/ordered-groups:
      Document order in which files and groups are rendered, and the consequences for satisfying JS deps.
      Remove declaration of 'global' group.
    committed Jun 11, 2011
  5. Document order in which files and groups are rendered, and the

    consequences for satisfying JS deps.
    committed Jun 11, 2011
  6. Remove declaration of 'global' group.

    The upshot of this is that the global group is now created when a file
    is first added to it, rather than at the beginning of the program.
    Since groups are rendered in the order in which they appear in the
    groups array, this means that non-global groups can be rendered first,
    which might be useful for satisfying dependancies.
    committed Jun 11, 2011
  7. Merge branch 'feature/render-func' into develop

    * feature/render-func:
      Document render() function in readme
      Create render() function, which calls render_css() then render_js().
    committed Jun 11, 2011
  8. Some functions weren't declared static. PHP man claims E_STICT

    should be thrown, but that didn't happen. Fixed anyway!
    committed Jun 11, 2011
  9. Merge branch 'feature/func-args' into develop

    * feature/func-args:
      Document the ability to pass any non-x (bool, array) value for some default function arguments.
      Allow the user to enter any value for some function argument defaults, rather than remember that eg 'false' must be used.
    committed Jun 11, 2011
  10. Document the ability to pass any non-x (bool, array) value for some

    default function arguments.
    committed Jun 11, 2011
  11. Allow the user to enter any value for some function argument defaults,

    rather than remember that eg 'false' must be used.
    committed Jun 11, 2011
  12. Remove '?$mtime' from filename when rending the file inline.

    Was causing a bug where the file couldn't be opened for reading.
    committed Jun 11, 2011
Commits on Jun 9, 2011
  1. Merge branch 'release/1.2' into develop

    * release/1.2:
      Bump version to v1.2
    committed Jun 9, 2011
  2. Merge branch 'release/1.2'

    * release/1.2: (24 commits)
      Bump version to v1.2
      Bootstrap now properly aligned using spaces
      Forgot to add the docblock header to the config file
      Document cache-clearing in the readme.
      Add functions to remove cache files.
      Document file order stuff in the readme.
      File order is preserved for javascript files -- css files are sorted.
      Somehow namespacing was incorrect inside of jsmin. Fixed!
      Document change to enable()/disable() in readme.
      enable() and the rest of the family will now accept an array of groups as well as a single group.
      Add copyright notice and copy of MIT license.
      Move LICENSE.txt -> LICENSE
      Change installation instructions to take account of the fact that Casset is now a package.
      Add an updated docblock to the top of all files.
      Add very basic bootstrap.php, allowing Casset to behave as a fuel package.
      Namespace everything to the 'Casset' namespace.
      Changes to the minifications and examples sections of the readme, for clarity.
      Fix another mistake in the "extra attributes" section of the readme
      Readme example in basic usage of what will happen if minification is turned off.
      Update ther readme to reflect the changes to img().
      ...
    committed Jun 9, 2011
Something went wrong with that request. Please try again.