Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Mar 31, 2014
  1. @dbs

    Make composer.json actually work

    dbs authored
    We need to pull in PEAR/PEAR_Exception to make Composer happy.
    So do that.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
Commits on Feb 18, 2014
  1. @dbs

    Add a useful description and author homepage

    dbs authored
    Signed-off-by: Dan Scott <dan@coffeecode.net>
  2. @till @dbs

    Enhancement: composer setup

    till authored dbs committed
    Signed-off-by: Dan Scott <dan@coffeecode.net>
Commits on Jan 28, 2014
  1. @dbs

    Fix MARC-in-JSON serialization of subfield 0

    dbs authored
    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>
  2. @dbs

    Get package.xml up to date with 1.1.0

    dbs authored
    Signed-off-by: Dan Scott <dan@coffeecode.net>
Commits on Jan 19, 2014
  1. @dbs

    Prep for 1.1.0 release

    dbs authored
    Signed-off-by: Dan Scott <dan@coffeecode.net>
  2. @dbs

    Correct CodeSniffer errors in File/MARCXML

    dbs authored
    Gotta have those spaces after commas!
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
  3. @dbs

    Remove skip check for Structures/Linked_List

    dbs authored
    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>
Commits on Dec 19, 2013
  1. @cKlee
  2. @cKlee
Commits on Nov 28, 2013
  1. @dbs

    Package for 1.0.2 release

    dbs authored
    Signed-off-by: Dan Scott <dan@coffeecode.net>
  2. @dbs

    MARC_Lint update from Demian Katz for latest MARC rules

    dbs authored
    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>
Commits on Nov 13, 2013
  1. @dbs

    Name marc_xml_010 unit test correctly. Sigh.

    dbs authored
    Signed-off-by: Dan Scott <dan@coffeecode.net>
  2. @dbs

    Test iteration over MARCXML fields with repeated subfields

    dbs authored
    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>
Commits on Oct 30, 2013
  1. @dbs

    Prepare for 1.0.1 release

    dbs authored
    Signed-off-by: Dan Scott <dan@coffeecode.net>
  2. @dbs

    Fix problem reported by Mark Jordan in toRaw() output

    dbs authored
    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>
Commits on Oct 4, 2013
  1. @dbs

    First stable release!

    dbs authored
    Signed-off-by: Dan Scott <dan@coffeecode.net>
Commits on Oct 2, 2013
  1. @dbs

    Updated PHP_CodeSniffer compliance

    dbs authored
    Signed-off-by: Dan Scott <dan@coffeecode.net>
  2. @dbs

    Remove dependency on Structures_LinkedList

    dbs authored
    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>
Commits on Sep 13, 2013
  1. @dbs

    Prep for 0.7.3 release

    dbs authored
    Signed-off-by: Dan Scott <dan@coffeecode.net>
  2. @dbs

    Update tests to match record namespace declaration

    dbs authored
    Signed-off-by: Dan Scott <dan@coffeecode.net>
  3. @librarywebchic @dbs

    Always define namespace for record elements

    librarywebchic authored dbs committed
    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>
Commits on Sep 3, 2013
  1. @dbs

    Finalize release 0.7.2 for bug 19845

    dbs authored
    Signed-off-by: Dan Scott <dan@coffeecode.net>
Commits on Mar 22, 2013
  1. @dbs

    Close bug # 19845 Record::toXML returns nothing

    dbs authored
    When the toXML() routine was refactored, a dangling reference to a
    non-existent variable was left behind. In addition, we were able to
    improve the toXML() routine such that it returns XML without
    automatically printing it. Thanks to jfragoulis for reporting this
    problem and offering a suggested fix.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
Commits on May 29, 2012
  1. @dbs

    Skip MARC_Lint tests if Validate_ISPN is missing

    dbs authored
    Avoid bogus FAILED messages for unit tests if the optional Validate_ISPN
    package has not been installed.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
  2. @dbs

    Add test case for uppercase subfield codes

    dbs authored
    Ross Singer reported a problem parsing a particular record that had
    uppercase subfield codes - parsing failed with the error message:
    "Maximum function nesting level of '100' reached, aborting! in
    LinkedList"
    
    Googling suggests this is related to xdebug usage, but having a test
    case certainly can't hurt. FWIW, this test case passes on Fedora 17 with
    PHP 5.4.3.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
Commits on Apr 10, 2012
  1. @CloCkWeRX
Commits on Apr 7, 2012
  1. Mark Validate_ISPN as an optional dependency

    Dan Scott authored
    Only if you're running File_MARC_Lint is Validate_ISPN required;
    therefore, let's mark it as optional.
    
    
    
    git-svn-id: https://svn.php.net/repository/pear/packages/File_MARC/trunk@324946 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Set binary property on camel.mrc

    Dan Scott authored
    git-svn-id: https://svn.php.net/repository/pear/packages/File_MARC/trunk@324945 c90b9560-bf6c-de11-be94-00142212c4b1
  3. Add File_MARC_Lint for MARC syntax checking

    Dan Scott authored
    Many thanks to Demian Katz <demian.katz@villanova.edu> for the contribution of
    File_MARC_Lint. This gives users an easy way to check the validity of their
    USMARC records.
    
    Accordingly, we're bumping the version to 0.7.0 and adding Validate_ISPN to the
    dependencies list.
    
    
    
    git-svn-id: https://svn.php.net/repository/pear/packages/File_MARC/trunk@324943 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Nov 15, 2011
  1. Fix description of marc_010 test

    Dan Scott authored
    The cool part is that we're iterating over a stream. Flaunt it.
    
    
    git-svn-id: https://svn.php.net/repository/pear/packages/File_MARC/trunk@319227 c90b9560-bf6c-de11-be94-00142212c4b1
  2. #19003 : Use appropriate operator for bitwise operation

    Dan Scott authored
    Thanks to Daniel Convissor for catching this long-standing problem.
    
    
    git-svn-id: https://svn.php.net/repository/pear/packages/File_MARC/trunk@319226 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Feb 8, 2011
  1. Improve handling of overly long leaders as sometimes happens with MAR…

    Dan Scott authored
    …CXML
    
    Rather than generating MARC records with correspondingly overly long
    leaders, which confuses many other MARC parsing tools greatly, truncate
    the leader at 24 chars and move on. It's mangled, there's not much more
    we can do about the leader, but at least there's a chance the directory
    can be salvaged.
    
    
    git-svn-id: https://svn.php.net/repository/pear/packages/File_MARC/trunk@308146 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Add "skipif.inc" to the package (doh)

    Dan Scott authored
    git-svn-id: https://svn.php.net/repository/pear/packages/File_MARC/trunk@308145 c90b9560-bf6c-de11-be94-00142212c4b1
  3. PEAR 18251: fix for checking the record length

    Dan Scott authored
    Apply Christian Rishøj's patch for checking the record length to avoid
    using the result of the regex if it doesn't match.
    
    In addition, prefer the actual length of the record to the declared
    length of the record, and add a warning when that condition occurs.
    
    
    git-svn-id: https://svn.php.net/repository/pear/packages/File_MARC/trunk@308144 c90b9560-bf6c-de11-be94-00142212c4b1
Something went wrong with that request. Please try again.