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

Update the examples to use the latest sauron version 0.5.0

eda45d6584962743ead5d784b115423717439464 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Publishing sauron 0.5.0

32c1bd3deb1de339b55c0228e745b845402d9374 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Preparing for sauron_vdom 0.5.0

4e3ca89e3e7008afc37eff43c5f7a634f35435e7 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add documentation of styles_flag function

4543f2baceb6f8d398e606c7a455a3ff4837e401 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use the handy style flag function in the window_tab_rows examples

2836f4173aedff3ad47e96240e1f355a817e8d9e authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Update docs

8cc6755d96d457d721d70c79627dd882c865d391 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add helper function styles_flag to allow granular control of styling

7a7a4b56dd03015f58bb0889652c4b4b9d620e6e authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add example for nesting subcomponents view

05eda6c0269bf87cf3c8d68be4deefef94bd0254 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make the node append attribute values when it already has assigned value to it

This is usefull when calling attributes repeatedly on the node element, such as style, classes, ...

7ed38c6d4e3f35c884dec3836589af65f80b7a7b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add documentation and links

3e0caebc712c8b478ab963fc527a40969798dbdb authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add Change log

b122494e32e21d3f840088079efa70ca10775800 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add a special container for &'static str in enum Value

Most of the value set in element attributes will be from &'static str, therefore storing it as i...

c52d38cb9a45de7189a1fedc7b48d787ae8e24ad authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use &'static str in ActiveClosure

This also change the derivative of attributes and events names in Patches to use &'static str

d52173a545cf16f1457a44cc3620bfdf140e02a0 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use &'static str for Node's namespace, attributes and events name

This is to further cutdown unecessary allocation and memory usage of Strings, since &'static str...

214d969780ee5d30daf84c5685641be0767b5af5 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add title for each example projects

Add font css for minimal example

9c8472c885af93ee31a041bac551a49349a92f12 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add css in interactive example for a better looking text

4d51935994494a257e5895c581767f9c386e4d68 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Corrected the author name, indicate MIT license in the examples as well

9ccaebf0a462c6689442f6d2b7bfc7f5763f910d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add a helper function styles to ease writing multiple style attributes

This simplify the writing of style values in comparison to formatting strings

7a1c518825de172bf7bb41d065465d569e9236c7 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Merge pull request #2 from ivanceras/callback-map-feature

Add functionality to map/convert Node<Msg> to Node<SomeOtherMsg>.

5f2d674053969ebad5ced8c4f69d861a2bb8664e authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use the public crate version in example while replaced in the workspace

b87dcfbb76449641449d2cd7f8f6c4e8ad2081c1 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add map function in Node<T,MSG> to map it into Node<T,MSG2>, use in embedding subcomponent view

fdb0b1f7de7d77482b185149c81607b7f4074090 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make vnode use Concrete types: Callback<Event,MSG> instead of passing it as a generic from the parent

This is needed in order for the callback to be map and reform from the library users

22285f1476da113a92d491e2721c36215fa33d72 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add a function to map output from a callback and remap inputs before being emitted

56b0d6a944f8568db89661162f4b5d00aa91c37a authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove unused code

445f5160f6d7132b5f888cb6ae9fca7e909b3386 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
ignore code sample in vnode notes

10774e98d81c753bda224ff9c5c994bea5df6d61 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove unused macro rules

Also add link to patreon page

0da3ee5c204a859508d3051c8c086f619ddcb008 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Publishing sauron 0.4.0

86d5cb1a3c159423fccac5fcc86b63bda322593a authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Publishing sauron_vdom 0.4.0

efa2a6452a74bebc7ecbf15ce37c424442c77d53 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add warning to use the latest nightly compiler

736a5b0ac733ea83da21469b66beb23809bc6367 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Complete the list of svg tags

a97a1e72f3d28b2200cabb8e0d1394b2e8ec6f06 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use a Dispatch trait instead of passing the actual struct Program<APP,MSG>, since only the dispatch function is called in the DomUpdater when the event is triggered

956826898ca2b036908e580f07023cbc39defd60 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add interface to automatically append app to document body

37fb31bcd20bd4ad2a6761f508bbda4f5859c16f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove already Fixed notes:

9feef22c554193bc09afa9b6e8e59927223f4af9 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add the complete set of html/svg tags and attributes

