Jonas Jenwald
8ad1ea3c5f
Zero the height and width of the WebGL canvases on cleanup
11 years ago
Yury Delendik
10db93be29
Merge pull request #4980 from Snuffleupagus/bug-1027533
...
Additional heuristics to recognize unknown glyphs for toUnicode (bug 1027533)
11 years ago
Yury Delendik
bb7e7d33c5
Merge pull request #4976 from CodingFabian/restructure-evaluator-read
...
Restructured EvaluatorPreprocessor_read to be more natural.
11 years ago
Yury Delendik
c28839b2f3
Merge pull request #4944 from Snuffleupagus/issue-4934
...
Don't blindly trust toUnicode when building toFontChar for non-standard fonts without a font file (issue 4934)
11 years ago
Fabian Lange
60f67c3961
Restructured EvaluatorPreprocessor_read to be more natural.
11 years ago
Yury Delendik
6d86c92514
Merge pull request #4991 from timvandermeij/text-layer-builder-refactoring
...
Refactoring text layer builder and converting text layer builder to a class
11 years ago
Tim van der Meij
c7e614323a
Removing unnecessary includes from text selection example
11 years ago
Yury Delendik
3ad58db7e8
Merge pull request #4982 from nnethercote/use-null-for-zero-args
...
Use null instead of [] for ops with no args.
11 years ago
Yury Delendik
70556710d4
Merge pull request #4987 from timvandermeij/text-search-refactoring
...
Refactoring PDF find controller and implementing page content and query normalization
11 years ago
Tim van der Meij
fa33b9c643
Refactoring PDFFindController in the text layer builder
11 years ago
Tim van der Meij
a968da8887
Convert the text layer builder to a class
11 years ago
Tim van der Meij
2a052c4aad
Refactoring text layer builder
11 years ago
Nicholas Nethercote
081866a184
Use null instead of [] for ops with no args.
...
This reduces peak RSS on one test file from ~600 to ~560 MiB.
11 years ago
Tim van der Meij
fbfb9458d6
Implement text normalization for page content and queries
11 years ago
Tim van der Meij
ec1b58a30a
Fix code style issues in pdf_find_controller.js and build strings more efficiently
11 years ago
Jonas Jenwald
b19bb74813
Additional heuristics to recognize unknown glyphs for toUnicode (bug 1027533)
11 years ago
Yury Delendik
456d219f2a
Merge pull request #4981 from yurydelendik/svg1
...
Misc SVG Viewer example fixes
11 years ago
Yury Delendik
834f466c05
Fixes SVG transforms on restore
11 years ago
Yury Delendik
9a28b8a412
Misc UI improvements for the SVG Viewer
11 years ago
Yury Delendik
6258ae61d5
Merge pull request #4979 from pramodhkp/svg-v3
...
SVG Viewer Example demo
11 years ago
pramodhkp
dd253aadeb
SVG Viewer example demo
11 years ago
Yury Delendik
84157e039d
Merge pull request #4973 from nnethercote/better-ref-keys
...
Factor out repeated Ref key string generation code.
11 years ago
Nicholas Nethercote
1ad3ffbc7b
Factor out repeated Ref key string generation code.
...
In src/core/obj.js, we convert a Ref to a string to index into a table like
this: 'R1.0'. This conversion is repeated numerous times.
This patch factors out the conversion into a new function.
Ref.prototype.toString().
11 years ago
Yury Delendik
c0a6b0f308
Merge pull request #4971 from yurydelendik/rm-suppressEncryption
...
Removes error catch from fetchUncompressed()
11 years ago
Yury Delendik
b557b87fc9
Merge pull request #4972 from nnethercote/preprocessor-read
...
Avoid allocating return object in EvaluatorPreprocessor_read().
11 years ago
Nicholas Nethercote
17170af3c7
Avoid allocating return object in EvaluatorPreprocessor_read().
...
This function can be called 100s of 1000s or even millions of times, and the
allocated return object accounts for 10% of all GC thing allocations for some
documents. It's easy to avoid, which reduces stress on the garbage collector,
and this patch does that.
11 years ago
Yury Delendik
623fa29300
Removes error catch from fetchUncompressed()
11 years ago
Yury Delendik
fbdab2c7c5
Not ignoring MissingDataException exception.
11 years ago
Yury Delendik
cf4bc42e33
Merge pull request #4968 from nnethercote/glyphBuf
...
Build up textChunk.str more efficiently.
11 years ago
Jonas Jenwald
7a83291c14
Merge pull request #4970 from yurydelendik/AnnotationUtils
...
Fixes AnnotationUtils in the extension build
11 years ago
Yury Delendik
88fd1aa78b
Removes PDFJS.Annotation
11 years ago
Yury Delendik
c4ed02ec0d
Merge pull request #4969 from timvandermeij/image-loading
...
Implements onerror for JpegStreams
11 years ago
Yury Delendik
c1c950ce74
Fixes AnnotationUtils in the extension build
11 years ago
Tim van der Meij
4c759527d1
Implements onerror for JpegStreams
11 years ago
Jonas Jenwald
2282c98500
Merge pull request #4965 from yurydelendik/annotations
...
Splits shared/annotation.js into core/ and display/
11 years ago
Nicholas Nethercote
bce7601480
Build up textChunk.str more efficiently.
...
PartialEvaluator.getTextContent() builds up textChunk strings 1 char at a time,
creating many 100s of 1000s of intermediate strings along the way. This patch
make it instead push chars to an array and then join them at the end, as we
have done in numerous other places.
11 years ago
Yury Delendik
011eb8468f
Merge pull request #4966 from nnethercote/faster-ensureRange-2
...
Add ChunkedStream.ensureByte().
11 years ago
Nicholas Nethercote
4428cebdbc
Add ChunkedStream.ensureByte().
...
This new function is much faster than ensureRange(pos, pos+1), which is a very
common case.
This speeds up the rendering of some test cases (including the Tracemonkey
paper) by 4--5%.
11 years ago
Yury Delendik
bdeca30fbf
Splits shared/annotation.js into core/ and display/
11 years ago
Jonas Jenwald
bab40caf7b
Merge pull request #4961 from yurydelendik/raf-ios
...
Disables broken rAF on iOS
11 years ago
Jonas Jenwald
b160e858b3
Merge pull request #4962 from yurydelendik/issue-4943
...
Increases page cache size when needed
11 years ago
Yury Delendik
df87df59b6
Increases page cache size when needed
11 years ago
Yury Delendik
0f0f0688a1
Merge pull request #4946 from Snuffleupagus/issue-3862
...
Refactor fake worker loading (issue 3862)
11 years ago
Yury Delendik
dccc709b50
Disables broken rAF on iOS
11 years ago
Yury Delendik
ea16723448
Merge pull request #4951 from pramodhkp/getoperatorlist
...
Added getOperatorList to api.js
11 years ago
pramodhkp
1d00e9d13c
Added getOperatorList to api.js
11 years ago
Yury Delendik
bad24bf707
Merge pull request #4950 from fkaelberer/fasterJPEGtransform
...
Faster JPEG transform
11 years ago
Yury Delendik
11302f09a4
Merge pull request #4959 from nnethercote/zero-cache-canvases
...
Zero the height and width of cached canvases before deleting them.
11 years ago
Yury Delendik
5a2e511cbd
Merge pull request #4955 from timvandermeij/rename-concatenate
...
Renames concatenateToArray to appendToArray
11 years ago
Jonas Jenwald
ab67e1c272
Let Parser_makeFilter return NullStream when an invalid stream is encountered (issue 3417)
11 years ago