Yury Delendik
2f34fd46cb
Move CustomStyle.
2015-11-19 10:47:17 -06:00
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: */
2015-11-14 07:32:18 +05:30
Yury Delendik
7cb32759ed
Better CSS scaling for deviceRixelRatio != 1.
2015-10-28 17:27:42 -05:00
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.
2015-10-13 16:27:50 +02:00
Brendan Dahl
42ddb7151b
Merge pull request #5356 from Rob--W/scroll-issue-5355
...
scrollIntoView: Skip overflow:hidden elements
2015-10-05 11:15:34 -07:00
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.
2015-09-09 23:49:03 +02:00
Rob Wu
3e363ae307
scrollIntoView: Skip overflow:hidden elements
2015-07-14 00:23:29 +02:00
Yury Delendik
1b847df2f3
Using pdfjs-dist as a library for b2g viewer.
2015-06-30 16:53:32 -05:00
Yury Delendik
0ef6212b64
Refactors PDFLinkService.
...
# Conflicts:
# web/viewer.js
2015-05-16 11:20:36 -05:00
fkaelberer
a78bb6b946
Use binary search in getVisibleElements()
2015-03-01 17:41:20 +01:00
Jonas Jenwald
eed67ea8bb
Remove the |el| property in PDFPageView and PDFThumbnailView
2015-02-27 00:26:02 +01:00
Yury Delendik
b930228788
Refactors Cache into PDFPageViewBuffer
2014-12-19 16:54:32 -06:00
Jonas Jenwald
ecbb39f983
Fix loadingBar hiding when disableAutoFetch is enabled (issue 3590)
2014-10-05 23:16:36 +02:00
Jonas Jenwald
cfeb4c1019
Small refactoring of the loadingBar hiding code
2014-10-05 23:15:10 +02:00
Jonas Jenwald
b9ef80e167
Add a page loading indicator to the page number input
2014-10-01 00:13:44 +02:00
Yury Delendik
a1eca2084d
Moves constants to avoid dependency on PDFView
2014-09-21 12:47:26 -05:00
Yury Delendik
bfefadb87c
Moves watchScroll and getVisibleElements from PDFView
2014-09-20 08:19:04 -05:00
Tim van der Meij
24cf969422
Use strict equalities in web/ui_utils.js
2014-07-31 22:06:38 +02:00
Yury Delendik
df87df59b6
Increases page cache size when needed
2014-06-17 13:41:40 -05:00
Nicholas Nethercote
5b7df1830d
Fix PageView cache re-insertions.
2014-06-13 07:57:58 -07:00
Yury Delendik
b39f0c311c
Refactors history and how the database is stored
2014-04-03 13:23:18 -05:00
Jonas Jenwald
0bd865b329
Fix coding style in web/ui_utils.js
2014-03-09 12:04:56 +01:00
Jonas Jenwald
736c570231
Add support for horizontal scrolling in 'scrollIntoView' in ui_utils.js
2013-12-03 19:55:35 +01:00
Yury Delendik
fdd5d414ed
Fixes find position in HiDPI displays
2013-11-25 09:07:10 -06:00
Jonas Jenwald
60610cd625
Implement default preferences
2013-11-18 23:51:06 +01:00
Brendan Dahl
6ef44da10b
Use canvas and css width/height instead of css transform for high dpi.
2013-09-20 12:11:14 -07:00
Yury Delendik
99c9079f54
[CSP] removes inlined styles and scripts
2013-07-30 21:00:37 -05:00
Jonas
4890c5d017
Fix the positioning of the progressive loadingBar
2013-07-18 18:28:59 +02:00
Yury Delendik
ef658bf5f1
Refactoring download button logic
2013-07-12 13:14:13 -05:00
Vivin Paliath
83b6eaed16
pr #3356
...
squashing commits.
2013-06-18 09:05:55 -07:00