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

Fix doc test

8b549420568bc1991734c99fd49cde9dd0eb9000 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add a sample document for key functions on this crate

e13a1a5a9a244bc1d9c8dc704068600e73913db8 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add more TODO items

b546179a6234c461e4766c68fea102a1492ef28f authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Expose the path in PatchPath

d318cc6b0611c80090674e0a078f4b5ff7637d3a authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add a correction to the node on patch path

ee2c21517eb913013d4c30e32770254ee2da9286 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Put back node_idx exposing the node_idx of the old_path

e46730a98a89397f7ff884715ce556ebb56f2cbd authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add utility methods to PatchPath and TreePath

99040f4b169facb859ae33984eb3c69fc8104c45 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Fix AppenChildren patch and add more test about it

e6293a30290a437ad293d669afe0cbd04d023018 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
path don't need mutability, since it is clone for each child traversal

d9e26c7da706d2273814ea584ff0cb75fbc75a23 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Use consistent naming of variables as in diff for keyed_elements

c32305a1336eb36b65a90f355ac58b0b16bd4fba authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Update TODO and add more notes

8433b38c57a4557b231cc763a55d77cf01218395 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Refactor diff by splitting it into multiple small functions

e7eb84421cb58e5b89ffd8fb3dad62166dd42a4e authored over 3 years ago by Jovansonlee Cesar <[email protected]>
refactor replace flag into an all in one function should_replace

9ebac04070aa988bc4a7ea7250b635e16768e1a6 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove warnings

cb584e2628864eba010f2d3833d4bcbca2d5afc0 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
RemoveNode patches should have no new_path

5ae47be3dc184cc61bea987a558d4a61cc96e546 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Fix remaining test

Remove apply_patch as this just doesn't belong in this crate and the implementation is not ideal

295631e03c2588254c2de934811cc9c6bc0b9c2f authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Fix more tests

4f4ae81f09df312e6512de22bdb8934d4cea516a authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Fix compilations errors

127bed89516fca5a7d4f3697dec2de1b42594a2f authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Fix tree_path traversal

dc1c648d23f256e18702422474d48dda89e117e7 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add tests for skip and replace

3398d89b54cf6d6f0a3cf5a44b89d465cd3c7afd authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Update TODO

a3739c031459fa3366be2bb228fbbb747a5b24df authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add a derive on TreePath and PatchPath

5c11fbf71acdae90d9775ca7d6140eb2d4c224c9 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add test to zipper traversal

e19d589448d80ab936518d9c62356987a4a96d86 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
more tests

727e35336ce44b054dde2758fbae52f6b34adcdb authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add test to node traversal

aa712f3c2cc50cdf1d431ed666fe1c4284563516 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add initial implementation of tree_path for a better way of expressing path traversal in a Patch

a476dbe15cbd5dc9053114d25cdb75630f02fcf9 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add initial implementation of zipper

a65ab408572415a3323fbd0b88867c616e360704 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
remove unused code

b271a772f263effa18b812fadde8028716d62ad5 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove warnings

869d0aa5b59c90c682ea1f539de22de058114f26 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.7.0 release

165fb933eb5f8272083ad01b8818241e037198a4 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Merge pull request #1 from ivanceras/move-callback-sauron

Move callback sauron

9fb32f607dc582d3242c0744cc5b9b4cfd74ec30 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove the callback.rs code, it is not inused anymore

9fe02a9e1c686d80b12d88a6d129797f7a2a126a authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Attempt to move Callback to sauron and mt-dom will focus solely on vdom diffing

fa46a023f3a26ed80dc9307c15612d997b45b6db authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Change repository link to mt-dom, instead of sauron

17956130f68442d7a30de41cf6ed38856b2edd50 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
bump up version

ee649a870aff219efbc763f9efbf8644866f0442 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
modify the diffing algorithmn to replace a node when the key didn't matched