0896021879ae12c7834c700647befac666e88e4d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use snake_case for non-ident attributes See issue #1 Ahttps://github.com/ivanceras/sauron/issues/1

4410ffb2abb5601c770d6f96617b50a78a815a8f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Revise TruncateChildren implementation, which truncates child nodes starting from the last, which is faster and simpler to implement

1ceab9cf1692f99e1aaf89b0498e6861b0456921 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add conversion from &String to Value

Also expose as element_ref for taking a mutable reference of an element

bd54d637dcfcee81ccc85d08b05762fabc05cae5 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Write the most up-to-date version of crates dependencies

73b7e1cd4096336b2d725c182ac4444c7c439cfa authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Publishing 0.3.0

Updating the latest version of dependency crates

30382efdbe897db15b43dfdc2be45adf894e90de authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Publish 0.3.0

1f572e77e33520a204a1393ed473a9c98b0fbc2f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Rename function append_mount to append_to_mount for more descriptive name

1fe23cd1ef9c55fa3bd9f36c50a54fe657402f8d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Back to using &Rc<Program<App,Msg>> for more simplification of code passing it to DOM operation functions

37f5e24574cfb8d5d0c31017b7d1fdd1e5caf8cc authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make a local copy of css used in the cdn

28d27556a0362a7919a571aa6dc11da58cc7b484 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Rename interactive to minimal and use the interactive name for isomorphic project

d4a06ceb19cf8fd80324a09c16ab662e407e4bb0 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Update readme

112395507fac06f8d0f84c77ba794733c3c1de8c authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Fix example in the doc

233b4914594cf71624779f8167a3b33afc6dda0d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove subscribe function from Component trait

Use ToString trait in text() function instead of Into<String>

5b7583582305943431f966ae1c3c0715685e8f86 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add more variants for this example

0a710ed1b9973f73c45fdd613da4938b4b925562 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add more doc comments to key functions and structs

0ca2e36abd66425d7e477cc34f341234a9ea0f3b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make test adjust for the new behavior of vdom diffing

f055753a0823b705cc93afc27f3ef0b0c83bcebb authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make the callback comparison back to the correct code comparison

ba0c5646cf09dc5e9f6d3f6d0de5d80acf7bf9e5 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Skip comparisong with event callback in diff algorithmn

Effectively we are only checking on the names and not on the actual callback event closure, sinc...

109696ab140a7f21ba1c78356e9b5e70e53db925 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add documentation, code cleanup and refactoring

30a9ea68a4d297339905966f688d34bd38c76449 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Only build on the nightly for now

d8515e9fb2393d628782c933eec1a19222358c43 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Install firefox from addons script, Install chromedriver as well in for travis-ci setup

13545a8175c0899ccc0b6c6c175ef0303050eb87 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Search for firefox and install it in travis-ci.yml

91548bc3a118c1163a4e1af2ca48f8ad8077600d authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use sudo when installing packages in travis-ci

73a008bdfc3b82501f69fe1a2b8e5930aa8eba4c authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Transfer Component into its own module component.rs

f936f8eb8ece3f9a90ffff9d16085243c70c0251 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Update readme docs

3f2e0ce85c8c8c66becf7ca24cc1d7002f39326a authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Some more additional documentations

9fe808897d4048d46be2b542915f943a0b222b01 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Enable style tag in html

5772cd45ee347d9e83dbe31f4b1204254b4c5194 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
The dispatch of msg and dom update is now all wrapped in request animation frame to improve performance

3b7964d6318bd5dbb570a8d28a1a06120fc96a97 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove create function as part of Component, Each component should have it's own way of instatiating it

82de8283483e7bf1e4f1039b404a4819c740c73f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Using App::create instead of App::new()

44718ca040afe70cdfaa771138a153e047a7322e authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Update readme

e09ed86cc1fec729b1b22a4e43a3083933a52305 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
More simplification of interactive example, packed all code into lib.rs for easy example for the readme doc

8d9f279491ff346b15b6b6e331d29c146f8467d6 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove minor error in program

6dd2bec579d9ed71f4d0f4dc3584d25d8650f0c2 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Publish a minor patch

49b54a3be81aca065c4ee059ea6e8b50def5d2a4 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove logging

