Age | Commit message (Collapse) | Author |
|
Avoid some const casts, unused return types, etc.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1660633003 .
|
|
This was an obstacle to removing CFX_DWordArray; rather than
rote conversion of an array where the even elements mean one
thing and the odd elements another, make an array of pairs.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1660733002 .
|
|
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1661123002 .
|
|
Also remove one unnecessary member function.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1660523003 .
|
|
This reverts commit 0fe7f600254fa390d60fcad3e6af5e4f46df244c.
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1662823002 .
|
|
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1665593003 .
|
|
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1667433002 .
|
|
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1660753002 .
|
|
(Many more uses in XFA).
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1653253002 .
|
|
Remove code from header.
Put related declarations together.
Add convenience function for widestrings.
Avoid pointless releases.
Use early returns in all cases for consistency.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1658853002 .
|
|
Use the gennum field in the m_ObjectInfo map instead.
BUG=pdfium:111
R=weili@chromium.org
Review URL: https://codereview.chromium.org/1654303002 .
|
|
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1652613002 .
|
|
Use the type field in the m_ObjectInfo map instead.
BUG=pdfium:111
R=weili@chromium.org
Review URL: https://codereview.chromium.org/1650793002 .
|
|
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1654523002 .
|
|
One more test before replacing the old sort() mechanism.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1650623004 .
|
|
- Generalise GetBits8()
- Get rid of C-style casts.
- Make CFX_DIBSource::SetDownSampleSize() non const. It's only overriden
once and called in one place and it doesn't make sense for it to be const.
- Get rid of a macro
- Make public member vars of CPDF_DIBSource private
- And others...
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1644403003 .
|
|
- Remove dead code.
- Add more public methods and remove friends.
R=weili@chromium.org
Review URL: https://codereview.chromium.org/1566133002 .
|
|
Mainly use virtual functions to replace functions with switch statements.
Also remove a few unused functions and make some format changes.
BUG=pdfium:63
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1634373003 .
|
|
Moved onto JS_ExpandKeywordParams(), and added a test which
showed the failure to pass all the data back to the embedder.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1645413002 .
|
|
I'm about to replace the sort() that underlies this class,
so I first want to be sure I don't disrupt the order.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1652533002 .
|
|
BUG=581960
R=tsepez@chromium.org
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1648283003 .
|
|
Centralize the "arguments in an object" logic. See the section
"Method Arguments" in the js_api_reference.pdf. Add some tests
to hit the ambiguous cases this section implies, and test that
all parameters are passed end-to-end to our callbacks.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1641693003 .
|
|
This is needed by Cl 1634373003 as the name collision with virtual functions
will be shown as warnings on Linux. Also, it is better to use
different names for different cases.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1644633003 .
|
|
Original Review URL: https://codereview.chromium.org/1634123004 .
(cherry picked from commit f10ae634e7b198b18942baaf9f111f07cc8ce818)
R=thestig@chromium.org
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1640473002 .
|
|
They mean different things. The goal is that only usage of
the CPDF_Object type enums outside of the class should be for
switch() statements, so remove one other comparison.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1635173003 .
|
|
Make the two fundamental "object" types be enums.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1632143002 .
|
|
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1637693002 .
|
|
Replace with std::deque.
Make member naming more consistent.
R=ochang@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/1618273004 .
|
|
Review URL: https://codereview.chromium.org/1634683003 .
(cherry picked from commit e24ea22700c9fc534d40cc510d59c453aa9d0ddb)
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1632843004 .
|
|
Orignal Review URL: https://codereview.chromium.org/1630973002 .
(cherry picked from commit 0f68785be6af2b15109bb8a8f3bb7ebc040500d5)
R=thestig@chromium.org
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1624343004 .
|
|
Original Review URL: https://codereview.chromium.org/1638493002 .
(cherry picked from commit 02056fae83c8136195c8eb2a00c3606f600a8b6a)
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1632863002 .
|
|
This is a regression from commit 90853cb.
BUG=pdfium:365
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1617043004 .
|
|
m_bGetCharCodeOnly and m_bOutputHyphen are never re-assigned.
m_bNormalizeObjs is assigned in a method that is never called.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1618693009 .
|
|
The _CAPS class naming convention violates reserved
identifier rules.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1620523002 .
|
|
Prefer class names to be singular.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1612113003 .
|
|
Remove default args.
Remove unreachable code.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1601093009 .
|
|
Classes should be named after nouns, not verbs.
Also mark methods private, not protected.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1611193003 .
|
|
Find() in a list isn't the best idea.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1610303002 .
|
|
Still used by XFA, so the merge will make this XFA only.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1580573002 .
|
|
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1580493002 .
|
|
Fix the bugs by removing ParseNumber() entirely.
For PDFium's JavaScript bindings, we want to get out of the
numeric conversion business and inflict that on V8 as
possible, avoiding platform-specific issue in strtod().
For other uses, there is a FX_atof() which is similarly
buggy, but we can consolidate the use. Add an overloaded
FX_atof() to handle wide strings more simply.
BUG=pdfium:361
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/1586203006 .
|
|
TBR=weili@chromium.org
Review URL: https://codereview.chromium.org/1602323002 .
|
|
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1607923004 .
|
|
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1581393011 .
|
|
There are multiple functions in CPDF_Object class which can cause infinite loop due to recursively calling circular indirect objects. Fix them by deference indirect object first.
BUG=pdfium:355
R=jun_fang@foxitsoftware.com, thestig@chromium.org
Review URL: https://codereview.chromium.org/1585533002 .
|
|
We need more powerful tools for exclusion in light of
the XFA merge.
This stops short of integrating the matcher with the
pdfium_test --show-config option.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1586043006 .
|
|
Prerequisite for suppressing tests based on build options.
We explicitly delimit everything with [x] so as to make
substring matching trivial in the .py down the road.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1587023005 .
|
|
FreeType headers have to be included with macros defined in ftheaders.h.
Not doing so breaks when the FreeType header location changes as was the
case between FreeType 2.6.0 and 2.6.2.
Patch by jshin@chromium.org
BUG=pdfium:362
R=jshin@chromium.org, tsepez@chromium.org
Review URL: https://codereview.chromium.org/1587333002 .
|
|
R=tsepez@chromium.org
BUG=571480
Review URL: https://codereview.chromium.org/1583233008 .
|
|
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1589223002 .
|