Commit Graph

56 Commits

Author SHA1 Message Date
MarkBaker 3c3154c4a3 PSR-2 variable naming for caching classes, remove leading underscores 2015-05-05 19:40:34 +01:00
MarkBaker e885ef9196 Fix typo in memcache constructor 2015-05-05 01:37:34 +01:00
MarkBaker e83c359c7c Move toward PSR-2 coding standards 2015-05-03 23:37:32 +01:00
MarkBaker fca778225c Ajust copyright to 2015 2015-05-02 23:50:37 +01:00
Jared Hall 2736af7994 Update CacheBase.php to prevent fatal error
When deleteCacheData() is called it will throw a fatal error if the _currentObject is null.
2015-04-09 14:46:42 -06:00
MarkBaker a95e3f6607 Bugfix: Remove cells cleanly when calling RemoveRow() or RemoveColumn() 2015-03-04 23:36:38 +00:00
MarkBaker a7cf8c63e2 Bugfix: Work Item GH-384 - DOM loadHTMLFile() failing with options flags when using PHP < 5.4.0 2014-08-23 13:54:21 +01:00
MarkBaker 125f39c745 Minor performance tweak to PHPTemp and DiscISAM caching 2014-08-16 11:12:32 +01:00
MarkBaker c2a277c447 DocBlock updates 2014-04-03 17:59:47 +01:00
Mark Baker 992aee683a Update to copyright year in file headers 2013-12-31 18:36:33 +00:00
Mark Baker 2bcaa01ecc Bugfix: Work Item GH-193 - Fix to empty worksheet garbage collection when using cell caching 2013-12-29 23:48:42 +00:00
Mark Baker 13a98ef631 General: (dresenhista) Work Item GH-242 - Functionality to getHighestRow() for a specified column, and getHighestColumn() for a specified row 2013-11-09 00:40:59 +00:00
Mark Baker aeec8ef23c Fix to clone worksheet 2013-06-03 22:28:32 +01:00
Mark Baker 9331422a8a SQLite caching - fix error message 2013-05-23 22:34:08 +01:00
Mark Baker 4ac95ac24c GH-186 - sqlite OOP doesn't have a close method, need to use a procedural close 2013-05-23 12:37:02 +01:00
Mark Baker 6a4be7da3c Update to copyright year in file headers, and minor documentation updates 2013-05-14 12:20:28 +01:00
Mark Baker cfdd19e47c Docblock modifications 2013-04-27 14:49:08 +01:00
Mark Baker 8debf76a8a Minor performance tweaks 2013-04-26 12:44:47 +01:00
Mark Baker 5940e40362 Make prepared statements re-usable 2013-03-06 17:43:12 +00:00
Mark Baker 8a97503f17 Bugfix: Add DROP TABLE in destructor for SQLite and SQLite3 cache controllers 2013-03-06 17:19:22 +00:00
Mark Baker 5144932a8b Make consistent use of prepared statements 2013-03-01 13:50:06 +00:00
Mark Baker ae9d9fd758 Add move cell method for SQLite.
TODO - modify SQLite3 to use parameterised statements consistently throughout
2013-02-27 23:13:49 +00:00
Mark Baker 4e52db40dd Merge branch 'calcEngine' of https://github.com/PHPOffice/PHPExcel into calcEngine 2013-02-27 20:06:08 +00:00
Mark Baker 429ad59284 Method for moving cells in the cell cache without needing to access the cell itself
TODO Sqlite cell cache needs equivalent method for updating cache database rather than simply the indexed cache array
2013-02-27 17:54:45 +00:00
Mark Baker d42361e8bf Correct attachment of cells to cache collection as parent rather than worksheet 2013-02-21 11:44:33 +00:00
Mark Baker 3886c47ebe Refactoring of calculation engine using the multiton pattern to eliminate caching issues when working with multiple workbooks
Refactoring of calculation engine for improved performance and memory usage
Refactoring of cell object to eliminate data duplication and reduce memory
2013-02-15 15:42:06 +00:00
Mark Baker 092fc7b5f7 General: (dbonsch) Work item GH-78 - Restructuring of PHPExcel Exceptions 2013-01-15 21:42:28 +00:00
Mark Baker 487f4b79ec Bugfix: (manual merge from a pull request from amironov) Work item GH-82 - PHPExcel_Worksheet::getCellCollection() may not return last cached cell 2012-11-29 23:57:12 +00:00
Mark Baker a032194211 Minor style changes, and added timings to Examples 2012-11-28 21:30:58 +00:00
Mark Baker 701ff5adf1 Upload missing style supervisor 2012-10-24 17:07:55 +01:00
Mark Baker f87ca1419d Use class_exists() with FALSE second argument 2012-09-06 22:56:56 +01:00
Mark Baker 2d6ad66f0c Feature: Excel compatibility option added for writing CSV files
While Excel 2010 can read CSV files with a simple UTF-8 BOM, Excel2007 and earlier require UTF-16LE encoded tab-separated files.
The new setExcelCompatibility(TRUE) option for the CSV Writer will generate files with this formatting for easy import into Excel2007 and below.
2012-09-05 14:12:00 +01:00
Mark Baker 762f12624b Bugfix: Work item 17471 - OOCalc cells contain same data bug?
Plus a couple of charting bugs


git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@90420 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-05-13 18:15:09 +00:00
Mark Baker 3d7153c7f4 Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88175 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-21 23:55:54 +00:00
Mark Baker 891981928d Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87638 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-11 17:58:38 +00:00
Mark Baker 7bda2c3f3b Change copyright 2011 -> 2012
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87246 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-03-03 21:08:29 +00:00
Mark Baker 9c2ceed08d Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85743 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-25 23:07:22 +00:00
Mark Baker 2cce9b754d Minor performance tweaks and adjustments to Excel functions to handle a few envelope test cases
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85742 2327b42d-5241-43d6-9e2a-de5ac946f064
2012-01-25 22:07:35 +00:00
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