My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Earlier this year

  • Nov 02, 2009
    r78 (Moved some code around) committed by Luke.Visinoni   -   Moved some code around
    Moved some code around
  • Sep 15, 2009
    r77 (Just fixed a typo in comments) committed by Luke.Visinoni   -   Just fixed a typo in comments
    Just fixed a typo in comments
  • Sep 15, 2009
    r76 (Got all unit tests working again after changing quite a bit ...) committed by Luke.Visinoni   -   Got all unit tests working again after changing quite a bit of how the internals work, such as using Csv_AutoDetect instead of doing all of that work in Csv_Reader.
    Got all unit tests working again after changing quite a bit of how the internals work, such as using Csv_AutoDetect instead of doing all of that work in Csv_Reader.
  • Jun 17, 2009
    issue 13 (to_array associative array) reported by marvinyoingco   -   In the document, as CSV mapper is mentioned but I couldn't find it so I did my own simple stuff to implement a simple one. Just added this short code to return associative array with the 1st column(which is the header of the CSV file) as the key. /** * Returns csv data as an array * @todo if first param is set to true the header row is used as keys */ public function toArray($to_assoc=false) { $return = array(); foreach ($this as $row) { if($to_assoc) { if($this->position > 0) { $row = array_combine($return[0],$row); } } $return[] = $row; } // be kinds, please rewind $this->rewind(); return $return; }
    In the document, as CSV mapper is mentioned but I couldn't find it so I did my own simple stuff to implement a simple one. Just added this short code to return associative array with the 1st column(which is the header of the CSV file) as the key. /** * Returns csv data as an array * @todo if first param is set to true the header row is used as keys */ public function toArray($to_assoc=false) { $return = array(); foreach ($this as $row) { if($to_assoc) { if($this->position > 0) { $row = array_combine($return[0],$row); } } $return[] = $row; } // be kinds, please rewind $this->rewind(); return $return; }