The previous behavior was to just reused the element and change they key attribute, this needs t...

dec3e5857e1ab09f6d81e850f59fcc0ddf194053 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
bump up version

aa9197ca6f77266f4873a8a1eedaaea8f90563d2 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
Add a note

a3ab6c1d2c46e03c407b60d76a3b7a772408f9b9 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
improve the docs

15ec24d8c14e43ae15275af369ecde995fa52d08 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
Add one test when a keyed element is removed at the start

f771082e94ee0e33f6fbcca5756091a580ba8423 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
Add a note of Callback on the infeasibility of using mutable closure and static lifetime

8a59b30f81651ad92d3eec1397723956cd0efc01 authored about 4 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.6.0 release

9ce4fe93ca9581fea4304af6051093e66fa331a0 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a REP for explicitly replace the node when REP evaluates to true

This is an optimization option where a certain Node is recreated everytime, so setting the repla...

1e2c33db69a82e60991991a09e4ac860d9da3ba5 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Remove unused code

03da6ef2e41632a72ce882abb8bf6a4b0978ede6 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add test for AppendChildren

53f4648e810fa4a181200f563e3e0baaa5530799 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
swap argument location of ChangeText

99f39ceb78a17ba32f676ddd1edd6423e7e0504a authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Fix algorithmn on new_node_idx increments

Fix tests

44778e1aa4ac854174193918d439bc32ab21c299 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Adjustment on new_node_idx calculation

56fe30103ec711903cfe4a8dd9db5e86383c06da authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Patch variant now contains NodeIdx for the new node inserted, appended, and the replacement node

414cc7a8d0e6febeacd2e15c35ef460920266a71 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Convert Text variant into a struct

4489f6ca4051ceadc12b89c7ee942519315831b6 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
more TODO

e24f4c93fdfd88a07d62004dda8f0c3b2acf7597 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add more TODO items for mt-dom

957996cd533c24eeef71b4002c9c5e3932c3dd3c authored over 4 years ago by Jovansonlee Cesar <[email protected]>
minimize the use of inline

56987621570599f20b79c65ded16ff30732d1c9d authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add skip function as an optimization feature for diffing old and new node

When skip function evaluates to true, the diffing of the current node and it's descendants are s...

3d541a69367663dfecf97b47d520f370403d4f5e authored over 4 years ago by Jovansonlee Cesar <[email protected]>
bump up version and update the changelog

2089d5bbe5d4e699af660c87bb8125babaa3fa06 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Make tag in ReplaceNode optional since text nodes can be patched with ReplaceNode

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

df66a9ac3b8929defbf5afca8089e7c8adf09e44 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
diff the attributes in the keyed elements

02e66377bae9a55a9d041523e31e00bdd3b9a4e0 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
prepare for 0.5.1 release

ba4b3066d088fe34333a94599819bab5251e7f22 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Fix the node_idx for AppendChildren

abadf35db5540d380ace68256cb0e4a0fd41383c authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add changelog for 0.5.0 release

1cd71b8c6063f1f824863ea1b371b64063fe2490 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.5.0 release

1e9874dd36061d0680ce5c844c234bf2538e73ab authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Merge branch 'develop'

5f5c9f98fd39a8e8de4847c79e77f39232a00858 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Create rust.yml

1d7fe140635347b8abd3be71ccd75a6ec88cd76d authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Fix code for AppendChildren patches

554296fae9459690f149dde2717d1759dd6b94d2 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Fix warnings in tests

3fb192e7e303890b7f09e9f068b86bade28e6845 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Fix warnings

08c6673dc57831466be14ae79b3446d7638acf9e authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Fix algorithmn for InsertNode using the correct node_idx target

d3fb7f3fadf38d9844bcd829e283c6243844069d authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Change InsertChildren into InsertNode

6d646909f6cfe386a750755f94c973d28296fe96 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Remove RemoveChildren patch as it is superseeded with RemoveNode

