pdf.js/web
Jonas Jenwald 345bb18575 [editor] Use the fit-curve package (issue 15004)
Rather than including all of this external code in the PDF.js repository, we should be using the npm package instead.
Unfortunately this is slightly more complicated than you'd hope, since the `fit-curve` package (which is older) isn't directly compatible with modern JavaScript modules.
In particular, the following cases needed to be considered:
 - For the development viewer (i.e. `gulp server`) and the unit-tests, we thus need to build a fitCurve-bundle that can be directly `import`ed.
 - For the actual PDF.js build-targets, we can slightly reduce the sizes by depending on the "raw" `fit-curve` source-code.
 - For the Node.js unit-tests, the `fit-curve` package can be used as-is.
2022-07-07 10:43:43 +02:00
..
images Tweak the editorNone icon to circumvent the "duplicated files"-check 2022-06-11 11:17:08 +02:00
.gitignore Remove obselete file from .gitignore 2015-01-26 16:44:45 +01:00
annotation_editor_layer_builder.css [Editor] Handle correctly colors when saving a document in HCM 2022-06-30 09:56:34 +02:00
annotation_editor_layer_builder.js Support rotating editor layer 2022-06-24 20:02:32 +02:00
annotation_editor_params.js [editor] Add some UI elements in order to set font size & color, and ink thickness & color 2022-06-28 12:05:04 +02:00
annotation_layer_builder.css Support rotating editor layer 2022-06-24 20:02:32 +02:00
annotation_layer_builder.js Call AnnotationLayer.setDimensions as part of the render/update-methods (PR 15036 follow-up) 2022-07-04 12:27:20 +02:00
app_options.js Fix the annotationEditorMode-compatibility for older browsers (PR 15113 follow-up) 2022-06-29 16:16:48 +02:00
app.js [Editor] Dispatch an event when some global states are changing 2022-07-05 22:12:56 +02:00
base_tree_viewer.js Use modern DOM methods a bit more (PR 15031 follow-up) 2022-06-13 10:47:37 +02:00
base_viewer.js [Editor] Dispatch an event when some global states are changing 2022-07-05 22:12:56 +02:00
chrome-i18n-allow-access-to-file-urls.json Add translations of "Allow access to file URLs" 2015-08-14 18:59:55 +02:00
chromecom.js Re-factor the OverlayManager class to use a WeakMap internally 2022-03-28 11:36:31 +02:00
compressed.tracemonkey-pldi-09.pdf Add Makefile. Move some files around to make building the website easier. 2011-07-05 10:53:57 -07:00
debugger.css Move the PDFBug-related CSS from viewer.css and into its own file 2022-04-16 14:16:39 +02:00
debugger.js Enable the unicorn/prefer-dom-node-append ESLint plugin rule 2022-06-12 13:07:03 +02:00
default_factory.js [edition] Add a FreeText editor (#14970) 2022-06-04 18:20:11 +02:00
download_manager.js Enable the unicorn/prefer-dom-node-append ESLint plugin rule 2022-06-12 13:07:03 +02:00
event_utils.js Move the EventBus, and related functionality, into its own file 2021-12-15 17:18:57 +01:00
firefox_print_service.js [api-minor] Introduce a PrintAnnotationStorage with *frozen* serializable data 2022-06-23 17:06:46 +02:00
firefoxcom.js [Editor] Dispatch an event when some global states are changing 2022-07-05 22:12:56 +02:00
generic_scripting.js [JS] Use beforeinput event to trigger a keystroke event in the sandbox 2022-01-23 19:53:01 +01:00
genericcom.js Revert Preferences to their previous values, when writing to storage failed 2022-03-12 17:25:45 +01:00
genericl10n.js Fix broken/missing JSDocs and typedefs, to allow updating TypeScript to the latest version (issue 14342) 2021-12-15 23:14:25 +01:00
grab_to_pan.js Enable the unicorn/prefer-dom-node-append ESLint plugin rule 2022-06-12 13:07:03 +02:00
interfaces.js [edition] Add a FreeText editor (#14970) 2022-06-04 18:20:11 +02:00
l10n_utils.js [Editor] Update the id for a l10n string 2022-07-04 10:18:42 +02:00
overlay_manager.js Use modern DOM methods a bit more (PR 15031 follow-up) 2022-06-13 10:47:37 +02:00
password_prompt.js Re-factor the OverlayManager class to use a WeakMap internally 2022-03-28 11:36:31 +02:00
pdf_attachment_viewer.js Enable the unicorn/prefer-dom-node-append ESLint plugin rule 2022-06-12 13:07:03 +02:00
pdf_cursor_tools.js Use proper private methods in web/pdf_cursor_tools.js 2022-03-06 16:06:53 +01:00
pdf_document_properties.js Ensure that the contentDispositionFilename is always respected, when setting the document title (PR 13014 follow-up) 2022-05-28 12:39:49 +02:00
pdf_find_bar.js [GENERIC viewer] Try to improve a11y, for search results, in the findbar (issue 14525) 2022-03-31 23:12:56 +02:00
pdf_find_controller.js Support Hangul syllables when searching some text (bug 1771477) 2022-05-28 16:50:03 +02:00
pdf_find_utils.js Enable auto-formatting of the entire code-base using Prettier (issue 11444) 2019-12-26 12:34:24 +01:00
pdf_history.js Tweak the pdfOpenParams parameter, in the "updateviewarea" event, in PresentationMode 2022-04-05 14:13:20 +02:00
pdf_layer_viewer.js Remove element ids from the layersView in the sidebar 2022-06-24 20:15:46 +02:00
pdf_link_service.js Fix a couple of small typos in JSDoc typedef comments 2022-03-04 12:11:52 +01:00
pdf_outline_viewer.js Enable the unicorn/prefer-dom-node-append ESLint plugin rule 2022-06-12 13:07:03 +02:00
pdf_page_view.js Fix (obvious) typo in typedef-import of IPDFXfaLayerFactory (PR 14373 follow-up) 2022-06-22 11:06:11 +02:00
pdf_presentation_mode.js [editor] Disable editing while PresentationMode is active 2022-07-01 16:52:17 +02:00
pdf_print_service.js [api-minor] Introduce a PrintAnnotationStorage with *frozen* serializable data 2022-06-23 17:06:46 +02:00
pdf_rendering_queue.js Move the Default{...}LayerFactory into a new web/default_factory.js file 2021-12-15 23:17:08 +01:00
pdf_scripting_manager.js Replace element ids with custom attributes for Widget-annotations (issue 15056) 2022-06-18 16:43:05 +02:00
pdf_sidebar_resizer.js Introduce a viewer constant for document.documentElement.style 2022-05-25 09:55:54 +02:00
pdf_sidebar.js Convert the PDFSidebar class to use private methods 2022-05-27 11:36:01 +02:00
pdf_thumbnail_view.js Enable the unicorn/prefer-dom-node-append ESLint plugin rule 2022-06-12 13:07:03 +02:00
pdf_thumbnail_viewer.js Support custom pageColors in the thumbnails (PR 14874) 2022-05-26 10:07:27 +02:00
pdf_viewer.component.js Use the (viewer) parseQueryString helper function in the reference tests 2022-02-19 09:41:04 +01:00
pdf_viewer.css Add a visible page border in HCM (bug 1776914) 2022-06-29 11:52:19 +02:00
pdf_viewer.js Move PDFSinglePageViewer into the web/pdf_viewer.js file 2021-10-12 13:45:19 +02:00
pdfjs.js Enable auto-formatting of the entire code-base using Prettier (issue 11444) 2019-12-26 12:34:24 +01:00
preferences.js Revert Preferences to their previous values, when writing to storage failed 2022-03-12 17:25:45 +01:00
print_utils.js Enable the unicorn/prefer-dom-node-append ESLint plugin rule 2022-06-12 13:07:03 +02:00
secondary_toolbar.js Stop bundling the openFile-buttons in the CHROME build 2022-05-07 22:45:56 +02:00
struct_tree_layer_builder.js Enable the unicorn/prefer-dom-node-append ESLint plugin rule 2022-06-12 13:07:03 +02:00
text_highlighter.js Use modern DOM methods a bit more (PR 15031 follow-up) 2022-06-13 10:47:37 +02:00
text_layer_builder.css Avoid the textLayer becoming visible in high contrast mode (issue 13230) 2022-03-24 14:20:27 +01:00
text_layer_builder.js Enable the unicorn/prefer-dom-node-append ESLint plugin rule 2022-06-12 13:07:03 +02:00
toolbar.js [editor] Add some UI elements in order to set font size & color, and ink thickness & color 2022-06-28 12:05:04 +02:00
ui_utils.js [api-minor] Further modernize the ProgressBar class (PR 14918 follow-up) 2022-07-01 10:31:25 +02:00
view_history.js Add a bit more validation in the ViewHistory constructor 2020-03-21 13:55:06 +01:00
viewer-snippet-chrome-extension.html Wraps mozL10n to async calls; splits firefox and generic l10n libs. 2017-05-31 09:22:25 -05:00
viewer-snippet-chrome-overlays.html Convert the existing overlays to use <dialog> elements (issue 14698) 2022-03-28 11:36:29 +02:00
viewer-snippet-firefox-extension.html Stop bundling the ReadableStream polyfill in MOZCENTRAL builds (PR 10470 follow-up) 2019-01-23 20:33:20 +01:00
viewer-snippet-minified.html Remove XHTML leftovers from the viewer HTML files 2016-02-14 13:23:34 +01:00
viewer-snippet.html Wraps mozL10n to async calls; splits firefox and generic l10n libs. 2017-05-31 09:22:25 -05:00
viewer.css Merge pull request #15121 from Snuffleupagus/loadingBar-cleanup 2022-07-02 16:46:40 +02:00
viewer.html [editor] Use the fit-curve package (issue 15004) 2022-07-07 10:43:43 +02:00
viewer.js [editor] Add some UI elements in order to set font size & color, and ink thickness & color 2022-06-28 12:05:04 +02:00
xfa_layer_builder.css Outline fields which are required (bug 1724918) 2022-06-07 17:02:11 +02:00
xfa_layer_builder.js Enable the unicorn/prefer-dom-node-append ESLint plugin rule 2022-06-12 13:07:03 +02:00