gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit12a2623312a26233jukebox JB12 (jukebox#12): the long lists get a scroll handle a finger can use on touch screens (44 px tap area, slim look, drag through all rows), gate tests/touch.mjsmre12a26233/plugins/math/server.js

844 B

  1. // hl:math — Math utilities for Hybriel
  2. // JS transpiler target: wraps built-in Math object
  3. export const PI = Math.PI;
  4. export const E = Math.E;
  5. export const INF = Infinity;
  6. export function abs(x) { return Math.abs(x); }
  7. export function floor(x) { return Math.floor(x); }
  8. export function ceil(x) { return Math.ceil(x); }
  9. export function round(x) { return Math.round(x); }
  10. export function sqrt(x) { return Math.sqrt(x); }
  11. export function pow(base, exp) { return Math.pow(base, exp); }
  12. export function min(...args) { return Math.min(...args); }
  13. export function max(...args) { return Math.max(...args); }
  14. export function random() { return Math.random(); }
  15. export function log(x) { return Math.log(x); }
  16. export function sin(x) { return Math.sin(x); }
  17. export function cos(x) { return Math.cos(x); }
  18. export function tan(x) { return Math.tan(x); }

Branches

Latest commits

  • 12a26233jukebox JB12 (jukebox#12): the long lists get a scroll handle a finger can use on touch screens (44 px tap area, slim look, drag through all rows), gate tests/touch.mjsmre
  • 0f2157a9jukebox JV1: onto Hybriel set-day27b: readBytes and stat for /stream and the mp3 tags (no dd, head or tail), startup fault exits 1, fs and mpackdb plugins re-vendored; songs with a comma in the title are indexed againmre
  • 63d0f2eejukebox ST1 (jukebox#2): styles of main, songs and search moved into their own Style blocks (styles.hl 81 to 8 rules, pixel-identical at 390 and 1280); artist and album wait for an hl:web fixmre
  • c5b8fde9jukebox JB3b: keyboard gap repro as a reportmre
  • 9daebb4bjukebox JB3b: shuffle, now-playing overlay, next and previous, play counting, media session, gates; keyboard left open (Hybriel gap)mre
  • 59c1373ejukebox JB3 (work in progress): albums without folder and with disc markers folded, compilations, duplicate songs, own play counter, server-side shuffle queuemre
  • 2a4cfc55jukebox: library screens (songs, artists, albums, artist, album, search, favourites), compact player bar, /stream with Range, thumbnails, virtual list vendored, ui gate and real-library checkmre
  • 93a44212jukebox: report, numbers of the full scan, notes on the index key rulemre
  • bf5167dajukebox: index keys without commas (mpackdb loses them after a reopen), comma fixture and gate checksmre
  • 28a82fa2jukebox: README, STATUS, LOG, DECISIONSmre
  • d13987dfjukebox: library scanner, ID3 reader, mpackdb database and JSON API, with fixtures and a gatemre