[Spice-devel] [spice-html5][PATCH v2 00/13] Prepare submission for npmjs

Cédric Bosdonnat cbosdonnat at suse.com
Thu Feb 14 09:44:43 UTC 2019


Hi Jeremy,

I fixed the missing SpiceHtml5: that was a mistake in the code rework.
Thanks for spotting it.

As for the whitespaces, I had more troubles with them. A big lot of them
was coming from dos line endings. I added a commit to convert sha1.js to
unix line endings, but for some reason, git am fails to apply the patch
here while git apply does the work like a charm.

All whitespaces should be fixed now.

Cédric Bosdonnat (13):
  CSS: don't force the background color or inputs
  dos2unix sha1.js
  Introduce ES6 modules
  Remove duplicated enums
  Expose all needed pieces in main.js
  Prepare publishing on npmjs
  Move sources into their own folder
  Fix disconnect() code
  Prompt password in spice_auto.html
  Document onsuccess callback
  resize_helper, no message box case
  resize_helper: round sizes down
  More reliable mouse position reporting

 TODO                                          |     3 -
 atKeynames.js                                 |   183 -
 enums.js                                      |   377 -
 package.json                                  |    21 +
 spice.css                                     |     1 -
 spice.html                                    |    68 +-
 spice_auto.html                               |    79 +-
 src/atKeynames.js                             |   189 +
 bitmap.js => src/bitmap.js                    |    15 +-
 cursor.js => src/cursor.js                    |    35 +-
 display.js => src/display.js                  |   282 +-
 src/enums.js                                  |   372 +
 filexfer.js => src/filexfer.js                |     6 +
 inputs.js => src/inputs.js                    |   128 +-
 lz.js => src/lz.js                            |    28 +-
 main.js => src/main.js                        |   152 +-
 playback.js => src/playback.js                |    95 +-
 png.js => src/png.js                          |     6 +
 port.js => src/port.js                        |    15 +-
 quic.js => src/quic.js                        |    51 +-
 resize.js => src/resize.js                    |    34 +-
 simulatecursor.js => src/simulatecursor.js    |     6 +
 .../spicearraybuffer.js                       |     0
 spiceconn.js => src/spiceconn.js              |   107 +-
 spicedataview.js => src/spicedataview.js      |     4 +
 spicemsg.js => src/spicemsg.js                |   113 +-
 spicetype.js => src/spicetype.js              |    46 +-
 .../browser-es-module-loader/.npmignore       |     0
 .../browser-es-module-loader/README.md        |    15 +
 .../dist/babel-worker.js                      | 55799 ++++++++++++++++
 .../dist/browser-es-module-loader.js          |  1486 +
 .../dist/browser-es-module-loader.js.map      |     1 +
 .../browser-es-module-loader/rollup.config.js |    16 +
 .../src/babel-worker.js                       |    25 +
 .../src/browser-es-module-loader.js           |   280 +
 {thirdparty => src/thirdparty}/jsbn.js        |     4 +
 {thirdparty => src/thirdparty}/prng4.js       |     5 +
 {thirdparty => src/thirdparty}/rng.js         |     5 +
 {thirdparty => src/thirdparty}/rsa.js         |     7 +
 {thirdparty => src/thirdparty}/sha1.js        |   697 +-
 ticket.js => src/ticket.js                    |    10 +
 utils.js => src/utils.js                      |   199 +-
 webm.js => src/webm.js                        |    38 +-
 wire.js => src/wire.js                        |     8 +
 44 files changed, 59487 insertions(+), 1524 deletions(-)
 delete mode 100644 atKeynames.js
 delete mode 100644 enums.js
 create mode 100644 package.json
 create mode 100644 src/atKeynames.js
 rename bitmap.js => src/bitmap.js (84%)
 rename cursor.js => src/cursor.js (79%)
 rename display.js => src/display.js (81%)
 create mode 100644 src/enums.js
 rename filexfer.js => src/filexfer.js (97%)
 rename inputs.js => src/inputs.js (62%)
 rename lz.js => src/lz.js (85%)
 rename main.js => src/main.js (69%)
 rename playback.js => src/playback.js (76%)
 rename png.js => src/png.js (98%)
 rename port.js => src/port.js (88%)
 rename quic.js => src/quic.js (97%)
 rename resize.js => src/resize.js (77%)
 rename simulatecursor.js => src/simulatecursor.js (98%)
 rename spicearraybuffer.js => src/spicearraybuffer.js (100%)
 rename spiceconn.js => src/spiceconn.js (82%)
 rename spicedataview.js => src/spicedataview.js (99%)
 rename spicemsg.js => src/spicemsg.js (92%)
 rename spicetype.js => src/spicetype.js (91%)
 create mode 100644 src/thirdparty/browser-es-module-loader/.npmignore
 create mode 100644 src/thirdparty/browser-es-module-loader/README.md
 create mode 100644 src/thirdparty/browser-es-module-loader/dist/babel-worker.js
 create mode 100644 src/thirdparty/browser-es-module-loader/dist/browser-es-module-loader.js
 create mode 100644 src/thirdparty/browser-es-module-loader/dist/browser-es-module-loader.js.map
 create mode 100644 src/thirdparty/browser-es-module-loader/rollup.config.js
 create mode 100644 src/thirdparty/browser-es-module-loader/src/babel-worker.js
 create mode 100644 src/thirdparty/browser-es-module-loader/src/browser-es-module-loader.js
 rename {thirdparty => src/thirdparty}/jsbn.js (99%)
 rename {thirdparty => src/thirdparty}/prng4.js (98%)
 rename {thirdparty => src/thirdparty}/rng.js (97%)
 rename {thirdparty => src/thirdparty}/rsa.js (96%)
 rename {thirdparty => src/thirdparty}/sha1.js (96%)
 rename ticket.js => src/ticket.js (96%)
 rename utils.js => src/utils.js (58%)
 rename webm.js => src/webm.js (95%)
 rename wire.js => src/wire.js (97%)

-- 
2.19.2



More information about the Spice-devel mailing list