Brian Gough
|
a13e78e853
|
catch rejected promises in pdfviewer
|
2015-01-26 16:07:49 +00:00 |
|
Brian Gough
|
b4f527b099
|
handle rejected promises in pdf viewer
|
2015-01-26 16:07:49 +00:00 |
|
Brian Gough
|
182dfabbae
|
fix pdf loadcount (no ?: operator in coffeescript)
|
2015-01-26 16:07:49 +00:00 |
|
Brian Gough
|
1a8438be5f
|
handle error loading pdf
|
2015-01-26 16:07:49 +00:00 |
|
Brian Gough
|
a5900c4b9a
|
handle case where Raven is not defined in pdf renderer
|
2015-01-26 16:07:48 +00:00 |
|
Brian Gough
|
63fd1f7c78
|
remove comments
|
2015-01-26 16:07:48 +00:00 |
|
Brian Gough
|
20d1a8b0f7
|
queue all pdf rescale/relayout events to avoid duplicate redraws
delay spinner by 100ms, since it now shows sooner
|
2015-01-26 16:07:48 +00:00 |
|
Brian Gough
|
866de306d6
|
added comment about double resize event
|
2015-01-26 16:07:48 +00:00 |
|
Brian Gough
|
bd8cfb1dae
|
fix pdf viewer to work without background scope.apply
|
2015-01-26 16:07:48 +00:00 |
|
Brian Gough
|
1160560bfb
|
add missing scope.$apply in pdf viewer event handlers
shows up now there are no apply's coming from the unsaved file check
|
2015-01-26 16:07:48 +00:00 |
|
Brian Gough
|
4ab0f00b8d
|
do not render offscreen pdf pages yet
they cause a delay without a visible spinner
|
2015-01-21 14:37:59 +00:00 |
|
Brian
|
62d5916883
|
replace $timeout by setTimeout in pdf viewer update
|
2015-01-20 21:06:53 +00:00 |
|
Brian
|
c8012dc22c
|
fix getVisiblePages in pdf viewer to allow optimisation
|
2015-01-20 20:35:29 +00:00 |
|
Brian Gough
|
debc3037ae
|
remove debugging from pdf viewer
|
2015-01-20 16:22:34 +00:00 |
|
Brian Gough
|
441bc63935
|
use setTimeout instead of $timeout in pdf scrollhandler
|
2015-01-20 16:20:38 +00:00 |
|
Brian Gough
|
591498a056
|
fix dom position calculation in pdf viewer
|
2015-01-20 16:20:19 +00:00 |
|
Brian
|
53e9086094
|
remove useless scope.$apply in pdf scrollhandler
|
2015-01-20 15:37:11 +00:00 |
|
Brian
|
721843695b
|
avoid using jquery in pdf scrollhandler to improve peformance
|
2015-01-20 15:36:52 +00:00 |
|
Brian Gough
|
96af4e0b4a
|
fix selection of prerender pages in pdf viewer
|
2015-01-20 14:28:43 +00:00 |
|
Brian Gough
|
f18f862be2
|
handle different page size in pdf viewer
|
2015-01-20 14:28:14 +00:00 |
|
Brian Gough
|
c9e019b4a7
|
clean up calculation of visible pdf pages and display on redraw
|
2015-01-20 11:06:40 +00:00 |
|
Brian Gough
|
776535f9f3
|
move pdf page visibility calculation up into pdfViewer directive
removes per-page watch for visibility
|
2015-01-19 16:55:44 +00:00 |
|
Brian Gough
|
906c9114cd
|
replace per-page pdf highlight $watch with highlight event
|
2015-01-19 14:26:14 +00:00 |
|
Brian
|
06330e6506
|
add pdfng scroll handler using requestAnimationFrame
|
2015-01-16 15:51:22 +00:00 |
|
Brian Gough
|
751166d987
|
Merge branch 'master' into fix-pdfng-progress-bar
Conflicts:
public/coffee/ide/pdfng/directives/pdfRenderer.coffee
public/coffee/ide/pdfng/directives/pdfViewer.coffee
|
2015-01-16 14:19:59 +00:00 |
|
Brian Gough
|
5e06043fcb
|
add loadedCallback to pdfng, detects when pdf is fully loaded
|
2015-01-13 16:28:24 +00:00 |
|
Brian Gough
|
1d3d316595
|
capture all pdfng error callbacks with raven
|
2015-01-13 15:47:27 +00:00 |
|
Brian Gough
|
823bdcf583
|
fix scope error in pdf viewer
|
2015-01-12 17:03:03 +00:00 |
|
Brian Gough
|
560919b78f
|
avoid exception in pdf viewer
if file was previously bigger, current position could be greater than
the number of pages
|
2015-01-12 16:47:38 +00:00 |
|
Brian Gough
|
bf8bc27de0
|
catch errors in pdf viewer and reload if necessary
if more than 3 reloads, display error to the user
|
2015-01-12 16:46:17 +00:00 |
|
Brian Gough
|
7f750ae692
|
add an error callback to the pdf renderer
use page load and render timeouts of 30 seconds to detect hanging pages
|
2015-01-12 16:45:24 +00:00 |
|
Brian Gough
|
660bb75df4
|
add query string parameters for compileGroup= and pdfng=
compileGroup will bypass mongo check for compileGroup priority
pdfng will pass pdf Range: headers through from user request to CLSI
|
2014-12-12 16:47:43 +00:00 |
|
Brian Gough
|
50e03e93ba
|
poll the element for the pdf viewer if it is zero size
avoid invisible pdf forever waiting for layout-ready event when
switching between full-screen and split-screen
|
2014-12-09 14:40:54 +00:00 |
|
Brian Gough
|
1acc924e0b
|
comment out console.logs in pdfng
|
2014-12-09 14:39:58 +00:00 |
|
Brian Gough
|
843fa6f847
|
handle shutdown of pdf viewer/rendering with destroy method
|
2014-12-09 13:46:44 +00:00 |
|
Brian Gough
|
b157323eb7
|
defer loading of pdf destinations until required
|
2014-12-09 13:45:12 +00:00 |
|
James Allen
|
b94a9aab0d
|
Hide loading bar once loaded enough to render
|
2014-12-08 17:48:57 +00:00 |
|
Brian Gough
|
63ac1093bc
|
keep pages visible after a recompile until they are ready to rerender
|
2014-12-08 17:00:43 +00:00 |
|
Brian Gough
|
c3569dd45f
|
add a progress event in the pdfng viewer
|
2014-12-08 17:00:26 +00:00 |
|
Brian Gough
|
2a66651ec9
|
flash the pdf controls in pdfng
|
2014-12-08 15:32:16 +00:00 |
|
Brian Gough
|
863c8b9586
|
prevent exception when scrolling during rerender in pdfng
|
2014-12-08 15:32:05 +00:00 |
|
Brian Gough
|
206e7db144
|
add spinners and classes for feedback on pdfng loading and rendering
|
2014-12-08 14:46:59 +00:00 |
|
Brian Gough
|
89d63c4f44
|
handle fullscreen mode in pdfng
default to scale = 1 when containing div size is zero
|
2014-12-08 10:28:02 +00:00 |
|
Brian Gough
|
0ae83d9be4
|
rescale pdf on parent size initialisation in addition to resizes
|
2014-12-05 19:42:16 +00:00 |
|
Brian Gough
|
1284ce613c
|
support pdf double click
|
2014-12-05 14:33:06 +00:00 |
|
Brian Gough
|
c167e86ba5
|
use timeout instead of requestAnimationFrame in pdf scroll handler
for simplicity as the time delay is large compared with rAF
|
2014-12-05 12:12:01 +00:00 |
|
Brian Gough
|
44057a9632
|
only check pdf page visibility on scroll every 50ms
|
2014-12-04 16:49:24 +00:00 |
|
Brian Gough
|
a15a6d877f
|
avoid exception when elements in pdf view have been removed
|
2014-12-04 16:44:41 +00:00 |
|
Brian Gough
|
94448ed447
|
comment out logs/unused code in pdf viewer
|
2014-12-02 11:43:14 +00:00 |
|
Brian Gough
|
440c1d3987
|
avoid exception
|
2014-12-01 15:24:19 +00:00 |
|