Commit Graph

3293 Commits

Author SHA1 Message Date
halx99 857f669970 Fix http test print 2023-01-05 23:31:39 +08:00
halx99 0825311308 Change HttpRequest::getTag return type from const char* to std::string_view 2023-01-04 23:37:57 +08:00
halx99 28eb9e1886 Take care lambda implicit capture std::string_view
refer to: #1002
2023-01-03 23:02:17 +08:00
halx99 59bc12dddf Improve base64 API
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
CHP d79156d728
Improve Android cmake (#985)
* Update CMakeLists.txt

* Improve Andoid CMAKE
2022-12-17 16:35:34 +08:00
RH 7dba255a1d
Add a pool for GroupCommand rendering commands (#969)
* Committing genbindings changes

* Use a pool of GroupCommand entries to avoid multiple entries of the same group in the render queue in certain scenarios

* Ensure captureNode works as expected.

* Set member variables to default values when init method is called on the GroupCommand

* Explicitly reset the command state when retrieving a GroupCommand from the pool
2022-11-28 08:37:22 +08:00
halx99 0651f77a3c Improve gradle scripts
Add cmake options from gradle command line properties support
2022-11-10 22:53:54 +08:00
aismann 4fb2e1aa65
Update DrawPrimitivesTest.cpp
fix #137 and try to "explain" the behavior of setLineWidth() om DrawNode object
2022-11-07 20:56:11 +01:00
halx99 6169dfdb3d Update spine runtime to v4.1-c9af18e 2022-11-07 15:48:19 +08:00
halx99 51b991b105 Delete unused resource files 2022-11-07 15:37:43 +08:00
halx99 4f7ffa02fd Fix copyright notice [skip ci] 2022-11-01 20:02:56 +08:00
halx99 103334e251 Add effekseer test 2022-11-01 19:50:43 +08:00
RH b0c51f590d
Add support for centered horizontal layout (#946)
* Committing genbindings changes

* Add support for CENTER_HORIZONTAL layout type.
2022-11-01 19:02:04 +08:00
halx99 620b009286 Remove FileUtils::searchResolutionsOrderArray 2022-10-30 23:03:39 +08:00
halx99 1ed106b341 Fix cpp-tests material texture path 2022-10-20 20:19:11 +08:00
halx99 06079a5369 Migrate 2022-10-18 19:17:36 +08:00
一线灵|Deal 39b57ae939
Improve code quality (stage1.Oct) (#916)
* Improve code quality

* Add env PULL_REQUEST [skip ci]

* Update build.ps1

* Fix ci [skip ci]

* Update ZipUtils.cpp

* Update build.ps1

* Resolve reviews

* Improve

* Improve code style

* Resolve reviews

* Use pod_vector

* Improve resize growth

* Update CCAnimation3D.cpp

* Update axstd.h [skip ci]
2022-10-13 21:44:42 +08:00
halx99 1d01e163e9 🔨Fix #887 2022-10-12 19:44:31 +08:00
halx99 046eef5cf0 Fix #873 2022-10-12 12:39:27 +08:00
aismann c206a1456f
/* axmol thread id */ (#924) 2022-10-12 07:04:36 +08:00
CHP d5635a2687
Update UIImageViewTest.cpp (#923)
Fix UIImageViewIssue12249Test
2022-10-12 07:04:21 +08:00
CHP 825cfd05bb
Update CMakeLists.txt (#922)
* Update CMakeLists.txt

* Update CMakeLists.txt
2022-10-12 07:04:01 +08:00
aismann a5810457f1
rename cocos2d to axmol (#920)
* rename cocos2d to axmol

* rename cocos2d.h to axmol.h

* Update Physics3DTest.cpp

replace Sprite3D -> MeshRenderer
2022-10-12 00:15:09 +08:00
halx99 544c3919c3 Fix #908 2022-10-11 13:23:47 +08:00
CHP 01e3b209fb
Fix noisy message "Unable to resolve full path of PCH-header" (#918)
* Update CMakeLists.txt

fix noisy message "Unable to resolve full path of PCH-header"

* Update CMakeLists.txt

* Update CMakeLists.txt
2022-10-11 08:54:02 +08:00
RH ffef1ea55b
Enable ImGui for Android (#909)
* Add support for ImGui usage on Android
2022-10-10 03:53:24 +08:00
CHP 58c311f63d
precompile_headers all platforms (#901) 2022-10-10 03:52:04 +08:00
aismann f22148e80f
Improve MeshRenderer #879 thanks @solan-solan (#904)
* Update Physics3DTest.cpp

Improve #879  thanks @solan-solan

* Update CCMeshRenderer.cpp

#hope this is fixing #879
2022-10-08 06:15:03 +08:00
一线灵|Deal 92e5f465fa
Merge pull request #801 from theunwisewolf/dev-richtext-scale-support
RichElementImage - Add support for scaling
2022-10-04 11:08:49 +08:00
aismann 3af8ad9580 removed folder _MACOSX 2022-10-02 12:32:36 +02:00
aismann af2de36066 Test adapt to #879 2022-10-02 11:56:38 +02:00
一线灵|Deal 5645bb241e
Final migrate (#876) 2022-10-01 16:24:52 +08:00
aismann 1a8c4fbd4f
Add test case for issue #861
Add 'obj' on:
Physics3DTerrainDemo
Physics3DCollisionCallbackDemo

Co-authored-by: 一线灵|Deal <halx99@live.com>
2022-09-24 14:00:00 +08:00
halx99 0e2194a247 Improve code style 2022-09-24 11:01:45 +08:00
halx99 d1efe584be Improve code style 2022-09-24 10:42:11 +08:00
halx99 72e6061557 Fix #861 2022-09-23 22:41:30 +08:00
aismann 3dddef1bc3
Clipper2 v1 04 (#856)
* Clipper2 v1.04 (and small fixes)

* Update README.md
2022-09-19 14:17:13 +08:00
Paulo Coutinho 8c359917f7
Add apple tvos support (#846)
* support tvos

* support tvos and fix run command

* support tvos, fix run script and fix windows files

* support tvos on ci

* support tvos on ci and fix windows zlib

* support tvos on ci

* support tvos

* support tvos and tvos tests
2022-09-05 14:13:52 +08:00
aismann 38a2488966
Update Issue829Test (DrawPrimitiveTest) (#844)
* Update Issue829Test (DrawPrimitiveTest)

* Update DrawPrimitivesTest.cpp

* Update DrawPrimitivesTest.cpp
2022-09-05 13:48:28 +08:00
aismann 6dc1d48f14 Issue_829 2022-08-30 14:05:44 +02:00
一线灵|Deal 33b67fa0df
Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
aismann 880ec7321e Update SpritePolygonTest.cpp 2022-08-28 07:17:10 +02:00
aismann 73e8740e82 Improve SpritePolygonTest 2022-08-28 06:34:20 +02:00
aismann 84b40f5dea Update SpritePolygonTest.cpp
Fix for issue #231
2022-08-24 19:44:53 +02:00
unknown c26ab44880 Add empty check 2022-08-16 15:12:45 +05:30
unknown 8a462d89c9 Add support for width & height in percentage for RichElementImage 2022-08-16 12:09:02 +05:30
unknown f5c7940418 RichElementImage - Add support for scaling 2022-08-12 03:58:36 +05:30
halx99 9150b9db83 Migrate cmake files 2022-08-11 15:41:10 +08:00
halx99 4bcefff704 Fix macOS/iOS build warning
invalid character in Bundle Identifier. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters. (in target 'cpp_tests' from project 'axys')
2022-08-09 15:32:00 +08:00
一线灵 13fc72c02c
Migrate axys (#782) 2022-08-08 18:02:17 +08:00
aismann 10530b1a19
Replace push_back() vs emplace_back() on axis/tests/cpp-tests and axis/core (#781)
* Replace push_back() vs emplace_back() on axis\tests\cpp-tests\

D:\______\GitHub\aismann\axis\tests\cpp-tests\Classes
Replace Vector push_back() vs emplace_back() #762

* Replace push_back() vs emplace_back() on axis\core\ #781

* Update CCConsole.cpp

* Update UIWebViewImpl-android.cpp

* Update UIWebViewImpl-android.cpp
2022-08-08 13:18:33 +08:00
halx99 f03bce1380 Improve android gradle cmake & ndk setup 2022-08-06 23:09:16 +08:00
halx99 f152c8edf3 Update android gradle plugin to 7.2.2 2022-08-06 20:05:12 +08:00
halx99 21b9ac90e0 Update android target and compile sdk to android 12 2022-08-06 19:26:44 +08:00
Turky Mohammed 399dac7478
[PROPOSAL] Add wireframe rendering and function classification improvements. (#778)
* Add wireframe rendering and function classification improvements.

* Fix platform compilation.

* Update CommandBufferGL.cpp

GL_LINE and GL_FILL are no present in mobile devices, so the raw value has been used instead.

* Update CommandBufferGL.cpp

* Try fix IOS compilation

* Update CommandBufferMTL.h [skip ci]

* GLES & D3D11 wireframe

Added crude but okay wireframe mode for GLES and D3D11 devices.
2022-08-06 16:17:55 +08:00
aismann 73153ad614
Improve c++11 for-loop performance with Universal References (#760) 2022-07-21 19:19:08 +08:00
aismann 3e38cfdc6e Fix: #712 (mistake by me) 2022-07-19 20:05:19 +02:00
halx99 600fdd5962 Migrate macro COCOS2D_DEBUG, refer #751 2022-07-19 15:34:26 +08:00
halx99 c0a4371879 Migrate more macors 2022-07-16 10:43:05 +08:00
halx99 f3ac6ea871 Migrate macros 'CC_' to 'AX_' 2022-07-15 19:17:01 +08:00
一线灵 406f962cad
Migrate extension lua (#747) 2022-07-12 21:31:54 +08:00
halx99 cf6baeed52 Improve android gradle script axistools.gradle 2022-07-12 13:07:27 +08:00
halx99 8ca5f1cf0d Fix #742 2022-07-11 19:08:14 +08:00
一线灵 279337f17f
Migrate engine namespace to `axis`(abbv: `ax`) (#743) 2022-07-11 17:50:21 +08:00
halx99 9ee4181976 Migrate tests, extensions and configs ReSquash for unexpected changes +2 2022-07-09 22:23:34 +08:00
halx99 fff2bd59ed Fix setup cmake files and some relative sources 2022-07-08 14:20:41 +08:00
DelinWorks 49b6dda016 Fix CMAKE 2022-07-08 02:10:35 +03:00
aismann 043207e9c1 Improve look of DebugDraw and feel of LogoSmash, Raycast., etc
Its look professional now ;)
2022-07-06 16:02:41 +02:00
aismann b6c3c43ee0 Replacing 'ball' with 'blocks' to see better what happens 2022-07-06 10:42:42 +02:00
aismann a85327953d Fix: #712 2022-07-06 00:21:07 +02:00
halx99 cabb87a6ca Fix ci 2022-07-05 23:47:25 +08:00
halx99 8b5b724b46 Add missing .obj model files [skip ci] 2022-07-05 15:59:08 +08:00
Turky Mohammed fb4e263b8b
[IMPROVMENT] Change class name `Sprite3D` to `MeshRenderer` (#705)
* First draft [skip ci]

* Improve comments [skip ci]

* Rename MeshRendererMaterial to MeshMaterial [skip ci]

* Update dependent classes.

* Replace occurrences of Sprite3D with MeshRenderer.

* Update cpp-tests and extensions.

* Fix compilation.

* Try fixing lua-bindings

* Try fixing lua-bindings

* Update lua_cocos2dx_3d_manual.cpp [skip ci]

* Create RENAMED_TYPES.md
2022-07-05 14:48:46 +08:00
一线灵 b51e50a498
Merge pull request #702 from DelinWorks/improve-engine-types
[PROPOSAL] Move global enums to their own file.
2022-07-05 00:39:20 +08:00
Turky Mohammed 31ea94a677
Delete hrtf_default.h 2022-07-04 17:48:13 +03:00
DelinWorks da39a66e99 Improve function naming. 2022-07-04 17:45:23 +03:00
halx99 768a8bd5e1 Refator sampler name in shader 2022-07-04 21:26:48 +08:00
DelinWorks 1e63687310 Update NewEventDispatcherTest.cpp 2022-07-03 21:47:12 +03:00
DelinWorks 166ebd2ce6 Move global enums to their own file. 2022-07-03 20:43:55 +03:00
aismann e49b1c7d93 Update NewEventDispatcherTest.cpp 2022-07-03 07:52:11 +02:00
aismann b3726421b2 use engine global namespace 2022-07-03 07:26:37 +02:00
halx99 62e2be281b Move enum FPSPosition to engine global namespace 2022-07-03 11:24:00 +08:00
halx99 31a6e66935 Enable switch fps position on mobile device 2022-07-03 11:17:22 +08:00
aismann d94137be54 Remove unused variable and cleanup on windowtest.cpp 2022-07-02 11:29:26 +02:00
aismann 6c702daa3b Cleanup, last fixes, rename enum FPSPosition 2022-07-02 08:17:24 +02:00
aismann 8f5cc3ff2c fix typo 2022-07-02 06:19:47 +02:00
aismann 97d7b793f7 FPS display set position should be set by API #695 2022-07-01 17:15:20 +02:00
aismann f52bc9472d Version: git 81612cb (until May 20, 2022) 2022-06-30 12:13:55 +02:00
halx99 1889180a75 Improve renderer 2022-06-24 14:18:48 +08:00
DelinWorks 2e3c84252d Add fourccId support. 2022-06-16 15:25:43 +03:00
DelinWorks 0a1fe16b33 Add cpp_tests and improve system. 2022-06-15 23:04:08 +03:00
halx99 5c35eda3b9 Upgrade android toolsets
- ndk to r23c
- gradle plugin to 7.2.0
- gradle wrapper to 7.4.2
- config ndk ver at adxetools.gradle
2022-06-11 16:16:47 +08:00
halx99 d8aa943ed9 Fix ci 2022-06-09 17:56:54 +08:00
DelinWorks ced908a1bb Add cpp_tests to HSV/HSL 2022-05-25 20:14:11 +03:00
一线灵 18f58a1925
Update CMakeLists.txt (#641) 2022-05-23 23:40:37 +08:00
halx99 843d127a95 Fix ci 2022-05-23 22:06:28 +08:00
halx99 a03e5c6cf6 Fix ios device install problems
- lua template missing `CFBundleExecute`
- Use `_` instead tests project to avoid unknown error
2022-05-23 17:03:07 +08:00
halx99 73627ac0c0 Fix uri toString 2022-05-21 20:55:25 +08:00
一线灵 5b39f2027a
Fix ci 2022-05-14 04:38:37 +08:00
一线灵 df25477d7b
Fix ci 2022-05-13 22:44:56 +08:00