Commit Graph

91 Commits

Author SHA1 Message Date
MarkBaker d9cda3f287 Unit tests for default value binder 2015-03-27 21:28:26 +00:00
MarkBaker 71dba49fff Improvements to array arithmetic (MMULT)
Better setup of calculation function tests to ensure consistent environment
2015-01-23 23:44:32 +00:00
MarkBaker b3c5e98022 I shouldn't modify compatibility mode in calculation tests without resetting it
TODO - should include setting/resetting this in all setup/teardown
2015-01-23 17:06:30 +00:00
MarkBaker 976e7f064a Excel TRIM function only trims spaces, not tabs or other spacing characters 2015-01-23 16:49:20 +00:00
MarkBaker fb18b7b598 Fix to complex number format signing when mask has a decimal 2015-01-23 16:09:36 +00:00
MarkBaker d778b41524 Fix to negative number handling with complex number format masks, so that the sign only appears once 2015-01-23 15:40:54 +00:00
MarkBaker 280620a753 Implement Excel VALUE() function, locale-warts and all 2014-08-30 00:12:31 +01:00
Adrien Crivelli a0da3e32ec Double quote support for SUMIF() condition
SUMIF() condition can have double quote, such as '=SUMIF(A2:A4,">""",B2:B4)'.
This formula purpose is to compare the character double quote (").

In our previous patch (commit f1a1f525) we wrongly assumed that
PHPExcel_Calculation_MathTrig::SUMIF() expected the condition to escaped ('>""'),
but this is actually not the case in real use of PHPExcel, so the unit tests were
modified accordingly to use non-escaped condition ('>"').
2014-01-17 21:01:57 +09:00
Mark Baker 992aee683a Update to copyright year in file headers 2013-12-31 18:36:33 +00:00
Adrien Crivelli f2e24ecdd4 Comparison operators on strings are usually case insensitive
Excel, Gnumeric and Google Spreadsheet are case insensitive, so the
default behavior of PHPExcel is modified accordingly.

However OpenOffice is case sensitive and is also supported via the
compatibility mode of PHPExcel.

Fixes #31
2013-11-21 16:04:59 +09:00
Adrien Crivelli f1a1f525ea Double quote support for SUMIF()
SUMIF() should handle double quotes properly in both criteria and
cells values. This is especially useful when we need to compare string
containing themselve double quote(s).
2013-08-08 12:17:00 +09:00
Maarten Balliauw 5818a79e67 Update bootstrap.php 2013-07-10 11:18:43 +02:00
Mark Baker a0859fd7d0 Fix to number format masking for scientific notation 2013-06-16 15:13:05 +01:00
Mark Baker 4d92e77d00 Eliminate need for use of money_format() function; various fixes to HLOOKUP, VLOOKUP and DOLLAR functions + unit tests 2013-06-15 12:15:03 +01:00
Mark Baker dfc74f8b95 Feature: (amerov) - Implementation of the Excel HLOOKUP() function 2013-06-14 23:57:50 +01:00
Mark Baker c17a4a62a3 Improvements to formatting numbers with more complex masks 2013-05-21 18:00:57 +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 7f7b520652 Some refactoring of insert/delete row/column reference methods 2013-04-25 17:53:29 +01:00
Mark Baker db75c5981a Fixes to Advanced Value Binder for cell restructuring 2013-02-21 11:29:32 +00:00
Maarten Balliauw 642a9e1255 Filtering classpaths in PHPunit config 2012-12-19 12:44:43 +01:00
Mark Baker bf2587546e Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into develop 2012-11-29 23:57:57 +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 26c9235a53 Merge pull request #95 from Slamdunk/hotfix/remove-sys-tests
Remove system specific tests
2012-11-28 23:30:54 -08:00
Mark Baker d8debd0966 Minor tweaks and bugfixes 2012-11-25 17:56:27 +00:00
Mark Baker 7854955cff Bugfix: Work item 18963 - getSheetNames() fails on numeric (floating point style) names with trailing zeroes 2012-11-25 12:26:48 +00:00
Filippo Tessarotto 4f4a516add Tests: set locale to en_US.utf8 2012-11-25 10:33:54 +01:00
Filippo Tessarotto adae5a54ef Removed system specific tests 2012-11-25 09:40:04 +01:00
Mark Baker c759e5ab35 Merge pull request #89 from Slamdunk/ci/no-cc
CodeCoverage only when needed
2012-11-24 15:07:26 -08:00
Mark Baker 6bc4199675 Various tweaks and fixes 2012-11-24 22:48:44 +00:00
Filippo Tessarotto 06293c784a __DIR__ -> dirname(__FILE__) 2012-11-24 09:44:56 +01:00
Filippo Tessarotto aaf5ca234c Get str_getcsv working on PHP 5.2 2012-11-24 09:43:16 +01:00
Filippo Tessarotto 022f019cb8 Without xdebug overload, no need to check memory_limit 2012-11-24 08:36:18 +01:00
Filippo Tessarotto e6e2be2d88 CodeCoverage only when needed 2012-11-24 08:33:24 +01:00
Filippo Tessarotto 5aa7f3436c Added Travis to the project 2012-11-23 11:51:34 +01:00
Mark Baker 91de8c54e4 Modified applyFromArray() method of PHPExcel_Style to use PHPExcel::cellXfExists() call instead of expensive hash test. 2012-11-20 23:55:18 +00:00
Mark Baker 0ad1c8b585 Factor timezone methods to a separate helper class 2012-11-03 21:52:55 +00:00
Mark Baker 53a32ce7f7 Providing support for timezone adjustments in date/time conversion methods 2012-11-02 23:07:01 +00:00
Manuel Kea Baldassarri d1f172d8d6 Improved AdvancedValueBinder for currency. 2012-10-25 12:44:47 +02:00
Mark Baker b00f6d4c4c AutoFilter unit tests 2012-08-19 23:17:12 +01:00
unknown c9daa12245 Initial work on AutoFilter selections reading from Excel2007 (with
diagnostics, remember to remove before any merging to develop)
2012-08-08 22:11:26 +01:00
Mark Baker 938ce8d51f Bugfix: Work item 18325 - v-type texts for series labels now recognised and parsed correctly 2012-08-06 22:40:24 +01:00
Mark Baker 8ba160ed28 Modify Test examples to echo nicely from both CLI and in a web browser 2012-08-05 18:54:20 +01:00
Mark Baker cdf9dfdcbe Unit tests, plus a couple of minor validation bugfixes 2012-08-03 21:21:32 +01:00
Mark Baker f12189b29d Reorganised unit test directories 2012-07-31 21:56:11 +01:00
Mark Baker 83c083392a GH18 - Modify extractAllCellReferencesInRange() behaviour for , and space
range separators
2012-07-31 13:00:09 +01:00
Mark Baker 5c32ecee0a Fixes to unit test data 2012-07-29 23:38:41 +01:00
Mark Baker 6a14bdce4c Unit tests for Cell static methods and creation of PHPExcel_Exception
rather than use of standard Exception
2012-07-29 20:56:35 +01:00
Mark Baker 8f3dc270a6 Bugfix: Work Item 18415- mb_stripos empty delimiter 2012-07-27 22:06:28 +01:00
Mark Baker b7dfeb9bb7 Unit Tests for Date helper functions 2012-07-24 13:21:31 +01:00
Mark Baker 59932b0cac Bugfix: Work item 18370 - Error loading xlsx file with column breaks
Deprecated the getCalculatedValue(), setCalculatedValue(), setFormulaAttributes() and getFormulaAttributes() methods in PHPExcel_Cell.
Documentation changes and unit tests.
2012-07-18 12:29:33 +01:00