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

update TODO

f161d98177f1b34e28be8f1c6ad38e32a70dffbe authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
prepare for 0.19.0 release

4da106c5b87560b230d3e561f4b2f89f20f9f198 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
remove the now defunct keyed_element module which was the previous algorithm used from version 0.1.0 to 0.18.0

96ee78de52f81f2609819ca84e199028164f64b4 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
fix a long standing bug reusing keyed elements when they are rearranged

ad9b7202430085f87f7d322da0e7fec9f9c70e07 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
Fix all the tests

3fdc3fa0dec67fb4dc7effd20e4f39eb591bcf99 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
more fixing on tests

9ddd78bee956865225ba314f33f6ff86f6bca074 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
refine the keyed module for matching keyed elements properly

d005aaa6b70b01696542bec1f6dfc009209afebe authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
add unit tests for keyed::diff_keyed_elements

b2346abf4792df6369fcd446b6e6115b42a67bf6 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
feat: add a new algorithmn for creating patches from keyed elements

941f462a71a4fa62c891c9c588893a7c181eb510 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
update docs in diff algorithmn

8d681203bf2d96002d770ad57178b1a3e1219d4e authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
prepare for 0.18.0 release

e9bdf4c120c76acf13be59d382d111c7e0534db3 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
breaking: remove the Patch::ReplaceLeaf variant as it can be expressed as ReplaceNode

ea4050dff21570f9530648f56de150ee0754cc50 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
prepare for 0.17.0 release

96accf05e225321f706d9fc419c932661962113f authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
bump up version

78cf1a705f483d9d03096e0f6ba163330fb4f697 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
TreePath now starts at [] instead of [0]

372bb22be6fe9f35ba736488e1f831d7ac217913 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
prepare for 0.15.0 release

b96f930659222bca10965977a9ccb72de2d8e2ad authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
remove the new-diff-algo feature

bbf1917eb226eba1c48e68c0c8a49d197c046da3 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
remove InsertNode as it is carried over by InsertBeforeNode variant

4044f12e334724d961b3f45d1d5c96bb689d2416 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
add utility functions to tree_path

bcbdbc8d862ad4cf4dc15644338375760c0f8b59 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
relax contraints to TAG

c3faa0213450c1ca10a849ed6376140c6105e3d8 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
update the keyed_elements documentation and algorithm

32db36e39110c8521f16eea4760ea900777cbaf1 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
update doc comments

64b1290d742333f98b1ef017c3c96e5f6b16a8c4 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
add docs for key matching cases

fbd26ad9bc48a998306bc8d235d6dae84305e069 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
add as a comment the reported diff result

ec350684474f402d1ce346d96262109a29e6d4c7 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
put the new diffing algorithm for keyed elements behind a feature gate

d7c9e8ec8194911e28da05a4cfd58ca7f2a99022 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
start using the new diff_keyed and fix tests accordingly

9ba8dcb8bc48ca54eae884fc28a5327aa9530f58 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
implement more handling on patches, remove unused code

90aae642fc564506c1f2034a42b9f07504acb805 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
use old_element and new_element instead of passing the children, implement the patches creation

50db418abb567c8da5772d97da0748e5b7374023 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
add comment in critical parts

65baaa19c46d8d49ea29d932131b3103c720e3b9 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
add InsertBeforeNode and InsertAfterNode variant for patches

7b19dde67db770a65399d57d55877eeb787420ad authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
improve naming in diff module

e9d769fb262280d5e8f699427df3b8d88be3d42e authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
initial commit for attempt to use a different algorithm for keyed elements

781e0fb2b6b6ffa43a2756343dd53fb7387d65c5 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
improve docs for patch

b2dfb911b29356b68d66a0b6dddb05f1cb3e364a authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
refactor: use extend instead of append

e38a20323f2f211f9a314981890efb053bfaf29d authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
update TODO and changelog

d3c7339c6a28ced2ed17e6811fb724e3155f7fa8 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
prepare for 0.14.0 release

