Commit Graph

177 Commits

Author SHA1 Message Date
halx99 8e5a378f1c Luabinding: Add std:🧵:id support 2022-10-12 14:22:45 +08:00
一线灵|Deal 5645bb241e
Final migrate () 2022-10-01 16:24:52 +08:00
halx99 d49b67204e Fix ci [skip ci] 2022-09-26 23:15:59 +08:00
一线灵|Deal 33b67fa0df
Migrate, use simple namespace ax () 2022-08-29 20:51:22 +08:00
一线灵 13fc72c02c
Migrate axys () 2022-08-08 18:02:17 +08:00
tkzcfc 9791189fd3
[Lua Binding] Support return type 'ResourceData' () 2022-07-22 13:13:22 +08:00
halx99 600fdd5962 Migrate macro COCOS2D_DEBUG, refer 2022-07-19 15:34:26 +08:00
halx99 c0a4371879 Migrate more macors 2022-07-16 10:43:05 +08:00
一线灵 406f962cad
Migrate extension lua () 2022-07-12 21:31:54 +08:00
halx99 9ee4181976 Migrate tests, extensions and configs ReSquash for unexpected changes +2 2022-07-09 22:23:34 +08:00
halx99 c584ee1e78 Enable video & webview lua-tests on windows 2022-05-18 12:52:05 +08:00
halx99 6b70fc5ff3 Fix ci 2021-12-31 16:29:11 +08:00
halx99 deddc5542e Fix ci [skip ci] 2021-12-31 15:49:45 +08:00
halx99 e534dd66c0 Rename core folder name 2021-12-31 14:39:08 +08:00
halx99 8e8affab5e string_view for lua bindings 2021-12-28 15:46:32 +08:00
halx99 fe39799ffc Delete unused binding generator 2021-12-08 00:15:08 +08:00
halx99 d197e8b245 Fix part of 2021-09-02 11:43:27 +08:00
halx99 7ee1785858 Improve Lua RTTI performance [ci build] 2021-06-18 12:23:10 +08:00
halx99 9c99f3160a Restore prebuilt libs from git lfs storage
You’ve used 100% of your data plan for Git LFS on the organization adxeproject. Please purchase additional data packs to cover your bandwidth and storage usage:
  https://github.com/organizations/adxeproject/billing/data/upgrade
Current usage as of 05 Jun 2021 06:46PM UTC:
  Bandwidth: 1.01 GB / 1 GB (101%)
  Storage: 0.16 GB / 1 GB (16%)
2021-06-06 10:16:44 +08:00
halx99 f4d4787b55 Use git lfs manage prebuilt libs 2021-06-05 19:26:40 +08:00
halx99 c44d94a2b2 Update lua bindings source [ci build]
cxx17::string_view support
2020-12-16 17:52:17 +08:00
halx99 e2c3e53997 Sync readme files 2020-11-02 16:40:05 +08:00
halx99 c56cae2b87 Sync tolua template file 2020-11-02 16:38:08 +08:00
halx99 877de444e4 tolua mutli search paths support 2020-11-02 16:37:18 +08:00
halx99 940f4fccaa Optimize python scripts 2020-11-02 11:35:44 +08:00
halx99 8e07009a68 Sync official v4 tools 2020-10-08 22:32:07 +08:00
halx99 20ebd388da Add console scripts & bindings-generator 2020-07-20 18:46:15 +08:00
halx99 a70b43af1e Remove a submodules. 2020-07-20 18:41:45 +08:00
Arnold 9281ca701e
fix ref of binding-generators' () 2019-06-17 10:35:18 +08:00
Arnold 98d5f37a30 fix lua-tests errors ()
* enable test case

* save

* generate enum classes

* save

* autobindg backend interface

* safe

* fix typos

* fix setUniform

* enable draw primitives and fast tmx tiled map

* save all

* update

* fix compile error on mac

* fix locations

* fix locations

* deduce vertexlayout

* clean

* compile on mac

* fix resource path

* save

* update bindings-generator

* remove unused code

* rename ccbackend to ccb

* remove todo
2019-05-05 00:26:34 -07:00
minggo e63c4d1ba6
make lua binding work () 2019-03-07 18:29:06 +08:00
James Chen 907b6fda75 Uses NDK r16 to generate js/lua binding code () 2017-12-07 13:34:12 +08:00
minggo cfaa77be28
Update spine () 2017-11-02 09:06:13 +08:00
pandamicro 0eec73ba43 Bindings fix and assets manger ex fix ()
* Fix custom event being discard during event emission

* Fix tilemap black line issue

* Fix auto bindings config

* Adapt websocket to new memory model

* Improve cocos2d_specifics code stability

* Fix issue with get_or_create_js_object function

* Improve memory usage in function wrapper invocation

* Use JS Function bind to avoid memory tracking issues

* Support size parameter to collect total byte size before update process

* Fix download resuming issue on Android

* Remove temporary assets when temporary manifest is invalid or out of date

