Commit Graph

6643 Commits

Author SHA1 Message Date
oleibman 9e6263ebe8 Merge pull request #4988 from oleibman/optionalopenssl
Make `openssl` Extension Optional
2026-09-11 16:33:46 +00:00
oleibman c08522896d Merge pull request #4986 from oleibman/odsloadxml
Throw When Ods Reader Encounters Invalid Xml
2026-09-11 16:33:24 +00:00
oleibman 1ccecb253a Merge pull request #4984 from oleibman/issue744
Update Sheetname in Charts When Sheetname Changes
2026-09-11 16:33:10 +00:00
oleibman 4e2825793b Update Changelog 2026-09-11 03:24:13 -07:00
oleibman 076c8c4bb0 Make openssl Extension Optional
PR #4975 added encryption support to Xlsx. It added a requirement for `openssl` to PhpSpreadsheet. This change makes it optional rather than required.
2026-09-11 03:11:52 -07:00
oleibman 803329a911 Merge pull request #4983 from n3crosis/fix/ole-cfb-root-conformance
Fix CFB v3 OLE writer header and DIFAT boundaries #4811
2026-09-11 09:11:47 +00:00
oleibman a9643bd5d1 Merge pull request #4987 from oleibman/attrignore
Add Some Files to .gitattributes
2026-09-10 21:22:58 +00:00
oleibman 2db29cf6b3 Add Some Files to .gitattributes 2026-09-10 14:14:35 -07:00
^^ 6dbce4e451 Use OLE stream lookup in root test 2026-09-10 10:38:38 +08:00
^^ 8048278aef Fix CFB v3 OLE writer header and DIFAT boundaries
The legacy XLS writer emitted a non-canonical CFB v3 header and malformed DIFAT metadata when exactly 109 FAT sectors were needed. It also miscounted DIFAT capacity beyond that boundary.

Use the fixed CFB v3 sector profile, write minor version 0x003E, correct DIFAT allocation, and reject oversized v3 stream layouts. Add boundary and round-trip coverage.
2026-09-10 10:35:15 +08:00
oleibman f5818019dd Merge pull request #4975 from n3crosis/feature/add-xlsx-file-encryption
Add Agile XLSX file encryption support
2026-09-10 02:22:51 +00:00
oleibman 5bf5b505a9 Throw When Ods Reader Encounters Invalid Xml
`simplexml_load...` can return false, and callers check for it. `dom->loadXML` can do likewise but, till now, it hasn't been checked. Only user of `dom->loadXML` is Ods Reader. Change it to throw if Xml is invalid.
2026-09-07 23:56:14 -07:00
oleibman d6bd070cb0 Merge pull request #4985 from oleibman/nogoogle
Google Is Messing Up a Test with Redirects
2026-09-04 17:53:28 +00:00
oleibman 918f32d857 Google Is Messing Up a Test with Redirects
Try github instead.
2026-09-04 10:27:18 -07:00
oleibman 6f678802ee Update Sheetname in Charts When Sheetname Changes
Fix #744 (marked stale in 2019, but now reopened). The fix draws heavily on the work of @guillaume-ro-fr in PR #745, which was closed because of a unit test error which is no longer possible, and because it was targeted to a branch which no longer existed.

Changing a worksheet name can wind up invalidating charts. To fix this: when a worksheet name changes, inspect all the charts in the spreadsheet (the old PR changed only the current worksheet) and change worksheet references from the old name to the new one.

