Rob Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							69a64d45bc 
							
						 
					 
					
						
						
							
							Put URL = URL || webkitURL in compatibility.js  
						
						... 
						
						
						
						Declares the URL variable globally. If the feature is not
supported, the variable will still be declared, but have the
"undefined" value.
Supported by:
- Firefox 4
  Firefox 21 in Web worker
- Chrome 8  (prefixed as webkitURL), 23+ unprefixed
  Chrome 10 (prefixed as webkitURL) in Web Worker, 23+ unprefixed
- Opera 15
  Opera 15 in Web Worker
- Internet Explorer 10
  Internet Explorer 11 in Web Worker
- Safari 6 (prefixed as webkitURL)
  Safari 6 (prefixed as webkitURL) in Web Worker 
						
						
					 
					
						2013-07-09 22:54:12 +02:00 
						 
				 
			
				
					
						
							
							
								Rob Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							4ffc408512 
							
						 
					 
					
						
						
							
							Download PDF from cache for non-Firefox add-on  
						
						... 
						
						
						
						This feature relies on URL.createObjectURL, which is supported by
- Firefox 4
- Chrome 8
- Opera 15
- Internet Explorer 10
If the feature is missing, it falls back to downloading from the server.
The environment-specific code are put in ifdef's. Two methods are
defined:
- noData
  This function is used as a fallback in case of failure, it triggers
  a download directly from the server.
- triggerSaveAs(String url, optional String blob)
  This function attempts to show a Save As dialog for a given URL.
  It attempts to use the a.download attribute, if available, and
  falls back to window.open(<url>, '_parent') if unavailable.
See also http://caniuse.com/download  
						
						
					 
					
						2013-07-09 22:54:12 +02:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							d71948038f 
							
						 
					 
					
						
						
							
							Merge pull request  #3439  from yurydelendik/smask-preblend  
						
						... 
						
						
						
						Takes SMask's preblending in account 
						
						
					 
					
						2013-07-09 13:26:44 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							c17f90e1aa 
							
						 
					 
					
						
						
							
							Merge pull request  #3406  from Snuffleupagus/remove-old-moz-prefixes  
						
						... 
						
						
						
						Remove old -moz prefixed rules from viewer.css 
						
						
					 
					
						2013-07-09 13:13:20 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							e67b9a7f17 
							
						 
					 
					
						
						
							
							Merge pull request  #3441  from brendandahl/less-cache  
						
						... 
						
						
						
						Remove caching of stream data and fix object loader for streams. 
						
						
					 
					
						2013-07-09 13:01:54 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							666da95b37 
							
						 
					 
					
						
						
							
							Merge pull request  #3450  from brendandahl/fix-mimetype-check  
						
						... 
						
						
						
						Bug 879161 - Fix pdf.js mimetype check. 
						
						
					 
					
						2013-07-09 10:01:18 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							160403197b 
							
						 
					 
					
						
						
							
							Merge pull request  #3447  from Rob--W/chrome-arrow-keys-3443  
						
						... 
						
						
						
						Allow scrolling by keyboard in Chrome/Opera 
						
						
					 
					
						2013-07-09 07:44:01 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							940415b32c 
							
						 
					 
					
						
						
							
							Merge pull request  #3454  from Rob--W/configurable-images-directory  
						
						... 
						
						
						
						Configurable IMAGE_DIR for annotations to get svg images to show up in Chromium extension 
						
						
					 
					
						2013-07-09 07:37:58 -07:00 
						 
				 
			
				
					
						
							
							
								Rob Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							cc04cf5d1f 
							
						 
					 
					
						
						
							
							Configurable IMAGE_DIR for annotations  
						
						... 
						
						
						
						The Chrome extension activates PDF.js by inserting the script tags
in a document whose URL and location origin is identical to the PDF
file.
Because of this, the path './images/' was resolved relatively to the
location of the PDF file instead of the extension.
To fix this, the IMAGE_DIR constant is moved outside the local scope,
to allow extensions/chrome/insertviewer.js to override the value.
Originally, the IMAGE_DIR variable was a global variable, but commit
f8f4b3f45dc6ff5f5b2572b5387389db33616be3 moved the global variable
to the local scope, causing the extension to malfunction.
Impact: low, the only consequence is that some rarely used images
were not visible.
Trivial test:
At the center of page 2, the annotation icon
(images/annotation-comment.svg) should be visible:
http://linorg.usp.br/CTAN/macros/latex/contrib/pdfcomment/doc/pdfcomment.pdf  
						
						
					 
					
						2013-07-09 16:24:25 +02:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							b0f78609b3 
							
						 
					 
					
						
						
							
							Merge pull request  #3386  from yurydelendik/ttf-refactor  
						
						... 
						
						
						
						Refactoring of TrueType code and implementation of OpenType font repairing 
						
						
					 
					
						2013-07-08 22:11:31 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							19e8f2f059 
							
						 
					 
					
						
						
							
							lookChar refactoring  
						
						
						
						
					 
					
						2013-07-08 21:25:55 -05:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							48146745b9 
							
						 
					 
					
						
						
							
							Tests for OpenType fonts  
						
						
						
						
					 
					
						2013-07-08 21:11:07 -05:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							7eae88669a 
							
						 
					 
					
						
						
							
							Bug 879161 - Fix pdf.js mimetype check.  
						
						
						
						
					 
					
						2013-07-08 11:09:50 -07:00 
						 
				 
			
				
					
						
							
							
								Jonas 
							
						 
					 
					
						
						
						
						
							
						
						
							db1d8cf76e 
							
						 
					 
					
						
						
							
							[Browsing history] Remove 'beforeunload' to enable caching and prevent duplicate entries  
						
						
						
						
					 
					
						2013-07-08 16:16:43 +02:00 
						 
				 
			
				
					
						
							
							
								Rob Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							4a2eefe1b6 
							
						 
					 
					
						
						
							
							Allow scrolling by keyboard in Chrome/Opera  
						
						... 
						
						
						
						Set "tabindex" attribute to allow focus;
