platform/framework/native/jsnative.git
8 years agotizen-app-manager module 58/57358/9 submit/tizen/20160202.022958
Seungkeun Lee [Tue, 19 Jan 2016 10:30:41 +0000 (19:30 +0900)]
tizen-app-manager module

 - Use Jsoncpp

Change-Id: I3c3b09d2878bad295966e7c8dd4d08bcc49b2e9e

8 years agoAdd alarm module 84/56884/14
Seungkeun Lee [Wed, 13 Jan 2016 09:46:41 +0000 (18:46 +0900)]
Add alarm module

Change-Id: I00973659b182529e8456a55f59c260e78bc66e84

8 years agoAdd tizen-system-setting module 50/57650/16
SungHyun Min [Fri, 22 Jan 2016 07:14:40 +0000 (16:14 +0900)]
Add tizen-system-setting module

Change-Id: Iebe7afe9bf03ae17115debe23ae4b91f4505eef7

8 years agoAdd tizen-device module 11/57011/14
WonYoung Choi [Thu, 14 Jan 2016 10:25:11 +0000 (19:25 +0900)]
Add tizen-device module

Change-Id: Id008e1e0331811dad605dd58f567014810553837

8 years agoAdd tizen-message-port Module 74/57074/18
yons.kim [Wed, 13 Jan 2016 01:22:49 +0000 (10:22 +0900)]
Add tizen-message-port Module

Change-Id: Ib3eb980e65168493acffae0797879a8ada563132

8 years agoMerge "Add tizen-notification module" into tizen
WonYoung Choi [Mon, 1 Feb 2016 02:12:24 +0000 (18:12 -0800)]
Merge "Add tizen-notification module" into tizen

8 years agoAdd tizen-notification module 64/56964/14
jh5.cho [Thu, 14 Jan 2016 02:21:31 +0000 (11:21 +0900)]
Add tizen-notification module

Change-Id: I3ece1624f64f661d2020fe8ec0d0e90705e90c82

8 years agoResolve alarms of cppcheck for base modules 82/58082/1
WonYoung Choi [Wed, 27 Jan 2016 10:03:59 +0000 (19:03 +0900)]
Resolve alarms of cppcheck for base modules

cppcheck --enable=all --std="c++11" modules/

Change-Id: Id4ad0361c95fc965f1a87b65a54129c290e26abe

8 years ago[node-xwalk] Print decorated syntax error messages of javascript. 42/58042/3
WonYoung Choi [Wed, 27 Jan 2016 05:25:19 +0000 (14:25 +0900)]
[node-xwalk] Print decorated syntax error messages of javascript.

node-xwalk prints decorated syntax error message if the javascript
code of the extension has bad syntax.
And, node-xwalk throws error when loading an extension is failed to
avoid cached the module by node.js's module system.

Change-Id: I27dd4c01691302a207b73e4ffa6600677ded5322

8 years agoRemove 'arguments-validator' and 'privileges' module 12/57912/1 accepted/tizen/mobile/20160126.050924 accepted/tizen/tv/20160126.050944 accepted/tizen/wearable/20160126.051010 submit/tizen/20160126.030442
WonYoung Choi [Tue, 26 Jan 2016 02:50:46 +0000 (11:50 +0900)]
Remove 'arguments-validator' and 'privileges' module

The 'arguments-validator' was used for the tizen device api (webapi).
Please use default rules and Type conversion functions of the Javascript.

The 'privileges' module should be add as 'cynara' module for JSNative
later if needed.

Change-Id: Idd3b8f11209e847481acd70c08ddbd0371f7ddb6

8 years agoMake visibilities of symbols hidden as default 11/57911/1
WonYoung Choi [Tue, 26 Jan 2016 02:47:01 +0000 (11:47 +0900)]
Make visibilities of symbols hidden as default

Change-Id: I3725da5dbd72b7a490df3d0252e259a2a93d2c23

8 years ago[SoundManager] Initial commit for tizen-sound-manager module 26/57826/3
jk.pu [Mon, 25 Jan 2016 05:58:09 +0000 (14:58 +0900)]
[SoundManager] Initial commit for tizen-sound-manager module

Change-Id: Ia248f7ed1b1e63bc2f02e31c9dd8d75fa5f9a63d
Signed-off-by: jk.pu <jk.pu@samsung.com>
8 years agoChange fs.writeFile mode from 0o775 to '0775' 84/57484/1
yons.kim [Wed, 20 Jan 2016 11:00:46 +0000 (20:00 +0900)]
Change fs.writeFile mode from 0o775 to '0775'

Old node which has the version such as 0.10.x doesn't support
the file mode like '0oXXX'. So, To support old and new node version,
modify the code from 0o775 to '0775'.
(just 0775 (octal literal) is prohibitted in strict mode, node)

Change-Id: I7ac9ac4b62cc9cd93dd1d9e6e31d2ef0ddd80346

8 years agotizen-application-common 39/56839/6
Seungkeun Lee [Wed, 13 Jan 2016 05:12:28 +0000 (14:12 +0900)]
tizen-application-common

 - add missed feature
 - RequestedAppControl::response

Change-Id: Ieb8c6993ca63da3a0cf2ce1e4273b0961b6397d0

8 years agoFix bug that writes wrong file permission 63/56963/2
yons.kim [Thu, 14 Jan 2016 02:09:58 +0000 (11:09 +0900)]
Fix bug that writes wrong file permission

