Ecosyste.ms: OpenCollective

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

github.com/thorvg/thorvg

Thor Vector Graphics is a lightweight portable library used for drawing vector-based scenes and animations including SVG and Lottie. It can be freely utilized across various software platforms and applications to visualize graphical contents.
https://github.com/thorvg/thorvg

Update README.md

5122792ee576421e40e627d242398c515d7e996c authored almost 3 years ago by Hermet Park <[email protected]>
just released v0.8.0

d120084b7cae01d09a44d414bc82974b3dadf335 authored almost 3 years ago by Hermet Park <[email protected]>
doc: updated to v0.8.0

45fd5ffeed4b84ecebdd519f4ccb1bcff14791c5 authored almost 3 years ago by Hermet Park <[email protected]>
examples - updated a resource usage

49c6336b3311d304ba9ce00458bb6e2013fa4b8d authored almost 3 years ago by Hermet Park <[email protected]>
prepare tvg v0.8 release

updated tvg binaries, back up them for backward compatibility test.

6276175d5b664d69b4adaad889c2bb3111c5430a authored almost 3 years ago by Hermet Park <[email protected]>
svg_loader: width and height attribs of the use element applied

2ee25ea11df9ea30b2950d083eeae70b01ec2276 authored almost 3 years ago by Mira Grudzinska <[email protected]>
common: viewport values improperly rounded

For a very specific scaling factors shapes were to much clipped
because of wrong rounding of the...

59399e8597e2de151086cc3bef3bcbdf5e4ba107 authored almost 3 years ago by mgrudzinska <[email protected]>
svg_loader: use node fixed

By mistake the use node was improperly transformed and/or displayed
for a reference node other t...

ed3608b39bcdfc2289756e1d4ecdd57316161a3b authored almost 3 years ago by mgrudzinska <[email protected]>
svg_loader: symbol preserveAspectRatio attribute fixed

The symbol node was properly scaled only for 'preserveAspectRatio=none'.
Now it works also for t...

b16d60d509c2a4104241a7b08dd8406a73921592 authored almost 3 years ago by mgrudzinska <[email protected]>
svg_loader: preserveAspectRatio fix

The default value should be xMidYMid, now it is.

d1e7d60fc94ccb0829a11bc04098e927c0abb943 authored almost 3 years ago by mgrudzinska <[email protected]>
svg_loader: handle the exception properly.

viewBox doesn't expect the missing attributes,
it won't have any default values.

So we can deci...

bdda2586e9d6ce1d6c33d4f33f5b6e70117c03b2 authored almost 3 years ago by Hermet Park <[email protected]>
svg_loader: symbol tag implemented

The 'symbol' tag introduced. It can be used to define graphical
template objects which can be in...

70ed0653f1a5835b7cb07c08833a8d67dc5fca9c authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: fixing symbol transformation

For a Symbol node, the transformation based on the 'viewBox', 'width'
and 'height' attributes ha...

c214532ad29c907ec1aeb61b36fe145941a8d54b authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: symbol++

- The initial value of the overflow attribute was missing
- overflow="visible" was missing scaling

72ab9268e34e86f46105eceb021b932823cd350a authored almost 3 years ago by Mira Grudzinska <[email protected]>
jpeg_loader: resolve the asan bug report.

fix the invalid negative shift operations.

@Issue: https://github.com/Samsung/thorvg/issues/1172

ccce0d7641c5b630f0aecee74eb1ac05f360038d authored almost 3 years ago by Hermet Park <[email protected]>
examples: adds a new sample svg

143cb835154e82f37b25c1a155e484b9d3cba8fc authored almost 3 years ago by Hermet Park <[email protected]>
svg_loader: fixing memory leak

The css style node was improperly freed.

23ea4ed9f1fcfd29dc67240f62789a872ac4c34c authored almost 3 years ago by Mira Grudzinska <[email protected]>
infra: Disable unit test in window CI

Symbol file generation for compiling test code in CI fails.
It's not caused by recent patches.
W...

