Yury Delendik
2f34fd46cb
Move CustomStyle.
10 years ago
Manas
a2ba1b8189
Uses editorconfig to maintain consistent coding styles
...
Removes the following as they unnecessary
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
10 years ago
Yury Delendik
7cb32759ed
Better CSS scaling for deviceRixelRatio != 1.
10 years ago
Jonas Jenwald
9fc8e1ea25
Fix a regression, from PR 5356, that breaks all scrolling in PresentationMode
...
*This regressed in PR 5356.*
Rather than just backing out the offending code, this patch restores scrolling in PresentationMode by making the `overflow: hidden;` check optional and letting the callers that need it (e.g. `PDFFindController`) opt-in to use it.
10 years ago
Jonas Jenwald
b7d1bed463
Add a utility function, for the viewer, that removes `null` (\x00) characters (issue 6416)
...
Since some browsers render `null` characters, and others don't, this patch adds a way to remove them to prevent display issues in the viewer UI.
Given that documents may contain very long outlines, I've added a utility function to avoid creating a lot of unnecessary `RegExp` objects.
To avoid any future issues, this utility function is used for both the outline and the attachments.
Fixes 6416.
10 years ago
Rob Wu
3e363ae307
scrollIntoView: Skip overflow:hidden elements
10 years ago
Yury Delendik
1b847df2f3
Using pdfjs-dist as a library for b2g viewer.
10 years ago
Yury Delendik
0ef6212b64
Refactors PDFLinkService.
...
# Conflicts:
# web/viewer.js
10 years ago
fkaelberer
a78bb6b946
Use binary search in getVisibleElements()
10 years ago
Jonas Jenwald
eed67ea8bb
Remove the |el| property in PDFPageView and PDFThumbnailView
10 years ago
Yury Delendik
b930228788
Refactors Cache into PDFPageViewBuffer
11 years ago
Jonas Jenwald
ecbb39f983
Fix loadingBar hiding when disableAutoFetch is enabled (issue 3590)
11 years ago
Jonas Jenwald
cfeb4c1019
Small refactoring of the loadingBar hiding code
11 years ago
Jonas Jenwald
b9ef80e167
Add a page loading indicator to the page number input
11 years ago
Yury Delendik
a1eca2084d
Moves constants to avoid dependency on PDFView
11 years ago
Yury Delendik
bfefadb87c
Moves watchScroll and getVisibleElements from PDFView
11 years ago
Tim van der Meij
24cf969422
Use strict equalities in web/ui_utils.js
11 years ago
Yury Delendik
df87df59b6
Increases page cache size when needed
11 years ago
Nicholas Nethercote
5b7df1830d
Fix PageView cache re-insertions.
11 years ago
Yury Delendik
b39f0c311c
Refactors history and how the database is stored
11 years ago
Jonas Jenwald
0bd865b329
Fix coding style in web/ui_utils.js
11 years ago
Jonas Jenwald
736c570231
Add support for horizontal scrolling in 'scrollIntoView' in ui_utils.js
12 years ago
Yury Delendik
fdd5d414ed
Fixes find position in HiDPI displays
12 years ago
Jonas Jenwald
60610cd625
Implement default preferences
12 years ago
Brendan Dahl
6ef44da10b
Use canvas and css width/height instead of css transform for high dpi.
12 years ago
Yury Delendik
99c9079f54
[CSP] removes inlined styles and scripts
12 years ago
Jonas
4890c5d017
Fix the positioning of the progressive loadingBar
12 years ago
Yury Delendik
ef658bf5f1
Refactoring download button logic
12 years ago
Vivin Paliath
83b6eaed16
pr #3356
...
squashing commits.
12 years ago