| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Move pdfium_test.cc from samples/ to testing/ Allow future use of non-public APIs in the test programs. Also, this has become far too complex to serve as a useful sample. Fixed: pdfium:1895 Change-Id: I8ff3113a4aebbaf24d1cbcc46746c37436f46dbb Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/118911 Reviewed-by: Thomas Sepez <tsepez@google.com> Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> | 2 年前 | |
Revert "!44 merge 144_trunk into 144_trunk" This reverts commit 20970951ddb733e75f4db5c7a7e0829a18c874db, reversing changes made to 66c6bc40966122935d37eef739deb988581214d4. Signed-off-by: ohci1 <ohci1@noreply.gitcode.com> | 6 个月前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Revert "!44 merge 144_trunk into 144_trunk" This reverts commit 20970951ddb733e75f4db5c7a7e0829a18c874db, reversing changes made to 66c6bc40966122935d37eef739deb988581214d4. Signed-off-by: ohci1 <ohci1@noreply.gitcode.com> | 6 个月前 | |
[rust png] Use SkDynamicMemoryWStream::detachAsVector method. Using SkDynamicMemoryWStream::detachAsVector allows deleting BufferWStream class. Bug: 450978228 Change-Id: Ib122ae07d48a1f83920cbad4adaa5cd267ad430c Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/137011 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> | 9 个月前 | |
【CVE-2026-11303】【504416752】Use-After-Free in PDFium XFA due to unrooted V8 wrappers Signed-off-by: qq_40999241 <lizeqiang4@h-partners.com> | 29 天前 | |
Overwrite the timezone for JS/pixel/corpus tests on Linux Set the TZ environment variable in test_runner.py, so all test suites that use it run tests in the same TZ. Use America/Los_Angeles, AKA PST/PDT, as that is what the existing test expectations assume. For now, just do this on Linux, since that is the platform currently failing the continuous build. Whereas trying to do this on Windows seems to have the opposite effect and actually triggers the issue. Bug: 461544934 Change-Id: I7ed7e02fe14b1440cb45e15e66d9ba4d3212c0fb Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/138410 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 8 个月前 | |
Revert "!44 merge 144_trunk into 144_trunk" This reverts commit 20970951ddb733e75f4db5c7a7e0829a18c874db, reversing changes made to 66c6bc40966122935d37eef739deb988581214d4. Signed-off-by: ohci1 <ohci1@noreply.gitcode.com> | 6 个月前 | |
Added a util function to compare two FS_RECTF objects. This process is currently carried out using ASSERT_EQ() function calls for each of the fields in the struct. Instead this will now be carried out by single function call to CompareFS_RECTF(). It also uses ASSERT_FLOAT_EQ() instead of ASSERT_EQ() to prevent any unwanted behavior during comparison of floats. Comparison is carried out in the same order as the definition of the fields. The files where this function resides (testing/utils/compare_coordinates.h (/.cc)) have been added to the embedder_tests target in the BUILD.gn file. The utility function has been used in the FPDFTextEmbedderTest.CroppedText test to demonstrate it's working. Bug: 42270440 Change-Id: Ied7467758817efa8f9a1ce0e5f767a462918cb22 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/124630 Reviewed-by: Tom Sepez <tsepez@google.com> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Move pdfium_test.cc from samples/ to testing/ Allow future use of non-public APIs in the test programs. Also, this has become far too complex to serve as a useful sample. Fixed: pdfium:1895 Change-Id: I8ff3113a4aebbaf24d1cbcc46746c37436f46dbb Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/118911 Reviewed-by: Thomas Sepez <tsepez@google.com> Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> | 2 年前 | |
[Skia] Optimize DrawPath() when knockout is on Instead of calculating geometric union and subtraction of paths which may contain many points, composite the objects in pixel-space using blend modes. This updates the pdfium_tests hash in DEPS to https://pdfium-review.googlesource.com/c/pdfium_tests/+/138210 Initially I kept the same structure of doing a union or difference based on the stroke color and drawing the stroke on the separate layer from the fill. However when I read ISO 32000-1:2008 I realized I could simplify it and make the function more accurately follow the spec. Rendering performance for the pdf in the bug using pdfium_test: - Before: 68.72s user 0.37s system 99% cpu 1:09.14 total - After: 0.52s user 0.12s system 99% cpu 0.645 total Bug: 334774307, 460180742 Change-Id: I7cc2d264bb06182c69d74dc7fcd04fe285d47256 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/137630 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: April Kallmeyer <ask@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> | 7 个月前 | |
[Skia] Optimize DrawPath() when knockout is on Instead of calculating geometric union and subtraction of paths which may contain many points, composite the objects in pixel-space using blend modes. This updates the pdfium_tests hash in DEPS to https://pdfium-review.googlesource.com/c/pdfium_tests/+/138210 Initially I kept the same structure of doing a union or difference based on the stroke color and drawing the stroke on the separate layer from the fill. However when I read ISO 32000-1:2008 I realized I could simplify it and make the function more accurately follow the spec. Rendering performance for the pdf in the bug using pdfium_test: - Before: 68.72s user 0.37s system 99% cpu 1:09.14 total - After: 0.52s user 0.12s system 99% cpu 0.645 total Bug: 334774307, 460180742 Change-Id: I7cc2d264bb06182c69d74dc7fcd04fe285d47256 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/137630 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: April Kallmeyer <ask@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> | 7 个月前 | |
Teach suppressor.py about mac_arm and mac_x86 Extend the SUPPRESSIONS file format to allow "mac_arm" and "mac_intel" as valid OS/platform choices, in addition to the existing "mac" choice. This will be used in an upcoming CL to suppress pixel/corpus tests that cannot pass even with fuzzy matching. Given ARM is the future for macOS and Intel support will eventually go away, it is easier to suppress a few pixel tests on Intel Macs, than to change testing/tools/pngdiffer.py to recognize test expectation files with all combinations of os, architecture, and rendering feature encoded into their names. This is also easier than adding a new architecture column for all entries in all SUPPRESSIONS files. Also fix some typos in comments along the way. Bug: 41480180 Change-Id: Icc50f881e57f6a63898abdd2e1f91170e054a135 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/137932 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 8 个月前 | |
Extracting GetBooleanGnArg from coverage_report.py Change-Id: I5475b37aad69361e2e7fae4ce69faf011e3b5c40 Reviewed-on: https://pdfium-review.googlesource.com/10030 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> | 8 年前 | |
Roll base/allocator/partition_allocator/ 0e650666e..17c0ead1e0f8 (14 commits) https://chromium.googlesource.com/chromium/src/base/allocator/partition_allocator.git/+log/0e650666e776..17c0ead1e0f8 PartitionAlloc needs to stop depending on chromium's //build in order to be used in Skia. In particular, this means to stop depending on BUILDFLAG. It will becomes PA_BUILDFLAG. Bug: 41481467 Change-Id: Ib2221088f47e172499f6f8ffb13618c9ec28a41f Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/119550 Reviewed-by: Lei Zhang <thestig@chromium.org> Auto-Submit: Arthur Sonzogni <arthursonzogni@chromium.org> Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> | 2 年前 | |
Move shim partition configuration to separate test file. This expands the use of BRP for testing in both pdfium_embeddertests and pdfium_test. Currently, these are running with a malloc shim, when supported, but not with the full BRP tracing enabled at runtime. Change-Id: I5d7f8b4df0e66f6f8a860eec1286a2cb27adcc4f Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/110394 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 2 年前 | |
Clang-format //testing Change-Id: I27360f1264aefc45286e07242f30f1882aeca2ba Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130753 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Create testing command line helpers Promote ParseSwitchKeyValue() out of pdfium_test sample into a helper file so that it can be shared with other testing executables. Similarly move BuildDefaultRendererType() out of pdfium_test sample. Rename this to avoid possible confusion with a builder pattern, as this routine is a query which does not build anything. Bug: pdfium:1878 Change-Id: I24e4830a5130a1f46f89be68ab9c814aa0b85e9f Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/98311 Commit-Queue: Alan Screen <awscreen@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Nigi <nigi@chromium.org> | 3 年前 | |
Add scoped objects and methods for saved doc / page in EmbedderTest Add ScopedSavedDoc and ScopedSavedPage, along with corresponding EmbedderTest methods to hand them out. Use these new scopers in fpdf_annot_embeddertest.cpp to avoid having to manually call CloseSavedPage() and CloseSavedDocument(). Bug: 407147676 Change-Id: Ic77873d9521c26bd6b294a236c7b0563504e3cfa Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130111 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> | 1 年前 | |
Add scoped objects and methods for saved doc / page in EmbedderTest Add ScopedSavedDoc and ScopedSavedPage, along with corresponding EmbedderTest methods to hand them out. Use these new scopers in fpdf_annot_embeddertest.cpp to avoid having to manually call CloseSavedPage() and CloseSavedDocument(). Bug: 407147676 Change-Id: Ic77873d9521c26bd6b294a236c7b0563504e3cfa Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130111 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> | 1 年前 | |
Revert "!44 merge 144_trunk into 144_trunk" This reverts commit 20970951ddb733e75f4db5c7a7e0829a18c874db, reversing changes made to 66c6bc40966122935d37eef739deb988581214d4. Signed-off-by: ohci1 <ohci1@noreply.gitcode.com> | 6 个月前 | |
Revert "!44 merge 144_trunk into 144_trunk" This reverts commit 20970951ddb733e75f4db5c7a7e0829a18c874db, reversing changes made to 66c6bc40966122935d37eef739deb988581214d4. Signed-off-by: ohci1 <ohci1@noreply.gitcode.com> | 6 个月前 | |
Clang-format //testing Change-Id: I27360f1264aefc45286e07242f30f1882aeca2ba Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130753 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Move shim partition configuration to separate test file. This expands the use of BRP for testing in both pdfium_embeddertests and pdfium_test. Currently, these are running with a malloc shim, when supported, but not with the full BRP tracing enabled at runtime. Change-Id: I5d7f8b4df0e66f6f8a860eec1286a2cb27adcc4f Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/110394 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 2 年前 | |
Convert MOCK_METHODn() to MOCK_METHOD() Stop using old-style macros. Change-Id: I99159d972784b1c2a9a913c23384327e5d109397 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/121235 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Tom Sepez <tsepez@google.com> Commit-Queue: Lei Zhang <thestig@chromium.org> | 2 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Convert remaining code to google_style_ members Bug: 42271580 Change-Id: I59f78f0cb432c49e9b2ab5169215d6fbb4d8cf87 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130830 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 1 年前 | |
Convert remaining code to google_style_ members Bug: 42271580 Change-Id: I59f78f0cb432c49e9b2ab5169215d6fbb4d8cf87 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130830 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 1 年前 | |
Clang-format //testing Change-Id: I27360f1264aefc45286e07242f30f1882aeca2ba Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130753 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Fix dangling ptrs in embeddertest found by BRP dangling ptr detector. These were missed by the PDFium probing-style detector because the raw_ptr<> were never destroyed. LSAN could not find it either, since the memory was not leaked, just the dangling references were not cleaned up beforehand. The reason is that we have C++ classes inheriting from C-style structs, hence there can not be virtual destructors. When holding an unique_ptr<> to the C-style struct, the subclass is never destructed. After this CL lands, we should be able to make the build bots set the GN variable enable_dangling_raw_ptr_checks=true. If that were set today, hopefully it would flag the issue. Change-Id: I631b2e07670e1e09111ffa9f35e600cc42b15323 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/112410 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> | 2 年前 | |
Add a way to undo a previous FPDF_SetSystemFontInfo() call Modify FPDF_SetSystemFontInfo() to be able to take a nullptr without crashing. Handle the nullptr case by releasing PDFium's hold on the previously passed in pointer. Since no existing embedder could have passed in a nullptr before without crashing, this is a safe enhancement to an existing stable API. This gives FPDF_SetSystemFontInfo() callers that need to also call FPDF_FreeDefaultSystemFontInfo() a way to safely release PDFium's pointer to the default system font info, before freeing the font info. Use this where appropriate to balance out prior FPDF_SetSystemFontInfo() calls in existing code. Update pdfium_test.cc to make the call at the appropriate time, before the FPDF_DestroyLibrary() call, by adjusting std::unique_ptr lifetimes. In a follow-up CL, PartitionAllocator class instances will stop living forever. Thus after FPDF_DestroyLibrary(), it is too late to call FPDF_FreeDefaultSystemFontInfo(), as the font info was allocated inside a destroyed partition. Bug: pdfium:1876 Change-Id: Ic3835bae5f95604f89afb35bfaf8c0d568c6bc4b Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/116771 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Thomas Sepez <tsepez@google.com> Commit-Queue: Lei Zhang <thestig@chromium.org> | 2 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Replace calls to pdfium::make_span() with CTAD. Deduction rules are imperfect, and we need to provide more information than ought be required in some cases. In particular, we need to call out dynamic_spans in a few places where spans of different sizes are combined by a questionmark operator. Bug: 42271100 Change-Id: Ic5299c1331702e84bcbb2b3cef1e731d00c06f03 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/131172 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Clang-format //testing Change-Id: I27360f1264aefc45286e07242f30f1882aeca2ba Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130753 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Clang-format //testing Change-Id: I27360f1264aefc45286e07242f30f1882aeca2ba Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130753 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Use more spans in fxcrt streams. Safer than discrete length/size arguments since we can use span methods to get some bounds checks automatically. Change-Id: Icf23116521738d142ad7a2783a7ac82d525a267f Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100450 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 3 年前 | |
Use more spans in fxcrt streams. Safer than discrete length/size arguments since we can use span methods to get some bounds checks automatically. Change-Id: Icf23116521738d142ad7a2783a7ac82d525a267f Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100450 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 3 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Revert "!44 merge 144_trunk into 144_trunk" This reverts commit 20970951ddb733e75f4db5c7a7e0829a18c874db, reversing changes made to 66c6bc40966122935d37eef739deb988581214d4. Signed-off-by: ohci1 <ohci1@noreply.gitcode.com> | 6 个月前 | |
Clang-format //testing Change-Id: I27360f1264aefc45286e07242f30f1882aeca2ba Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130753 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Clang-format //testing Change-Id: I27360f1264aefc45286e07242f30f1882aeca2ba Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130753 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Avoid depending on gtest in scoped_locale.cc Since scoped_locale.cc is in the test_support target, and pdfium_test uses test_support, pdfium_test ends up initializing gtest, even though it is not gtest-based. Avoid this by switching from EXPECT_* macros to CHECK macros. This regressed in https://pdfium-review.googlesource.com/116672 when scoped_locale.cc moved out of its own target. Change-Id: If3c0a8d023a92f517d5227e10bef51475938dee7 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/119317 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Thomas Sepez <tsepez@google.com> | 2 年前 | |
Move third_party/base/test/scoped_locale.* to testing Move helpers used for testing to the testing directory. Also shorten the pdfium::base nested namespace to namespace pdfium. Bug: pdfium:2127 Change-Id: If26a9054b75178b1781d1c5a5572fb69125fcc05 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/116672 Reviewed-by: Thomas Sepez <tsepez@google.com> Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> | 2 年前 | |
Clang-format //testing Change-Id: I27360f1264aefc45286e07242f30f1882aeca2ba Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130753 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Switch from absl::optional to std::optional Since absl::optional is using std::optional underneath, just switch to using std::optional directly. Change-Id: Ide39da5ac9c7551a710e653a60e15f022046df7b Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/116290 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Thomas Sepez <tsepez@google.com> | 2 年前 | |
Avoid reinterpret span when casting to bytes Most reinterpret_span<> usage should be avoided, and there are better functions for the single-byte conversions in span.h itself. Change-Id: I5ed8311855756c4696c14fa5e8e4da1ed9938924 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/120630 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Thomas Sepez <tsepez@google.com> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 2 年前 | |
Use more spans in streams, part 3. Change-Id: I2f49fb07f21c49938aef1748b2c88eebf9d1d630 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100532 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 3 年前 | |
Fix copyright headers in GN files Fixes a few more copyright headers that were missed earlier because PanProjectChecks() doesn't consider GN files as source files. Bug: pdfium:1884 Change-Id: I0d0f47750d1760bfea1f9aa8831f87accf2725c3 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100630 Auto-Submit: K. Moon <kmoon@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Clang-format //testing Change-Id: I27360f1264aefc45286e07242f30f1882aeca2ba Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130753 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Use std::vector<> in testing/test_fonts.h Remove last usage of the std::unique_ptr<T[]> anti-pattern in favor of a type that knows its size. Change-Id: Ic42e07c984314b0d52d402dc1ab8b936c552a99b Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/115050 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 2 年前 | |
Convert remaining code to google_style_ members Bug: 42271580 Change-Id: I59f78f0cb432c49e9b2ab5169215d6fbb4d8cf87 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130830 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 1 年前 | |
Convert remaining code to google_style_ members Bug: 42271580 Change-Id: I59f78f0cb432c49e9b2ab5169215d6fbb4d8cf87 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130830 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 1 年前 | |
Replace calls to pdfium::make_span() with CTAD. Deduction rules are imperfect, and we need to provide more information than ought be required in some cases. In particular, we need to call out dynamic_spans in a few places where spans of different sizes are combined by a questionmark operator. Bug: 42271100 Change-Id: Ic5299c1331702e84bcbb2b3cef1e731d00c06f03 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/131172 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Move shim partition configuration to separate test file. This expands the use of BRP for testing in both pdfium_embeddertests and pdfium_test. Currently, these are running with a malloc shim, when supported, but not with the full BRP tracing enabled at runtime. Change-Id: I5d7f8b4df0e66f6f8a860eec1286a2cb27adcc4f Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/110394 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> | 2 年前 | |
Clang-format //testing Change-Id: I27360f1264aefc45286e07242f30f1882aeca2ba Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130753 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
Do IWYU for free() Add <stdlib.h> where needed. Change-Id: I587749ede428eb341c62c3ea3365e628e440da8e Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/133670 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> | 1 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 | |
【CVE-2026-11303】【504416752】Use-After-Free in PDFium XFA due to unrooted V8 wrappers Signed-off-by: qq_40999241 <lizeqiang4@h-partners.com> | 29 天前 | |
【CVE-2026-11303】【504416752】Use-After-Free in PDFium XFA due to unrooted V8 wrappers Signed-off-by: qq_40999241 <lizeqiang4@h-partners.com> | 29 天前 | |
Move remaining code out of third_party/base and into core/fxcrt Bug: pdfium:2127 Change-Id: I6958fd117a550a8c46a43265ee46370bd1615f38 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/116851 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Thomas Sepez <tsepez@google.com> Commit-Queue: Lei Zhang <thestig@chromium.org> | 2 年前 | |
Update old-style copyright headers Updates old-style copyright headers to the new style, by removing "All rights reserved." Also inserts "The" before "PDFium Authors", which is required by both styles. Mechanically generated by this command: PATTERN='Copyright \([0-9]\+\) \(The \)\?PDFium Authors. All rights reserved.' git grep -l "$PATTERN" \ | xargs sed "s/$PATTERN/Copyright \1 The PDFium Authors/" -i'' Fixed: pdfium:1884 Change-Id: I6f781d811df8839e2e21b85f716529b813828bcd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/100371 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 6 个月前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 6 个月前 | ||
| 9 个月前 | ||
| 29 天前 | ||
| 8 个月前 | ||
| 6 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 8 个月前 | ||
| 8 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 3 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 6 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 29 天前 | ||
| 29 天前 | ||
| 2 年前 | ||
| 3 年前 |