Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 20, 2012
  1. @chillu
Commits on Aug 29, 2012
  1. @hafriedlander

    FIX If ClassName read from DB doesnt exist, dont break

    hafriedlander authored
    We know the subclass of a record by its ClassName value, but code changes
    might have meant that class no longer exists. We used to just break,
    but this patch overrides the apparent value of ClassName to be
    one that exists in that situation
Commits on Aug 22, 2012
  1. @hafriedlander

    API Reverse config extra statics control flow

    hafriedlander authored
    Config system used to provide an add_static_source method, which was intended for
    use by Extensions to add statics. But extensions for a class arent initialised
    until at least one instance of that class is created, so before that the
    Config system didnt include values from extensions
    
    This patch reverses the control flow, so that the Config system explictly asks
    each Object for its additional config sources via the new method
    get_extra_config_sources. This method returns an array that can contain
    string names of classes and also raw associative arrays.
    
    The developer visible change is that Extension#add_to_class has been
    deprecated. Instead there is a new method, get_extra_config, which has
    the same method signature but needs to guarantee that it doesnt
    cause side effects. Additionally there is no need to call
    parent::get_extra_config - this is handled automatically.
Commits on Apr 17, 2012
  1. @mateusz
Commits on Apr 14, 2012
  1. @simonwelsh @halkyon

    MINOR Update @package values to match renaming sapphire

    simonwelsh authored halkyon committed
  2. @simonwelsh @halkyon

    API-CHANGE sapphire folder can now be renamed.

    simonwelsh authored halkyon committed
Commits on Feb 12, 2012
  1. Clean up trailing ?> per coding standard

    Fred Condo authored
    All sapphire but the lang directory
Commits on Jan 2, 2012
  1. @chillu

    BUGFIX Improved ClassInfo::ancestry() performance through in-memory c…

    chillu authored
    …aching and removal of unnecessary is_object() check - get_class() will complain if its not passed an object already)
Commits on Dec 16, 2011
  1. @sminnee
Commits on Oct 29, 2011
  1. @sminnee
  2. @sminnee
Commits on Mar 24, 2011
  1. @ajshort

    MINOR: Updated various methods to use new manifest methods rather tha…

    ajshort authored
    …n ManifestBuilder functions or globals.
  2. @ajshort

    MINOR: Updated ClassInfo::allClasses() and ::exists() to use $_CLASS_…

    ajshort authored
    …MANIFEST rather than $_ALL_CLASSES. This means results from ClassInfo::allClasses() are now lowercase.
  3. @ajshort

    API CHANGE: Refactored ClassInfo::subclassesFor() to traverse the chi…

    ajshort authored
    …ld tree, rather than needing to store a list of every classes descendants.
    
    API CHANGE: Updated ClassInfo::subclassesFor() so all the array keys are consistently the same as the values.
  4. @ajshort

    MINOR: Refactored ClassInfo::dataClassesFor() to use existing methods…

    ajshort authored
    … rather than creating the class array itself.
  5. @ajshort

    MINOR: Refactored ClassInfo::ancestry() to use inbuilt PHP methods ra…

    ajshort authored
    …ther than the parent manifest.
  6. @ajshort

    API CHANGE: Refactored ClassInfo::baseDataClass() to use inbuilt PHP …

    ajshort authored
    …methods, and throw an exception if the passed class is not a subclass of DataObject.
Commits on Mar 22, 2011
  1. @ajshort
