Ecosyste.ms: OpenCollective

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

github.com/ivanceras/sauron

A versatile web framework and library for building client-side and server-side web applications
https://github.com/ivanceras/sauron

Merge branch 'remove-debug-partialeq-clone'

b4126378db762c3376adb80f7f74d0ba63ac5b02 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove requirement for Msg to have any Clone,Debug,PartialEq

4319f365ceff1935b652285298ce93b0c8490773 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add changelog

81628b9c00531a10498f0651fb7952fe39a23f1d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add more TODO

49ca8e291d732bc929441cb302dedb8ff11e8cba authored over 5 years ago by Jovansonlee Cesar <[email protected]>
cargo fmt

cb97252f116371186ee04f467160cc462523a8a1 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix tests, cleanup code in diff for a more clear algorithm

privatize some methods that are not needed to be exposed

976ed704b3a274a34c9e00191cae8c792b5c7738 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Merge only attributes of the same name when read, instead of when inserted, since building the tree is more frequent than reading the attribute

9783e53cac8216b248577a304410d5b29cd0c8c5 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add html_array and svg_array for cleaner html syntax, inteded to be used with const generic

1d73b14ee3697eb2ccb89cfd373c75c86de3ded6 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add feature for enabling/disabling request animation frame

f5ac87691ec409d141e6ffcb7555eff28e173935 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix tests, add test for markdown with inline html

6d33f3a04d02d2e11fbd1d4ba170809255fb7c01 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix remaining errors in test and remove warnings

5e7af2b8eb17f8921db6e67c1634169bdb629397 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix tests

Fix examples using the new syntax

37af11428fb45f4c3b9b58f6af2ea04170cc4f7f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix tests with the new vec syntax

5e6374c279d764735639f9b16874c0f33c06faeb authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove comments in the declare tags to have a more compact view

d2965e870b7d1c48d50cf90572d5d992baf6feb4 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Put back some auxillary methods of adding children and attributes

c4b487e33adcb9a0fa988018a1c8bc43bf66ff3b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Unify events and attributes into on field: attrs

aaecba77f789f9b0e516d5008544780fe7d75c31 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Modify the storage of attrs to store a Vec of Attribute instead of a BTreeMap

50fbd4d79c0ddcbe0bae993bc45090740f43d827 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Change children to accept only Vec of node instead of using AsRef which requires a lot of cloning at every tree construction

c1860ab6bcb41e2e07e92ecf699740de39b61778 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove clippy warning

237d9b06987119a9722dff1faab1394bc33fb7df authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make the conversion to string of html node into a pretty one with appropriate indents and new lines

140439702d41e1ed966d2e70c643fb23d9a1f761 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
units are not under html::units module

b0dac5cb2b9b22e3a4da62cb2fa7a641e69384c9 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use the path dependency in examples

97f0850c40ec05edb02a20de05983048c47a6d5e authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Preparing release for 0.7.1

b0264c9290de44ca77ee5a4c58a093da274a35f6 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Preparing release for 0.7.1

76777ab5f72969b5dc6771979949508178ec0224 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Preparing release for 0.7.1

ad6eb094a676213942f210a026d4648158fbdd3c authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Preparing 0.7.1 release

92bb1e0e30fbbfadb3de90fc934924e1ddbae229 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Preparing 0.7.1 release

dd5a9947a691805b7450edfd56d98f5692cd0580 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add changelog for 0.7.1 release

107b7557fd945775955fa935bf1cb9aaa9377ba9 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add History feature in sauron

Make the events prevent_default. The events are now stop_propagation and prevent_default

8479c47ecf3657f00c50369ecc96dc4a22f3f8f0 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Restore back cmd to previous Cmd<Self,Msg>

d1680a6efacd7ca1138c2b2848104855fc31063f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add comment to cmd

aaec082c0ca8a0ab8573bf894c85d20bc84fbba3 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix errors, update deps

Fix tests

da20b6d5cf179a2f9ba80dff1c5006fa77479434 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix clippy warnings

0397c7b6b6276fb930e5e31f0e56793ac46629f1 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add a TODO comment for handling HtmlBlock in markdown

