summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-05fix two uninitialized readsJohn Abd-El-Malek
https://code.google.com/p/pdfium/issues/detail?id=9 https://code.google.com/p/pdfium/issues/detail?id=10 BUG= R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/312273002
2014-06-04Use unsigned type for iteration to avoid int overflow.John Abd-El-Malek
If src_len in PDF_DecodeText is larger than 2^31, 2 * max_chars will overflow and the function will produce an incorrect result. BUG=none R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/306923006
2014-06-04Wrong variable assignment in Pdfium.John Abd-El-Malek
CID=115579 Original patch by Finnur Thorarinsson <finnur@chromium.org>
2014-05-29In linux and mac, use Arial to replace Tahoma for displaying east europe ↵chromium/2033chromium/2032chromium/2031chromium/2030chromium/2029chromium/2028chromium/2027chromium/2026chromium/2025chromium/2024chromium/2023Bo Xu
characters BUG= Review URL: https://codereview.chromium.org/301263002
2014-05-29Fix xcode build.John Abd-El-Malek
R=thakis@chromium.org Review URL: https://codereview.chromium.org/300993002
2014-05-28Followup comments from https://codereview.chromium.org/298893007/John Abd-El-Malek
R=thakis@chromium.org Review URL: https://codereview.chromium.org/302653009
2014-05-28Fix a security issue in FPDF_GetMetaTextBo Xu
BUG=security Review URL: https://codereview.chromium.org/307653002
2014-05-28Do not use FX_BOOL for int values.Bo Xu
BUG=none R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/300063015
2014-05-27Fix licenses in headers to pass Chromium's checklicenses tool.Lei Zhang
BUG=chromium:374943 R=jam@chromium.org Review URL: https://codereview.chromium.org/303723004
2014-05-27Add Lei to AUTHORSJohn Abd-El-Malek
2014-05-27adjust output dir for msvs to fix msvs link errorBo Xu
BUG=msvs build R=jam@chromium.org Review URL: https://codereview.chromium.org/295323004
2014-05-27Change cc list to be pdfium-reviews@googlegroups.comJohn Abd-El-Malek
2014-05-27Use unsigned type for decoding in _A85Decode.Bo Xu
The local variable res can overflow over 2^31-1 and so we must use unsigned type for decoding. BUG=none R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/288983009
2014-05-27Fix memory leak on array size overflow.Bo Xu
BUG=none R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/300023002
2014-05-26Fix build error on Windows stand alone build.John Abd-El-Malek
R=scottmg@chromium.org Review URL: https://codereview.chromium.org/299353008
2014-05-26Fix build error on win x64.chromium/2022chromium/2021chromium/2020chromium/2019chromium/2018chromium/2017chromium/2016chromium/2015John Abd-El-Malek
2014-05-26Move linker settings from standalone.gypi to pdfium.gyp, since they're ↵John Abd-El-Malek
needed when linking pdfium_test as part of other projects' gyp files as well where standalone.gypi isn't used. R=scottmg@chromium.org Review URL: https://codereview.chromium.org/302453004
2014-05-24Fix warnings in android build, fix font rendering issue, fix issue 357588: ↵Bo Xu
wrong characters representation, and addjust some code indent BUG= R=jam@chromium.org Review URL: https://codereview.chromium.org/294353002
2014-05-24Fix a typo with PAGEMODE_UNKNOWN.Lei Zhang
R=jam@chromium.org Review URL: https://codereview.chromium.org/297993002
2014-05-23Switch include paths to fpdfsdk back to be relative so that pdfium_test can ↵John Abd-El-Malek
be built from a Chromium checkout.
2014-05-23Remove gcctest target which is not needed anymore.John Abd-El-Malek
Original patch by Andrey Khalyavin <halyavin@chromium.org>
2014-05-23remove Microsoft SDKJohn Abd-El-Malek
Original patch by Lucas Nihlen <luken@chromium.org>
2014-05-23Add a .gitattributes with "* text=auto" so that new lines areJohn Abd-El-Malek
automatically converted to the native platform's format on checkout but are committed as "LF". BUG=375516 Original patch from Julien Tinnes <jln@chromium.org>
2014-05-23Convert all line endings to LF.John Abd-El-Malek
2014-05-23Fix line endings.John Abd-El-Malek
2014-05-23Add execute permission to scriptJohn Abd-El-Malek
2014-05-23Create a standalone pdfium build.John Abd-El-Malek
I moved pdfium_test from chromium's repo to pdfium's. It's now buildable as a sample following the instructions on the wiki.
2014-05-22Revert the changes to pdfium.gyp in 4db62f5. To completely fix all the ↵chromium/2014chromium/2013John Abd-El-Malek
errors on all platforms we'd have to make changes to third party libraries. Some of those libraries are already shipped in chrome, and if we are going to want to share them we don't want them to diverge.
2014-05-21Add Nico to AUTHORS.John Abd-El-Malek
2014-05-21Don't remove -Wheader-hygiene for pdfium, 41f0590a9d7 fixed all violations.Nico Weber
BUG=375558
2014-05-21Add Raymes to AUTHORSJohn Abd-El-Malek
2014-05-21Add codereview.settings and OWNERS for pdfiumRaymes Khoury
2014-05-21Fix clang warnings so we can treat warnings as errors.John Abd-El-Malek
2014-05-20Add Matt Giuca to AUTHORS.John Abd-El-Malek
2014-05-20Fixed or silenced all warnings and turned on warnings-as-errors.John Abd-El-Malek
- Silence -Wheader-hygiene warning on Clang. Between fx_agg_driver.cpp and fxjs_v8.h there are hundreds or thousands of things that depend on "using namespace", so it is best to just suppress this warning than fix it. - gzguts.h: Include unistd.h on all non-Windows platforms, not just Apple platforms. Fixes implicit include warnings on Linux. - Added parens to silence a warning about mixing && and ||. - Removed a check if an enum is negative. Enums can be unsigned, generating an always-false warning. The check isn't necessary. - Removed some statements that are just names of variables that do nothing. BUG=375114 Patch by Matt Giuca <mgiuca@chromium.org>
2014-05-20cf2hints: Fix early loop termination causing hints to be ignored.John Abd-El-Malek
There was a comparison that checks maskEndPtr >= maskEndPtr. It has been fixed to maskPtr >= maskEndPtr. BUG=375139 Patch by Matt Giuca <mgiuca@chromium.org>
2014-05-20Add some blank lines at the end of 3 files to remove the "no newlines at end ↵John Abd-El-Malek
of file" warning.
2014-05-20Add my @chromium account in the AUTHORS file.John Abd-El-Malek
2014-05-20Remove "using namespace agg" to make it clear which code is using agg, and ↵John Abd-El-Malek
also so we can turn compiler warnings into errors.
2014-05-20Fix warning on Mac.John Abd-El-Malek
2014-05-20Remove "using namespace v8" in header. This allows us to turn all warnings ↵John Abd-El-Malek
into errors. It also makes it clearer to find usage of v8 in the library.
2014-05-19Remove refernce to file that's not there in gyp.John Abd-El-Malek
2014-05-17Initial commit.John Abd-El-Malek
2014-05-09Initial empty repositoryChase Phillips