Older

  • Oct 25, 2008
    issue 12 (Can't use Csv_Reader in php 5.1.6. Prodlem with the order of...) reported by dmitry.hohlov   -   When I'm trying to use Csv_Reader class, php tells nothing and nothing after 'new Csv_Reader...' line can work. After debugging code line by line, I see, that this (file Csv/Reader.php, line 15): require_once 'Csv/Reader/String.php'; occurs before class Csv_Reader defines. But in file Csv/Reader/String.php this class is used as base for Csv_Reader_String. And here comes an error, that Csv_Reader not defined. (It's interesting why this error not printed whithout debugging.) Using PHP Csv Utilities revision 75 with php 5.1.6 on Windows. Also I'm using __autoload function, but I think that doesn't matter.
    When I'm trying to use Csv_Reader class, php tells nothing and nothing after 'new Csv_Reader...' line can work. After debugging code line by line, I see, that this (file Csv/Reader.php, line 15): require_once 'Csv/Reader/String.php'; occurs before class Csv_Reader defines. But in file Csv/Reader/String.php this class is used as base for Csv_Reader_String. And here comes an error, that Csv_Reader not defined. (It's interesting why this error not printed whithout debugging.) Using PHP Csv Utilities revision 75 with php 5.1.6 on Windows. Also I'm using __autoload function, but I think that doesn't matter.
  • Oct 08, 2008
    r75 (This is the commit that reminded me that Csv_AutoDetect is n...) committed by Luke.Visinoni   -   This is the commit that reminded me that Csv_AutoDetect is necessary
    This is the commit that reminded me that Csv_AutoDetect is necessary
  • Oct 08, 2008
    r74 (totally instable) committed by Luke.Visinoni   -   totally instable
    totally instable
  • Oct 08, 2008
    r73 (Added first test to new, more organized test suite (newtests...) committed by Luke.Visinoni   -   Added first test to new, more organized test suite (newtests, which will eventually be tests again)
    Added first test to new, more organized test suite (newtests, which will eventually be tests again)
  • Oct 08, 2008
    r72 (removed smoke tests - they were no longer relevant, and prob...) committed by Luke.Visinoni   -   removed smoke tests - they were no longer relevant, and probably never were
    removed smoke tests - they were no longer relevant, and probably never were
  • Oct 08, 2008
    issue 5 (Csv_Writer needs to be capable of just outputting the csv to...) commented on by Luke.Visinoni   -   It would probably be better to do Csv_Reader::toBrowser() or something
    It would probably be better to do Csv_Reader::toBrowser() or something
  • Oct 08, 2008
    issue 11 (Preserve Spaces) reported by Luke.Visinoni   -   Csv_Dialect should be able to specify what Csv_Reader and Csv_Writer should do with leading and trailing whitespace. Right now it is ignored I believe.
    Csv_Dialect should be able to specify what Csv_Reader and Csv_Writer should do with leading and trailing whitespace. Right now it is ignored I believe.
  • Oct 08, 2008
    issue 10 (Rewrite documentation) reported by Luke.Visinoni   -   Documentation needs to be rewritten and reorganized. Use the wiki on Google Code for now to write documentation and tutorials. I propose this structure: 1) Overview - go over the background and philosophy of the library 2) Components - document every public method of every component 3) Tutorials - write a series of tutorials that shows users how to do just about anything the library is capable of I think this would be a lot more effective documentation strategy. Eventually, I'd like to use my documentation software to create and maintain documentation.
    Documentation needs to be rewritten and reorganized. Use the wiki on Google Code for now to write documentation and tutorials. I propose this structure: 1) Overview - go over the background and philosophy of the library 2) Components - document every public method of every component 3) Tutorials - write a series of tutorials that shows users how to do just about anything the library is capable of I think this would be a lot more effective documentation strategy. Eventually, I'd like to use my documentation software to create and maintain documentation.
  • Oct 08, 2008
    issue 9 (Rewrite tests) reported by Luke.Visinoni   -   The entire test suite needs to be rewritten. In fact, I think it would be a really good idea to start from scratch (in a new branch) and tdd the development of this thing.
    The entire test suite needs to be rewritten. In fact, I think it would be a really good idea to start from scratch (in a new branch) and tdd the development of this thing.
  • Oct 08, 2008
    issue 8 (When using Csv_Dialect::QUOTE_NONNUMERIC, it includes decima...) reported by Luke.Visinoni   -   When specifying for Csv_Writer to write with QUOTE_NONNUMERIC, it will quote decimal values (which I believe is incorrect)
    When specifying for Csv_Writer to write with QUOTE_NONNUMERIC, it will quote decimal values (which I believe is incorrect)
  • Oct 08, 2008
    r71 (added Docs test - to test documentation code examples - noti...) committed by Luke.Visinoni   -   added Docs test - to test documentation code examples - noticed while trying to write these that there are major issues with the library and how it works.
    added Docs test - to test documentation code examples - noticed while trying to write these that there are major issues with the library and how it works.
  • Oct 08, 2008
    issue 7 (While trying to test the documentation code examples...) reported by Luke.Visinoni   -   I found that it is going to be necessary to completely rewrite the unit tests before version 0.3 can be released. There are suddenly major issues with the consistency of the interface, consistency in behavior, etc. Rewrite all tests.
    I found that it is going to be necessary to completely rewrite the unit tests before version 0.3 can be released. There are suddenly major issues with the consistency of the interface, consistency in behavior, etc. Rewrite all tests.
  • Oct 07, 2008
    r70 (updated docs) committed by Luke.Visinoni   -   updated docs
    updated docs
  • Oct 07, 2008
    r69 (Added pdf docs - this needs to be updated every time the doc...) committed by Luke.Visinoni   -   Added pdf docs - this needs to be updated every time the docs are edited.
    Added pdf docs - this needs to be updated every time the docs are edited.
  • Oct 06, 2008
    r68 (Changed name from GroupTest back to "Core CSV Utilities Test...) committed by Luke.Visinoni   -   Changed name from GroupTest back to "Core CSV Utilities Tests"
    Changed name from GroupTest back to "Core CSV Utilities Tests"
  • Oct 04, 2008
    r67 ([No log message]) committed by Luke.Visinoni   -   [No log message]
    [No log message]
  • Oct 03, 2008
    r66 (removed a useless comment) committed by Luke.Visinoni   -   removed a useless comment
    removed a useless comment
  • Oct 03, 2008
    issue 6 (Csv_Reader::getColumn()) commented on by Luke.Visinoni   -   I will add this only if I find a need for it
    I will add this only if I find a need for it
  • Oct 03, 2008
    issue 6 (Csv_Reader::getColumn()) reported by Luke.Visinoni   -   It might be helpful to be able to specify a certain column in the csv file you want to pull out in an array (I like this idea, I'll add it as Csv_Reader::getColumn($offset|$name)
    It might be helpful to be able to specify a certain column in the csv file you want to pull out in an array (I like this idea, I'll add it as Csv_Reader::getColumn($offset|$name)
  • Oct 03, 2008
    issue 5 (Csv_Writer needs to be capable of just outputting the csv to...) Labels changed by Luke.Visinoni   -  
    Labels: Type-Enhancement v0.4 Type-Defect
    Labels: Type-Enhancement v0.4 Type-Defect
  • Oct 03, 2008
    issue 1 (I am not sure if escapechar works exactly how it is supposed...) Status changed by Luke.Visinoni   -   I would kind of need more information than this
    Status: Invalid
    I would kind of need more information than this
    Status: Invalid
  • Oct 03, 2008
    issue 2 (getSkippedLines() probably has a bug in it) Status changed by Luke.Visinoni   -  
    Status: Invalid
    Status: Invalid
  • Oct 03, 2008
    issue 3 (Csv_Writer doesn't seem to be creating files if they dont ex...) Status changed by Luke.Visinoni   -  
    Status: Invalid
    Status: Invalid
  • Oct 03, 2008
    r65 (fixed broken Csv/Reader/String.php - I accidentally used aut...) committed by Luke.Visinoni   -   fixed broken Csv/Reader/String.php - I accidentally used autoDetectFile instead of just autoDetect
    fixed broken Csv/Reader/String.php - I accidentally used autoDetectFile instead of just autoDetect
  • Oct 03, 2008
    r64 (I went through all the files and made sure all dependencies ...) committed by Luke.Visinoni   -   I went through all the files and made sure all dependencies were included at the top of the file
    I went through all the files and made sure all dependencies were included at the top of the file
  • Oct 03, 2008
    issue 4 (If file doesn't have a newline at the end, last row is ommit...) Status changed by Luke.Visinoni   -  
    Status: Fixed
    Status: Fixed
  • Oct 03, 2008
    issue 4 (If file doesn't have a newline at the end, last row is ommit...) commented on by Luke.Visinoni   -   that's because the newline is necessary - this has been fixed because writer now adds that newline and reader adds it if it isn't present
    that's because the newline is necessary - this has been fixed because writer now adds that newline and reader adds it if it isn't present
  • Oct 02, 2008
    r63 (This is just a "commit so I can work on it on another comput...) committed by Luke.Visinoni   -   This is just a "commit so I can work on it on another computer". I haven't actually accomplished anything yet.
    This is just a "commit so I can work on it on another computer". I haven't actually accomplished anything yet.
  • Oct 02, 2008
    r62 (updating upload example - probably should just remove this a...) committed by Luke.Visinoni   -   updating upload example - probably should just remove this and point to examples on my website instead
    updating upload example - probably should just remove this and point to examples on my website instead
  • Oct 02, 2008
    r61 (deleted notes file) committed by Luke.Visinoni   -   deleted notes file
    deleted notes file
  • Oct 02, 2008
    r60 (removed phpdoc docs - i will add them back when I've done be...) committed by Luke.Visinoni   -   removed phpdoc docs - i will add them back when I've done better commenting
    removed phpdoc docs - i will add them back when I've done better commenting
  • Oct 02, 2008
    r59 (updated readme file to point to my new blog for docs as well...) committed by Luke.Visinoni   -   updated readme file to point to my new blog for docs as well as the docs folder
    updated readme file to point to my new blog for docs as well as the docs folder
  • Oct 02, 2008
    r58 (?) committed by Luke.Visinoni   -   ?
    ?
  • Oct 02, 2008
    r57 (switched Csv_Reader_String to use memory instead of temp str...) committed by Luke.Visinoni   -   switched Csv_Reader_String to use memory instead of temp stream
    switched Csv_Reader_String to use memory instead of temp stream
  • Oct 02, 2008
    r56 (fixed the bug that was noted in the comments section of the ...) committed by Luke.Visinoni   -   fixed the bug that was noted in the comments section of the blog - about Csv_Dialect_Excel using the literal '\r\n' instead of a newline
    fixed the bug that was noted in the comments section of the blog - about Csv_Dialect_Excel using the literal '\r\n' instead of a newline
  • Oct 02, 2008
    r55 ([No log message]) committed by Luke.Visinoni   -   [No log message]
    [No log message]
  • Oct 02, 2008
    r54 (added too short test) committed by Luke.Visinoni   -   added too short test
    added too short test
  • Oct 02, 2008
    r53 (This is just a "commit so I can work on it on another comput...) committed by Luke.Visinoni   -   This is just a "commit so I can work on it on another computer". I haven't actually accomplished anything yet.
    This is just a "commit so I can work on it on another computer". I haven't actually accomplished anything yet.
  • Oct 02, 2008
    r52 (This is just a "commit so I can work on it on another comput...) committed by Luke.Visinoni   -   This is just a "commit so I can work on it on another computer". I haven't actually accomplished anything yet.
    This is just a "commit so I can work on it on another computer". I haven't actually accomplished anything yet.
  • Oct 02, 2008
    r51 (fixed Csv_Reader_String - before it was reporting an incorre...) committed by Luke.Visinoni   -   fixed Csv_Reader_String - before it was reporting an incorrect amount of rows. now it's not a liar.
    fixed Csv_Reader_String - before it was reporting an incorrect amount of rows. now it's not a liar.
  • Oct 02, 2008
    r50 (fixed error that caused last line in a row to fail if you ga...) committed by Luke.Visinoni   -   fixed error that caused last line in a row to fail if you gave the reader headers
    fixed error that caused last line in a row to fail if you gave the reader headers
  • Oct 01, 2008
    r49 (trying to move Csv_AutoDetect into Csv_Reader and fix Csv_Re...) committed by Luke.Visinoni   -   trying to move Csv_AutoDetect into Csv_Reader and fix Csv_Reader_String, which is not reading the temp stream properly
    trying to move Csv_AutoDetect into Csv_Reader and fix Csv_Reader_String, which is not reading the temp stream properly
  • Oct 01, 2008
    r48 (turned tests back on (that I accidentally turned off on last...) committed by Luke.Visinoni   -   turned tests back on (that I accidentally turned off on last commit)
    turned tests back on (that I accidentally turned off on last commit)
  • Oct 01, 2008
    r47 (Removed unnecessary exceptions (CannotAccessFile -> FileNotF...) committed by Luke.Visinoni   -   Removed unnecessary exceptions (CannotAccessFile -> FileNotFound, DataSampleTooShort -> CannotDetermineDialect)
    Removed unnecessary exceptions (CannotAccessFile -> FileNotFound, DataSampleTooShort -> CannotDetermineDialect)
  • Oct 01, 2008
    r46 (added a __toString() method to Csv_Dialect so that when you ...) committed by Luke.Visinoni   -   added a __toString() method to Csv_Dialect so that when you print it you get something helpful
    added a __toString() method to Csv_Dialect so that when you print it you get something helpful
  • Oct 01, 2008
    r45 (changed contact email from luke@mc2design.com to luke.visino...) committed by Luke.Visinoni   -   changed contact email from luke@mc2design.com to luke.visinoni@gmail.com
    changed contact email from luke@mc2design.com to luke.visinoni@gmail.com
 
Hosted by Google Code