Commit Graph

206 Commits

Author SHA1 Message Date
Alexey Kopytko 760a4dd307 Fixed autoloading for tests 2016-06-16 13:22:23 +09:00
Alexey Kopytko 68e370a917 Added coverage report for PHPUnit 2016-06-16 13:22:23 +09:00
Alexey Kopytko 4b6d1a3453 Escape filename used in Content-Disposition header 2016-06-16 13:22:23 +09:00
Alexey Kopytko 8878394496 Prefix with "public" functions in Writer 2016-06-16 13:22:23 +09:00
Alexey Kopytko f1195b4a21 Correct class names in @var 2016-06-16 13:22:23 +09:00
Alexey Kopytko 779a081aa0 Remove references except where they're actually used 2016-06-16 13:22:23 +09:00
Alexey Kopytko 0da21c8611 Renamed old-style constructors 2016-06-16 13:22:23 +09:00
Alexey Kopytko 2cfd980499 Trim whitespace in Worksheet 2016-06-16 13:22:23 +09:00
Alexey Kopytko 2ec40810e8 Removed trailing ?> 2016-06-16 13:22:23 +09:00
Alexey Kopytko 3e8a35b81f Make sure traditional include-path-style class loading does not interfere with a working class autoloader 2016-06-16 13:22:23 +09:00
Alexey Kopytko 012389ee13 Replace var with public, prefix function definitions with public or protected 2016-06-16 13:22:23 +09:00
Alexey Kopytko 22c7e1705f New timestamp field should respect existing style for variable names 2016-06-16 13:22:23 +09:00
Alexey Kopytko 85e4049be9 Reverted the bulk of recently itroduced breaking changes
This reverts commits 631bbb5f72, 3d299d9938, b3be543ba3.
2016-06-16 13:22:23 +09:00
Alexey Kopytko 923008d208 Added ability to test with fixtures
- Now we can specify exact timestamp
- Current fixture example.xls is readable
2016-06-16 13:22:18 +09:00
Carsten Schmitz 3b766dc161 Merge pull request #7 from stevleibelt/master
Reverteds protected and private properties to public ones.
2016-03-16 08:15:02 +01:00
stevleibelt 631bbb5f72 made all protected or private properties public again 2016-01-20 22:19:52 +01:00
stevleibelt 3d299d9938 started unit test fixed error for Spreadsheet_Excel_Writer_Workbook::setVersion() 2016-01-17 21:24:28 +01:00
Carsten Schmitz 8b1d66e09a Merge pull request #5 from stevleibelt/master
updated code base to work with php 5 and above
2016-01-08 08:40:56 +01:00
stevleibelt b3be543ba3 updated require_once status, replaced var with either public or protected visibility. also prefixed functions with eher public or protected (if method name starts with _ it will be protected). also updated composer.json 2016-01-07 23:01:38 +01:00
Daniel O'Connor bb1117383e Merge pull request #4 from AnatomicJC/master
Fix bad md5sum in package.xml
2015-11-04 23:49:03 +10:30
Jean-Christophe VASSORT 088d672e9f package.xml: remove md5sum
@cweiske advised me that package.xml package should not contain md5sum
attribute at all. They are generated automatically when running "pear
package"

@see
https://github.com/pear/Spreadsheet_Excel_Writer/pull/4#issuecomment-122028093

So I re-used <content /> section of commit b05cbb80
2015-07-16 22:04:33 +02:00
Christian Weiske e2997d24fb remove travis config; there are no tests 2015-07-16 19:30:24 +02:00
Jean-Christophe VASSORT 83d7eac9dd Fix bad md5sum in package.xml
md5sum of Spreadsheet/Excel/Writer/Worksheet.php is not the good one.

