Commit Graph

6215 Commits

Author SHA1 Message Date
Tim van der Meij
815b5e8b64 Merge pull request #4288 from deepj/cs-locale
Update cs locale
2014-02-14 00:01:04 +01:00
deepj
579fb815ad Update cs locale 2014-02-13 23:56:21 +01:00
Brendan Dahl
576857cbdb Merge pull request #4287 from gabrielesvelto/bug-972435-recompress-png
Bug 972435 - Recompress all PNG assets
2014-02-13 11:55:06 -08:00
Gabriele Svelto
f4d54517c4 Bug 972435 - Recompress all PNG assets 2014-02-13 17:57:10 +01:00
Jonas Jenwald
d6ca563f46 Fix wrong page being displayed when entering/exiting Presentation mode with zoom set to 'page-fit' 2014-02-11 22:51:14 +01:00
Brendan Dahl
f1c73edac4 Fix symbol fonts with no file. 2014-02-11 13:37:12 -08:00
Yury Delendik
4563f6cd58 Merge pull request #4191 from Rob--W/crx-chrome-os
Register PDF Viewer as PDF handler in Chrome OS's file browser
2014-02-11 12:51:36 -06:00
Brendan Dahl
b5b94a4af3 Use built in CMaps and unify the glyph mapping. 2014-02-11 10:27:09 -08:00
Brendan Dahl
7be2d6db58 Add adobe CMaps. 2014-02-11 10:26:46 -08:00
Yury Delendik
4bb71d0121 Merge #4274 2014-02-11 10:32:26 -06:00
Haebaru
4ba6570e16 Update ja locale 2014-02-11 10:31:58 -06:00
Yury Delendik
a2378482ec Merge pull request #4272 from brendandahl/change-test-font
Change test font to one that works with ttx v2.4.
2014-02-11 10:24:06 -06:00
Brendan Dahl
fc0106822c Change test font to one that works with ttx v2.4. 2014-02-10 14:53:50 -08:00
Yury Delendik
894c82cec9 Removes -moz-box-sizing usage 2014-02-10 15:06:03 -06:00
Yury Delendik
522167ffb2 Merge pull request #4258 from Rob--W/network-reduce-requests
Do not switch to a range request for small PDFs
2014-02-10 14:54:53 -06:00
Rob Wu
2a19dc86e7 Do not switch to a range request for small PDFs 2014-02-09 23:03:52 +01:00
Jonas Jenwald
0c268f2345 Merge pull request #4256 from moztw/0207_zhtw
Backport latest zh-TW strings from l10n-aurora
2014-02-06 18:02:55 +01:00
Peter Pin-Guang Chen
06a24136e5 Backport latest zh-TW strings from l10n-aurora 2014-02-07 00:50:33 +08:00
Yury Delendik
3fa15c0f46 Merge pull request #4241 from brendandahl/csp
Remove inline script warnings.
2014-02-03 14:24:27 -08:00
Brendan Dahl
e477958b74 Remove inline script warnings. 2014-02-03 14:14:54 -08:00
Yury Delendik
2451968bac Merge pull request #4236 from lovasoa/master
Lexer_getNumber faster number parsing
2014-02-02 10:47:20 -08:00
Ophir LOJKINE
77b58543c9 Add @lovasoa to AUTHORS 2014-02-01 21:53:47 +01:00
Ophir LOJKINE
4a66eccedc Rewrite Lexer_getNumber.
Now, it computes the numbers with only basic arithmetic operations, without first creating a string and then calling parseFloat.
The new function doesn't behave exactly the same as the old one.
In particular, the old behaviour was that when there was a number immediatly followed by an 'E', the 'E' was consumed. Now it's not. It allows for "glued" numbers and operators.
Also, the new function is faster and consumes less memory.
2014-02-01 21:46:09 +01:00
Yury Delendik
591bd91482 Merge pull request #4235 from Rob--W/firefox-addon-xhr-private
[privacy] Respect private browsing mode in Firefox add-on
2014-01-31 16:25:38 -08:00
Rob Wu
a01556665e Firefox addon: Let XHR respect private mode 2014-01-31 22:23:45 +01:00
Brendan Dahl
54f6291cc9 Merge pull request #4207 from yurydelendik/function-split
Basic function.js split
2014-01-31 09:37:59 -08:00
Rob Wu
ce9400dc8b Handle navigation keys when viewer is not focused
Restrict the scrollbar hack to the keycode for "spacebar",
since the bug only occurs in Firefox with spacebar.

