Commit Graph

6325 Commits

Author SHA1 Message Date
oleibman d6a4e39799 Merge pull request #4829 from kemo/perf/formula-ast-parsing
Add formula token cache to reduce repeated parsing overhead
2026-04-21 04:11:47 +00:00
oleibman e02c7918de Update CHANGELOG.md 2026-04-20 21:08:02 -07:00
oleibman 3158be0a0f Merge pull request #4855 from oleibman/htmltextcolor
Html Writer Handle Text Colors a Bit Better
2026-04-21 03:53:52 +00:00
oleibman 4ef51eece5 Update CHANGELOG.md 2026-04-20 20:49:54 -07:00
oleibman ea01a00d5c Merge pull request #4856 from oleibman/coverage10
Improve Coverage
2026-04-21 03:41:04 +00:00
oleibman f4fc8c974a Merge branch 'master' into coverage10 2026-04-20 08:44:14 -07:00
oleibman 7319eb8008 Merge branch 'master' into htmltextcolor 2026-04-20 08:41:19 -07:00
oleibman 818c3ac259 Merge branch 'master' into perf/formula-ast-parsing 2026-04-20 08:36:25 -07:00
oleibman 9f55d3b9b7 Merge pull request #4859 from oleibman/updchangelog20260419
Update Changelog for New Release
5.7.0
2026-04-20 02:42:17 +00:00
oleibman 2e35213f2a Update Changelog for New Release 2026-04-19 19:37:16 -07:00
oleibman 9019a9c9da Merge commit from fork 2026-04-18 23:43:10 -07:00
oleibman f1eb4e6980 Merge commit from fork 2026-04-18 23:10:20 -07:00
oleibman 3311a223fe Merge branch 'master' into perf/formula-ast-parsing 2026-04-14 13:09:13 -07:00
oleibman 7095712837 Avoid Future Merge Conflict 2026-04-10 14:33:01 -07:00
oleibman 9b90dee03d Merge pull request #4857 from oleibman/changelog20260406
Prepare Changelog For New Release
5.6.0
2026-04-10 03:00:03 +00:00
oleibman f302b3265a Prepare Changelog For New Release 2026-04-09 19:54:28 -07:00
oleibman 5b174d37f2 Improve Coverage
Take on some low-hanging fruit, mostly in Conditional Formatting Wizard.
2026-04-06 09:28:17 -07:00
oleibman cd566a3f7d Minor Change 2026-04-06 07:05:28 -07:00
oleibman fc6e7e6a66 Html Writer Handle Text Colors a Bit Better
Researching a security advisory, the code for handling text colors in Html Writer when the cell is non-numeric and the color is hard-coded in the Number Format looked a bit suspicious. As it turns out, the code was *not* subject to a security exploit. However, the color for the Number Format was ignored. This PR corrects that omission.
2026-04-05 22:50:02 -07:00
oleibman 4a476071b3 Merge pull request #4850 from oleibman/updatestan
Update PhpStan
2026-04-05 07:15:00 +00:00
oleibman 8a9e9b5610 Merge pull request #4845 from oleibman/csvnonutf8
More Extendability for CSV Reader
2026-04-05 07:06:58 +00:00
oleibman 5d6d7d537f Merge branch 'master' into csvnonutf8 2026-04-05 00:03:05 -07:00
oleibman 6f23fe3d8c Merge pull request #4844 from oleibman/xlookup
XLOOKUP
2026-04-05 06:44:28 +00:00
oleibman 78a151d340 Merge branch 'master' into xlookup 2026-04-04 23:39:55 -07:00
oleibman 49035ade39 Update CHANGELOG.md 2026-04-04 23:39:17 -07:00
oleibman e2927cfa71 Merge commit from fork 2026-04-04 21:30:27 -07:00
oleibman 93c94eb31d Merge commit from fork
* Test Protocol Not Supplied Before Using is_file

* added missing assertFile and renamed prohibitPhar

* More Tests

---------