5874fcccc2a71c731799b985ce6f3ed6ae1aec51 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
Merge pull request #3 from ivanceras/leaf

make mt-dom even more generic by using Node::Leaf variant

1285bf2cf54ee4f07e6506deca491aa2d74bc629 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
feat: improve the implementation of add_children, since the hack needed for text node is now in sauron

079cab5172a62ac995bec6ac9d224943904dec36 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
feat: make mt-dom even more generic by using Node::Leaf variant, instead of using Node::Text as Node::Text is only applicable for html dom. \n The text node should be implemented in the higher level library such as sauron-core

941bcbfc7789d0e170743184d61f7ecc90fc04f1 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
update TODOs

556826e610b9f0fc0bd1e63096f498702fab3758 authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
prepare for 0.13.0 release

650fbfc4be1a42b699f7f699f0dd7da87ee73b1b authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
refactor: collapse the Patches variant into enum struct to make it more compact and coherent in one place

d8113544f4c91bb5be38475334fec10133c1678d authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
feat: add more todo items

206d64adb5e67652fc0f9305e7961239550d14ad authored almost 3 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.12.3 release

80e44ec2288848216a4b6d6f558664982250ccce authored over 3 years ago by Jovansonlee Cesar <[email protected]>
More conversion to IntoIterator for 'Attribute::with_multiple_values'

133318fd4e4af77a87ab28ccf0bea0f7a9695dd3 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.12.2 release

bd3bbadc289113d8484bc0898e36f73d2aefbc90 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Merge pull request #2 from ivanceras/into-iter

Use impl IntoIterator to allow array or vec of attributes and children

80e0ce809b4e62732b509cc705f36d1dcba71c92 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Use impl IntoIterator to allow array or vec of attributes and children

3b2fc6088f3e609a70067840b59c461ad1bf0a9a authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.12.1 release

f7e683d392ea6c5734ebf552a3665f462e6b76d6 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove stray log::trace

0cc633396b610fcd6a7d6e5f3d2585d29eeac24b authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.12.0 release

733f2dbf8de67f1dd7f8da1054b7fe3943577096 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Make comment a variant of Node, so we can move the hacks to the DOM tree rather than in the apply_patches

df81a26865c9203c9c09e25aa06c896da8d98e5d authored over 3 years ago by Jovansonlee Cesar <[email protected]>
We'll git back to the rearranged keyed-node bug in the future

2b21798a5101b41b26feb9a66a168685b4730a57 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
rename cur_path to path and cur_child_path to child_path since we remove new_path and new_child_path already

ac978a8a1c4d62ca384404f005ea0c4e7047c875 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Make clippy somewhat happy

4d23587fa02c8e01c7061ee41e765d004288035e authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.11.1 release

08b7ac1ea2584171c903233b638460ca46598dec authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Update to doc-comment on Patch

c5b66a2390c67ea55d4b47c74fc23f8eabecc863 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove unused code zipper

4068cd7d3af94d6ee6bb6bab311ea6d6aec71f1d authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.11.0 release

8c6a11ec9b96d05b8bc333f0e62ed3e701f3ebbf authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Fix example and remove println debugging

f9ec012569afbcfb8ba443371ac34514d1904efe authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove the use of node_idx and use TreePath alone

3ed20ab20998a15a8988d71282f05fe92fccfdc9 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Correction on rearranged_keyed_nodes test

d8ec805fba4538335db20a3d8d31de7d6d1dad0a authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Reuse the build_keyed_element function

1886116ab1ab10d9efe2a959e174ab06ef3ae1c9 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Simplify structures

f0ceb2a1f8adeb16fe78d414ff9d83ce054a434a authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove unused new_path

75b9b50aee1737e9d37d69d523e06109d7dca644 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove new_node_idx

114bbb5ead9e6650dffbed9fece125ecbcc3b401 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove NewNodeIdx for AppendChildren

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