Commits on Oct 19, 2010
  1. @sminnee

    ENHANCEMENT #5977 Added optional argument to ClassInfo::getValidSubCl…

    sminnee authored
    …asses() and removed harcoded SiteTree (from r110467)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112843 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Oct 13, 2010
  1. @sminnee

    MINOR: recache tables if cache is empty (from r103606)

    sminnee authored
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112152 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Apr 12, 2010
  1. @chillu

    API CHANGE: Don't generate TestOnly DataObjects in the database immed…

    chillu authored
    …iately; instead let test developers specify them in SapphireTest::$extraDataObjects.
    
    API CHANGE: Added SapphireTest::resetDBSchema() (from r90054) (from r96734)
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102356 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Nov 15, 2009
  1. @chillu

    API CHANGE Removed ClassInfo::ready(), use Security::database_is_ready()

    chillu authored
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@91588 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Oct 26, 2009
  1. @ajshort @sminnee

    API CHANGE: Renamed conflicting classes to have an "SS_" namespace, a…

    ajshort authored sminnee committed
    …nd renamed existing "SS" namespace to "SS_". The affected classes are: HTTPRequest, HTTPResponse, Query, Database, SSBacktrace, SSCli, SSDatetime, SSDatetimeTest, SSLog, SSLogTest, SSLogEmailWriter, SSLogErrorEmailFormatter, SSLogErrorFileFormatter, SSLogFileWriter and SSZendLog.
    
    MINOR: Replaced usage of renamed classes with the new namespaced name.
    
    From: Andrew Short <andrewjshort@gmail.com>
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@90075 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Aug 5, 2009
  1. @sminnee

    ENHANCEMENT: Added ClassInfo::is_subclass_of() for better performance

    sminnee authored
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@83789 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Jul 31, 2009
  1. @sminnee

    ENHANCEMENT: Improved performance of ClassInfo::classImplements

    sminnee authored
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@83440 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Jun 30, 2009
  1. @chillu

    ENHANCEMENT Added ClassInfo::classes_for_folder()

    chillu authored
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@80641 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Mar 22, 2009
  1. @chillu

    MINOR phpdoc documentation

    chillu authored
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@73509 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Mar 11, 2009
  1. @geoff-silverstripe

    API CHANGE: "SHOW TABLES" replaced with DB-specific version

    geoff-silverstripe authored
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@72914 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Mar 4, 2009
  1. @ajoneil

    Merged from 2.3

    ajoneil authored
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@72453 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Feb 1, 2009
  1. @ajoneil

    Merged changes from 2.3 branch

    ajoneil authored
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@71172 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Nov 23, 2008
  1. @sminnee

    API CHANGE: Updated DB::manipulate() to be more db-agnostic.

    sminnee authored
    API CHANGE: Moved the meat of SQLQuery's SQL generation into Database::sqlQueryToString(), to be overloaded by different database implementations.
    API CHANGE: Moved the implementation of ClassInfo::hasTable() and ClassInfo::getValidSubClasses() into Database::hasTable() and Database::enumValuesForField(), to be overloaded by different database implementations.
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@66422 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Nov 9, 2008
  1. @sminnee

    BUGFIX: Better initial-site-setup boundary condition checking needed …

    sminnee authored
    …after the manifest builder update
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65469 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Nov 6, 2008
  1. @sminnee

    API CHANGE: Removed manifest's dependency on database, by removing ha…

    sminnee authored
    …stable information [17:47:04]
    
    dquote> API CHANGE: Deprecate ClassInfo::ready() in favour of Security::database_is_ready()
    dquote> API CHANGE: Create DataObject::has_own_table() to determine whether a DataObject has a table without looking at it.
    dquote> API CHANGE: Exclude /tests/ directories from the manifest entirely except when tests are being run.
    dquote> API CHANGE: Added ?usetestmanifest=1 flag to access the test manifest outside of test execution.
    dquote> API CHANGE: Simplified Core.php manifest include to just call ManifestBuilder::include_manifest() - manifest takes care of its own cache file
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65385 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Oct 17, 2008
  1. @chillu

    ENHANCEMENT Added ClassInfo::classes_for_file()

    chillu authored
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64489 467b73ca-7a2a-4603-9d3b-597d59a354a9
Commits on Aug 12, 2008
  1. @sminnee

    Merged changes from 2.2.2-assets - everything except the asset refact…

    sminnee authored
    …oring
    
    git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60468 467b73ca-7a2a-4603-9d3b-597d59a354a9
Something went wrong with that request. Please try again.