Skip to content

Releases: projectestac/jclic.js

v0.1.47

16 May 12:35
Compare
Choose a tag to compare

Improvements

Bug fixes

  • Control of the maximum display time of previous screen in text activities. This JClic feature was unimplemented until now. Probably closes #12.
  • Backslashes in active media parameters and file names are now always converted to forward slashes. This avoids problems with chaining in big projects distributed among multiple folders.
  • Set default value of navButtonsAlways to false. Closes #11.
  • Avoid creating AccessibleElement when canvas has no surface.
  • Double-check the existence of ActiveBoxBag elements before using them.
  • Use index -1 in jQuery.get to avoid added div style-scope elements in Shadow DOM.
  • Put stylesheets within shadow-root when in shadow DOM.

v0.1.46

25 Apr 11:02
Compare
Choose a tag to compare

Improvements

  • Use HTTPS as defaul protocol in TCPReporter.
  • Set an empty string as default value in dropdown lists on text activities.

Bug fixes

  • Flush always pending tasks in TCPReporter before exiting.

v0.1.45

20 Mar 12:47
Compare
Choose a tag to compare

Improvements

  • Display a progress bar (in addition to the rotating animation) while loading project media elements.

Bug fixes

  • Transform full activity class names to @className expressions, so projects using this naming schema (like GeoClic) can now make use of JClic.js.

v0.1.44

15 Mar 11:25
Compare
Choose a tag to compare

Improvements

  • EmptySkin has been implemented and now used as initial player skin.
  • JClic java applets generated through jclicplugin.js are now always loaded as JClic.js HTML5 elements. This change has been motivated by the fact that Firefox 52 has dropped support for Java applets.
  • Updated NPM components.

Bug fixes

  • Check AWT.WebFont to avoid conflicts with other webfont loader packages already loaded.
  • Build always a skin for JClicPlayer, even when the requested one does no exist.
  • Force main container width and height when inside a TD.
  • Avoid incorrect placement of inner elements when parent container has the align attribute defined.

v0.1.43

28 Feb 09:45
Compare
Choose a tag to compare

Bug fixes

  • Allow animated GIFs also over gradients.
  • Solved incorrect startup of "complete text" activities with previous screen.
  • Place "check" button always anchored at bottom of text activities.
  • Properly initialize Evaluator with Intl.Collator in text activities.
  • Solved problems when rounding and ceiling integers in Arith.
  • Avoid calling buildAccessibleElements on null panels

Miscellaneous

  • Export third-party NPM packages in a new member of Utils called pkg, so external scripts can make use of it through the global vriable JClicObject. This change was needed to implement downloading of JClic projects in JClic Repo.

v0.1.41

13 Feb 15:47
Compare
Choose a tag to compare

Improvements

  • Use of es6-promise polyfill to support Promise in IE11 and other outdated browsers.
  • Explicit loading of fonts included in JClic projects. The name attribute of media elements is now used as font-family value.

Bug fixes

  • Resolve dependencies and browserless issues affecting listProjectContents.js (in test/nodejs)

Miscellaneous

v0.1.40

23 Nov 14:37
Compare
Choose a tag to compare

Bug fixes

  • Don't stop media on mouseup events
  • Play sounds also in grid B, when available

v0.1.39

23 Nov 14:36
Compare
Choose a tag to compare

Improvements

  • Animated GIF support extended to more activities: now panels with static (not scrambled) cells, using any type of shaper, can have an animated GIF as a main content. This applies to information screen, identify, associations, written answer and word search activities.

v0.1.38

02 Nov 08:08
Compare
Choose a tag to compare

Bug fixes

  • Treat 'x' as zero when parsing data for Arith operators, thus avoiding "NaN" errors in some activities.
  • Avoid keyboard hiding on tablets when in written answer activities.
  • Ignore mouse events on accessible components.

Improvements

  • Added Japanese to the list of supported languages (thanks to Naofumi!)
  • Improved log system

v0.1.37

05 Oct 17:07
Compare
Choose a tag to compare

Bug fixes

  • Fixed incorrect calculation of score in Identify activities
  • Full screen mode should work now as expected (when available)
  • Avoid resizing of font attribute in BoxBase prototype

Improvements

  • Project license changed to EUPL-1.1 (compatible with GPL-2.0)
  • Improved accessibility based on WAI-ARIA specifications (still in progress)
  • Experimental use of Hit regions in HTML canvas. Works only when flags ExperimentalCanvasFeatures (Chrome) or canvas.hitregions.enabled (Firefox) are enabled. Checked with ChromeVox

Code cleaning and documentation

  • Miscellaneous optimizations: conditional operators, jQuery expressions, allow reuse of JClicPlayer objects, etc. See git log for details