walzer
d6ba2b44c4
update javascript/bindings/generated/ submodule revision pointer
2012-09-28 10:29:21 +08:00
folecr
5859260b25
Update to latest generated bindings
2012-09-27 13:39:49 -07:00
folecr
f1aff597a2
Update makefile to include CocosDenshion
2012-09-27 13:39:49 -07:00
James Chen
b48b329517
Removed js185-1.0.1.tar.gz.
2012-09-26 15:28:32 +08:00
minggo
e20b933f1a
make TestJavaScript work and fix some warnings
2012-09-24 13:57:45 +08:00
James Chen
e4cee68688
Added libExtensions.lib for TestJavascript vs2010 project.
...
Removed some calling of 'USING_NS_CC;' in extensions.
2012-09-24 11:47:33 +08:00
James Chen
426915dd4a
fixed some compilation error for win32 platform.
2012-09-24 11:05:15 +08:00
folecr
78bfc2df62
Fix spurious file introduced into makefile
2012-09-21 12:09:26 -07:00
folecr
12e88ac514
Update bindings
2012-09-21 12:07:30 -07:00
folecr
2a78f8d176
Separate out cocos specific manual type conversions.
2012-09-21 11:38:19 -07:00
folecr
6730294dbe
Generated bindings are a submodule pointing to a separate repository
...
* This allows bindings to be generated by a build server
* ... when the Cocos2D-X API changes
2012-09-21 11:38:19 -07:00
minggo
29fad4d570
Merge branch 'gles20-android-refactoring' of https://github.com/nicolasgramlich/cocos2d-x into merge_nicolas
2012-09-21 11:05:31 +08:00
Rohan Kuruvilla
100a7a1883
Adding sample game wrapper using CCBReader. Also includes small modification to CCBReader
2012-09-20 18:02:17 -07:00
Rohan Kuruvilla
d097406f18
Modifying MenuItemToggle bindings to make it work
2012-09-20 18:02:17 -07:00
Rohan Kuruvilla
9e1e64509b
Copying changes previously made into cxx-generator/targets/spidermonkey/common
...
1. Fixed memory leak while removing proxy objects
2. Fixed JS Context restart
3. Added JS conversion for CCArray
4. Updated generated bindings with some more classes
2012-09-20 18:02:17 -07:00
Rohan Kuruvilla
dde8d50d15
Adding member function executeFunctionWithOwner to ScriptingCore
2012-09-20 14:45:35 -07:00
Rohan Kuruvilla
57680ec2d6
Adding CCBuilderReader JS bindings
2012-09-20 14:45:34 -07:00
folecr
c6f06ddced
Refer to cocos2dx.cpp from the generated subdirectory
2012-09-18 17:02:21 -07:00
folecr
60fd3c5b9c
Remove generated files...
...
* ... in favour of automatically generated bindings
* ... in the generated/ subfolder.
2012-09-18 17:02:21 -07:00
Nicolas Gramlich
48062e222d
Reverted change in scripting/javascript/bindings/Android.mk.
2012-09-18 11:01:31 -07:00
Nicolas Gramlich
c2a62875cf
Added ANDROID_SCRIPTINGCORE_LOAD_SCRIPTS_FROM_EXTERNAL_ASSET_DIRECTORY flag, that allows to load from external assets directory instead of from internal apk assets directory.
2012-09-13 11:13:02 -07:00
Nicolas Gramlich
696cdbaa8c
Minor build fix due to merge fail.
2012-09-12 16:55:56 -07:00
Nicolas Gramlich
675d0adce5
Merge with gles20-official.
2012-09-12 16:51:01 -07:00
James Chen
b6e4c98334
Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into dualface-lua
2012-09-11 14:03:33 +08:00
James Chen
7d8b261ced
fixed #1477 : Abstracts Lua and JS binding protocol, some bugs fixes in lua-binding, adding custom menu on win32 and mac for switching resolutions.
2012-09-11 14:02:33 +08:00
folecr
991d63eaad
Update location of spidermonkey-android makefile
2012-09-10 16:12:48 -07:00
Nicolas Gramlich
4c7705171a
Android JAVA refactoring. Android JNI Cleanup.
2012-09-07 17:23:04 -07:00
James Chen
0d2c2b3bf8
issue #1454 : Updated win32 project configuration and some .plist files.
...
Removed old binding files.
2012-08-31 22:01:57 +08:00
James Chen
9ba5a1bfef
issue #1454 : Removed COCOS2D_JAVASCRIPT macro.
2012-08-31 21:23:23 +08:00
James Chen
e2629ef175
Fixed some compile errors on win32.
2012-08-30 23:10:09 +08:00
James Chen
e584b94728
Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into js
...
Conflicts:
scripting/javascript/bindings/cocos2d_generated.cpp
2012-08-30 20:16:54 +08:00
Rohan Kuruvilla
743478570c
Chipmunk support
...
* Changing CGPoint to cpVect
* Fix build and test code
2012-08-29 16:35:30 -07:00
James Chen
68e9210434
Modified the implementation of ScriptingCore::getInstance by using new operator.
...
Some implemented method should return default value.
2012-08-29 14:49:03 -07:00
James Chen
2dd0b9e0d3
Using '#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)' instead of '#ifdef ANDROID' to make it compiled successfully on win32.
2012-08-29 14:49:03 -07:00
James Chen
708be4e474
Remove 'readFileInMemory' to make it compile ok on win32, initialized the member variables for ScriptingCore class.
2012-08-29 14:49:03 -07:00
James Chen
a2b5916301
Using 'getHashCodeByString(typeid(*native_obj).name())' instead of 'reinterpret_cast<long>(typeid(*native_obj).name());'.
...
Since on win32 platform, 'reinterpret_cast<long>(typeid(*native_obj).name());' invoking in cocos2d.dll and outside cocos2d.dll(in TestJavascript.exe) will return different address.
But the return string from typeid(*native_obj).name() is the same string, so we must convert the string to hash id to make sure we can get unique id.
2012-08-29 14:49:03 -07:00
James Chen
bbf3c4843a
Updated spidermonkey-win32 to FF14.0.1.
2012-08-29 14:48:41 -07:00
James Chen
0fe9d12eaa
Updated cocos2d_generated.cpp.
2012-08-29 18:03:34 +08:00
folecr
122dab03d2
Remove iOS specific code
2012-08-28 17:56:01 -07:00
folecr
3c11684bf7
Remove commented code
2012-08-28 17:56:01 -07:00
folecr
6c604f02d3
Fix typo and add logs
2012-08-28 17:44:01 -07:00
folecr
148b67d374
Disable use of chipmunk
2012-08-28 17:44:00 -07:00
folecr
1902cdda05
Chipmunk bindings : clean up code
...
* Remove dead code
* Use generic float instead of platform-specific CGFloat
2012-08-28 17:44:00 -07:00
folecr
7636758f94
Add chipmunk library reference to build
2012-08-28 17:43:59 -07:00
folecr
c2f908cf8f
Hardcoded modification to generated file to work platform-specific code
...
* addPVRTCImage() is not supported on Android
2012-08-28 17:43:59 -07:00
James Chen
71b147ce2f
Use CCFileUtils and CCString to load file contents
2012-08-28 17:43:59 -07:00
James Chen
60dae250f2
Use CCLOG to implement js_log
2012-08-28 17:43:59 -07:00
folecr
4256dc6830
Update makefiles
2012-08-28 17:43:58 -07:00
folecr
304923eee0
Copy prebuilt spidermonkey from Firefox14.0.1
2012-08-28 17:43:58 -07:00
folecr
f0426c87f9
Remove spidermonkey-android
2012-08-28 17:43:57 -07:00