Commit Graph

18 Commits

Author SHA1 Message Date
Mark Baker 24a9eb285c Use of empty() rather than count() to test if arrays are empty or not - simple performance tweak... empty() is over twice as fast as count()
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85344 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-16 12:34:22 +00:00
Mark Baker b235c531a7 Experimental - Added getHighestDataColumn(), getHighestDataRow(), getHighestRowAndColumn() and calculateWorksheetDataDimension() methods for the worksheet that return the highest row and column that have cell records
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83932 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-16 16:01:21 +00:00
Mark Baker cd7f0a1c51 Added a cacheMethodIsAvailable() method to all cell cache classes, making it easier to identify if all the necessary classes/functions are available for each caching option.
Renamed the factory getCacheStorageMethods() method to getAllCacheStorageMethods(), returning all cache options in the library.
Wrote a new factory getCacheStorageMethods() method to return an array of those cache methods that are available with the current build of PHP (extensions tested, etc).
Refactored factory initialize() method to use the cacheMethodIsAvailable(), so factoring the logic for testing methods out of the factory.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83741 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-09 12:10:46 +00:00
Mark Baker 86d2a5291f Feature - initial version of Igbinary (serialized) cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83656 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-05 23:41:49 +00:00
Mark Baker c345c0e8ca Exception handling for SQLite3 cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83592 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 20:16:57 +00:00
Mark Baker 91f74c5893 Exception handling for SQLite cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83587 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 18:49:27 +00:00
Mark Baker 11c87c19ad Feature - initial version of SQLite cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83558 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 00:32:01 +00:00
Mark Baker 07e56b5a60 Feature - initial version of SQLite cell caching
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83557 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-12-03 00:24:44 +00:00
Mark Baker 77cd4ac9aa Bugfix: Work item 16643 - Bug In Cache System (cell reference when throwing caching errors)
General: Work item 16643 - Add file directory as a cache option for cache_to_discISAM

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@82024 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-10-26 16:16:43 +00:00
Mark Baker efc066c233 Bugfix: Work item 16212 - $arguments improperly used in CachedObjectStorage/PHPTemp.php
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@82008 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-10-25 19:31:57 +00:00
Mark Baker 5672f25ebf General: Reduce cell caching overhead using dirty flag to ensure that cells are only rewritten to the cache if they have actually been changed
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@72227 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-04-25 14:25:53 +00:00
Mark Baker eb5dadcd4c Bugfix: Work item 15312 - Caching and tmp partition exhaustion
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@68479 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-02-11 22:26:51 +00:00
Maarten Balliauw ccbb28167b Updated headers to reflect the new year. Happy new year 2011!
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@66338 2327b42d-5241-43d6-9e2a-de5ac946f064
2011-01-03 09:20:10 +00:00
Mark Baker 3aa1142b5f Performance tweaks (particularly affecting the Excel5 Writer)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63320 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-11-05 22:13:41 +00:00
Mark Baker bd82adc1f3 Minor performance tweak... simple improvement to sorting the cell cache array
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62861 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-27 10:39:53 +00:00
Mark Baker 568d3fa933 General: Applied patch 7169 - Removed spurious PHP end tags (?>)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62765 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-10-25 09:33:01 +00:00
Mark Baker 04764644f7 Bugfix: Workitem 14146 - Worksheet clone broken for CachedObjectStorage_Memory
Bugfix: Workitem 12998 - PHPExcel_Reader_Excel2007 fails when gradient fill without type is present in a file
Bugfix: Workitem 14176 - @ format for numeric strings in XLSX to CSV conversion

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60349 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-09-03 17:34:53 +00:00
Maarten Balliauw 509f27e5c6 Migration from off-site Subversion repository (part 1).
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@59884 2327b42d-5241-43d6-9e2a-de5ac946f064
2010-08-26 19:14:53 +00:00