d66f3ff07a331b2fdca7ccc4f23aee4093909014 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make the event do a stop_propagation to avoid some unexpected behaviors on overlapping node with event listeners

935e0c135dd58ec05f0784486ac2f69d93ddc76a authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Minor fix in markdown

Enable deny(warnings)

249b793f49c9202b53bef73e3f1c88d2f023ab2f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add markdown feature

af67925db157198c047b8dde23b819db9e8e42a4 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Change performance feature to measure feature

Refactor map function to avoid multiple allocations

560dca06b76eb6f632714a4f9a39959a5f497a4e authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Move text and title to svg_extra

769109153623ee8bef0215b52d98fc0f19016037 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Refactor: Move Cmd and Dispatch to sauron_vdom for a much generic use, Cmd still has the same signature when used in sauron

bce98235ae95355473100ba08d9dab7af9b8d2ed authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Move slot from html to html_extra

f5ba5ae6dab871a1f49c15bd21ccb73bf9b0f20b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Reverting back to using Block style indent, as it is more readable than Visual

a722bcb2888172284fe85488f04d0a3f46db55a8 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Update examples to version 0.7.0

4d069a03af0740d3105d7cc178560925751e471b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Preparing release for sauron 0.7.0

96018c8e362d2df2775fc32fc92a6e3ada6de71d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Preparing sauron_vdom release 0.7.0

b963ed36e739caf53325470802a2fd09b62e3081 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Preparing for 0.7.0 release

807b3e22940dcd9785c4f5d1ab4b1e69ae1558a9 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add html tag into html extra

Move title into html extra

99b0e4873c6722947cf7bb2d2f55d412882721d5 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Change examples to use mount_to_body for a clearer intent

3deee19e1f883325221e0a496d820b3543e1a992 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add more docs in the most critical part of the system which is the Program.dispatch_inner

The cmd from update is emitted here, prior to updating the dom

f898f952d5f1043c8b85d92cee479a61ba9b4883 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add changelog

b39eaac27d2d5415f6888316306161431dc216c6 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix examples to return Cmd in Component update functions

35d48d9a083b04029866845c228d3994646bce32 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Rename update to update_dom, so as not to confuse with Component update

4124e1ea142e1f0b6e8b188f0e47141715139c17 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add changes to Changelog

Remove some debugging logs

41283f8b19836dcdcabb3cdb82b9bb554248f60c authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add example on fetching data from a rest api

96ced99ba209c4bd5ea642b77e637b8b00634d2d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make logging of performance an optional feature in sauron

6f0fe4cb02ebe5f78721ef91ce1706002bba73b9 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Simplify the init function in Component by returning Cmd<Self,MSG> where Self:Sized

9c51e2e58ec1fd2745c61613ba5074c17716283e authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add Cmd module to hold the code to be executed in init function in the app component

The Cmd struct is then called with emit function and supplied with the needed Rc<Program> to dis...

789639304f5cc6150779e5df2de50a2b8949f1a0 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use vec in adding children and attributes in Node

Remove redundant codes

1bc4b03c5a2f273f8e013b57d0ec6402fdabf493 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Expose Attribute in sauron_vdom

4158992d6017b8c8459d86375fbb337d9f792727 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make Event tuple elements public

Change naming of generic type in reform from T to a more clearer name IN2

e98765cee51f243b31d88b4e5cd64de572d07afd authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Put benchmark inside black_box

b78f64c90011b20e316c3762dfd2fc740d920e7d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add Initial API for Browser and Http, a bit awkward api with Rc<Program> dispatch being passed around, but works

f97b4c44f8148eabff72d099bc7b8ef9bc052dfa authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix variable not matching error in log for non-wasm32 target

1f6cf620cc4069c2258cb37bca42a780e3c2b15e authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add initial code for Browser api, not yet linked

f124ee6bd926e438520bc60b149b6b4d44617bbb authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Enable Response feature in web_sys

c2ca30140556045820938850e5abb47ee1e5ed45 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make util logging works for both browser and terminal app

74682d093d08ee62862dd01582ae0b2a5fda0a7b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add fetch api in Program to provide functionality of fetching records from a rest API

a48c852014d8bdacd3215c4f3c2187b13f1339bd authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add attrs_flat helper function for node elements

