Commit Graph

11481 Commits

Author SHA1 Message Date
mogemimi 5de611b4b5 Fix typo of function name in AsyncTaskPool 2016-02-26 00:22:46 +09:00
pandamicro e991282ed8 Merge pull request #15109 from dongtaohan/v3
exported api for Cocos Studio.
2016-02-25 14:35:57 +08:00
CocosRobot 9a11556f4b [ci skip][AUTO]: updating luabinding & jsbinding automatically 2016-02-25 06:01:49 +00:00
xiaofeng11 c3eeb7c6b9 Merge pull request #15113 from zilongshanren/improve-node-api-docs
improve the api doc for node.
2016-02-25 13:56:23 +08:00
zilongshanren c56835d743 improve the api doc for node.
fixes https://github.com/cocos2d/cocos2d-x/issues/15100
2016-02-25 11:43:36 +08:00
zilongshanren 92dca220ce improve mac editbox 2016-02-25 11:05:18 +08:00
dongtao.han 34b1c1bc18 exported js_get_type_from_native for cocos2d::Node type. 2016-02-25 09:47:19 +08:00
dongtao.han 7955721cb9 exported api. 2016-02-25 09:46:34 +08:00
beichen.liu f1d8a28b96 Add FlatBuffers serialize function for language data used in Cocos Studio. 2016-02-24 14:59:37 +08:00
Ricardo Quesada 37db8407f1 Merge pull request #14867 from dumganhar/refactor-websocket
WebSocket refactoring, bug fixes, improvements, and passes most Autobahn Test (The most standard WebSocket Protocol Test).
2016-02-21 06:59:59 -08:00
pandamicro 7607382440 Merge pull request #15094 from pandamicro/v3
Fix lua engine crashes caused by CC_ENABLE_GC_FOR_NATIVE_OBJECTS
2016-02-21 20:58:21 +08:00
pandamicro 6e8c46d0be Fix lua engine crashes caused by CC_ENABLE_GC_FOR_NATIVE_OBJECTS 2016-02-21 20:20:32 +08:00
zilongshanren d28acbf2fe Merge pull request #13906 from perminovVS/unzopen-use-getsuitablefopen
unzOpen use getSuitableFOpen for correct open utf8 file name on Windows.
2016-02-19 15:36:06 +08:00
zilongshanren 5072e11bac Merge pull request #15069 from chengstory/FixRealBoolValueError
Fix value type error when read value of bool type from .plist file.
2016-02-19 14:07:29 +08:00
zilongshanren dbb10d73e1 Merge pull request #15051 from Shulepov/fix_drawing_in_incorrect_app_states_iOS
Fix drawing in incorrect app states on iOS
2016-02-19 14:00:37 +08:00
CocosRobot b2fd4b0c32 [ci skip][AUTO]: updating luabinding & jsbinding automatically 2016-02-19 02:19:55 +00:00
zilongshanren 9a65b0c7a1 Merge pull request #15065 from mogemimi/add-missing-reference-types
Add missing reference-return types
2016-02-19 10:14:07 +08:00
zilongshanren 3a2900494f Merge pull request #15080 from njh0602/somefix
fix return value
2016-02-19 10:09:55 +08:00
mogemimi 1d9e688707 Fix typos in documentation 2016-02-18 16:16:36 +09:00
肖峰 4e501149a3 Fix lua-test link error under linux 2016-02-18 10:53:33 +08:00
NamJunHyone 79c69d77d6 fix return value 2016-02-18 11:23:54 +09:00
mogemimi 8280f06c1f Add missing reference-return types 2016-02-18 05:10:42 +09:00
James Chen 0cb94cc373 Merge branch 'v3_libwebsockets' of https://github.com/xiaofeng11/cocos2d-x into refactor-websocket 2016-02-17 14:56:57 +08:00
James Chen 7d43e35741 Merge branch 'v3' of git://github.com/cocos2d/cocos2d-x into refactor-websocket 2016-02-17 14:56:32 +08:00
CocosRobot 4d7186f5bd [ci skip][AUTO]: updating luabinding & jsbinding automatically 2016-02-16 09:07:51 +00:00
zhangcheng 2b1511096e Fix ValueVector read type error. 2016-02-16 17:01:54 +08:00
zhangcheng 53cbc2d32b Fix value type error when read value of bool type from .plist file. 2016-02-16 16:50:54 +08:00
pandamicro ca836aa5cb Merge pull request #15067 from pandamicro/v3
Fix C++ project crash caused by CC_ENABLE_GC_FOR_NATIVE_OBJECTS macro
2016-02-16 16:27:00 +08:00
pandamicro 1030151047 Fix C++ crash caused by CC_ENABLE_GC_FOR_NATIVE_OBJECTS macro 2016-02-16 13:43:11 +08:00
zilongshanren 9d8d003ac8 Merge pull request #15039 from Shulepov/scale9sprite_shaders_support
Scale9Sprite: allow to set custom shaders (fix #12753)
2016-02-15 21:24:14 +08:00
zilongshanren c1013d153a Merge pull request #15061 from xiaofeng11/v3
make UIEditBox code compatible with 32bit MacOSX project
2016-02-15 21:16:49 +08:00
pandamicro cb60561053 Merge pull request #15060 from pandamicro/v3
Cleanup log for New memory model
2016-02-15 17:59:28 +08:00
肖峰 57badc99aa make UIEditBox code compatible with 32bit project 2016-02-15 17:38:54 +08:00
pandamicro 6e7c9ab8db Cleanup log 2016-02-15 17:19:37 +08:00
pandamicro 94c62bed53 Remove ScriptingCore::retainCount 2016-02-15 16:32:00 +08:00
pandamicro bbf89cf016 Fix director restart issue 2016-02-15 16:30:32 +08:00
mogemimi 4c1c238f74 Fix format string warnings 2016-02-15 01:41:08 +09:00
CocosRobot f1f0a7130f [ci skip][AUTO]: updating luabinding & jsbinding automatically 2016-02-14 06:53:19 +00:00
pandamicro cb4d24e1ee Merge pull request #14759 from pandamicro/hbmemory
Implement Full GC Relied memory model
2016-02-14 14:48:01 +08:00
pandamicro 39e7759e77 Fix LuaEngine compilation issue 2016-02-14 10:18:27 +08:00
XiaoFeng 85fc074e29 libwebsockets have been compiled as static lib, remove libwebsockets.dll from win10 & win8.1 project 2016-02-14 10:07:00 +08:00
XiaoFeng c6bfe24d5b Merge commit 'refs/pull/14867/head' of https://github.com/cocos2d/cocos2d-x into v3_libwebsockets 2016-02-14 10:05:31 +08:00
pandamicro 6bbfc846da Update bindings generator and Activate new memory model by default 2016-02-14 09:48:29 +08:00
Mikhail Shulepov 014f8e107f fix: ensure calling opengl only when app is active 2016-02-13 11:17:55 +03:00
Mikhail Shulepov ab17455b18 fix: ensure drawing in main thread (layoutSubviews may be called in web thread due to banners) 2016-02-13 11:16:35 +03:00
CocosRobot 89c0c801b0 [ci skip][AUTO]: updating luabinding & jsbinding automatically 2016-02-11 13:40:35 +00:00
zilongshanren 4db0d2c47a Merge pull request #15016 from zilongshanren/addMacEditBoxMultilineSupport
add Mac Editbox multiline  support.
2016-02-11 21:33:56 +08:00
Mikhail Shulepov 19e2434326 Scale9Sprite: allow to set custom GLProgram 2016-02-11 16:18:41 +03:00
Ricardo Quesada 576458f4bd Merge pull request #15027 from ricardoquesada/renderer_merge_tri_quad_squashed
Renderer improvments: TriangleCommand and QuadCommand merged
2016-02-08 13:39:51 -08:00
Ricardo Quesada 4a318c0048 Renderer improvments: TriangleCommand and QuadCommand merged
- more options for batching (faster)
- less flushing in between commands (faster)
- less renderer code (easier to maintain)
- less VBO/VAO (less memory)
- uses temporary buffer for faster rendering (more memory)
  - QuadCommand is just a subclass of TriangleCommand (simpler)
  - but statically it allocates indices internally (like any TriangleCommand) (more
    memory, but not that much)
- adds more tests for SpritePolygon
- adds test for batching Tri + Quad command
- and fixes some other bugs

Squashed commit of the following:

commit cce893a9114da5dda91a895e4e661894f365e2c7
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Feb 8 06:56:57 2016 -0800

    QuadCommand: indices are static

    thanks @Darinex

commit e5fd1c14e93d2f07b8266bfec03cf7206d348f59
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Sun Feb 7 19:18:42 2016 -0800

    little improvements in xcode proj management

commit 6cd29764e01ad300f4e89e62aa6b399f73e94f01
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Sun Feb 7 19:05:52 2016 -0800

    Renderer improvments: TriangleCommand and QuadCommand merged

    - more options for batching (faster)
    - less flushing in between commands (faster)
    - less renderer code (easier to maintain)
    - less VBO/VAO (less memory)
    - uses temporary buffer for faster rendering (more memory)

    and fixes some other bugs

    Squashed commit of the following:

    commit af7a209435c5f2430c31ab3ebcc7f45051eacb1a
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Sun Feb 7 18:55:27 2016 -0800

        adds test for batching quads and tris

    commit 25816e3eaeffd4b0cfe5fa15e97ff84e9013b8be
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Sun Feb 7 18:40:15 2016 -0800

        cleanup renderer

    commit 7f9785056681756c865d603516c7e14c46040e82
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Sun Feb 7 15:34:48 2016 -0800

        clean up docs

    commit 92a8b679dd404e4ca2839d85e2bd925195b12996
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Sun Feb 7 15:18:52 2016 -0800

        QuadCommand converted to Triangles command

    commit 7e21ec12d3781f6964b4d639cfa4bdc79eb8ae80
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Fri Feb 5 16:17:29 2016 -0800

        adds missing files... new test as well

    commit d1bd4391785515bdc2e1bebbeb3f321f983b51f2
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Fri Feb 5 14:35:41 2016 -0800

        more tests for poly sprites

    commit 5775a25b1046671bd0f5af4c5ab52b308b34bb39
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Fri Feb 5 00:30:13 2016 -0800

        malloc instead of std::vector

    commit 14a5d45cc978c55a182c03f181ca2bc603776561
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 21:40:46 2016 -0800

        little optimization

    commit 5667cb2b62416f8a439a54c3973d5841fbe1b68b
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 19:13:13 2016 -0800

        quad works as expected

    commit 462aef05baa6586591882faa366839bead4be068
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 15:22:59 2016 -0800

        works

    commit c789e6c42811278563c7682b5620296ae8d84aeb
    Merge: d6c3729 de62924
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 14:08:49 2016 -0800

        Merge branch 'v3' into uniform_matrix_auto

    commit d6c37297954af752ebf42ec5f71e5e2fe28c9cc2
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 13:54:07 2016 -0800

        works ok...

    commit 45c288631989ea735cc31ec5aa683d9d41aacab3
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 12:58:34 2016 -0800

        quad works!

    commit 7137cff51df09adee7129738cea2b69da090756e
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Wed Feb 3 16:19:34 2016 -0800

        more optimizations... WIP... doesn't work yet

    commit a8324c1a9acb6b82102e05eee6e5e5f341306c7b
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Tue Feb 2 21:59:42 2016 -0800

        compiles in release mode

        more tests... better threshold

    commit 884ffc756e7520fcbb9252260181538ec81b8368
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Tue Feb 2 17:21:32 2016 -0800

        initial uniform_auto_matrix commit

        Changes the CC_matrix uniform in runtime depending on whether the command can be batched or not.

        Lot of things missing, though... like performance tests.
2016-02-08 11:25:37 -08:00
mogemimi bf1b9df495 Add missing 'override' keywords 2016-02-08 17:22:17 +09:00
pandamicro c03d2c57d7 Made console.log writable 2016-02-05 15:13:07 +08:00
zilongshanren de62924e60 Merge pull request #15018 from zilongshanren/tweakPageViewTurningEvent
tweak PageView page turning event time.
2016-02-04 17:12:49 +08:00
zilongshanren 805be977fe tweak PageView page turning event time. 2016-02-04 15:57:32 +08:00
zilongshanren 35b0112290 fix linux compile issue 2016-02-04 15:30:16 +08:00
zilongshanren a93bc88d31 add Mac Editbox multiline support.
1. It also refactor the original logic and optimize the iOS EditBox implementation.
2016-02-04 14:21:07 +08:00
mogemimi 44d2a161dc Remove unnecessary c_str() calls 2016-02-04 11:52:14 +09:00
Wenhai Lin 4992037c5c Avoid creating temporary string objects 2016-02-03 23:12:37 +08:00
CocosRobot 330751a150 [ci skip][AUTO]: updating luabinding & jsbinding automatically 2016-02-03 09:50:03 +00:00
zilongshanren 4f388d769a Merge pull request #15002 from WenhaiLin/v3-TargetedAction-donefix
Fixed TargetedAction::isDone always return false!
2016-02-03 17:44:26 +08:00
pandamicro 72be9a3966 Fix other issues 2016-02-02 23:39:18 +08:00
pandamicro 3c550853bc Fix restart game issue and windows crash issue 2016-02-02 23:38:37 +08:00
pandamicro 08056b7b02 Fix debugger issue 2016-02-02 16:45:17 +08:00
pandamicro fefd05e54d Fix Menu event get released issue 2016-02-02 16:44:32 +08:00
Wenhai Lin bae36b7a98 Label:Fixed characters are displayed incorrectly with some specific font. 2016-02-02 11:16:36 +08:00
Wenhai Lin eba594bb41 Fixed TargetedAction::isDone always return false! 2016-02-02 11:07:38 +08:00
CocosRobot 4ab9ffff4f [ci skip][AUTO]: updating luabinding & jsbinding automatically 2016-02-01 06:34:11 +00:00
zilongshanren 36668071bb Merge pull request #14986 from GuoLunHao/v3_version
update cocos2d-x's version to 3.11
2016-02-01 14:28:14 +08:00
zilongshanren ee31d2ad22 Merge pull request #14940 from mxenabled/stop_auto_scroll
Add ability to stop auto scrolling in ui::ScrollView and extension::ScrollView
2016-02-01 14:27:55 +08:00
lunhao.guo b2e5e480fe update cocos2d-x's version to 3.11 2016-01-29 14:49:05 +08:00
CocosRobot 346144742f [ci skip][AUTO]: updating luabinding & jsbinding automatically 2016-01-28 04:01:53 +00:00
zilongshanren 41edaa8b32 Merge pull request #14975 from greekman99/master
Fixed subtle documentation issues
2016-01-28 11:55:56 +08:00
minggo e246390c42 Merge pull request #14978 from xpol/const-ref-args-for-file-utils-write-methods
Small refactor FileUtils.
2016-01-28 10:36:31 +08:00
pandamicro 01f41921d1 Fix enableDebugger issue 2016-01-28 01:55:10 +08:00
pandamicro e2568b3a6f Merge branch 'v3' of github.com:cocos2d/cocos2d-x into hbmemory
Conflicts:
	tests/js-memory-gc-tests/src/tests-main.js
2016-01-28 01:12:49 +08:00
pandamicro de9b51c0cf Fix other GC issues 2016-01-28 01:03:50 +08:00
pandamicro 554523a201 Use JS::Heap instead of Mozilla::maybe to improve stability 2016-01-28 01:03:13 +08:00
zilongshanren b0d0a7a064 Merge pull request #14964 from zilongshanren/fix14909
fix pageview page turning event issue
2016-01-27 20:53:48 +08:00
zilongshanren 366407ca1c fix win32 compile issue 2016-01-27 20:21:32 +08:00
Xpol Wan 56e5cf2101 Fixes indent. 2016-01-27 13:43:55 +08:00
Xpol Wan d8bf7fa767 Remove unnecessary memory copy when saving string. 2016-01-27 13:40:19 +08:00
Xpol Wan ea9dda052b Better name for data to be saved. 2016-01-27 13:39:31 +08:00
Xpol Wan f3aef10d33 Should be const reference for data/string args to be written. 2016-01-27 11:22:46 +08:00
Justin Luong bd4615795e fixed documentation for better reading clarity 2016-01-27 11:42:25 +10:00
pandamicro 93987c7848 Remove PersistentRooted as much as possible and use pure JS references 2016-01-26 19:33:35 +08:00
Justin Luong c89df2f243 Merge remote-tracking branch 'upstream/v3' 2016-01-26 20:52:55 +10:00
zilongshanren 83a6fd36ce Merge pull request #14971 from mogemimi/use-string-instead-of-chars
Replace char* with std::string in HttpRequest
2016-01-26 09:59:23 +08:00
zilongshanren f853a43e04 Merge pull request #14970 from mxenabled/steerlink/cleanup_obsolete_win32
Remove obsolete Win32 references.
2016-01-26 09:58:32 +08:00
mogemimi 7dd7dfede7 Replace char* with std::string in HttpRequest 2016-01-26 05:13:18 +09:00
sheldon.teerlink 60d640442f Remove obsolete Win32 references. 2016-01-25 12:23:53 -07:00
zilongshanren bc44769b8b add more deprecated functions 2016-01-25 18:14:48 +08:00
zilongshanren 00ad5bd620 fix jsb deprecated constants 2016-01-25 15:40:51 +08:00
zilongshanren b43764fc92 fix lua deprecated function bindings 2016-01-25 14:48:17 +08:00
zilongshanren dbf5b2c4a5 fix pageview page turning event issue 2016-01-25 11:53:40 +08:00
pandamicro d6cedb88ec Remove JS::Persistent and move js object reference into JS scope 2016-01-24 19:47:26 +08:00
pandamicro 0daa846020 Improve gc test case and add cycle reference tests
t

Improve gc test case and add action cycle reference test
2016-01-24 19:47:24 +08:00
Justin Luong 6644781698 Merge remote-tracking branch 'upstream/v3' 2016-01-23 21:06:33 +10:00
CocosRobot 039286f814 [ci skip][AUTO]: updating luabinding & jsbinding automatically 2016-01-22 14:25:59 +00:00
Ricardo Quesada fccbcdef69 Merge pull request #14947 from ricardoquesada/rich_text_word_wrap
RichText with word wrapping working as expected
2016-01-22 06:20:25 -08:00
Ricardo Quesada 7582518424 default is word-wrap 2016-01-22 06:20:01 -08:00