Git Product home page Git Product logo

loco's People

Contributors

candycode avatar ugovaretto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

loco's Issues

Add custom QtMsgHandler

Add the option to catch messages from within javascript by adding a QtMessageHandler that triggers a Context::qtMessage(type, message) signal at each message sent through qDebug, qWarning etc.

LoCO context not passed to File object

When a new File object is created through e.g. loco::FileSystem::fopen() the current context is not passed to the File object and it is therefore not possible to access the FileAccess manager to restrict access to files.

Add QObject array

Add class to store sequences of QObject pointers; this is especially useful when passing multiple objects to a child context.

Map Qt::WidgetAttribute to/from QString

In WrappedWidget, Widget and Widget wrapper Qt::WidgetAttribute passed to methods are left as int/enums. Do create a Qt::WidgetAttribute <--> QString map.

test4 broken

Locoplay test4-process.js seems to not be working - fix!

Add OpenGL init code

Use a custom version of QGLWidget which emits a signal after OpenGL context is initialized to allow for one-time initialization to be performed in external objects.

Add Dart

Add example showing how to use Google's Dart language

Change GraphicsSceneProxy interface to send non-QGraphicsScene events

The current GraphicsSceneProxy inteface is pretty useless as it is because it still requires signal targets to have a dependency on QGraphicsScene events. It is easier to just implement a custom version of QGraphicsScene than use QGraphicsProxy.
Change signals to sent POD types only e.g. mouse coordinates as ints.

Remove tabs

Some source files still have tabs instead of spaces: FIX!

Add context method to load QObjects from dynamic libraries

Currently dynamic objects can be loaded only if implemented as QtPlugins; do allow the option to load QObjects from regular dylibs by specifying:

  • library path
  • name of factory function
  • parameters passed to factory functions as a JSON type

LocoFilter interface

Review LocoFilter interface, specifically:

  • consider adding methods for translating between byte arrays and strings
  • make sure it it possible to declare a static filter

Add QGraphicsView

Add loco wrapper for QGraphicsView, with an AddWidget method to add WrappedWidget, WidgetWrapper and Widget objects to the scene, also allow to select a QGLWidget as the viewport or make it the default(better).
This also means having a WrappedGraphicsWidget to add e.g. QGraphicsWebView.
Note that the main case for this feature is to create HUD GUIs which are most likely going to use QGraphicsWebView.

Also: A wrapper for QGraphicsScene is needed.

Consolidate widget classes

Have Widget, WidgetWrapper and WrappedWidget derive from a common IWidget ancestor which implements the currently duplicated interface through a virtual GetQWidget() accessor method as currently done in WidgetWrapper which derives from WrappedWidget and reimplements the Widget() method.

JavaScriptCore error with WebKit r115711

locoplay application segfaults if preload callback in LocoWebWindow is empty.
It happens on Linux Ubuntu 12.04 with WebKit r115711, May 1st 2012. Everything works fine with the default WebKit 2.2.1 inside Qt 4.8.1.

LoCO context not passed to File object

When a new File object is created through e.g. loco::FileSystem::fopen() the current context is not passed to the File object and it is therefore not possible to access the FileAccess manager to restrict access to files.

Leap Motion integration

Add support for Leap Motion through a QObject wrapper; technically it is already possible to interact with the LeapMotion device from JavaScript through sockets, but would like to add a direct LeapMotion interface through the C++ api wrapped with a QObject-derived class.

QTouchEvent

Add touch event support, this entails overloading the event() method

Change the word 'web' to 'page' where applicable

The prefix web is used throughout the code and documentation to identify not just web but also html/page resources which have nothing to do with the web. Change where applicable the prefix web with page.

QGraphicsScene wrapper

Implement a JavaScript wrapper to allow for access to QGraphicsScenes created from C++ code.

Add image api

Add JavaScript API to create, load, transform(scale, rotate...) and save images.
Also allow the creation of QPixmaps which can be handled automatically and marshaled by the Qt run-time.

Implement QGraphicWebView

Implement QGraphicsWebView container object. It might be required to completely re-implement the WebWindow interface.

Split repository

Only leave

  • apps
  • legal -> make it 'license'
  • filters
  • libloco
  • modules, with only the basic test plugins

dirs in main repository, move the other material in separate loco-scratch repository.
Also consider creating loco-apps and loco-modules repositories. Do we need a repository for scripts ?, probably only for generic javascript, since any other script depends not just on libloco but mainly on the application using it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.