632fb74db40a3e54aaa09df4c94f39fc5eb3f775 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add a failing diff_keyed_elements when children are rearranged

bbcb96078061409e564bb18cd19d9365245b7246 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add insert_patches tests

77142b00a2e8fff73a5f4cbc1c2adccaf63b3a90 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Improve comment on InsertNode patch

96a8ea5a7ebec57672d56b439f71c99eca3fed5e authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.10.0 release

e677f85e77dfbe2a5138a92275ba216ee3218194 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add notes on safe_html

bffad40fbfd9da9d1dca30c2dc4b905c96d8e406 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add changelog

93343eabc5001cd5221857bfef9e538bb5ca949f authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add safe_html function for Text Node that is meant to be used as innerHTML of it's parent document, the text content is passed in ammonia::clean before added into the html

0b2edb117c65d73c93798ab17be97066dc8503ba authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove function increment_node_idx_to_descendant_count and use a more elegent method in Node 'descendant_node_count'

045213fdd95e18bb1c153a2387a0abdc2118b6e3 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
modify count_recursive to not use mutable counter passed around

a108ea324da2322f16e374f9fecab8e50831b9ad authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Improve code for node_counting

426480dd2ead6e899a9c22d4360968d6bfab2bac authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add detail on TODO associated types

6eb87864d1be3fd7f12f22516964cfec3d955459 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Fix error in doc tests

6fa26f533f17962aed98a733daaeadcef6c9695d authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove the use of NodeIdx, just use usize

bc3ed32cf7c57c193a99336012747c230b659a2b authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Improve documentations

b293feb3a94d6d46bfec1423807e9284b7e5eb7f authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.9.0 release

2448480cb733200c9db64ad4fdcdfda5c5682c03 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove old_path and PatchPath and use only TreePath which describes the path traversal for the target DOM element

a829aac36dd7343f0e83a983bf05e4c2764f4396 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Update TODO, update comments

84b3ef8fb968b73780ed31d7bda247c2dc788e94 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Remove AttValue, so we can only deal with VAL which is the AttributeValue from sauron, which contains simple values and Callbacks

a8606d7a121ced4d91c9eb75f5ac470776b7fdf4 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Update changelog

1816ebc327de95c8adf9cc571e155d744e93985c authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Prepare for 0.8.0 release

201737f202dab3dd8f59d08e1250faa6193c13f5 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Add Unreleased changelog

20b10f5ad79de6ea5a7039cb165cbf88faa93688 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Change tag line to mt-dom

984dcc0727bdb3848f42842378e397f761d31bcc authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Minimize the use of mutable collections

ffebaa8ac0612b7de7bbeef868a94acd73c108d5 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
simplify the build for new_keyed_elements

a7bcd221adfd5d7643c089a06df5473116616c04 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Use proper names

293ed6725e36b326100087cbe60da6f25b046a20 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Also add to already_inserted when creating AppendChildren

2f4947f818d40b9338ace7db44effc33a6a6fe48 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
refactor out node_idx_new_elements function

Improve create_attribute_patches to make some arguments immutable when it doesn't need to be mut...

6582c9400013cc794e646959b391e125b56cbacf authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Refactor out build_matched_old_new_keyed

809d864f4caf7055aa9e62a08f60cd8ad0e7a988 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Refactor out building of keyed elements

5c50b099669bced09bb8ae1e53a12d08c5e810e9 authored over 3 years ago by Jovansonlee Cesar <[email protected]>
split out AppendChildren patch

f982ec94e021c61e217a4b8e964227af15e242fb authored over 3 years ago by Jovansonlee Cesar <[email protected]>
break diff_keyed_elements into smaller functions, ie: InsertNode patches

ab9553a99b73852da4efd4ba30f0b3aa4737626c authored over 3 years ago by Jovansonlee Cesar <[email protected]>
Use a beter name for diff_attributes

5c78233f4ff990ef0968db30feeb7dd6edc0433e authored over 3 years ago by Jovansonlee Cesar <[email protected]>