Added "outline: none" to prevent focus ring from appearing.
Fixes  #3443  
						
						
					 
					
						2013-07-06 15:37:03 +02:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							09aafa830b 
							
						 
					 
					
						
						
							
							Remove caching of stream data and fix object loader for streams.  
						
						
						
						
					 
					
						2013-07-03 14:29:38 -07:00 
						 
				 
			
				
					
						
							
							
								Mitar 
							
						 
					 
					
						
						
						
						
							
						
						
							e0a2ee09b5 
							
						 
					 
					
						
						
							
							Syncing order of JS files in viewer.html and make.js. See  #3414  
						
						
						
						
					 
					
						2013-07-02 17:03:16 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							419bee1314 
							
						 
					 
					
						
						
							
							Takes SMask's preblending in account  
						
						
						
						
					 
					
						2013-07-02 14:27:06 -05:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							5e5b66f688 
							
						 
					 
					
						
						
							
							Removes browser decoding optimization for JPEG CMYK  
						
						
						
						
					 
					
						2013-07-02 09:46:14 -05:00 
						 
				 
			
				
					
						
							
							
								Rob Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							be012ed1df 
							
						 
					 
					
						
						
							
							[CRX] Don't intercept download of PDF attachment  
						
						... 
						
						
						
						Fixes  #3426  
					
						2013-07-01 19:17:05 +02:00 
						 
				 
			
				
					
						
							
							
								Rob Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							efcf2aed6e 
							
						 
					 
					
						
						
							
							[Chrome extension] Added JSDocs to pdfHandler.js  
						
						... 
						
						
						
						And a small refactor to reduce the LOC in the onHeadersReceived