Should use mode 'Number' with the prefix '0o'such as 666 -> 0o666
when fs module is used

Change-Id: Iea514c328993b09b77e9533557c7a7c110fae2c6

8 years agoAdd tizen-app-preference module 41/56741/2
Seungkeun Lee [Tue, 12 Jan 2016 10:12:41 +0000 (19:12 +0900)]
Add tizen-app-preference module

 - new implements

Change-Id: I371135bcf7d67c188fe0304d58cd19fff234bc61

8 years ago[node-xwalk] Use node::MakeCallback() in PostMessageToJSCallback() 62/56862/1
WonYoung Choi [Wed, 13 Jan 2016 08:08:57 +0000 (17:08 +0900)]
[node-xwalk] Use node::MakeCallback() in PostMessageToJSCallback()

Change-Id: Ide1f1acf5fc1615c3996635e675e0676dbdc5121
node::MakeCallback() calls KickNextTick() of node::Environment.

8 years ago[node-xwalk] Print error messages during the evaluation jscode of module 60/56860/1
WonYoung Choi [Wed, 13 Jan 2016 08:01:13 +0000 (17:01 +0900)]
[node-xwalk] Print error messages during the evaluation jscode of module

Change-Id: I51d2b83f796dd210b2a6745c438b6900b14026bc

8 years agoCleanup code and apply cpplint and gjslint 12/56712/4
WonYoung Choi [Tue, 12 Jan 2016 08:16:53 +0000 (17:16 +0900)]
Cleanup code and apply cpplint and gjslint

Change-Id: I95493fa34c81be3dfaeba801993818733acc37df

8 years agoUpdate cli template to use new appfw 81/56681/1
Seungkeun Lee [Tue, 12 Jan 2016 03:51:23 +0000 (12:51 +0900)]
Update cli template to use new appfw

 - Use tizen-appliation

Change-Id: Ida641301266e518c1baf5220694fa326aa95fcf1

8 years agoIntroduce ADD_MODULE cmake function 68/56668/3
WonYoung Choi [Tue, 12 Jan 2016 01:24:36 +0000 (10:24 +0900)]
Introduce ADD_MODULE cmake function

This function provides a simple method to build a node-addon and
a xwalk extension in cmake.
ADD_MODULE(target [NODE|XWALK] [JSAPI jsfile]
           SRCS srcs... INCLUDES includes...
           DEPENDS depends...)

Change-Id: I89513376b8b737e588705179212210bbffb02a01

8 years agoNew AppFW Module implements 50/56150/8
Seungkeun Lee [Tue, 5 Jan 2016 02:25:55 +0000 (11:25 +0900)]
New AppFW Module implements

 - initial version
 - xwalk style moudle

Change-Id: I0b40628790f2acf79699595d324b53b9164463d4

8 years agoRemove unnecessary files of node-xwalk module 16/54816/1 accepted/tizen/mobile/20151218.090259 accepted/tizen/tv/20151218.090118 accepted/tizen/wearable/20151218.090230 submit/tizen/20151218.052605 submit/tizen/20151218.055221 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
WonYoung Choi [Fri, 18 Dec 2015 05:24:22 +0000 (14:24 +0900)]
Remove unnecessary files of node-xwalk module

Change-Id: I220ef020dfffb01bc2e366f1d96df3ca0c1e11ae

8 years agoRemove examples of node-xwalk submit/tizen/20151218.005349
WonYoung Choi [Wed, 16 Dec 2015 03:32:39 +0000 (12:32 +0900)]
Remove examples of node-xwalk

Change-Id: I2a819a3b88616eaec6d2df25712285149dfdd374

8 years agoAdd node-dlog module
WonYoung Choi [Mon, 14 Dec 2015 10:24:10 +0000 (19:24 +0900)]
Add node-dlog module

After require('jsnative') below functions will be added.
console.log(), console.info(), console.error(), console.warn().
User can see log message with 'JSNative' log tag,
eg: # journalctl -fl LOG_TAG=JSNative

Change-Id: Ia981e6bb3bd108e04af17a2f01158d44beead424

8 years agoMerge "gjslint result apply"
Seungkeun Lee [Tue, 8 Dec 2015 00:37:11 +0000 (09:37 +0900)]
Merge "gjslint result apply"

8 years agoMerge "ReThrow exception in appfw event handler execution"
Seungkeun Lee [Tue, 8 Dec 2015 00:02:51 +0000 (09:02 +0900)]
Merge "ReThrow exception in appfw event handler execution"

8 years agogjslint result apply
Seungkeun Lee [Mon, 7 Dec 2015 23:59:51 +0000 (08:59 +0900)]
gjslint result apply

 - apply javascript lint
 - https://developers.google.com/closure/utilities/docs/linter_howto

Change-Id: I220c9dc69c9aba23d54477e1ea723b157c432a60

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 agoMerge "Add Example for Object-oriented-programming"
Seungkeun Lee [Mon, 7 Dec 2015 05:30:25 +0000 (14:30 +0900)]
Merge "Add Example for Object-oriented-programming"

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 agoHide private key when sign help message prints
yons.kim [Mon, 7 Dec 2015 04:51:11 +0000 (13:51 +0900)]
Hide private key when sign help message prints

Change-Id: I389707c12974a951e72a3d6b5e539c5c7fa488fd

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