platform/framework/native/jsnative.git
8 years agoReThrow exception in appfw event handler execution
Seungkeun Lee [Mon, 7 Dec 2015 23:45:17 +0000 (08:45 +0900)]
ReThrow exception in appfw event handler execution

 - Error message and callstack was not printed
 - Because appfw event handler was catched exception
 - So, we rethrow exception

Change-Id: Ic11d1f35059acd4e172e99bff41182b9be7cc753

8 years agoAdd Example for Object-oriented-programming
Seungkeun Lee [Mon, 7 Dec 2015 05:24:33 +0000 (14:24 +0900)]
Add Example for Object-oriented-programming

 - How to make class
 - How to make sub class
 - How to make private property

Change-Id: Ic1a67cf893d733ce950e50b20a34e39d125494f3

8 years agonode-xwalk - Update binary interface implements
Seungkeun Lee [Fri, 4 Dec 2015 07:59:39 +0000 (16:59 +0900)]
node-xwalk - Update binary interface implements

 - Use GetContents instead of Externalize (It didn't copy the internal buffer)
 - Use ArrayBufferCreationMode::kInternalized to create ArrayBuffer (It copied the buffer)

Change-Id: Ida0efa33bac940b8f14a9dd21cf120fb9ac976d1

8 years agoIntroduce How-to example
Seungkeun Lee [Fri, 4 Dec 2015 01:06:19 +0000 (10:06 +0900)]
Introduce How-to example

 - Introduce how to sync js-objet and native-object lifecycle.

Change-Id: I5ffaa3b4281dbfccfd870f7153ace16ede0e68c2

8 years agoIntroduce 'reaper' module for tracking lifecycle of javascript object
Seungkeun Lee [Thu, 3 Dec 2015 02:26:59 +0000 (11:26 +0900)]
Introduce 'reaper' module for tracking lifecycle of javascript object

 - The reaper module was tracking the javascript object deletion
 - User can use this module for tracking lifecycle of javascript object
 - Deleted object was passed the callback parameter

Change-Id: I3140551865ae2a9b3325059fd63ea0e0bd8daf83

8 years agoFix example for echo extension
WonYoung Choi [Wed, 2 Dec 2015 11:47:27 +0000 (20:47 +0900)]
Fix example for echo extension

Change-Id: Iee5246531fd04fc98b4a403254a7c07fdb938db9

8 years agoMove internal modules to 'modules' directory
WonYoung Choi [Tue, 1 Dec 2015 10:52:49 +0000 (19:52 +0900)]
Move internal modules to 'modules' directory

Change-Id: I831f8ef23ac11695afcc9d4536607e291a7ff9e8

8 years agoAdd examples for JSNative modules
WonYoung Choi [Tue, 1 Dec 2015 10:18:42 +0000 (19:18 +0900)]
Add examples for JSNative modules

This examples describe how to create modules for JSNative
with v8 binding and xwalk-extensions-common.

Change-Id: I44bbeaa82d90e9f6cf2b905a4c0f8ff1f090e3b4

8 years agoAdd 'jsnative' module
WonYoung Choi [Tue, 1 Dec 2015 09:59:12 +0000 (18:59 +0900)]
Add 'jsnative' module

JSNative application should require this module first. eg:
require('jsnative');
This module initailizes necessary tasks for JSNative applications.

Change-Id: I0840b5c35f8315e7584ebfd1ab27e1c1ee989605

8 years agoAdd install() function
WonYoung Choi [Tue, 1 Dec 2015 05:04:39 +0000 (14:04 +0900)]
Add install() function

When require('node-xwalk').install() is called '.xwalk' extension
handler will be added to require.extensions of Node.js.
After called this function, crosswalk extensions can be loaded
using require() of Node.js. The extension having '.xwalk' file
extension is searched by the module finding algorithm of Node.js

Change-Id: I733d91ea5ff7f8ad4cf68c92d39fb1e54098b35f

8 years agoIntroduce privileges and arguments-validator module
WonYoung Choi [Wed, 18 Nov 2015 00:42:31 +0000 (09:42 +0900)]
Introduce privileges and arguments-validator module

Change-Id: Id647048c6713ec8cad778412774bfc9b3402fdcc

8 years agoRemove ES6 from jsn-cli
jh5.cho [Mon, 16 Nov 2015 02:51:45 +0000 (11:51 +0900)]
Remove ES6 from jsn-cli

Change-Id: I39a873f800116c75f8afbd38b529f2949ce64470

8 years agoReadjust help and error log
jh5.cho [Fri, 13 Nov 2015 08:47:40 +0000 (17:47 +0900)]
Readjust help and error log

Change-Id: If57e8ccd6791aac52f47e104cc51d1073beebebb

8 years agoApply babel for es6 on nodejs v0.10
yons.kim [Fri, 13 Nov 2015 05:15:49 +0000 (14:15 +0900)]
Apply babel for es6 on nodejs v0.10

Current apm's nodejs version is 0.10. Until now, this program uses
very higher nodejs's version(4.2.1). To lower this and not modify code,
add babel & preset for es6.

Change-Id: I6b51d700e43bcd4a4f5464782141b0870c88d54a

8 years agoRemove module path setting in app-template
WonYoung Choi [Thu, 12 Nov 2015 04:41:20 +0000 (13:41 +0900)]
Remove module path setting in app-template

Change-Id: I53c98873a3b411da9278150995cc1162939e3395

8 years agoIntroduce JSNative project
WonYoung Choi [Thu, 12 Nov 2015 02:04:13 +0000 (11:04 +0900)]
Introduce JSNative project

JSNative consists of set of node.js modules to provide node.js environment
for Tizen platform.
Currently, JSNative has below node.js modules.
- appfw : Using tizen application frameworks
- gcontext: Using glib mainloop
- node-xwalk : Using crosswalk style extension
- jsn-cli : JSNative CLI tools

Change-Id: I8fcd5d8fa43150b06d3db3d53625ddfbaf3e731d

8 years agoInitial empty repository
KyungMi Lee [Wed, 11 Nov 2015 00:03:30 +0000 (09:03 +0900)]
Initial empty repository