Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]: refactor: redesign bridge code base #1063

Open
wants to merge 150 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 149 commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
d6f00d7
feat: use garbageCollection to replace HostClass.
andycall Jan 6, 2022
3449e36
refactor: refactor node, element and document.
andycall Jan 11, 2022
d80b528
refactor: refactor event and document.
andycall Jan 24, 2022
16bdee7
refactor: remove host class and host object files.
andycall Jan 24, 2022
13dbcc2
Committing clang-format changes
Jan 24, 2022
8ce4050
Merge remote-tracking branch 'origin/main' into refactor/remove_host_…
andycall Jan 26, 2022
6996425
refactor: css inline style
yuanyan Jan 27, 2022
d8ea682
Committing clang-format changes
Jan 27, 2022
c14831b
refactor: rename namespace and remove useless code.
andycall Jan 27, 2022
5c1dd1b
chore: reorganize file structure.
andycall Jan 29, 2022
ace4002
chore: fix core compile
andycall Jan 29, 2022
d55a199
refactor: core modules compile success.
andycall Jan 30, 2022
065ee27
Committing clang-format changes
Jan 30, 2022
2570240
chore: tmp
andycall Feb 6, 2022
e9fea9b
Committing clang-format changes
Feb 7, 2022
1a14dae
Merge branch 'refactor/remove_host_class' of github.com:openkraken/kr…
andycall Feb 7, 2022
4350338
Merge branch 'refactor/remove_host_class' of github.com:openkraken/kr…
andycall Feb 7, 2022
9fd04e1
Merge remote-tracking branch 'origin/main' into refactor/remove_host_…
andycall Feb 7, 2022
63f27a7
refactor: refactor initialize and refactor timer.
andycall Feb 7, 2022
a5bf7b4
refactor: refactor invokeModule and refactor test framework.
andycall Feb 8, 2022
6dab9e7
fix: fix module api binding.
andycall Feb 9, 2022
adeb422
feat: add code generator.
andycall Feb 9, 2022
0254c47
Committing clang-format changes
Feb 9, 2022
bd0398b
feat: use code genereator to replace module manager.
andycall Feb 10, 2022
6f68e55
feat: add class base property install template.
andycall Feb 10, 2022
c10009b
feat: add scriptWrappeable.
andycall Feb 11, 2022
128a22e
refactor: add type traits and refactor to google code style.
andycall Mar 3, 2022
dd90987
refactor: fix compile and rename vars.
andycall Mar 11, 2022
43a68c7
feat: add more type convertions and refactor base class.
andycall Mar 15, 2022
85bfe7d
fix: basic test pass.
andycall Mar 16, 2022
565c6da
feat: regenerate blob code.
andycall Mar 17, 2022
3a18fdf
refactor: refactor code generator.
andycall Mar 18, 2022
176baf5
fix: fix code generated code return value.
andycall Mar 18, 2022
5f81d21
feat: add blob implementation.
andycall Mar 21, 2022
b315083
feat: add script promise implements.
andycall Mar 22, 2022
a91f0c4
feat: new memory manage life circle for timer and module callbacks.
andycall Mar 24, 2022
86ee5cb
Committing clang-format changes
Mar 24, 2022
7e9d684
Merge remote-tracking branch 'origin/main' into refactor/remove_host_…
andycall Mar 24, 2022
3a98f5c
chore: basic event_target
andycall Mar 25, 2022
8961d2c
Committing clang-format changes
Mar 25, 2022
7e5f4c7
feat: add event and eventTarget
andycall Mar 25, 2022
a244cac
Committing clang-format changes
Mar 25, 2022
f184e9f
feat: add event and event listener impl
andycall Mar 27, 2022
ba408ac
Committing clang-format changes
Mar 27, 2022
7c77d7a
feat: add js event handler and listener.
andycall Mar 28, 2022
299cf2f
feat: support static string and add generate support.
andycall Mar 29, 2022
b1b365f
feat: auto gen static strings from json.
andycall Mar 30, 2022
4ee852f
feat: support generate dictionary type code.
andycall Mar 31, 2022
d8564d8
feat: auto gen event listener options.
andycall Mar 31, 2022
d2b739b
feat: finish error event and js_event_handler.
andycall Apr 1, 2022
9fc2168
feat: impl event target
andycall Apr 1, 2022
501932a
feat: finish event target impl.
andycall Apr 2, 2022
df39f18
Committing clang-format changes
Apr 2, 2022
c9165f0
feat: add static built-in-string
andycall Apr 3, 2022
7677ee7
Committing clang-format changes
Apr 3, 2022
8a7b70c
fix: fix compile.
andycall Apr 6, 2022
c50ddeb
feat: pre init string atomc works.
andycall Apr 6, 2022
56872ac
Committing clang-format changes
Apr 6, 2022
d5ebd76
fix: fix string over free.
andycall Apr 6, 2022
750f34d
test: add atomic_string test suits.
andycall Apr 6, 2022
357906a
Committing clang-format changes
Apr 6, 2022
7c0e587
feat: add script_value test.
andycall Apr 7, 2022
04c5289
feat: fix event target.
andycall Apr 7, 2022
48d63cc
feat: add node list and node headers.
andycall Apr 7, 2022
07e4aee
feat: add node and container node
andycall Apr 7, 2022
a949804
feat: add node and attr methods
andycall Apr 7, 2022
b2e809d
feat: add text
andycall Apr 7, 2022
f181600
Committing clang-format changes
Apr 7, 2022
50ff106
feat: add full node and container impl.
andycall Apr 8, 2022
d27e8d1
fix: fix travel and text content
andycall Apr 8, 2022
708ba04
Committing clang-format changes
Apr 8, 2022
965606c
feat: add attributes and attribute_collection
andycall Apr 10, 2022
a18bc0c
Committing clang-format changes
Apr 10, 2022
edd4cf6
feat: add legacy element implts.
andycall Apr 11, 2022
6bdaba6
refactor: refactor binding object and remove dispatchEvent.
andycall Apr 11, 2022
37969e2
Committing clang-format changes
Apr 11, 2022
c36ad46
feat: add binding object impl
andycall Apr 11, 2022
4050094
add scroll options
andycall Apr 12, 2022
e7985d7
fix: fix ui command duplicated copy
andycall Apr 12, 2022
a48d85a
Committing clang-format changes
Apr 12, 2022
df47501
feat: add idl methods overload.
andycall Apr 12, 2022
860b3ea
feat: add element attributes impl.
andycall Apr 12, 2022
3fcb52f
fix: fix compile.
andycall Apr 12, 2022
5c5192d
fix: fix compile.
andycall Apr 12, 2022
80b3f99
feat: support generate element factory and html names.
andycall Apr 14, 2022
7a16111
Committing clang-format changes
Apr 14, 2022
aa69148
fix: fix html element factory.
andycall Apr 15, 2022
163a185
feat: add html element registry.
andycall Apr 15, 2022
fd47af3
fix: fix compile.
andycall Apr 15, 2022
12557fe
feat: add document api.
andycall Apr 18, 2022
56f1da6
fix: create element works.
andycall Apr 19, 2022
5416356
feat: add document.body and document.head.
andycall Apr 20, 2022
1469757
Committing clang-format changes
Apr 20, 2022
0e06f29
feat: add api type check.
andycall Apr 20, 2022
c9e56bb
Committing clang-format changes
Apr 20, 2022
235ae96
feat: add node member memory manage.
andycall Apr 21, 2022
449d0a2
fix: fix create new object.
andycall Apr 24, 2022
007141a
fix: fix members freed by run out of body scope.
andycall Apr 24, 2022
24fc561
Committing clang-format changes
Apr 24, 2022
9cd7974
fix: fix childNodes on text.
andycall Apr 25, 2022
6167525
Committing clang-format changes
Apr 25, 2022
7950338
fix: fix event target addEventListener.
andycall Apr 25, 2022
2924de6
Merge branch 'refactor/remove_host_class' of github.com:openkraken/kr…
andycall Apr 25, 2022
162cf01
feat: support Node.childNodes.
andycall Apr 25, 2022
d5754e6
feat: add custom behavior in wrapper_type_info.
andycall Apr 25, 2022
ab98ff3
feat: support generate bindings for indexed property.
andycall Apr 26, 2022
378da44
fix: fix custom property.
andycall Apr 26, 2022
e4dbf4b
chore: remove unused code.
andycall Apr 27, 2022
a3f88d7
fix: fix memory issue when store scriptWrappable in core.
andycall Apr 27, 2022
eec851e
feat: add mutation scope to record member mutations.
andycall Apr 27, 2022
9e1417a
Committing clang-format changes
Apr 27, 2022
ba4cf4c
fix: fix member mutation scope may be nested.
andycall Apr 27, 2022
eb1c38a
fix: fix HTMLUnknownElement constructor not register.
andycall Apr 28, 2022
5e70f94
Committing clang-format changes
Apr 28, 2022
0795a95
feat: support Node.cloneNode.
andycall Apr 28, 2022
9a68160
feat: add css style declaration.
andycall Apr 28, 2022
57dfe19
refactor: remove bad member design.
andycall Apr 29, 2022
1cedc29
fix: fix style.
andycall Apr 29, 2022
2d9cf48
Committing clang-format changes
Apr 29, 2022
a67ce99
feat: support html parser.
andycall May 2, 2022
36b373e
feat: support interator props on scriptwrappable.
andycall May 3, 2022
aa7f842
Committing clang-format changes
May 3, 2022
e3217ca
fix: add dictionary init.
andycall May 13, 2022
87ed6a0
feat: add kraken test context impl.
andycall May 13, 2022
88eb36f
fix: fix compile
andycall May 14, 2022
70e0b5c
Merge remote-tracking branch 'origin/main' into refactor/remove_host_…
andycall May 14, 2022
25a91c1
fix: fix compile
andycall May 14, 2022
8279634
chore: clean up.
andycall May 14, 2022
79a90db
feat: use generator for window_or_worker_global_scope
andycall May 16, 2022
c6f29e4
test: add timer test.
andycall May 16, 2022
461650a
feat: add message event and part of window impl.
andycall May 16, 2022
192e13f
Committing clang-format changes
May 16, 2022
a19218e
tmp: add window requestanimationframe
andycall May 17, 2022
5994369
Committing clang-format changes
May 17, 2022
4721a27
feat: add window requestAnimiationFrame impl.
andycall May 17, 2022
46dccea
feat: add window location.
andycall May 17, 2022
c0bca99
feat: optimize ui command
andycall May 17, 2022
6297c44
Committing clang-format changes
May 17, 2022
8679a0e
fix: fix document and window id and fix ui command.
andycall May 17, 2022
5ff9df6
fix: fix insertBefore.
andycall May 17, 2022
65d6f89
fix: fix parse HTML.
andycall May 17, 2022
6a145bd
Merge remote-tracking branch 'origin/main' into refactor/remove_host_…
andycall May 18, 2022
fc917a3
chore: roll back task scripts.
andycall May 18, 2022
0652de3
feat: add screen impl.
andycall May 19, 2022
f5499b9
refactor: refactor flushUICommand.
andycall May 23, 2022
cb6f1c0
fix: fix integration test.
andycall May 23, 2022
9701560
fix: fix integration test and timer.
andycall May 25, 2022
05e59b9
fix: fix promise state.
andycall May 30, 2022
3cdd44a
Committing clang-format changes
May 30, 2022
84068e4
Merge branch 'fix/integration_test' into refactor/remove_host_class
andycall Jul 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion bridge/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ BasedOnStyle: Chromium
# 'vector<vector<int>>'. ('Auto' means that clang-format will only use
# 'int>>' if the file already contains at least one such instance.)
Standard: c++17
ColumnLimit: 200
ColumnLimit: 120
1 change: 1 addition & 0 deletions bridge/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ xcschememanagement.plist

cmake-build-*
build
out
Loading