Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 14, 2011
  1. Merge branch 'release/1.4'

    authored
    * 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.
  2. Bump version to v1.4

    authored
  3. Minor changes to the readme.

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

    authored
    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.
  2. add_path() no longer removes '../'

    authored
    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.
  3. Remove remotve_path() function.

    authored
    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.
Commits on Jun 12, 2011
  1. Merge branch 'feature/paths' into develop

    authored
    * 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.
  2. Document the paths stuff in the readme.

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

    authored
    …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.
Commits on Jun 11, 2011
  1. Merge branch 'release/1.3' into develop

    authored
    * release/1.3:
      Bump version to v1.3
  2. Merge branch 'release/1.3'

    authored
    * 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.
  3. Bump version to v1.3

    authored
  4. Merge branch 'feature/ordered-groups' into develop

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

    authored
    consequences for satisfying JS deps.
  6. Remove declaration of 'global' group.

    authored
    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.
  7. Merge branch 'feature/render-func' into develop

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

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

    authored
    * 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.
  10. Document the ability to pass any non-x (bool, array) value for some

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

    authored
    rather than remember that eg 'false' must be used.
  12. Remove '?$mtime' from filename when rending the file inline.

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

    authored
    * release/1.2:
      Bump version to v1.2
  2. Merge branch 'release/1.2'

    authored
    * 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().
      ...
Something went wrong with that request. Please try again.