Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/browser-plugin/scriptable.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix to build with xulrunner 1.9.2.8Marco Pesenti Gritti2010-07-271-1/+1
|
* Add a copyClipboard method, remove the setter hackMarco Pesenti Gritti2010-07-271-11/+11
|
* Drop the properties hackMarco Pesenti Gritti2010-07-271-37/+0
| | | | We don't need it anymore with chrome, we can call methods.
* Fix methods in the scriptable interfaceMarco Pesenti Gritti2010-07-271-6/+7
| | | | | They are disabled with a define and it looks like they lagged behind changes in the plugin.
* Respond to GetProperty on the fake find propertiesJames Willcox2010-07-271-0/+8
|
* Revert "[R7] First pass at a port to xulrunner 1.9.1 (Firefox 3.5)"James Willcox2010-07-271-9/+0
| | | | This reverts commit 782b00bb90a0952a5d0d110bf682607679741ee2.
* First pass at a port to xulrunner 1.9.1 (Firefox 3.5)Peter Teichman2010-07-271-0/+9
|
* browser-plugin: notify browser when find comes up emptyTommi Komulainen2010-07-271-0/+5
| | | | | | | | | Example: plugin.magicWrapper = { onFindChanged : function() { if (plugin.canFindOnPage) { ... } } }
* browser-plugin: implement searchTommi Komulainen2010-07-271-0/+30
| | | | | | | | | | | Changed the API to be better match for find as you type. Using property access workaround. Example: plugin.findTerms = "hello"; begin searching and highlights all matches in the document plugin.findNext = 42; (workaround) jump to next match plugin.findPrevious = 42; (workaround) jump to previous match
* browser-plugin: add clipboard copy supportTommi Komulainen2010-07-271-0/+15
| | | | | | | | | | | | Only supporting copy, evince doesn't support editing (at least the API is lacking cut and paste) Using property access workaround. Example: if (plugin.canCopy) { plugin.canCopy = 42; (workaround) copy selection to clipboard }
* browser-plugin: add zoom propertyTommi Komulainen2010-07-271-0/+18
| | | | | Example: plugin.zoom = plugin.zoom * 1.5;
* browser-plugin: notify browser of title changesTommi Komulainen2010-07-271-0/+4
| | | | | | | | | | | | | | | | PDF loading may (or may not) finish after the browser has had its change to set up the magicWrapper so let the browser know about the document title. Example: let embed = document.embeds[0]; embed.magicWrapper = { onTitleChanged: function() { // update document / page title to that of the PDF file document.title = embed.title; } };
* browser-plugin: add methods for calling browser wrapper functionsTommi Komulainen2010-07-271-0/+16
|
* browser-plugin: add magicWrapper propertyTommi Komulainen2010-07-271-2/+37
| | | | | Allow browser to provide an object with callbacks / properties for the plugin to call when status changes (title, clipboard controls, etc.)
* browser-plugin: add title property to return the document titleTommi Komulainen2010-07-271-0/+27
| | | | | Though as the document is loaded asynchronously the title might not (yet) be properly set when accessed.
* browser-plugin: check and fix compiler warningsTommi Komulainen2010-07-271-1/+7
|
* Fix several spacing issuesMarco Pesenti Gritti2010-07-271-3/+2
|
* Reformat to respect evince indentation style.Marco Pesenti Gritti2010-07-271-70/+71
|
* Add a browser plugin implementation.Marco Pesenti Gritti2010-07-271-0/+262