cf02cc8fa91f869adf1f12c8efa6ef514947ebd6 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Update the docs before publishing to crates.io

0eb269b198c9f42bfaee6fd66a5502a484e2145a authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Releasing sauron 0.2.0

d5926a056165cc3d6e6640ef7c2f00989c01e23a authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Releasing sauron_vdom 0.2.0

0edc9f2e83f4a8cbe107bc7943472ae185c32c91 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Also remove the event listeners from a node when it is replaced by some other node

0dce51b5755aface13fa40a6c54898a0e485d676 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Refactor removal of event listener into it's own function that can also be used in removing of event listeners when truncating children, or even the replaced ones

33c160f20b51f23b71254bdf5c18f30420c7f0f1 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use request_animation_frame for dispatching the update of the program to improve the performance more

43a52cc7718cd87276ca089752eba386125d84eb authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add a temporary fix for spontaneous call for AddEventListener by making all events of the same event name be equal

81c1384a8f5787877828976fc57bbd67cfc35b6b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add FIXME comment marker that the AddEventListener is patching after every update in the DOM, because Callback don't equate

9d830d4e94a89227e034c9e2e71cd51f75fad913 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Change to a fix port for todomvc

061d9b52d74b88078a45b9ecc077f803fa92c245 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Use Rc<Program> on general functions in the dom, while using Weak<Program> pointer in update method

867184beff384849669d3a5d7d8ed85f7826b129 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Using Weak<Program> pointer passed to functions in the DOM except for the update function which used Rc<Program>

160b283739a800f78f5591fdfb5ac1f3a71f4da5 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Clean up isomorphic call from javascript

3add2ae0cda5a240641a17f84053a159cefabf27 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Simplify isomorphic wasm_bindgen entry point

0cd344ebda1563073a6111090f80c0c87622f292 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Just use the same port for all profile build, since they still all share the same pkg directory

1e5ddfc6b4422c40d73157f3dd4f18ea33024823 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
use a different port for isomorphic example

aa1f8391144d055f0d4d861f5aa07daebefee7b4 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
DO NOT use opt-level='z' since it removes a lot of stuff in the wasm, causing it to trigger panic in the runtime

b66696807294ab93562ae8f8c22b7789a8de0d4b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make diff_patch test just a regular test instead of wasm_bindgen_test

Add test for truncate children

25968d5d404bf0ad69b25e97cebe455cf252b28b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Trying out small code size optimization

0220b9c6961867e9e9f1dd242d895816d4aa46df authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove unused modules in isomorphic

92c312b91b18be61402dd5ae6d88704e9b51a1d4 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove unused module app, Simplify the handling in the html side

b2cabf18be136e793b256c68095e1b019ba4e50e authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Add a todomvc example

b30b2fe7e2ff979db55327a9f7144fcc46da1d49 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Make update method in component receive an owned Msg instead of &Msg

Add performance debugging in Program

Add create method to component

f1e6e39dc2d47ad9f02044c6461d53b12090c70c authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Move the dispatching logic from the closure event listener to the Program.dispatch function

264ca58d7e10af3f15c558f61d9bcf354cbcd750 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Tag FIXME comment for fixing a runtime error

ac23e3166414717abdffa68c95e49dbdbe09789b authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove simple_app example since it is redundant to interactive example

Simplify the code in initialization

Fix test replacing the body which causes wasm_bindgen test ...

1d5bbedcca7851158a6b30e7b413596e7e6ccca6 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Move implementation of program initialization to its own program module

c30c64236007174e49a9141a5f8b62b892d72a6f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Remove unncessary cloning of Program

e9b685bf7abb4bfdc65eafb66c07772c75a86008 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Refactor Renderer into Program into its own module program

b50d6ee3232341ead870e602d2188257b6b646c9 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
Merge conflicts from already pushed commit

d0d101b42e37cdfb3cee343aac95578adcb30521 authored over 5 years ago by Jovansonlee Cesar <[email protected]>
IT WORKED, This now works with the use of Rc, RefCell, wrapped in a struct and pass around into the several functions that touched the DOM

c81c5fe0048fbbf3c3edcefc299ec525913e384f authored over 5 years ago by Jovansonlee Cesar <[email protected]>
get back to clean code, wrapped closure isn't possible without the code getting messy

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