Keyboard navigation is only activated for the spacebar if
the currently focused element is not a button.
2014-01-31 14:59:49 +01:00
Jonas Jenwald
a8d22ee825 Merge pull request #4231 from fkaelberer/DE_translation
Update DE translation (document properties dialog)
2014-01-31 00:58:22 -08:00
fkaelberer
ab6fd8c0b8 Update DE translation (doc properties) 2014-01-31 09:20:21 +01:00
Rob Wu
eaf7daf7db [CRX] Pass expected length of stream to viewer
To get a progress bar for POST/FTP requests in Chromium.
2014-01-30 23:03:15 +01:00
Brendan Dahl
1e4d35c3a0 Merge pull request #4192 from yurydelendik/shading-r
Implements shading types 4-7
2014-01-30 13:36:01 -08:00
Brendan Dahl
7be0924ac4 Merge pull request #4212 from yurydelendik/jank4181
Removes scrolling jank after bw image optimization
2014-01-30 10:14:27 -08:00
Tim van der Meij
f1b832aa57 Merge pull request #4226 from timvandermeij/bengali-update
Bengali updates
2014-01-30 10:08:34 -08:00
Tim van der Meij
744470167a Bengali updates 2014-01-30 19:06:03 +01:00
Tim van der Meij
7fe8a0cfdd Merge pull request #4221 from rabbihossain/master
add and update Bengali (bn-BD) l10n
2014-01-30 10:00:24 -08:00
Yury Delendik
6cf6d2f4b9 Merge pull request #4223 from Rob--W/grab-to-pan-overlay-fix
Get rid of weird scrollbar on mouse down
2014-01-30 06:31:33 -08:00
Rob Wu
64a4a27455 Remove obsolete code from shortcut handler
These lines were introduced in 612f59aa10
when the only shortcuts were +/-/=/0 (to change zoom level).
Back then, when the input fields were focused, using these keys would
add these unwanted characters to the input field and change the zoom
level of the viewer. Having both operations at the same time was an
undesired event, so a check was inserted, to ignore shortcuts when
the toolbar is focused.

The #toolbar element doesn't exist any more, so these lines are obsolete.
2014-01-30 15:26:51 +01:00
Rob Wu
65701f941d Get rid of weird scrollbar on mouse down 2014-01-30 15:06:04 +01:00
Yury Delendik
acb33b3e7d Merge pull request #4213 from nnethercote/strings
Create less garbage while parsing
2014-01-30 04:41:53 -08:00
rabbihossain
cd976066cf update l10n strings and squash commit 2014-01-30 18:24:11 +06:00
Nicholas Nethercote
164d7a6e15 Don't create a string when lexing all-digit integers. 2014-01-29 18:22:09 -08:00
Nicholas Nethercote
b64cca0bef When lexing numbers, look for digits first. 2014-01-29 18:20:53 -08:00
Nicholas Nethercote
c1ef7e4d63 Use Array.join instead of += to build up strings in the Lexer. 2014-01-29 18:19:58 -08:00
Yury Delendik
b4eceac826 Merge pull request #4209 from Rob--W/grab-to-pan-performance
Update Grab to pan to fix performance issue
2014-01-29 15:30:58 -08:00
Rob Wu
45c633b072 Update Grab to pan to fix performance issue
Reported at http://stackoverflow.com/questions/21392844/pdf-js-recalculating-problme
See also e0f893753a

Changes versus grab-to-pan.js: Moved inline style to viewer.css,
lowered z-index from 2e9 to 50000 (note to future maintainers:
make sure that all other z-index values stay below 50000!).
2014-01-30 00:16:25 +01:00
Tim van der Meij
3deea077ef Merge pull request #4217 from Rob--W/fix-print-shortcut
Print shortcut: Ctrl + (Shift +) P only
2014-01-29 11:16:19 -08:00
Yury Delendik
99bbad3219 Removes scolling jank after bw image optimization 2014-01-29 13:10:34 -06:00
Brendan Dahl
cda181f061 Merge pull request #4187 from Rob--W/issue-4183
Use forEach instead of for-in (was: Replace [] with {} in core/cmap)
2014-01-29 10:54:49 -08:00
Rob Wu
9df998914d Print shortcut: Ctrl + (Shift +) P only
The previous version interfered with the full screen shortcut
 (Ctrl + Alt + P).
The new version only intercepts Cmd/Ctrl + P (all browsers).
And Ctrl + Shift + P in Chrome / Opera (Presto and Chromium),
because these browsers also associate a Print operation with
the shortcut.
2014-01-29 18:38:42 +01:00
Yury Delendik
3595c2c360 Respects current ctx scale for mesh pattern 2014-01-29 10:39:06 -06:00