Permalink
Commits on Jan 23, 2017
  1. Drop PHP 5.4 from Travis

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Jan 23, 2017
  2. Make PHP 5.5 minimum required version

    5.5 end of life (EOL) was July 2016, but we can continue to support it.
    
    5.4 EOL was September 2015, and we are dropping it.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Jan 23, 2017
  3. Package tweaks for 1.1.4 release

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Jan 23, 2017
  4. Fix incorrect insertField() behaviour

    Our transition to SplDoublyLinkedList used the old insertNode()
    implementation, which was overly complex and insufficiently tested.
    As a result, an insertField() call could truncate a record.
    
    Switch instead to the native SplDoublyLinkedList method for adding nodes
    at the specified index, and a corresponding test. This simplifies the
    code significantly and makes the library much more robust.
    
    Thanks to Andreas Roussos for reporting this bug!
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Jan 23, 2017
Commits on Nov 22, 2016
  1. Merge pull request #8 from kocher/kocher-phpdoc-getSubfields

    Update Data_Field.php
    dbs committed on GitHub Nov 22, 2016
Commits on Oct 26, 2016
  1. Update Data_Field.php

    kocher committed on GitHub Oct 26, 2016
Commits on Aug 31, 2016
  1. Package tweaks for the 1.1.3 release

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Aug 31, 2016
  2. New convenience method getContents

    Thanks to Carsten Klee for the contribution of this convenience method.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    cKlee committed with dbs Jul 14, 2016
Commits on Sep 1, 2015
  1. Release 1.1.2 for composer support

    Use packagist pear_exception 1.0.0 release.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Sep 1, 2015
Commits on Aug 25, 2015
  1. PHP 5.3 isn't supported any more

    Let's ditch PHP 5.3 support from travis runs, as they're giving us
    problems under travis for mysterious reasons. 5.3 isn't a supported
    release anymore anyway.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Aug 25, 2015
  2. Composer: Fetch pear_exception from Packagist

    Signed-off-by: Dan Michael O. Heggø <danmichaelo@gmail.com>
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    danmichaelo committed with dbs Aug 25, 2015
  3. Try out this Travis thing

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Aug 25, 2015
Commits on Mar 31, 2014
  1. Make composer.json actually work

    We need to pull in PEAR/PEAR_Exception to make Composer happy.
    So do that.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Mar 31, 2014
Commits on Feb 18, 2014
  1. Add a useful description and author homepage

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Feb 18, 2014
  2. Enhancement: composer setup

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    till committed with dbs Feb 17, 2014
Commits on Jan 28, 2014
  1. Fix MARC-in-JSON serialization of subfield 0

    Work around json_encode()'s inability to express array keys as stringified keys
    (and thus objects, in keeping with the MARC-in-JSON specification) in the
    _specific_ case of 0, via a (yes) regex.
    
    Now I have *E#(*DSNFSD( problems...
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Jan 28, 2014
  2. Get package.xml up to date with 1.1.0

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Jan 28, 2014
Commits on Jan 19, 2014
  1. Prep for 1.1.0 release

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Jan 19, 2014
  2. Correct CodeSniffer errors in File/MARCXML

    Gotta have those spaces after commas!
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Jan 19, 2014
  3. Remove skip check for Structures/Linked_List

    We removed the dependency on Structures/Linked_List a few releases
    ago; finally tested on a clean system and noticed this!
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Jan 19, 2014
Commits on Dec 19, 2013
Commits on Nov 28, 2013
  1. Package for 1.0.2 release

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Nov 28, 2013
  2. MARC_Lint update from Demian Katz for latest MARC rules

    The Perl MARC::Lint set of rules has been updated in various places,
    including RDA changes. Sync up with the Perl MARC::Lint set of MARC
    rules.
    
    Thanks to Demian Katz <demian.katz@villanova.edu> for providing this
    update!
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Nov 28, 2013
Commits on Nov 13, 2013
  1. Name marc_xml_010 unit test correctly. Sigh.

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Nov 13, 2013
  2. Test iteration over MARCXML fields with repeated subfields

    A user was having trouble iterating over a MARC datafield containing
    repeated subfields, which exposed that our unit tests lack such a
    scenario. Add a unit test scenario to show that at least the basic
    functions work.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Nov 13, 2013
Commits on Oct 30, 2013
  1. Prepare for 1.0.1 release

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Oct 30, 2013
  2. Fix problem reported by Mark Jordan in toRaw() output

    We were using a test for the existence of data that stumbled upon ye
    olde PHP interpretation of "string '0' is FALSE" which ended up
    generating corrupted MARC binary output.
    
    Add a unit test, using UUENCODE to avoid problems with binary file
    encodings. You can decode it if you fear that it is not a valid MARC
    file :)
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Oct 30, 2013
Commits on Oct 4, 2013
  1. First stable release!

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Oct 4, 2013
Commits on Oct 2, 2013
  1. Updated PHP_CodeSniffer compliance

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Oct 2, 2013
  2. Remove dependency on Structures_LinkedList

    Use the native SplDoublyLinkedList implementation rather than the
    pure-PHP Structures_LinkedList package, in theory to gain performance
    and robustness bonuses, while reducing dependencies.
    
    As SplDoublyLinkedList does not offer an add() method until PHP 5.5.0,
    we need to implement our own insert methods. Still much less code than
    having to rely on Structures_LinkedList.
    
    SplDoublyLinkedList was not integrated until PHP 5.3.0, so bump the
    minimum PHP version accordingly.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    
    All unit tests passing again
    
    Still need to sort out the proper location of get/setPosition but
    working well enough for now.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Oct 2, 2013
Commits on Sep 13, 2013
  1. Prep for 0.7.3 release

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Sep 13, 2013
  2. Update tests to match record namespace declaration

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Sep 13, 2013
  3. Always define namespace for record elements

    Changed toXML to make sure when it is render both with and without a
    collection element that the MARC namespace is present.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    librarywebchic committed with dbs Sep 4, 2013
Commits on Sep 3, 2013
  1. Finalize release 0.7.2 for bug 19845

    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Sep 3, 2013