This commit fixes it.
2015-07-16 17:31:09 +02:00
Daniel O'Connor bca895dfe4 Add travis support, even though there aren't tests :/ 2014-04-13 02:18:15 +09:30
Till! b82e6c6b2a Merge pull request #2 from pear/topics/composer-for-pear
Updated/New Composer support for Spreadsheet_Excel_Writer
2014-02-20 20:26:35 +01:00
till bcc91b2167 Enhancement: composer setup 2014-02-17 23:38:45 +01:00
till 847526410e Enhancement: composer setup 2014-02-17 17:35:36 +01:00
Daniel O'Connor d8bc07f8ae Merge pull request #1 from LaserBears/master
Fixed PEAR bug #19904:  UTF-16 surrogate pairs trigger "Excel found unreadable content" error
2013-04-28 05:59:47 -07:00
LaserBears e731e235b2 Fixed UTF-16 surrogate pairs triggering "unreadable content" error
Fixed a bug in the Spreadsheet_Excel_Writer_Worksheet::writeStringBIFF8() method where the length of Unicode strings was being calculated based on the number of characters, and if the string contained any UTF-16 surrogate pairs then a "found unreadable content" error would occur when opening the worksheet in Excel (it apparently expects Unicode string lengths to be the number of 16-bit code points, not the number of characters).
2013-04-16 11:37:00 -07:00
Daniel O'Connor 4d7752cb49 Bug #19273 Call-time pass-by-reference has been deprecated 2012-02-06 22:49:01 +10:30
Daniel O'Connor 543db26bc5 Added README template for Spreadsheet_Excel_Writer. 2012-01-26 13:21:26 +10:30
Daniel O'Connor 2621c79719 Update package.xml
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@322776 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-26 02:12:00 +00:00
Daniel O'Connor eb93449a80 Bug #14515 writeUrl only uses writeString, never writeNumber
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@322731 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-25 13:33:15 +00:00
Daniel O'Connor faa3f541a6 Request #13486 Set the worksheet direction to right-to-left (RTL)
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@322730 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-25 13:31:36 +00:00
Daniel O'Connor dadc38fdd6 Bug #16025 MERGEDCELLS record split by CONTINUE record
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@320823 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-10 02:08:08 +00:00
Daniel O'Connor 6f5b44cd6b Bug #17572 Temporary files are not removed
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@320822 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-10 02:05:53 +00:00
Daniel O'Connor ad79fa75f3 Bug #16678 In PHP 5.3 get errors on lines 186, 195
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@320821 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-10 02:03:17 +00:00
Daniel O'Connor c04bf67cd2 Bug #16938 open_basedir check is wrong in Spreadsheet_Excel_Writer_Worksheet::_initialize - seanch
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@317455 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-29 07:51:45 +00:00
Daniel O'Connor 065e9c7c50 WARNING: Function 'split' is deprecated, please use 'explode' or 'preg_split' instead in file ./Spreadsheet_Excel_Writer/Spreadsheet/Excel/Writer/Worksheet.php line 1365
(though I doubt split('', ...) ever worked)

git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@302963 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-01 02:33:10 +00:00
Daniel O'Connor 9642009762 Bug #17766 Patch: Avoid deprecated split
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@302674 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-23 04:06:22 +00:00
LEFEVRE Franck 7803f30184 Fixed issue #12362: named worksheets & utf-8 - patch by cfhay
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@297578 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-06 09:48:58 +00:00
LEFEVRE Franck b148992d6a Fixed issue #9062: Euro does not appear correctly in formula styles - patch by fvielle
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@297215 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-31 10:28:04 +00:00
Carsten Schmitz 442d157fdf Fixed issue #12053: Setting bottom border color to integer 0 gives cross borders
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@291409 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-29 02:34:02 +00:00
Carsten Schmitz f8695a74b6 Fixed issue #9564: Worksheet::setColumn() can only be called once per range - patch by Dan Lynn
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@291408 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-29 02:02:47 +00:00
Carsten Schmitz 3cabdc6888 Dev Reverted mis-tag
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@291407 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-29 00:57:11 +00:00
Carsten Schmitz 4d9b0187c4 Fixed issue #12062: Color handling <8 broken - patch by gwinkless
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@291405 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-29 00:37:23 +00:00
Carsten Schmitz 9a6a1f6a91 Fixed issue #14281: Using a row > 16,384 reports an error even though the BIFF8 format should support it
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@291404 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-29 00:25:36 +00:00
Carsten Schmitz a601cb0de2 RELEASE_0_9_2
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@291388 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-28 17:18:35 +00:00
Carsten Schmitz b05cbb80c8 dev Wrapping up for release 0.9.2 beta - again
dev Added missing changlog and other small fixes in schema.xml
dev Removed obsolete OLEwriter.php


git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@291378 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-28 13:27:12 +00:00
Carsten Schmitz 47034e5942 dev Wrapping up for release 0.9.2 beta - again
dev Added missing file to package.xml

git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@291369 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-28 00:28:20 +00:00