Commit Graph

36 Commits

Author SHA1 Message Date
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
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