During testing, found and corrected some minor problems with cloning some Chart objects.
2026-09-04 09:41:23 -07:00
^^ ae663aac9c Use PHPUnit assertions in AgileEncryptionTest 2026-09-03 23:57:01 +08:00
^^ 4b1344335c Allow limiting XLSX encryption spin count 2026-09-03 18:11:06 +08:00
^^ b3d9a8acc5 Avoid reading encrypted package during detection 2026-09-03 18:05:14 +08:00
^^ 111c088841 Preserve XLSX output before authentication 2026-09-03 17:15:19 +08:00
oleibman 205fbe4fef Merge pull request #4973 from oleibman/readthedocs
Docs - Properdocs, Copy Clipboard, and Dark Mode Support
2026-09-03 05:03:42 +00:00
oleibman 51c16333f1 Another Tweak 2026-09-02 21:35:43 -07:00
^^ 300f16de32 Add encrypted XLSX edge-case tests 2026-09-03 11:59:41 +08:00
oleibman a7a2fcb83c Add Some Blank Lines
Although I have not noticed a problem with mkdocs and relatives, some markdown viewers will, under circumstances that I cannot reliably predict, not render correctly a "fenced" block (starting with 3 backticks) if it is not preceded by a blank line. "Correct" this situation wherever I was able to find it.
2026-09-02 15:22:13 -07:00
^^ 8a98547e28 Cover encrypted XLSX file decryption errors 2026-09-02 17:20:56 +08:00
^^ 08e59dcc6d Add encrypted XLSX streaming coverage 2026-09-02 16:48:43 +08:00
^^ 44a82a7ab6 Fix encrypted XLSX reader review findings 2026-09-02 16:31:14 +08:00
n3crosis 88af36ab36 Merge branch 'PHPOffice:master' into feature/add-xlsx-file-encryption 2026-09-02 16:10:31 +08:00
oleibman fb1ef805ad Small Improvement to Bookmarklet 2026-09-02 00:05:40 -07:00
oleibman 5019e54cfc Update Changelog 2026-09-01 23:07:29 -07:00
oleibman f3b8124201 Merge pull request #4982 from oleibman/stan82
Update Phpstan
2026-09-02 05:57:13 +00:00
oleibman e3e21c835e Update CHANGELOG.md 2026-09-01 22:53:25 -07:00
oleibman 329a1b4730 Merge branch 'master' into stan82 2026-09-01 22:39:41 -07:00
oleibman 9e11effcad Update Phpstan
Also address problems reported in PR #4974 when Phpstan was run with an earlier Php version than our CI uses.
2026-09-01 22:24:34 -07:00
oleibman 1fcf9c5966 Merge pull request #4979 from PHPOffice/dependabot/composer/friendsofphp/php-cs-fixer-3.95.23
Bump friendsofphp/php-cs-fixer from 3.95.17 to 3.95.23
2026-09-02 05:21:40 +00:00
oleibman 2ad65fccb5 Merge pull request #4968 from sapientpro/feature/table-header-row-needs-a-data-row
Xlsx writer: a header-row table takes the empty row below it
2026-09-02 05:08:05 +00:00
oleibman df95a8665e Merge pull request #4967 from DIReports/fix/vlookup-column-range-empty-end-column
Fix VLOOKUP #N/A with whole-column ranges when the end column contains no data
2026-09-02 05:05:11 +00:00
oleibman 284aff8d40 More Tweaks
Use a white, rather than transparent, background for logo, making it viewable in dark mode.

A bit better emulation of dark mode in the readthedocs theme, which does not handle it "naturally".
2026-09-01 16:51:23 -07:00
dependabot[bot] 51cef407dd Bump friendsofphp/php-cs-fixer from 3.95.17 to 3.95.23
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.95.17 to 3.95.23.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.95.17...v3.95.23)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-version: 3.95.23
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-01 11:02:40 +00:00
oleibman d4ebbe9a59 Logo Displayed Poorly in Dark Mode 2026-08-31 22:50:46 -07:00
oleibman 36f0544a34 Tweak for Materialx 2026-08-31 17:02:21 -07:00
oleibman cd0b13861b Two More Files for Completeness 2026-08-31 11:28:09 -07:00
oleibman 0f860ce843 Material Working, Zensical Working, Continue to Use Readthedocs 2026-08-31 00:17:41 -07:00
oleibman 3c46b9fc07 One More Zensical Experiment 2026-08-31 00:11:40 -07:00
oleibman 04ca14c580 Zensical Still Not Working, Try Material 2026-08-30 23:56:05 -07:00
oleibman bbb12e7fcd Another Zensical Experiment 2026-08-30 23:22:08 -07:00
oleibman c5898ac9cd Better Syntax Highlighting in Zensical/Material 2026-08-30 21:05:24 -07:00
oleibman fdf3a9b262 Merge branch 'master' into readthedocs 2026-08-26 23:02:57 -07:00
oleibman 882f8c63d7 More Doc Updates 2026-08-26 22:56:33 -07:00
^^ cd9a6f2d7f Fix Agile encryption fixture stream size 2026-08-25 19:40:33 +08:00
^^ ef17372134 Update changelog for replacement encryption PR 2026-08-25 19:29:49 +08:00