ac5359cf09124b7cdfe33559d3d2694d90d4cfc7 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
disable logging

09970cb2182f766fa9812662c04e991fd635409b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Moderate inlining only to functions calls that are one-line

5b87777f813ff85cfb444f043bfc8c23ad877fa3 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Move svg::attribute::path to svg_extra::attribute::path

c6ec2246d504e699927eeb80ab1ec390ebe7304f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use a shorter code to clone children

51da8792d3865c502e9f600e0b2337652701d878 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Aggresively inlining back functions

Remove clippy warnings

91ffe769af346e69f1f8c517f449b8221d90cdea authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove inlining, add helper function classes_flag

34bbbaf214cee4c01aafd3f8db950ac84589f9e6 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Code cleanup and refactoring in element builder

85959f6e4637c4e4ce3ee0bf879bd21dc09ace40 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add logging for how much time each part of the dispatch statements took in ms

a3d4426d022c768b40f3de3a3a5e91e860f2958b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add 2 helper methods, view_if and now - which is a shortcut for performance.now()

b33bf4650f18a01f6b69cea9680ddc530c68e8c8 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix and remove warnings

9a2cf3e587ef3ab778186ca54229ef629419be1c authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Wrapped the web_sys::Event into an sauron::Event type to allow comparison with PartialEq in the html tests

543cf30ea71bb2f2de40a479f7fe81b83dd1848d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Using web_sys::Event as the argument for EVENT generic type, and breaks the test

08b4df601e5b916d21edcb24aedee57ee00ab67d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove the use of maplit! macro and use the FromIterator trait instead to initialize BTreeMaps

8aa5d3c12a8590a9a41a57af06b7552902b00f47 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
MSG need not to be Debug

c0212783edfe21652413fac1e93852a74899feb4 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Update examples to use sauron 0.6.0

20a40744c616d7f7ef18c64af677148cb9e4596f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Publishing sauron 0.6.0

f741079a019c58e6a503486960a8cc1b099c5aab authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Publishing sauron_vdom 0.6.0

d9a1f9d7ade2ac11384d28e010d1d51a9d3a6af2 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add Default implementation for Events

ce98741471e7d8114be14775d4645fc0402e5c1f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Reorganized tests, put them in /tests/ directory to cleanup the module code

e8f134b227147dd6f9b717013541e8174bda6597 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add changelog for 0.6.0 release

d5f20e60669b8776fcc7f997b038472e09adea96 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix failing tests and examples

a8982a04d91a6293ae2546a2ea955806f6529cfe authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make use of generic sauron_vdom Event to provide implementation such as PartialEq, Clone, Debug which is not implemented in the native web_sys::Event

cac5807f6a3d227fb5c8fc7d5292fb117e248cb5 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make the Callback<Event,MSG> into a more generic Callback<EVENT,MSG>, this way the event and a function to extract the needed values from the event can be supplied by the user

f2d52e6c32dce6ac6f62b70867f64f6eb31221bd authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Change unwrap to expect with message

f217a385742f1deb1fcbd5d90a06c5fee45c4ad0 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Organize svg uncommon tags and attributes in svg_extra, hardcode const string DATA_SAURON_VDOM_ID

7d0b4488f22842d2799065f0397d7cf9e8ac498d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add more notes on tricky parts of the finding the nodes

Remove awkward panic message in getting old_closure, just use expect instead

9d2cfd3acab8c9793cd6de5ba19714377ba5d5bd authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Simplify spaghetti code in apply_patches module

This minimize the usage of many mutable HashMaps being passed around in a recursive function

6a435d63f36b2e41bea5a94ce19dcf45602c2fcc authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add codecov.yml for code coverage

4391861a6927a418a34681b2c67d068ed39c91ed authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add tip in readme

77d2fb4fad11c0491476911316ca82d041d8587e authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Try add codecoverage script

45be983f2e84da5705a5860beb5639622c4e4231 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use rustfmt config that suites sauron code, especially with the Visual alignment in the construction of the views

debb681317ca6dc3db92940846c8ab309413af31 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Factor out the conversion of event into internal portable representation into its own function

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