pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(graphics/reveal-js) Updated 4.5.0 to 5.1.0



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By:	mef
Date:		Sat Jun 15 00:01:35 2024 +0900
Changeset:	a4384d75fb6b742f6864ee1d25499e39c2418874

Modified Files:
	revealjs/Makefile
	revealjs/PLIST
	revealjs/distinfo

Log Message:
(graphics/reveal-js) Updated 4.5.0 to 5.1.0

5.1.0
Changes

  * Add the enter-fullscreen class to any element in your presentation to turn
    it into fullscreen trigger (@hakimel)
  * Video backgrounds now continue to play seamlessly across multiple slides (
    @hakimel)

Fixes

  * MathJax3 plugin now works with in non-singleton reveal.js instances (
    @jokester in #3595)
  * Changing slides via swipe gestures now works when swiping on videos?unless
    their controls are visible (@hakimel)
  * Fix exception when destroying uninitialized reveal.js instance (@hakimel in
    #3593)
  * Fix videos restarting each time a fragment is shown (@hakimel in #2882)
  * Fix broken backwards navigation in RTL mode (@hakimel)
  * Fix error when the notes plugin receives a non-string message (@NatKarmios
    in #3588)
  * Fix question mark shortcut on non-English keyboard layouts (@lechten in #
    3603)
  * Fix r-stack overflow behavior in Chromium browsers (@alifeee in #3598)

5.0.5
Changes

  * Keyboard navigation support in scroll view (@hakimel in #3515)
  * Add F1 shortcut for showing help overlay (@gchriz in #3570)

Fixes

  * Fix postMessage XSS exploit (@hakimel in 3dade61)
  * Fix stack backgrounds not working in scroll view (@bouzidanas in #3568)
  * Fix fragmentshown and fragmenthidden not firing in scroll view (@bouzidanas
    , @ hakimel in #3580)

5.0.4
Fixes
  * Missing slide backgrounds in mobile scroll view (#3554)

5.0.3
Changes

  * Search plugin now supports searching for diacritics and searches full
    phrases (@t-fritsch in #3532)
  * Jump-to-slide now adapts to the configured slide number format (@hakimel in
    #3501)
  * Slide background XSS prevention (@EastSun5566 in #3548)

Fixes

  * Fix speaker notes not appearing in PDF exports (@hakimel in #3535)
  * Fix exception when stepping backwards through code highlights (@hakimel in
    #3524)
  * Fix exception when navigating decks in mobile browsers (@hakimel in #3539)
  * Fix pause/help overlay position in scroll view (@hakimel in #3542)
  * Fix mobile scroll view navigation when fragments began at a index higher
    than 1 (@hakimel #3540)

5.0.2
Changes

  * Upgrade dependencies (@Mister-Hope in #3505)
  * Make Markdown plugin callable without a reveal deck instance (@hakimel in #
    3517)
  * Fix exception in speaker view (@hakimel #2512)
  * Fix issue where a future vertical slide background sometimes flashed into
    view prematurely (@hakimel in #3520)

5.0.0
Scroll view

reveal.js 5.0 comes with a groundbreaking new feature; scroll view! (#3482)

Slide decks are a great format for giving presentations, but scrollable web
pages are easier for viewers to read on their own.

The scroll view gives you the best of both worlds?without any extra effort.
Present in the format best suited for presenting, share in the format best
suited for consumption.

Here's what it looks in action:

reveal-scroll-view.mp4

Want to try it out yourself? Check out the announcement deck I put together for
slides.com ? https://slides.com/news/scroll-mode/scroll

How to use it

The scroll view is enabled by initializing reveal.js with view: "scroll" or by
appending ?view=scroll to a deck URL.

Reveal.initialize({ view: 'scroll' });

It's possible to fine tune this view through multiple new config options. Full
documentation available at https://revealjs.com/scroll-view.

Breaking change

The scroll view is automatically enabled for viewports below 435px wide. This
is done because I believe the scroll view to be a superior way to browse any
deck on a mobile device. If you want to revert this behavior and always
paginate between slides, see scrollActivationWidth:

Reveal.initialize({ scrollActivationWidth: null })

Changes

  * The PDF print view can now be activated via config Reveal.initialize({
    view: 'print' }) (@hakimel in #3482)
  * The new URL query for activating the print view is ?view=print. It used to
    be ?print-pdf, which is still supported for backwards compatibility. (
    @hakimel in #3482)

Fixes

  * Notes from data-notes were not working on the slide-level (@skyboyer in #
    3477)
  * Add 'wheel' event listener, remove deprecated mousewheel & 'DOMMouseScroll`
    (@quochuy in #3489)

4.6.0

Changes

  * Add support for line number offsets in Markdown code blocks. Read the docs
    (@flowolf #3409)
  * Significantly speed up livereload (@t-fritsch #3446)
  * Add support for links to the id of an element nested inside slide (
    @t-fritsch #3444)
  * Adds ability to override Markdown plugin default options (@t-fritsch #3443)
  * Allow theme subfolders (@t-fritsch #3442)
  * Refactored Markdown plugin to use let/const and strict equality (@grgprarup
    #3454)

Fixes

  * Auto-slide duration falls back on global setting autoSlide instead of using
    first fragment auto-slide (@hakimel)
  * When a fragment sets data-autoslide, all fragments of the same index will
    now use the same auto-slide timing (@hakimel)
  * Fix code block auto-animate bug that caused unmatched lines to appear
    without fading in (@hakimel)
  * Fix livereload when using root CLI param (@t-fritsch #3441)
  * Fix scss watch tasks broken on syntax error (@t-fritsch #3445)
  * Fix typos in variable names (@individual-it #3453)
  * Fix code blocks font when printing pdf (@t-fritsch #3457)
  * Fix dracula's theme list-style on sub-items (@gildasio #3450)
  * Fix dracula li markers (@t-fritsch #3464)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a4384d75fb6b742f6864ee1d25499e39c2418874

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 revealjs/Makefile | 2 +-
 revealjs/PLIST    | 6 +++++-
 revealjs/distinfo | 6 +++---
 3 files changed, 9 insertions(+), 5 deletions(-)

diffs:
diff --git a/revealjs/Makefile b/revealjs/Makefile
index 10bf809abe..56723e5fad 100644
--- a/revealjs/Makefile
+++ b/revealjs/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-VERSION=	4.5.0
+VERSION=	5.1.0
 DISTNAME=	reveal.js-${VERSION}
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_GITHUB:=hakimel/}
diff --git a/revealjs/PLIST b/revealjs/PLIST
index 1dd6dffa49..411a03a20a 100644
--- a/revealjs/PLIST
+++ b/revealjs/PLIST
@@ -70,6 +70,7 @@ share/${PKGNAME}/dist/theme/solarized.css
 share/${PKGNAME}/dist/theme/white-contrast.css
 share/${PKGNAME}/dist/theme/white.css
 share/${PKGNAME}/dist/theme/white_contrast_compact_verbatim_headers.css
+share/${PKGNAME}/examples/500-slides.html
 share/${PKGNAME}/examples/assets/beeping.txt
 share/${PKGNAME}/examples/assets/beeping.wav
 share/${PKGNAME}/examples/assets/image1.png
@@ -83,6 +84,7 @@ share/${PKGNAME}/examples/markdown.md
 share/${PKGNAME}/examples/math.html
 share/${PKGNAME}/examples/media.html
 share/${PKGNAME}/examples/multiple-presentations.html
+share/${PKGNAME}/examples/scroll.html
 share/${PKGNAME}/examples/transitions.html
 share/${PKGNAME}/gulpfile.js
 share/${PKGNAME}/index.html
@@ -100,8 +102,9 @@ share/${PKGNAME}/js/controllers/notes.js
 share/${PKGNAME}/js/controllers/overview.js
 share/${PKGNAME}/js/controllers/plugins.js
 share/${PKGNAME}/js/controllers/pointer.js
-share/${PKGNAME}/js/controllers/print.js
+share/${PKGNAME}/js/controllers/printview.js
 share/${PKGNAME}/js/controllers/progress.js
+share/${PKGNAME}/js/controllers/scrollview.js
 share/${PKGNAME}/js/controllers/slidecontent.js
 share/${PKGNAME}/js/controllers/slidenumber.js
 share/${PKGNAME}/js/controllers/touch.js
@@ -154,5 +157,6 @@ share/${PKGNAME}/test/test-multiple-instances-es5.html
 share/${PKGNAME}/test/test-multiple-instances.html
 share/${PKGNAME}/test/test-pdf.html
 share/${PKGNAME}/test/test-plugins.html
+share/${PKGNAME}/test/test-scroll.html
 share/${PKGNAME}/test/test-state.html
 share/${PKGNAME}/test/test.html
diff --git a/revealjs/distinfo b/revealjs/distinfo
index b734332af4..3fa29fbfd5 100644
--- a/revealjs/distinfo
+++ b/revealjs/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (reveal.js-4.5.0.tar.gz) = 86ff2df7a958b2938e704388297e75a600b392b19aa693a12437b48853725d2e
-SHA512 (reveal.js-4.5.0.tar.gz) = 56bfc76393be8f8ed7088bef18bd92baf52fdb29ccd675984be8a9b0243d0ac9f618c1a9296892d62737ebe902d3734cf5debcf25ab4844b2e4aa47cbf97bbbd
-Size (reveal.js-4.5.0.tar.gz) = 2631030 bytes
+BLAKE2s (reveal.js-5.1.0.tar.gz) = 3fc95e01827f6f3dc8e6bb29cf7ad381f139838d77379fdd5675c53d59ee0f60
+SHA512 (reveal.js-5.1.0.tar.gz) = 33ba5bb62dbf15c64d4ba483c250709a146beb6440cc886f09ef4559287d39bccbbe3e6e9a65233951b5169f302bf9f8d8ddbbb29bc71e204a12720c6ca8887e
+Size (reveal.js-5.1.0.tar.gz) = 2641782 bytes


Home | Main Index | Thread Index | Old Index