[cytoscape/cytoscape.js] c986e0: 3.3.0

2019-02-04 Thread Max Franz
  Branch: refs/heads/unstable

  Home:   https://github.com/cytoscape/cytoscape.js

  Commit: c986e0f004c69aab77e64632c34d66f34eebbad5

  
https://github.com/cytoscape/cytoscape.js/commit/c986e0f004c69aab77e64632c34d66f34eebbad5

  Author: Max Franz 

  Date:   2018-12-04 (Tue, 04 Dec 2018)



  Changed paths:

M package-lock.json

M package.json



  Log Message:

  ---

  3.3.0





  Commit: c0728af8e53537878dce754cb931831b6b06a5e8

  
https://github.com/cytoscape/cytoscape.js/commit/c0728af8e53537878dce754cb931831b6b06a5e8

  Author: Max Franz 

  Date:   2018-12-04 (Tue, 04 Dec 2018)



  Changed paths:

M package-lock.json

M package.json



  Log Message:

  ---

  Add gh-pages to dev dependencies





  Commit: 8479c89526a9d54356915b94d00e3685eb0014fa

  
https://github.com/cytoscape/cytoscape.js/commit/8479c89526a9d54356915b94d00e3685eb0014fa

  Author: Josejulio Martínez 

  Date:   2018-12-06 (Thu, 06 Dec 2018)



  Changed paths:

M src/core/index.js



  Log Message:

  ---

  Fixes a bug introduced by removing elements in a for 0 -> eles.length



Ref #2231





  Commit: e9174561df85d5e496a94c675a72bba0c437eedc

  
https://github.com/cytoscape/cytoscape.js/commit/e9174561df85d5e496a94c675a72bba0c437eedc

  Author: Josejulio Martínez 

  Date:   2018-12-06 (Thu, 06 Dec 2018)



  Changed paths:

M test/core-graph-manipulation.js



  Log Message:

  ---

  Add test case related to #2231





  Commit: 22ce785b83bb01f7d5fe139889cecfc2bc15367e

  
https://github.com/cytoscape/cytoscape.js/commit/22ce785b83bb01f7d5fe139889cecfc2bc15367e

  Author: Max Franz 

  Date:   2018-12-07 (Fri, 07 Dec 2018)



  Changed paths:

M test/core-graph-manipulation.js



  Log Message:

  ---

  Add @josejulio's second test case, re: When using `cy.json`, sometimes some 
nodes are not being deleted #2231





  Commit: 5931f4eaf654f402e7cb7cac932acc5ce6fe09de

  
https://github.com/cytoscape/cytoscape.js/commit/5931f4eaf654f402e7cb7cac932acc5ce6fe09de

  Author: Max Franz 

  Date:   2018-12-07 (Fri, 07 Dec 2018)



  Changed paths:

M src/style/apply.js



  Log Message:

  ---

  A small floating point value for a style property can be mis-hashed



This can result in style hash collisions, especially for small positive numbers 
less than 1.  This impacts the element texture cache.



A simple solution for this is to raise the value of small non-integer numbers 
so they can be easily casted to ints.  Because the hashing only operates on 32 
bit integers, this gives us a reasonable value.



As a precaution, the sign of the value is inverted to help avoid collisions 
with larger numbers.  Example: 0.5 gets raised to 512, which would result in a 
collision with an actual style value of 512.  Inverting the sign probably isn't 
strictly necessary, because properties that would normally take affected values 
(e.g. pie percents) can't take on large values.



A more robust solution would be to use typed arrays to read the bytes of a 
float and sequentially pass those values to the hash function.  However, this 
would mean that we would have to drop support for older browsers like IE.  If 
necessary, this approach could be used in future with feature detection.  Then, 
modern browser would have a more robust solution and only older browsers like 
IE would need the workaround.



Ref : A small floating point value for a style property can be mis-hashed #2235





  Commit: 17cb9fc4578701d6dd4566d14e1344182ba34639

  
https://github.com/cytoscape/cytoscape.js/commit/17cb9fc4578701d6dd4566d14e1344182ba34639

  Author: Max Franz 

  Date:   2018-12-13 (Thu, 13 Dec 2018)



  Changed paths:

M src/collection/dimensions/bounds.js



  Log Message:

  ---

  The rendered style and bounding box for an edge may become stale



The rendered style may be stale after a connected node is repositioned.  
Because the rendered style of an edge is not dirtied when a node is moved, we 
should force the rendered style of the edge to be recalculated when the 
bounding box is requested and there is a diff detected for one or both node 
positions.



Behaviour without patch: Edge labels can be shown at the wrong location.  Edges 
can be not shown at all for certain pan and zoom levels.  In both cases, a 
stale rendered style results in a stale bounding box.



Ref #2238





  Commit: 267865de947ad0964a0936b1a2be47824913410a

  
https://github.com/cytoscape/cytoscape.js/commit/267865de947ad0964a0936b1a2be47824913410a

  Author: Max Franz 

  Date:   2018-12-14 (Fri, 14 Dec 2018)



  Changed paths:

M documentation/md/intro.md



  Log Message:

  ---

  Add 3.3.1 to the release list in the docs





  Commit: f7c4150a1c576b24136e9842dec8fc27352d955b

  
https://github.com/cytoscape/cytoscape.js/commit/f7c4150a1c576b24136e9842dec8fc27352d955b

  Author: Max Franz 

  Date:   2018-12-14 (Fri, 14 Dec 

[cytoscape/cytoscape.js] c986e0: 3.3.0

2018-12-04 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/cytoscape/cytoscape.js
  Commit: c986e0f004c69aab77e64632c34d66f34eebbad5
  
https://github.com/cytoscape/cytoscape.js/commit/c986e0f004c69aab77e64632c34d66f34eebbad5
  Author: Max Franz 
  Date:   2018-12-04 (Tue, 04 Dec 2018)

  Changed paths:
M package-lock.json
M package.json

  Log Message:
  ---
  3.3.0



  **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

  Functionality will be removed from GitHub.com on January 31st, 2019.

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cytoscape-cvs+unsubscr...@googlegroups.com.
To post to this group, send email to cytoscape-cvs@googlegroups.com.
Visit this group at https://groups.google.com/group/cytoscape-cvs.
For more options, visit https://groups.google.com/d/optout.