callback, to improve the readability of the code. 
						
						
					 
					
						2013-07-01 19:16:45 +02:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							81fa4a0d93 
							
						 
					 
					
						
						
							
							Merge pull request  #3428  from yurydelendik/enforce-trailing  
						
						... 
						
						
						
						Enforces trailing spaces 
						
						
					 
					
						2013-07-01 09:29:31 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							3461d02d05 
							
						 
					 
					
						
						
							
							Enforces trailing spaces  
						
						
						
						
					 
					
						2013-07-01 11:25:46 -05:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							121c183db1 
							
						 
					 
					
						
						
							
							Fail if other font types are found  
						
						
						
						
					 
					
						2013-07-01 08:53:28 -05:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							6dc4b10b40 
							
						 
					 
					
						
						
							
							Implements reparing of CFF table  
						
						
						
						
					 
					
						2013-07-01 08:53:28 -05:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							ba87d2fe11 
							
						 
					 
					
						
						
							
							Merge pull request  #3373  from SSk123/master  
						
						... 
						
						
						
						rotation causes textLayer to get messed up 
						
						
					 
					
						2013-06-29 17:24:12 -07:00 
						 
				 
			
				
					
						
							
							
								Srishti 
							
						 
					 
					
						
						
						
						
							
						
						
							ee0705bcce 
							
						 
					 
					
						
						
							
							Reset Path  
						
						
						
						
					 
					
						2013-06-30 04:22:25 +05:30 
						 
				 
			
				
					
						
							
							
								Srishti 
							
						 
					 
					
						
						
						
						
							
						
						
							21a8d62624 
							
						 
					 
					
						
						
							
							Fixes Text rotation issue  #2095  
						
						
						
						
					 
					
						2013-06-30 03:52:30 +05:30 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							d8681b20a3 
							
						 
					 
					
						
						
							
							Merge pull request  #3415  from benbro/master  
						
						... 
						
						
						
						Add IE 11 to the text/html data URI shim 
						
						
					 
					
						2013-06-29 13:58:36 -07:00 
						 
				 
			
				
					
						
							
							
								benbro 
							
						 
					 
					
						
						
						
						
							
						
						
							74ee295812 
							
						 
					 
					
						
						
							
							Add IE 11 to the text/html data URI shim  
						
						
						
						
					 
					
						2013-06-29 23:43:41 +03:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							4e831233a4 
							
						 
					 
					
						
						
							
							Merge pull request  #3408  from brendandahl/fix-multiresolution  
						
						... 
						
						
						
						[B2G] UI tweak for multi-resolution devices support on B2G 
						
						
					 
					
						2013-06-28 10:11:18 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							aafb5d44ae 
							
						 
					 
					
						
						
							
							Make the progress bar small and on the top.  
						
						
						
						
					 
					
						2013-06-28 09:59:47 -07:00 
						 
				 
			
				
					
						
							
							
								Jonas 
							
						 
					 
					
						
						
						
						
							
						
						
							d417ef9a39 
							
						 
					 
					
						
						
							
							Remove old -moz prefixed rules from viewer.css  
						
						
						
						
					 
					
						2013-06-28 17:21:07 +02:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							dd1db8322f 
							
						 
					 
					
						
						
							
							Merge pull request  #3402  from brendandahl/readme-update  
						
						... 
						
						
						
						Update and cleanup readme. 
						
						
					 
					
						2013-06-27 20:48:41 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							b79cc690fc 
							
						 
					 
					
						
						
							
							Merge pull request  #3399  from Snuffleupagus/change-page-shift+space  
						
						... 
						
						
						
						Enable changing page using Shift+Spacebar in presentation mode 
						
						
					 
					
						2013-06-27 20:43:15 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							b421b504c3 
							
						 
					 
					
						
						
							
							Merge pull request  #3397  from brendandahl/notdef  
						
						... 
						
						
						
						Fix notdef typo. 
						
						
					 
					
						2013-06-27 20:18:34 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							5781eb9c44 
							
						 
					 
					
						
						
							
							Merge pull request  #3394  from yurydelendik/test-password  
						
						... 
						
						
						
						Enables testing with password 
						
						
					 
					
						2013-06-27 17:34:14 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							c065b817f3 
							
						 
					 
					
						
						
							
							Merge pull request  #3390  from yurydelendik/jpgjs-2  
						
						... 
						
						
						
						Implements FFC1 marker (and syncs with jpgjs) 
						
						
					 
					
						2013-06-27 16:24:12 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							735e83686b 
							
						 
					 
					
						
						
							
							Update and cleanup readme.  
						
						
						
						
					 
					
						2013-06-27 16:22:20 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							f06dadab3b 
							
						 
					 
					
						
						
							
							Merge pull request  #3376  from yurydelendik/bad-pdfs  
						
						... 
						
						
						
						Misc fixes for corrupted PDFs 
						
						
					 
					
						2013-06-27 15:33:06 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							a0528a5ea8 
							
						 
					 
					
						
						
							
							Merge pull request  #3375  from yurydelendik/bug867484  
						
						... 
						
						
						
						Fixes missing compressed object detection 
						
						
					 
					
						2013-06-27 13:36:53 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							07fb66dcb4 
							
						 
					 
					
						
						
							
							Merge pull request  #3391  from brendandahl/font-cache  
						
						... 
						
						
						
						Cache fonts by reference. 
						
						
					 
					
						2013-06-27 13:33:09 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							c71a37d150 
							
						 
					 
					
						
						
							
							Merge pull request  #3401  from brendandahl/bump-timeout  
						
						... 
						
						
						
						Increase browser timeout. 
						
						
					 
					
						2013-06-27 11:57:44 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							b897020c4b 
							
						 
					 
					
						
						
							
							Increase browser timeout.  
						
						
						
						
					 
					
						2013-06-27 10:46:45 -07:00 
						 
				 
			
				
					
						
							
							
								Jonas 
							
						 
					 
					
						
						
						
						
							
						
						
							94be9c07f1 
							
						 
					 
					
						
						
							
							Enable changing page using Shift+Spacebar in presentation mode  
						
						
						
						
					 
					
						2013-06-26 22:46:34 +02:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							6d34d422ae 
							
						 
					 
					
						
						
							
							Fix notdef typo.  
						
						
						
						
					 
					
						2013-06-26 09:53:51 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							27c8291ea1 
							
						 
					 
					
						
						
							
							Adds test for issue 3371 and enables testing with password.  
						
						
						
						
					 
					
						2013-06-25 19:56:47 -05:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							8561d2646b 
							
						 
					 
					
						
						
							
							Merge pull request  #3393  from brendandahl/no-resources  
						
						... 
						
						
						
						Handle annotations with no resources. 
						
						
					 
					
						2013-06-25 16:40:03 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							510387f551 
							
						 
					 
					
						
						
							
							Merge pull request  #3378  from yurydelendik/aes-padding  
						
						... 
						
						
						
						Removes AES padding 
						
						
					 
					
						2013-06-25 15:25:10 -07:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							b22bc2daa5 
							
						 
					 
					
						
						
							
							Merge pull request  #3374  from yurydelendik/ei-search  
						
						... 
						
						
						
						Improves search of EI (end of inlined image) 
						
						
					 
					
						2013-06-25 15:19:41 -07:00