0a1606aed3e55f6d8dd3f7ff060c5275b1c2fa6f authored almost 3 years ago by JunsuChoi <[email protected]>
svg_loader: preventing invalid log msg

87832a9236d4d64d261b5b624b9727b0258dafaa authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: proper image transformation

One of the image's attributes can be a transformation matrix.
Now it's applied.

6a589777b04f22a9d9b7f406f08cd580e1d96d41 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: the 'use' node properly transformed

The translation of the use node shouldn't overwrite its transformation.

2fce4d46a027bb422365675aa4a8ac24ce4f120d authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: fixing the used mask-type

For the performance reasons, regardless of the set/default
mask-type value, if the mask is white...

d1fc5384297ccf83e98fd62854914a7508bc6e39 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: code refactoring.

follow strict coding-style.

no logic changes.

ff3ebd9abda522dc9be625a661a77e8dab21e754 authored almost 3 years ago by Hermet Park <[email protected]>
example: just renamed the svg file.

5f40449c3dbb5739a6c0335bd7494c4ca8d85b50 authored almost 3 years ago by Hermet Park <[email protected]>
example: cssStyle.svg add

For now it's a simple file used to check the styling precedence
and overall correctness.
After t...

0e4211fb9674a18374f34f04367d8a2844cd0477 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: a css style node shouldn't have a parent

This node is supposed to be separeted from the main tree nodes.

ada4d5e26179b88cdff4e56d7e2ec3d355b839aa authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: proper precedence of a styling

The attribute values should be copied from a style node only if they
were set in the destination...

abd959bb5417436c09307106dce5437e12122621 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: remove unnecessary variables

1799cd9a78c19d15a922d27c0185679f171f6b59 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: css styling supported also when defs were postponed

Defs can be defined at the end of the file. In such a case each
node with a defined class attrib...

b535803136a4dd3ce99dd47061e4817deb072009 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: some names changed, no logical changes

dc518a83c8dfa638add91564c39714c5119a57e5 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: fixing css style for group selectors, clips/masks

The css styling has to be applied as the first step of the node
updates. Whereas the updateStyle...

1aaf222b62421e028ed9645b39ad317dcde52ee9 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: additional check while style parsing

This check is needed so the function can be used to parse
not only the inline styles, but also t...

c351391bd5fd5c2ded4d0ce37f625e0fb75690df authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: supporting different target formats in css

