Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/ivanceras/mt-dom

Generic virtual dom implementation for rust
https://github.com/ivanceras/mt-dom

bump up the version

4f05656d52e11070b067a2d441c444aedb3705f1 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.4.0 release

c7c748b89b55b0ef55665c51a1023a46b32638a4 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Fix get_attribute_value to return all the values of the attributes which matched the name

48e1ec793300eeef5c703f25868b2fa6ac976370 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Merge branch 'grouped-attributes'

15b4e694536559cd3f543a9847ac28afb935a13f authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add test case for multiple calls to the same attribute should be included in the patch even if only 1 changed in the same attribute name

3e4ed0f0c08f9448f804199c5098efa2d0e7ca2d authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Group the attributes by name before comparing

83cf0e617b1cf4087402fec7e9536e2c3a916e2d authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a children_mut fn api to return a mutable reference to the children of the node

bf702c295fc135aa582fe9da1e0c252db353ab82 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add changelog of 0.3.0

74d21e74f11d9aa462a2bcd20a09ae7e3e17aedf authored over 4 years ago by Jovansonlee Cesar <[email protected]>
prepare for release to 0.3.0

92608724851548b98d79b21cf8d8e997e4267e60 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Make the code more readable, by adding comments and changing appropriate function name

d88847d06547140c0d76db00414c1d2797469532 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Use rustfmt.toml the same as in sauron project

affbbce9384ea1ebbd8cf707938b7388128df4d7 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Fix some clippy warnings

122f9a01018da469a820a59b1606c82e9a5c1eb5 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Remove warnings

efaf7781688ad7cc3612ec3f1c0a2e2c826cdd3b authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add note limitation on Callback

3d5076874478c847ffb8600064ac54cebf45e452 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Remove println debuggin

7443f3fa9ab6630c0bc5f1af779a8ba336d0838b authored over 4 years ago by Jovansonlee Cesar <[email protected]>
All test passed, use a utility function to increment the cur_node_idx based on the current_node children, excluding itself for the count

a5ecb8070f6db7b90b57f40b5ab025909a149b90 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
A more closer algorirthm

8087e12ddb312598df20c7c4678ce9fea5cb9d1a authored over 4 years ago by Jovansonlee Cesar <[email protected]>
trace debugging for keyed and non-keyed mixed

this has a closer result

f87eb77233015a6ab95c9c165aa4db10abf5ab4f authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a failing test for mixed_keyed_and_non_keyed_elements

ef88dc2a22656cbf813012e7832329ec7c0f2c70 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add more tests

d24a0553e42b92cca5b670b0dd3a2da8e24acb95 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
remove unused else

e4eb49bca40a3620a49fcd379937ee43da6a0d13 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
cur_node_idx is not incremented, since nodes that are to be patched are searched first and get a hold of their reference before any other patch is applied

Therefore the NodeIdx is maintained with the Dom tree

11c3aacdc740ee9fbd6575f77fdf9d6edaa8a18c authored over 4 years ago by Jovansonlee Cesar <[email protected]>
increment cur_node_idx if new_child_nodes are added, decrement_cur_node_idx if old_child nodes are removed

a3b06e627c46c5a1da597c8c615bc2e6da8a72f5 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Prioritize patching the Matched old keys first, before any deletion and insertion of children since it affects the traversal on the Node

41a8b18f62fb0ef1ff35b01be75303d5f104f835 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add test for deep ntested diffing and add a note to the diffing of keyed elements

91a302686aa73fc560c86638b63708417eebdc74 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
another correction on cur_node_idx increment

184e00ec9ab99f9dfc4af1f450a7bd65e0afcaa0 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Fix incrementing of cur_node_idx by recursing through the children of the removed old_child

9b85551f4ee79b6b729073a541ca5fa0aece5da7 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Fix where cur_node_idx should be incremented

4bb23dec9e473d548a2e382943275ed08d0adfe0 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Arrange the patches to be added, so as to maintain a coherent result

fa4685ca0dc4ed936e4ca52d6f87619bed162112 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
The current node_idx stays the same since where are only processing the element at this diff_keyed_element

