Antonin Stefanutti
8292f2b131
Delay function returns a Promises/A+ compliant onFulfilled callback
2015-08-09 17:33:50 +02:00
astefanutti
5ac2f983c9
Use the unified onlyViewport option between PhantomJS and SlimerJS for the screenshots export
2015-08-06 17:31:06 +02:00
astefanutti
295f5d4ddb
Support non-ASCII characters URLs rendered as clickable links in PDF documents
2015-08-06 17:18:00 +02:00
Antonin Stefanutti
8ceecc1918
Correct link to forked PhantomJS decktape branch
2015-08-04 23:18:50 +02:00
Antonin Stefanutti
ba5006a1d6
Work-around TypeError thrown by Gecko with SlimerJS as module.exports is not configurable
2015-08-02 23:29:19 +02:00
Antonin Stefanutti
49914777d5
Add Promise polyfill Github project reference
2015-08-02 23:28:18 +02:00
Antonin Stefanutti
e2bb2c93c3
Colorized CLI with Chalk
...
Activates CLI string styling with Chalk except on Windows OS.
Adds the libs directory to the require paths for seamless referencing
of require libraries.
2015-08-02 23:01:32 +02:00
Antonin Stefanutti
8151e13640
Shallow clone DeckTape to truncate history to the master branch HEAD revision
2015-07-30 22:37:08 +02:00
astefanutti
ce2f851c4b
Use dot notation to access screenshot options
2015-07-21 18:24:18 +02:00
astefanutti
dd6065620a
Add short options for size and pause
2015-07-21 17:16:19 +02:00
astefanutti
56c4ecf158
Update usage with options before positional arguments
2015-07-21 16:36:34 +02:00
astefanutti
c63aa7f192
Display options before positional arguments in help and usage
2015-07-21 16:34:55 +02:00
astefanutti
1c9608d00d
Render screenshots by capturing the viewport instead of the page content
...
Uses the new 'mode' option from the PhantomJS render API so that
screenshots get captured based on the viewport size definition and not the
content size. Indeed, some HTML presentation frameworks use the position
and transform CSS properties that leads to having the visible content
larger than the viewport.
Increases the delay for the resize event to complete.
2015-07-21 12:28:41 +02:00
astefanutti
9f6c82e324
Add support for capturing viewport when rendering images
2015-07-21 11:48:24 +02:00
astefanutti
9b8bed6910
Add the screenshots-size option to set captured image resolutions
...
Changes the screenshots-scale in favor of the screenshots-size option
which is more flexible.
Promise-based viewportSize setting to support frameworks that rely on the
onresize event.
Removes the gif choice for image format as it's not working.
Documents the --screenshots option.
2015-07-16 15:10:28 +02:00
astefanutti
e7b6eb2711
Update CLI options help
2015-07-15 18:34:10 +02:00
astefanutti
ea977f61a8
Add an option to export each slide as an image
...
Fixes #9 .
Adds the --screenshots, --screenshots-directory, --screenshots-scale and
--screenshots-format options.
If the --screenshots flag option is set, each slide is exported as an
image, whose format is --screenshots-format, written in the
--screenshots-directory, and this for each --screenshots-scale.
Changes the viewport size option to follow the <width>x<height> notation.
2015-07-15 18:19:49 +02:00
astefanutti
c71fdb6fa6
Transform functions apply to default values
2015-07-15 18:19:33 +02:00
astefanutti
dd82bc2ae3
Merge branch 'ricklupton-plugins-search-path'
2015-07-15 14:03:41 +02:00
Rick Lupton
7aa0fb0cff
Look for plugins relative to decktape.js script
...
Otherwise you have to run it from the installation directory.
2015-07-15 14:02:58 +02:00
Antonin Stefanutti
513cf2c8e2
Plugins loading function uses reduce instead of forEach
2015-07-09 20:19:36 +02:00
astefanutti
3f06784c5f
Add missing 'this' pointers (prepare SlimerJS support)
2015-07-09 18:19:26 +02:00
astefanutti
ea2c868173
Fix remark.js plugin activation condition
2015-07-09 17:32:59 +02:00
astefanutti
2f5987ba5d
Better help messages for the automatic and generic commands
2015-07-09 15:07:55 +02:00
astefanutti
4c3db561f9
Generic plugin documentation and updated CLI usage
2015-07-09 15:00:57 +02:00
astefanutti
6a91d6d7b6
Add Bespoke.js example
2015-07-09 13:53:47 +02:00
Antonin Stefanutti
e4e03501e7
Merge pull request #10 from steshaw/master
...
Ignore downloaded file `bin/phantomjs`.
2015-07-09 11:10:03 +02:00
Steven Shaw
eb2e81d62d
Ignore downloaded file bin/phantomjs
.
2015-07-09 10:05:10 +10:00
astefanutti
591e14155b
Add generic plugin to support any kind of presentation frameworks
...
The generic plugin emulates the end-user interaction by pressing the
specified key [--keycode] and iterating over the presentation as long as
any change to the DOM is detected by observing mutation events to the body
element and its subtree.
To support the generic plugin feature, the following enhancements are
introduced:
- Move to promises based navigation scheduling
- Build CLI commands directly from available plugins
- Enable per plugin CLI help and options
- Enable by-command overriding of the selected plugin
2015-07-08 17:41:40 +02:00
astefanutti
ef545c0081
Support positional arguments for fallback command
2015-07-08 17:41:39 +02:00
Antonin Stefanutti
3c4e3d8d77
Merge pull request #8 from mojavelinux/submodule-update-init
...
Simplify submodule update command
2015-07-07 11:47:48 +02:00
Dan Allen
7fca4d15be
Simplify submodule update command
...
Simplify the submodule update command by combining it with the `--init` flag. Also addresses the typo in the submodule command.
2015-07-07 02:17:24 -06:00
astefanutti
a5ed42d5d0
Add Shower plugin and example
2015-07-03 14:58:11 +02:00
astefanutti
47868fa434
Add CSSS plugin and example
2015-07-03 10:58:16 +02:00
astefanutti
d79fdd38f8
Add HTML Slidy plugin and example
2015-07-02 18:21:56 +02:00
astefanutti
f96db722f4
Add remark.js plugin and example
2015-07-01 18:07:00 +02:00
astefanutti
831304e0cd
Get rid of return keyword in nextSlide SPI
2015-07-01 16:09:33 +02:00
astefanutti
894ef96f12
Add flowtime.js plugin and example
2015-07-01 16:07:26 +02:00
astefanutti
16e8502d78
Avoid 'Can't find variable: $' message in deck.js detection
2015-07-01 16:07:25 +02:00
astefanutti
f7184a9ceb
Add deck.js example
2015-07-01 11:50:00 +02:00
astefanutti
957da7a9f1
Add deck.js plugin
2015-07-01 11:20:48 +02:00
astefanutti
1a2176ca72
Add impress.js example
2015-06-30 16:33:23 +02:00
astefanutti
ba7007de25
Take substeps into account in the impress.js plugin
2015-06-30 16:19:48 +02:00
astefanutti
a2e68be440
Improve impress.js version compatibility
2015-06-30 16:18:19 +02:00
Antonin Stefanutti
ccfe36cf5a
Add impress.js plugin
2015-06-29 23:05:16 +02:00
Antonin Stefanutti
16b6e13962
Rebase to PhantomJS with upgraded Qt 5.4.1
2015-06-29 23:03:41 +02:00
Antonin Stefanutti
f95e512f2e
Use cURL in Windows platform install instructions
2015-06-03 23:55:05 +02:00
Antonin Stefanutti
f4c48b58f7
Update example file sizes
2015-06-03 23:21:49 +02:00
Antonin Stefanutti
f4cba19f00
Add Mac OS X (Cocoa) 64-bit install instruction
2015-06-03 23:17:56 +02:00
astefanutti
5cb434e4ef
Update URLs and fix examples PDF file sizes
2015-06-03 17:28:54 +02:00