Css styling supports now targets defined only by tag or only by name
(tag.name was already suppo...

85f23d7f6cba54553be74f625756dd4b38148267 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: styling++ (no logical changes)

863a98870f1f509fb77f292ffe9a4aba6d4151ad authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: css style functions moved to a separate file

5aab26302a1a8ab98ecc928d91c57aa841b69206 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: class attribute added

It's the first step in introducing the css inline style sheets into tvg.
For now the class attri...

828a15cfdb1911ad2ec48dff465bbf6988aeb581 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: tvg styling applied to the code

fbc596c09bd81b93d084aa8530da7fda4070d0e4 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: restoring changes from ed3b17b2281df03f2df67ebc34cafa12b2aea737

(preventing memcpy from a nullptr)

a5e5e48de47927f8b9da67a639ce74f35dbeea19 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: buflen arg used in the simpleXmlParseW3CAttribute()

While parsing the css internal style sheets the buflen has to be passed.

482add35e9c1f04606537651d12b69306e519838 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: fixing cdata block reading

The CData block is read if it's inside the style tag.
In a case when the CData block was just af...

4a7310756d201ecc311eece811801db4c967681d authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: additional arg added into create...Node() functions

A function pointer added as an additional arg in order to make it
possible to use these function...

024594f3bbc26ec0d37ec440eaa16561effc14c7 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: intro to the implementation of the css internal style sheets parsing

Function simpleXmlParseCSSAttribute() used to parse the data inside the style tag.
For now the s...

c3ed02fd229625777f8cf772f2192f29c08eb4d0 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: custom _strndup added

For the compatibility reasons a custom version of strndup is
introduced.

ed81446031ccbe73acb870a330e4df03b893221b authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: css style node introduced

For now it is assumed that only one style element is defined
in an svg file, although it can be ...

0f51d798ceac4cc463b9f7d4fec7a985906e8cc3 authored almost 3 years ago by Mira Grudzinska <[email protected]>
loader png external: fix potential memory leak if read fails

b033cfabbd97bf2d3b7d0afb2f7dec4370590aab authored almost 3 years ago by Michal Maciola <[email protected]>
common: styling++ (tabs -> spaces)

cc173c1fb22615993f82647ab492f19a9357431e authored almost 3 years ago by Mira Grudzinska <[email protected]>
examples images: updated sample resources

cf5ce5d00cf747c47a77820f1684968b22223dd4 authored almost 3 years ago by Hermet Park <[email protected]>
loader png: fix all memory leaks.

These were detected by asan with PicturePng example,

fixed them all.

9434923529536a7054df4c612c5fcca41080a752 authored almost 3 years ago by Hermet Park <[email protected]>
loaders jpg: fix all memory leaks.

These were detected by asan with PictureJpg example,

fixed them all.

246149e91ab86fc4dbf51f43fa2bc3eaa6a51453 authored almost 3 years ago by Hermet Park <[email protected]>
portability: fixing windows warnings

atan2->atan2f

18bf321d2c0a61c6a9f92b97e911bd0fcfabcdba authored almost 3 years ago by Mira Grudzinska <[email protected]>
examples: terminate the same engine as was initialized

74a99867df38b5bc7d34953a3a38a7267528f8aa authored almost 3 years ago by Mira Grudzinska <[email protected]>
sw_engine: float casted on the unsigned int type

uint32_t -> int32_t

c44d667f10d8becbc351e05a9ff837474125a840 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: ++robustness

Prevent recursive calls by counting just in case.

The size is arbitrary value, we can adjust it...

0f87685c85bdb4ec5249d4837d80c5d49dd1d239 authored almost 3 years ago by Hermet Park <[email protected]>
sw_engine renderer: code refactoring

remove unnecessary header inclusion.

a00b68ba4094f3c675fad771f40b163e75303687 authored almost 3 years ago by Hermet Park <[email protected]>
sw_engine: Replace non-portable min/max with tvgMath.h macros

This would fail building with Visual Studio 2017, at least downstream in Godot
where we undefine...

4d58dae59f651b4a203b082275724ea15fdbe780 authored almost 3 years ago by Rémi Verschelde <[email protected]>
svg_loader: group tags misinterpreted as parent nodes

Group tags in a format <tag .../> finds no application
to the rest of the svg file and should be...

922e3e10c04476fa600fe0863c37dfa565a8dbe9 authored almost 3 years ago by Mira Grudzinska <[email protected]>
build: Add missing <cstring> includes for MinGW compatibility

0c6c37b61621d798d13b46dfa36d60bb432a56ad authored almost 3 years ago by Rémi Verschelde <[email protected]>
tvg_loader: Convert tvgJpgd.h EOL to LF

This makes it consistent with the rest of the codebase.

4e14e304474907de0784644e32d5b3380eec4bee authored almost 3 years ago by Rémi Verschelde <[email protected]>
gl_engine GlRenderer: Fix build error

Change id() to identifier().

error log
```
../src/lib/gl_engine/tvgGlRenderer.cpp:333:19: error...

a5f5cd6d980dc77ced4c7a2f7c482f53956915a8 authored almost 3 years ago by JunsuChoi <[email protected]>
svg_loader: memleak prevention

If image href set more than once, the memory was not freed.

99da490ef7631328207fe820f6b37b90a96d856d authored almost 3 years ago by Mira Grudzinska <[email protected]>
Update README.md

a08d6e5079f8031d015b57df551336253281512d authored almost 3 years ago by Hermet Park <[email protected]>
Update README.md

48a81301e1ae65cb1d5c6bb3d3b879ed0bed3d39 authored almost 3 years ago by Hermet Park <[email protected]>
infra: Fix ubuntu version and meson install

libefl-dev -> libefl-all-dev
ubuntu 19 -> 20
meson user install -> root install

ad132eae12714fd7881d8caa06e3e40e4b390362 authored almost 3 years ago by JunsuChoi <[email protected]>
svg_loader: preventing memcpy from a nullptr

In a case when a polygon/polyline had no points, there is nothing
to be copied.

ed3b17b2281df03f2df67ebc34cafa12b2aea737 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: fixing cyclic cloning of nodes

The reference node doesn't have to be placed inside the defs block,
so when refering to it, it i...

04d3bb0ec0b2e6e251554bd9a93e375913611e02 authored almost 3 years ago by Mira Grudzinska <[email protected]>
sw_engine: fix comparison of integer expressions of different signedness

Some gcc versions and configurations was giving an error:
error: "comparison of integer expressi...

9212c0d15844e0d463c29bccdfd5f09323496517 authored almost 3 years ago by Michal Maciola <[email protected]>
sw_engine: fixed declaration of 'i' shadows a previous local

Some gcc versions and configurations was giving an error: error:
"declaration of 'i' shadows a p...

a0895cc91bffa4176ecdc365999ef731092a50a4 authored almost 3 years ago by Michal Maciola <[email protected]>
svg_loader: fixing memleak

Memory was not freed before reallocation (grad->ref can be overwritten
without freeing memory fi...

43e5644e8b6bb99ddf802fa16e83053876585504 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: postponed nodes properly cloned

In case when no defs tag was used, no child node was found.
Also the node attributes should not ...

6fb0984b49a578bbc7e8289270bd7fdb6069b451 authored almost 3 years ago by Mira Grudzinska <[email protected]>
updated copyright date.

f0141e63de1b3d34c5416aa4fce1066d7170260d authored almost 3 years ago by Hermet Park <[email protected]>
svg_loader: changed the order of if conditions

The weekest condition should be checked as the last one.
Otherwise CDATA marker was never found.

2217b94361cbf80cff2fa3235ecbda968ef37dbf authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: the color attribute properly inherited

The color attribute hat to be inherited regardles whether it is used
in the child node or not - ...

baf45823cb53a4df5c74d10fe5a52b7d477b61f7 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: removing repeated lines

The clip-path and the mask attributes are both parsed in _attrParseGNode
function, which is call...

4b0037fe6a8160f2a0e2022d48675c4c844798b2 authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: fix grad update

The grad update should be handled after the postponed nodes are cloned.

333ff25c7eec6918a5c5c1cd0b7974c067fb815f authored almost 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: preventing memory leak

A memory leak occured when the 'id' attribute was given multiple times
for a given gradient elem...

1f6c236fa361e56f014571d483a8ad06c67bbad7 authored almost 3 years ago by Mira Grudzinska <[email protected]>
Update AUTHORS

eb75745a190e1befb69fb1678837b413b28f3a15 authored about 3 years ago by Hermet Park <[email protected]>
Update AUTHORS

607fd5de3fd610834b5773156c6f23fc61d506b8 authored about 3 years ago by K. S. Ernest (iFire) Lee <[email protected]>
svg_loader: LumaMask used only for masks other than white

For the performance reasons, the LumaMask is used only when
it's necessary - when the mask color...

e409bb298423ac0bf052c0c6930d17fd6b729b4f authored about 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: typo fixed

_svgLoaderParerXmlClose -> _svgLoaderParserXmlClose

d3053777a86a87ec189e947265ca7adcb4fd748b authored about 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: mask-type attribute introduced

In an svg file the mask-type attribute can be specified.
It takes one of the two values: Luminos...

2f7e7e9923dbe49b5eeed5f743b3cd7e378e2de8 authored about 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: ++robustness

prevent a crash with an exceptional handling.

@Issue: https://github.com/Samsung/thorvg/issues/...

1f5b66c256bfe7390d0bea1e0e1b6517dc2a44b4 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: fix a regression bug.

Picture example were broken by 90fa26b7bb75cb938290170882e65da8d9fc5d9e

the correct condition m...

440cc81b4d8d88246dbd27f76d823620f590def3 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine SwRaster: Initialize uninitialized transform value

90fa26b7bb75cb938290170882e65da8d9fc5d9e authored about 3 years ago by JunsuChoi <[email protected]>
svg_loader: composite node splitted on mask and clip nodes

The SvgCompositeNode is replaced by the SvgMaskNode and SvgClipNode.
This is needed for using Lu...

a6781734dc404a5b19c815620253fcbfeee5129f authored about 3 years ago by Mira Grudzinska <[email protected]>
example: added LumaMasking.cpp (#621)

Added an example LumaMasking.cpp that tests CompositeMethod::LumaMask

a18f85cca8b6c1c10e4dc409be609db5fe905384 authored about 3 years ago by Michal Maciola <[email protected]>
compositeMethod: introduced LumaMask

Introduced CompositeMethod::LumaMask that converts the source pixels to the
grayscale (luma valu...

4cbeb5e3dfeb394965a4e3e30b54d570eb711a8c authored about 3 years ago by Michal Maciola <[email protected]>
infra: just changed naming.

906679cbeb62539e25fea1416b35e806c784e952 authored about 3 years ago by Hermet Park <[email protected]>
example: add script to execute all

This patch will save your time to check example.

./all.sh [interval time between examples, de...

d349f73222f4f7efebdbdde2cfa7c6d7556a5d54 authored about 3 years ago by Shinwoo Kim <[email protected]>
common: Introduced Accessor for traversing the scene-tree.

Basically, this Accessor is a utility to debug the Scene structure,
by traversing the scene-tree...

100d98d82ea43c1b5b0538387a26419ff81e6c57 authored about 3 years ago by Hermet Park <[email protected]>
Revert "common: introduce iterator"

This reverts commit e947fef9a4170b601cb92b868ae71dfd675a9173.

Bad... This patch was wrongly app...

9915d411648737878e4136afffcd9aa25457b5e1 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine texmap: fix trivial compiler warnings.

warning: suggest braces around initialization of subobject [-Wmissing-braces]

77d33b2d9fa3502f2650a284430a519c62d4074f authored about 3 years ago by Hermet Park <[email protected]>
doc: up to date v0.7

686e47d2cda0bb4d611fc0a3a03d599cbecc4a93 authored about 3 years ago by Hermet Park <[email protected]>
infra: just released v0.7.0

5fd32acf73feab4bebea9f77eae52af58980e44f authored about 3 years ago by Hermet Park <[email protected]>
examples: update tvg binaries.

0aefbc3fb8a38f62d77a1d4774ff5731320c30c7 authored about 3 years ago by Hermet Park <[email protected]>
Backup tvg binaries of v0.6

8c29caf8031f9fb5042064ff89dc32e4e04bb49c authored about 3 years ago by Hermet Park <[email protected]>
sw_engine texmap: ++safety

Prevent range over just in case.

6a2aaa2064091712850312f382b46efa3fa2476f authored about 3 years ago by Hermet Park <[email protected]>
Hide the thorvg LZW implementation.

33018aa123b18b3abc63a6e80f4105c5d3faced7 authored about 3 years ago by K. S. Ernest (iFire) Lee <[email protected]>
sw_engine raster: fix a crash at the texmap clipping.

Handle correctly duplicated spans from the multiple y span data.

Previous logic only expected t...

df64a7b0dc51c97c318d0b4eca5edca76834f89e authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: ++safety of the scaled image rasterization

Prevent out of buffer boundary access.

@Issues: https://github.com/Samsung/thorvg/pull/1119

05fefcf61f8b34a2f791324728d3464337ee11c8 authored about 3 years ago by Hermet Park <[email protected]>
common: introduce iterator

+++

auto picture = tvg::Picture::gen();

auto func = [](const tvg::Paint* paint, const tvg::Pai...

e947fef9a4170b601cb92b868ae71dfd675a9173 authored about 3 years ago by Hermet Park <[email protected]>