Commit 19e6041
authored
Refactor of all collection Types. (#202)
Refactored API of all collection types. Moved away from C-style global functions to member functions.
* Collection types only implement the most basic functionality, all additional methods are implemented using "deducing this" to easily extend multiple types.
Main changes:
* Removed 'ucount' alias of 'u32' and replaced with 'ncount' and 'nindex' types.
* Refactored all String and Collection types.
Refactored string types:
* String, StaticString, HeapString
* VarString, HeapVarString
* Path, HeapPath
Refactored collection types:
* Span, Array, HashMap, Queue, AtomicLinkedQueue
#ICE-199 State Done1 parent 0457bf0 commit 19e6041
File tree
456 files changed
+9402
-10484
lines changed- .github/workflows
- source
- code
- core
- collections
- natvis
- public/ice
- container
- impl
- string
- impl
- types
- tests
- core
- natvis
- public/ice
- build
- os
- types
- devui
- private
- public/ice
- math
- memsys
- private
- public/ice
- modules
- private
- public/ice
- tasks
- private
- internal_tasks
- public/ice
- impl
- utils
- private
- config
- public/ice
- config
- example
- android/simple
- private
- src/main
- res
- drawable
- mipmap-anydpi-v26
- values
- webasm/private
- framework/framework_base
- private
- asset/tilemap
- traits
- render
- ui
- public/ice
- iceshard
- engine
- private
- action
- ecs
- gfx
- public/ice
- action
- ecs
- gfx
- world
- iceshard/private
- gfx
- traits
- modules
- iceshard_pipelines/private
- pipeline_ui
- imgui_module/private
- widgets
- shader_tools
- private
- public/ice
- vulkan_renderer/private
- webgpu_renderer/private
- platforms
- application
- private
- public/ice
- platform_android/private
- platform_linux/private
- platform_webasm/private
- platform_win32/private
- platform/public/ice
- systems
- asset_system
- private
- public/ice
- font_system
- private
- public/ice
- input_action_system
- private
- public/ice
- input_system
- private
- public/ice/input
- render_system/public/ice/render
- resource_system
- private
- public/ice
- tests
- ui_system
- private
- public/ice
- test/private
- tools
- asset_compiler/private
- hsc_packer/private
- hsc_reader/private
- tool_base
- private
- public/ice
- thirdparty
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
456 files changed
+9402
-10484
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
52 | 62 | | |
53 | 63 | | |
54 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 40 | | |
46 | 41 | | |
47 | 42 | | |
| |||
60 | 55 | | |
61 | 56 | | |
62 | 57 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
66 | 61 | | |
67 | 62 | | |
68 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 93 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
4 | 25 | | |
5 | 26 | | |
6 | 27 | | |
| |||
0 commit comments