[beast: 70/70] Merge branch 'wip/ebeast'



commit a7a5961eb70072a0601fb497eb4ebcc110d92bfb
Merge: a0ae17e a54ccfd
Author: Tim Janik <timj gnu org>
Date:   Wed Mar 29 00:29:01 2017 +0200

    Merge branch 'wip/ebeast'
    
    * wip/ebeast:
      EBEAST: bundle and install ebeast-<VERSION> under libexec/
      BUILD: disable npm based Beast package builds if ebeast/ is not present
        Keep distcheck and Debian package builds working while ebeast is being
        developed, without forcing premature ebeast shipping.
      EBEAST: ensure node_modules are installed before running lessc
      V8BSE: use electron/package.json to detect electron version without DISPLAY
        Electron fails to display anything if started as 'electron --version'
        without $DISPLAY being set, which is likely to happen during build time.
        Reading node_modules/electron/package.json is a quick way to extract
        the electron version information without needing $DISPLAY.
        See: https://github.com/electron/electron/issues/8757
      EBEAST: export ELECTRON_ENABLE_LOGGING to catch build error resons
        See also https://github.com/electron/electron/issues/8757
      MISC: Dockerfile-apt.in: install nodejs and npm for building ebeast
      EBEAST: conditionalize ebeat app build on finding npm
      V8BSE: fix printerr usage outside of Bse namespace
      EBEAST: create default BseProject for App and update document.title
      EBEAST: add StatusBar and a ToolBar with PlayControls
      EBEAST: parse command line, handle --version, --help and pass files to App
      EBEAST: widgets: provide ButtonBox styling and IconButton
      EBEAST: provide @button-active-lg and @button-radius settings in app.less
      EBEAST: integrate font-awesome 4.7.0.
      EBEAST: pick BrowserWindow defaults from a BrowserWindowDefaults CSS rule
      EBEAST: move application logic into app.js
      EBEAST: provide single-letter shortcuts for menubar submenu navigation
      EBEAST: show About dialog on Help ยป About...
      EBEAST: menus.js: define main application menus
      EBEAST: grab focus asynchronously to work around Mithril 1.0.1 m.redraw
      EBEAST: add closeonescape to ModalDialog
      EBEAST: widgets.js: provide helpers for AnimationFrame callbacks
      EBEAST: widgets.js: export symbolic key codes for non-character keys
      EBEAST: use a non-serif font for monospace
      EBEAST: move version information into a modal About dialog
      EBEAST: add css classes to utilize flexbox layouts
      EBEAST: move background fallback definitions into .gradient-01-bg
      EBEAST: integrate jQuery 3.1.1.
      EBEAST: move <button/> styles into assets/widgets.less
      EBEAST: integrate mithril 1.0.1
      EBEAST: generate panel-background as non-banding linear gradient image
      EBEAST: adjust webkit-scrollbar to match dark theme
      EBEAST: build objects/app.css from app.less and use it in index.html
      EBEAST: use eslint 3.16.1 for linting of *.js files and JS snippets in *.html
      EBEAST: use xmllint to lint HTML files
      EBEAST: pick a dark Gtk+-2 theme if possible
      EBEAST: rename ebeast/index.html
      BUILD: ensure MOSTLYCLEANFILES can be used with +=
      V8BSE: cache JS wrappers for RemoteHandles to preserve object identity in JS
      V8BSE: derive fundamental IDL types from Aida::RemoteHandle to allow generic wrappers
      V8BSE: wrap Aida::RemoteMember like Aida::RemoteHandle
      V8BSE: allow pointer results from aida_remote_handle_unwrap_native()
      V8BSE: wrap vector derived Sequence types by v8:Array copy
      EBEAST: display an 'about:' window containing version information
      EBEAST: generate package.json and auto-update npm packages
      EBEAST: check for 'make npm' and ./node_modules/ before 'make run'
      EBEAST: use LD_PRELOAD to pick up -lbse from $(builddir) for 'make run'
        For 'make run', we point LD_PRELOAD at the builddir libbse, to avoid picking
        up an old installed libbse from /usr/lib or rpath settings.
      V8BSE: build v8bse.node against external/v8pp
      V8BSE: link v8bse.node against libbse-0.so, use -rpath to search install path
        The v8bse.node node module is linked only once during build time by node-gyp.
        Once installed, it needs to find $(libdir)/libbse-0.so if libdir is different
        from /usr/lib. Thus it needs its rpath to be $(libdir).
      V8BSE: generate binding.gyp, needed to build v8bse.node with node-gyp
      EBEAST: move app, run, npm, npmclean rules here
      EBEAST: describe experimental make rules
      EBEAST: add Makefile.am
      V8BSE: specialise v8pp::convert<> for all Aida::RemoteHandle derived types
      V8BSE: generate class inheritance statements
      V8BSE: generate class methods
      V8BSE: add inactive debugging aid
      V8BSE: export bse.server object
      V8BSE: hook up v8bse with the GLib or libuv event loops
      V8BSE: generate classes with properties into V8stub
      V8BSE: build v8bse.node from nodemodule.cc and include V8stub
      V8BSE: describe experimental make rules
      V8BSE: fixup ignores
      V8BSE: V8Stub.py: add skeleton for language binding generation
      V8BSE: add basic rules to build v8bse.node module
      V8BSE: add rules to fetch node-gyp and electron via npm
      V8BSE: add ebeast/v8bse/Makefile.am
      Merge branch 'wip/for-beast' of http://github.com/tim-janik/v8pp as 'external/v8pp'
      Squash 'external/v8pp' content from commit f221bc9d099b
        git-subtree-dir: external/v8pp
        git-subtree-split: f221bc9d099b3088b7aa5cc580e46302e00304fd
        git-subtree-repo: http://github.com/tim-janik/v8pp
    
    Signed-off-by: Tim Janik <timj gnu org>

 Makefile.am                                        |    2 +-
 Makefile.decl                                      |    1 +
 configure.ac                                       |   18 +
 ebeast/.eslintrc.js                                |   29 +
 ebeast/.gitignore                                  |    9 +
 ebeast/Makefile.am                                 |  121 +
 ebeast/app.js                                      |  119 +
 ebeast/app.less                                    |   70 +
 ebeast/assets/dialogs.js                           |  137 ++
 ebeast/assets/dialogs.less                         |   38 +
 ebeast/assets/widgets.js                           |   50 +
 ebeast/assets/widgets.less                         |   51 +
 ebeast/index.html                                  |   17 +
 ebeast/main.js                                     |  138 ++
 ebeast/menus.js                                    |   66 +
 ebeast/package.json.in                             |   19 +
 ebeast/v8bse/.gitignore                            |    5 +
 ebeast/v8bse/Makefile.am                           |   64 +
 ebeast/v8bse/V8Stub.py                             |  208 ++
 ebeast/v8bse/nodemodule.cc                         |  262 +++
 external/v8pp/.gitignore                           |   14 +
 external/v8pp/.travis.yml                          |   25 +
 external/v8pp/COPYING                              |    4 +
 external/v8pp/Doxyfile                             | 2381 ++++++++++++++++++++
 external/v8pp/LICENSE_1_0.txt                      |   23 +
 external/v8pp/Makefile                             |   31 +
 external/v8pp/README.md                            |  355 +++
 external/v8pp/build-v8.bat                         |   34 +
 external/v8pp/build-v8.sh                          |   20 +
 external/v8pp/build.ninja                          |   42 +
 external/v8pp/common.props                         |   17 +
 external/v8pp/docs/addons.md                       |   47 +
 external/v8pp/docs/config.md                       |   22 +
 external/v8pp/docs/context.md                      |   16 +
 external/v8pp/docs/convert.md                      |  275 +++
 external/v8pp/docs/exceptions.md                   |   22 +
 external/v8pp/docs/index.md                        |   18 +
 external/v8pp/docs/persistent.md                   |    8 +
 external/v8pp/docs/plugins.md                      |   28 +
 external/v8pp/docs/utilities.md                    |  110 +
 external/v8pp/docs/wrapping.md                     |  204 ++
 external/v8pp/examples/01 hello world/binding.gyp  |   11 +
 external/v8pp/examples/01 hello world/hello.cc     |   24 +
 external/v8pp/examples/01 hello world/hello.js     |   11 +
 external/v8pp/examples/02 arguments/addon.cc       |   24 +
 external/v8pp/examples/02 arguments/binding.gyp    |   11 +
 external/v8pp/examples/02 arguments/test.js        |   11 +
 external/v8pp/examples/03 callbacks/addon.cc       |   28 +
 external/v8pp/examples/03 callbacks/binding.gyp    |   11 +
 external/v8pp/examples/03 callbacks/test.js        |   13 +
 external/v8pp/examples/04 object factory/addon.cc  |   30 +
 .../v8pp/examples/04 object factory/binding.gyp    |   11 +
 external/v8pp/examples/04 object factory/test.js   |   13 +
 .../v8pp/examples/05 function factory/addon.cc     |   35 +
 .../v8pp/examples/05 function factory/binding.gyp  |   11 +
 external/v8pp/examples/05 function factory/test.js |   12 +
 external/v8pp/examples/06 wrapped objects/addon.cc |   18 +
 .../v8pp/examples/06 wrapped objects/binding.gyp   |   11 +
 .../v8pp/examples/06 wrapped objects/myobject.cc   |   45 +
 .../v8pp/examples/06 wrapped objects/myobject.h    |   25 +
 external/v8pp/examples/06 wrapped objects/test.js  |   14 +
 .../examples/07 wrapped objects factory/addon.cc   |   34 +
 .../07 wrapped objects factory/binding.gyp         |   12 +
 .../07 wrapped objects factory/myobject.cc         |   37 +
 .../examples/07 wrapped objects factory/myobject.h |   25 +
 .../examples/07 wrapped objects factory/test.js    |   19 +
 .../examples/08 passing wrapped objects/addon.cc   |   44 +
 .../08 passing wrapped objects/binding.gyp         |   13 +
 .../08 passing wrapped objects/myobject.cc         |   16 +
 .../examples/08 passing wrapped objects/myobject.h |   24 +
 .../examples/08 passing wrapped objects/test.js    |   15 +
 external/v8pp/fetch-v8.py                          |   32 +
 external/v8pp/include_dirs.js                      |    1 +
 external/v8pp/package.json                         |   15 +
 external/v8pp/plugins/console.cpp                  |   40 +
 external/v8pp/plugins/console.vcxproj              |  175 ++
 external/v8pp/plugins/console.vcxproj.filters      |    9 +
 external/v8pp/plugins/file.cpp                     |  147 ++
 external/v8pp/plugins/file.vcxproj                 |  175 ++
 external/v8pp/plugins/file.vcxproj.filters         |    9 +
 external/v8pp/plugins/packages.config              |    9 +
 external/v8pp/test/console.js                      |   26 +
 external/v8pp/test/file.js                         |   48 +
 external/v8pp/test/main.cpp                        |  146 ++
 external/v8pp/test/packages.config                 |    9 +
 external/v8pp/test/test.hpp                        |  126 +
 external/v8pp/test/test.vcxproj                    |  187 ++
 external/v8pp/test/test.vcxproj.filters            |   25 +
 external/v8pp/test/test_call_from_v8.cpp           |   80 +
 external/v8pp/test/test_call_v8.cpp                |   35 +
 external/v8pp/test/test_class.cpp                  |  177 ++
 external/v8pp/test/test_context.cpp                |   20 +
 external/v8pp/test/test_convert.cpp                |  174 ++
 external/v8pp/test/test_factory.cpp                |  117 +
 external/v8pp/test/test_function.cpp               |   54 +
 external/v8pp/test/test_json.cpp                   |   56 +
 external/v8pp/test/test_module.cpp                 |   71 +
 external/v8pp/test/test_object.cpp                 |   53 +
 external/v8pp/test/test_property.cpp               |  109 +
 external/v8pp/test/test_throw_ex.cpp               |   41 +
 external/v8pp/test/test_utility.cpp                |  218 ++
 external/v8pp/v8_options.gypi                      |   20 +
 external/v8pp/v8pp.sln                             |   62 +
 external/v8pp/v8pp/call_from_v8.hpp                |  185 ++
 external/v8pp/v8pp/call_v8.hpp                     |   43 +
 external/v8pp/v8pp/class.hpp                       |  773 +++++++
 external/v8pp/v8pp/config.hpp                      |   45 +
 external/v8pp/v8pp/context.cpp                     |  267 +++
 external/v8pp/v8pp/context.hpp                     |   86 +
 external/v8pp/v8pp/convert.hpp                     |  685 ++++++
 external/v8pp/v8pp/factory.hpp                     |   43 +
 external/v8pp/v8pp/function.hpp                    |  220 ++
 external/v8pp/v8pp/json.hpp                        |   70 +
 external/v8pp/v8pp/module.hpp                      |  167 ++
 external/v8pp/v8pp/object.hpp                      |   75 +
 external/v8pp/v8pp/packages.config                 |    9 +
 external/v8pp/v8pp/persistent.hpp                  |  170 ++
 external/v8pp/v8pp/property.hpp                    |  400 ++++
 external/v8pp/v8pp/throw_ex.hpp                    |   53 +
 external/v8pp/v8pp/utility.hpp                     |  294 +++
 external/v8pp/v8pp/v8pp.vcxproj                    |  172 ++
 external/v8pp/v8pp/v8pp.vcxproj.filters            |   25 +
 misc/Dockerfile-apt.in                             |    3 +-
 123 files changed, 11977 insertions(+), 2 deletions(-)
---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]