882ed3d1a00699bb473d6e32efbacb8b69541acd authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Introduce RemoveNode as a viable replacement for RemoveChildren, since it doesn't use target_index which could be moved when the prior patch was destructive, such as InsertChildren,RemoveChildren

7999f7cec023a4dc0addce346b3e8cee4c973441 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
remove log tracing

b961fe0a8516276b6a023038135c2e54fba39a64 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a workaround by sorting patches by priority so as not to destruct the vdom too much causing the other patch to not find the target node

132291bcad47c1b1dd5874537df344cd87df2dad authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add apply_patches for mt-dom for verifying the patch produces the target vdom

4a28b15230a96a472f0c9534dc2cc3b8c0e58146 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add Debug contraint for NS,ATT and VAL for easier debugging

5ae762501e546bf3780297d6fc9ae1e235b152fe authored over 4 years ago by Jovansonlee Cesar <[email protected]>
modularize diff keyed_elements

30dee35f341feb1b9745b0802b38aa0d655ddf27 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
fix tests

9a4b9ff1fed43cb826d55f619d7aacbf90d13887 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Repharse the doc in diff keyed elements

Add more tests

58e7f3df7a7bccf305be7006e32736bac155c7b0 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a self closing flag in Element

30717b2158a485f871666a35396536f5e85bdde3 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Improve the diffing algorithm for keyed elements to accomodate included elements that are not keyed

725e11cf9c5b242d21cff2af41b56377c799bcad authored over 4 years ago by Jovansonlee Cesar <[email protected]>
move functions around

9154a82da427174e288b756d440165846f472828 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
remove the assert on matching old_node_idx since they are not sorted

01eacf8e83534acdfb175bacbe6eb17b186cdbf9 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
fix tests

18bc4512abf69f85a349eb12c2dd342e5bd3a698 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
overhaul the algorithm for diffing keyed elements

2 more regression to do

5b284fad582358d2748193e023733d36b67fc70f authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add documentation to public interfaces

b61d4a53a0428a696fa6d890b0b85a4785efe72c authored over 4 years ago by Jovansonlee Cesar <[email protected]>
cargo fix

a96c241f1b906911910a2e32a8a9a3a83252ffba authored over 4 years ago by Jovansonlee Cesar <[email protected]>
enable warnings

43dfac6dbcb07aa54e21dd8cdb153b539c2997a7 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
cargo fmt with nighly style to merge the imports together

280547c1632d28e94914f5968e8f24aa5ea22137 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
modularize patch out of diff

Furthermore, each variant of the patch is modularized to its own struct, making the shorter by p...

039d8999302ea12e61394da30616ca5dcea2ac9a authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Fix issue with diff when there are 2 exact same keys in the target_dom which is matched in the previous_dom

The fix was to check if the matched_keys has not already been matched in the old_elements, if th...

1da90581598d6b9b2fe24bfaf57731f2aadd8b17 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
more test

a9f738740a7c839e94b0497cf96a97c848ce25a5 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
create struct ChangeText to better organize the fields from tuple in Patch

718cf4b8cf45153880d12a3bbcac050468fe2708 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
more test on keyed and non-keyed with ChangeText

f7e3b0f561a9186d3425e7275ec44fc7e119e2e8 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a TODO note

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

9dfe944d52a27a3cfb8814d643390f4e38dce194 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add with-measure feature to see what's happenning inside the code

33898fc88d7cdcf9f9b9e22d7ebc9eef5fe25e61 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.4.1 release

bc9f5cbc9bc79270b7db2da7f3612fae938e564d authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add utility function to count the number of nodes from the node tree

b82222316143f8f6f26f7acce453b49c97e9b8f5 authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add a function for node to add a children using a mutable reference to self

a6f86a430e5bf2dcb9d4df4f431c95854960161a authored over 4 years ago by Jovansonlee Cesar <[email protected]>
Add map_msg for attribute

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