ed36704cd5e9e66c7c94a7a078163d12141c24c8 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Use a reconciliation algorithm to try match keyed elements

25ac74b86f05937586a37313b05230ec90a79d65 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
get rid of TruncateChildren in Patches since it is replaced with RemoveChildren

RemoveChildren is more explicit on which child via child_index to remove

This allows for a more...

cd0c4df0b2fb90d0721272f09cab2904e6f0a2fb authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Implement a manual debug for Node, and Element

Add a note on the manual implementations as to why instead of just #[derive(..)] directive

66bb3199456c737e27c4cfc3cbfbee143f6b4834 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.2.2 release

200f35e038b9619ab06c0319d9f8751660cf32ce authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add utility function to merge attributes of the same name

9c17eba7c4c42eff0c4a66b11454e5dce1321084 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a function to specifically merge_attributes to specifically find for existing attributes and merge it

6055196c294ffe1d23a4e9bf958834ab0ad09503 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
prepare for 0.2.1 release

0d64644461096e9aa3e46ebf99a8e5e17d4749dc authored over 4 years ago by Jovansonlee Cesar <[email protected]>
add changelog

42478548c0f6e76ecbbadb28ec716626a8d84b86 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
revise the implementation of diff, not needing the merge attributes of the same name, since it adds a performance penalty

constructing the nodes should use the utility to make multiple values of attributes aggregated r...

89e98ad25f5a0d5193b5814fe1c501f5695cd853 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.2.0 release

1c62f81242b7e0a324f84633fb73dabed57e73e5 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
remove dbg!

c61fcc991eb1ff582700ac3ba8e03b175e81b02d authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Callback is equal to each other such that diffing them is not included

7647f024358f237227631b9c92a9d3dc388c5a36 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a manual implementation of Debug,Clone, PartialEq for Attvalue an Attribute, such that EVENT and MSG don't need to be Debug,Clone,PartialEq

fd0c739ff463eb82811ff4649645dd5e8033a818 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a major feature which merge attributes of the same name into one attribute with multiple values

66780b7817f421bbbd9ccb432fc70bb6a0db08a6 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add take_ implementation for the fields of element

2b2f8ace9feb1c84ee3f699b98e5ea519727e0e2 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add get_plain method

b678a26b84a285eb44c0426ab43f279e2427e12d authored over 4 years ago by Jovansonlee Cesar <[email protected]>
point to the correct documentation

1e654e545a43a89efc38f9256c2d72483f9b3112 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add more utility functions

Fix PartialEq implementation

c0ff0af656d405b259a06ab92a4418bb55723d92 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
fix refactor logic in diff_recursive

fix tests and examples

59dcc2891529001dfe30b023e5fef4110ab44e46 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add mapping of callback into this carte

4adf7968bb888fc939e0a43e6d28fab7b2d1f29b authored over 4 years ago by Jovansonlee Cesar <[email protected]>
simplify callback, remove unused function

c33ba7d4ccb1b9e287688a88d1c4ef2d96d86052 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
include the callback in mt-dom

b5719bdfe46be767679900f67be6d12fd4268682 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add mapping of each individual structs

17436de0d3d2b963bddf9fca976c7f714399d63f authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Remove warnings and add documentations

888e7ae0f3261ab6af3eef5685189d1cbfe469fc authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Transform RemoveAttribute patch to include the attribute to be removed, that way the user can have more flexibility on determining what type of operation to perform depending on the value being remove

16cf8cc1ea360ee6e8a88a00c70ae6842308e569 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add more utility functions

2c67cb6515015da4fb070ae5d167aaf90c4a41f4 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a function to publicly access fields

e18430a50e4c8eeba16e18eac890cfda3c556346 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a simple usage example

9cf149b0843b3537d330549a5db95804d36b2e85 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add more detail implementation of patch to get the tag an node_idx

Add text builder

4fcbc3c81e7fbada8244c7c0b2e5790610cc8dfd authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Initial commit

606fb3e02d2bdf43d67a87fcf4e016c1da16f397 authored over 4 years ago by Jovansonlee Cesar <[email protected]>