summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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
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
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
WonYoung Choi [Tue, 26 Jan 2016 02:47:01 +0000 (11:47 +0900)]
Make visibilities of symbols hidden as default
Change-Id: I3725da5dbd72b7a490df3d0252e259a2a93d2c23
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>
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
Seungkeun Lee [Wed, 13 Jan 2016 05:12:28 +0000 (14:12 +0900)]
tizen-application-common
- add missed feature
- RequestedAppControl::response
Change-Id: Ieb8c6993ca63da3a0cf2ce1e4273b0961b6397d0
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
Seungkeun Lee [Tue, 12 Jan 2016 10:12:41 +0000 (19:12 +0900)]
Add tizen-app-preference module
- new implements
Change-Id: I371135bcf7d67c188fe0304d58cd19fff234bc61
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.
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
WonYoung Choi [Tue, 12 Jan 2016 08:16:53 +0000 (17:16 +0900)]
Cleanup code and apply cpplint and gjslint
Change-Id: I95493fa34c81be3dfaeba801993818733acc37df
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
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
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
WonYoung Choi [Fri, 18 Dec 2015 05:24:22 +0000 (14:24 +0900)]
Remove unnecessary files of node-xwalk module
Change-Id: I220ef020dfffb01bc2e366f1d96df3ca0c1e11ae
WonYoung Choi [Wed, 16 Dec 2015 03:32:39 +0000 (12:32 +0900)]
Remove examples of node-xwalk
Change-Id: I2a819a3b88616eaec6d2df25712285149dfdd374
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
Seungkeun Lee [Tue, 8 Dec 2015 00:37:11 +0000 (09:37 +0900)]
Merge "gjslint result apply"
Seungkeun Lee [Tue, 8 Dec 2015 00:02:51 +0000 (09:02 +0900)]
Merge "ReThrow exception in appfw event handler execution"
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
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
Seungkeun Lee [Mon, 7 Dec 2015 05:30:25 +0000 (14:30 +0900)]
Merge "Add 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
yons.kim [Mon, 7 Dec 2015 04:51:11 +0000 (13:51 +0900)]
Hide private key when sign help message prints
Change-Id: I389707c12974a951e72a3d6b5e539c5c7fa488fd
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
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
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
WonYoung Choi [Wed, 2 Dec 2015 11:47:27 +0000 (20:47 +0900)]
Fix example for echo extension
Change-Id: Iee5246531fd04fc98b4a403254a7c07fdb938db9
WonYoung Choi [Tue, 1 Dec 2015 10:52:49 +0000 (19:52 +0900)]
Move internal modules to 'modules' directory
Change-Id: I831f8ef23ac11695afcc9d4536607e291a7ff9e8
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
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
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
WonYoung Choi [Wed, 18 Nov 2015 00:42:31 +0000 (09:42 +0900)]
Introduce privileges and arguments-validator module
Change-Id: Id647048c6713ec8cad778412774bfc9b3402fdcc
jh5.cho [Mon, 16 Nov 2015 02:51:45 +0000 (11:51 +0900)]
Remove ES6 from jsn-cli
Change-Id: I39a873f800116c75f8afbd38b529f2949ce64470
jh5.cho [Fri, 13 Nov 2015 08:47:40 +0000 (17:47 +0900)]
Readjust help and error log
Change-Id: If57e8ccd6791aac52f47e104cc51d1073beebebb
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
WonYoung Choi [Thu, 12 Nov 2015 04:41:20 +0000 (13:41 +0900)]
Remove module path setting in app-template
Change-Id: I53c98873a3b411da9278150995cc1162939e3395
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
KyungMi Lee [Wed, 11 Nov 2015 00:03:30 +0000 (09:03 +0900)]
Initial empty repository