* Use version compare handle to compare manifests versions

* Support max concurrent tasks setting & download verify callback

* Add Manifest::Asset conversion

* Avoid crash caused by wrappers

* Sync implementation of tested and published AssetsManagerEx from Cocos Creator

* Fix linux compilation issues
2017-03-15 16:09:02 +08:00
minggo 8cb299eb2b fix lua binding string conversion ()
* fix lua binding string conversion
In previous, the characters after \0 will be truncated.

* revert some unneeded modification
2017-02-15 09:27:10 +08:00
pandamicro 5823f5792b Synchronize creator engine bug fixes and upgrade web engine ()
* Add EventDispatcher#hasEventListener (sync from creator)

* Fix function wrapper using js object during its gc

* Support more system languages

* Direct log/error for better understanding problems & add sys.now

* Synchronize Editbox APIs

* Synchronize Scheduler.PRIORITY_NON_SYSTEM const

* Upgrade web engine

* Upgrade test cases

* Manually bind EventDispatcher::addCustomEventListener to avoid memory issue

* Manual bind EventListeners’ create to avoid memory issue

* Fix compilation issue when COCOS_DEBUG = 2

* Unify function name of Texture2D::releaseTexture

* Fix compilation issues and update web & bindings-generator

* Fix lua compilation issue

* Use %ld instead of %zd
2016-12-14 09:27:47 +08:00
pandamicro 8d5c102d75 Update bindings generator 2016-05-25 18:36:16 +08:00
Xpol Wan 8d9cdeae7b Update binding generator
with fixes for generated include path for headers that not in cocos directory (e.g. extensions ).
2016-03-22 20:49:54 +08:00
Xpol Wan e7864cdb89 Removed unnecessary search paths. 2016-03-22 16:04:12 +08:00
zilongshanren 7993ad93d2 fix jsb API inconsistency.
Ticket id: https://github.com/cocos2d/cocos2d-x/issues/15275
2016-03-18 16:18:40 +08:00
pandamicro 6bbfc846da Update bindings generator and Activate new memory model by default 2016-02-14 09:48:29 +08:00
pandamicro 4f94b03b86 Upgrade bindings generator 2015-12-19 17:18:39 +08:00
Ricardo Quesada 8b2dfb1a4b Mooooores fixes
but GC memory model doesn't work yet... somewhere someone is still
retaining a reference that prevents the whole thing from
releasing
2015-12-10 22:15:44 -08:00
Ricardo Quesada 96d391ea30 Squashed commit of the following:
commit aff4e27200a77db60b13ea30c2457558e5f53059
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Dec 10 17:58:41 2015 -0800

    compiles with new GC model

commit 1fa69cd71231d56371cd45a378e50a1888308b42
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Dec 10 17:41:15 2015 -0800

    Animation3D works Ok

commit d439969caf7e6fe83a74e37d078c4361a08cb816
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Dec 10 13:39:50 2015 -0800

    Sprite3d create: converted to new API

commit aabe449e4a968fad882c44df9be787eb7c3bfcec
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Dec 10 13:27:33 2015 -0800

    ouch...

commit 688ab610a8cb7607bc3c51b8ca01d800ef3c9794
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Dec 10 13:12:25 2015 -0800

    Spawn/Sequence init* were not bound

    Fixed. Now JS Scheduler Test works Ok
2015-12-10 18:02:55 -08:00
Ricardo Quesada 13dc967b03 js_get_or_create_jsobject() and other stuff
- getDescendatns() converted
- singletons converted
- new helper template-specialized js_get_or_create_jsobject()

Squashed commit of the following:

commit 3f21e65bca5f7e5e5c4bf304f2daed0eff26f6aa
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Dec 7 19:04:24 2015 -0800

    logging added (and commented)

    will be useful in the future

commit f995295b385a515c1f82136688610a90eb379855
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Dec 7 19:00:09 2015 -0800

    new js_get_or_create_jsobject<T>

    Specializes Template on cocos2d::Ref.
    When Ref, it calls the `jsb_ref` functions

commit 240b80e4080757ebb47db0d02a1fe1f875237d24
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Dec 7 13:31:52 2015 -0800

    singletons converted

commit 667d94bf90267c103b620630bacfffa7767b42dd
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Dec 7 12:20:07 2015 -0800

    getDescendants() converted
2015-12-07 19:05:23 -08:00
Ricardo Quesada d02f4afd4a using new bindings templates
ignores createInstance() from ui
2015-12-05 22:26:54 -08:00
Ricardo Quesada e5d722b2a8 new bindings 2015-12-02 15:24:49 -08:00
pandamicro df62e92d7b Correct bindings generator ref 2015-12-01 23:50:52 +08:00
XiaoFeng e5d57b4fa2 update binding-generator sub module & code 2015-12-01 22:30:36 +08:00
XiaoFeng 32f21ca5be Binding ResouceData structure to js to fix auto compile error 2015-11-19 14:31:39 +08:00