Co-authored-by: calligraf0 <115566010+calligraf0@users.noreply.github.com>
2026-04-04 21:04:58 -07:00
oleibman b45c4f7ee0 Correct Spacing 2026-04-03 21:12:33 -07:00
oleibman 823f7ee535 More Tests 2026-04-03 20:49:02 -07:00
oleibman 10305b3a48 Additional Test 2026-04-03 15:32:45 -07:00
oleibman 7e9c3814c4 Update PhpStan
Too many errors when Dependabot tried. These seem mostly to involve `implode`, whose use is often embedded in other function calls. For that reason, these changes include a higher proportion than usual of `// @phpstan-ignore-line`.
2026-04-03 13:00:27 -07:00
oleibman 36013a3db5 Merge pull request #4849 from PHPOffice/dependabot/composer/tecnickcom/tcpdf-6.11.2
Bump tecnickcom/tcpdf from 6.11.0 to 6.11.2
2026-04-01 13:35:13 +00:00
oleibman 274676f1bb Merge pull request #4848 from PHPOffice/dependabot/composer/dompdf/dompdf-3.1.5
Bump dompdf/dompdf from 3.1.4 to 3.1.5
2026-04-01 13:34:53 +00:00
oleibman 3f0eb5a432 Merge pull request #4846 from PHPOffice/dependabot/composer/mpdf/mpdf-8.3.1
Bump mpdf/mpdf from 8.2.7 to 8.3.1
2026-04-01 13:34:32 +00:00
dependabot[bot] f7de90492b Bump tecnickcom/tcpdf from 6.11.0 to 6.11.2
Bumps [tecnickcom/tcpdf](https://github.com/tecnickcom/TCPDF) from 6.11.0 to 6.11.2.
- [Changelog](https://github.com/tecnickcom/TCPDF/blob/main/CHANGELOG.TXT)
- [Commits](https://github.com/tecnickcom/TCPDF/compare/6.11.0...6.11.2)

---
updated-dependencies:
- dependency-name: tecnickcom/tcpdf
  dependency-version: 6.11.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-01 12:44:53 +00:00
dependabot[bot] 6c0e818845 Bump dompdf/dompdf from 3.1.4 to 3.1.5
Bumps [dompdf/dompdf](https://github.com/dompdf/dompdf) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/dompdf/dompdf/releases)
- [Commits](https://github.com/dompdf/dompdf/compare/v3.1.4...v3.1.5)

---
updated-dependencies:
- dependency-name: dompdf/dompdf
  dependency-version: 3.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-01 12:44:50 +00:00
dependabot[bot] 989a4d25a5 Bump mpdf/mpdf from 8.2.7 to 8.3.1
Bumps [mpdf/mpdf](https://github.com/mpdf/mpdf) from 8.2.7 to 8.3.1.
- [Release notes](https://github.com/mpdf/mpdf/releases)
- [Changelog](https://github.com/mpdf/mpdf/blob/development/CHANGELOG.md)
- [Commits](https://github.com/mpdf/mpdf/compare/v8.2.7...v8.3.1)

---
updated-dependencies:
- dependency-name: mpdf/mpdf
  dependency-version: 8.3.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-01 12:44:42 +00:00
oleibman d16e20d915 Merge pull request #4843 from TobiasBg/patch-1
Refactor hyperlink URL assignment logic
2026-03-31 05:41:04 +00:00
oleibman eeabef74a4 Update CHANGELOG.md 2026-03-30 22:36:51 -07:00
oleibman 82ac6cec01 Merge pull request #4824 from kemo/perf/spreadsheet-copy-without-serialize
Examine Performance of Clone vs Serialize/Unserialize
2026-03-31 05:22:40 +00:00
oleibman e750f1a472 Merge branch 'master' into perf/spreadsheet-copy-without-serialize 2026-03-30 22:18:34 -07:00
oleibman cc25b620b7 Update CHANGELOG.md 2026-03-30 22:17:38 -07:00
oleibman 7467fe4f19 Wrong Case for File Name 2026-03-27 23:00:45 -07:00
oleibman 162fd2ce5b Add Unit Test 2026-03-27 22:54:55 -07:00
oleibman 38a8330748 More Extendability for CSV Reader
A follow-up to PR #4837. PR #4827, to which I am not necessarily committed, shows that there could be a use case for letting a user perform customized logic to convert a non-UTF8-encoded CSV. In addition, several other CSV Reader properties require the use of static or locale properties, which is somewhat problematic; this PR allows them to be set as instance variables, falling back to static/locale only when unset.
2026-03-27 16:16:45 -07:00
kemo c319f893d5 Refactor formula token cache to instance properties, opt-in by default 2026-03-26 09:23:26 +01:00
oleibman 616e13c1e6 Coverage
I think there may still be a couple of uncovered statements after this.
2026-03-25 23:56:55 -07:00
oleibman 93c5c51dd5 XLOOKUP
Fix #1453, which went stale in 2000, which I unstaled in 2024, and which I finally got to. The code, and several unit tests, was substantially generated by AI, my first foray into that frontier.

Trait `ArrayEnabled` is not able to handle this function because it has too many array parameters. I would have liked to update it to handle this, but that seemed too difficult. I have let the code do its own array handling; it looks a little kludgey but seems to do the job. I may return to this at some point.
2026-03-25 21:44:54 -07:00
kemo e9e467de10 Revert copy() to serialize, keep benchmark and docblocks
Drop the clone-based copy() since benchmark results vary across PHP
versions and platforms. Keep the benchmark test (renamed to end in Test)
in a separate testsuite so users can assess which approach suits their
environment. Add docblock @see references on copy() and __clone().
2026-03-25 16:52:09 +01:00
Tobias Bäthge c20e9a8021 Update src/PhpSpreadsheet/Reader/Xlsx/Hyperlinks.php
Fix wrong white space from copy/paste from editor.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-23 21:57:39 +01:00