Ecosyste.ms: OpenCollective

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

github.com/mypaint/libmypaint

libmypaint, a.k.a. "brushlib", is a library for making brushstrokes which is used by MyPaint and other projects.
https://github.com/mypaint/libmypaint

brushlib: Fix warning due to missing include

32af13ee9119b45403e05487b819ce11f835448b authored over 12 years ago by Jon Nordby <[email protected]>
brushlib: Only use C89 features and fix includes

Use gboolean instead of bool, || intead of or, && instead of and
Also fix includes to include ev...

8e548944165a5cf804523d059138d0190249c819 authored over 12 years ago by Jon Nordby <[email protected]>
brushlib: Move brushmodes.hpp to brushlib/brushmodes.c

This file is already pure C, so no conversions needed.

eda8133798410f95327492395e8b2595697002a6 authored over 12 years ago by Jon Nordby <[email protected]>
brushlib: Convert Mapping to C

Again we keep a C++ interface in lib/ for MyPaint.

f40870088fc3977629c50ed05fde63fce1f0f0ac authored over 12 years ago by Jon Nordby <[email protected]>
brushlib: Rename generated brushsettings.hpp to brushsettings.h

e40e394a5043bc242251d81db335f00ae8ef4ed2 authored over 12 years ago by Jon Nordby <[email protected]>
brushlib: Convert helpers into C and put MyPaint specific ones in lib/

97a6ae975fdb5f5333c6c4900e72da8014040f86 authored over 12 years ago by Jon Nordby <[email protected]>
brushlib: Move the C++ Brush and Surface wrappers to lib/

The goal is to have brushlib/ be a pure C, reusable library,
and that lib/ contains MyPaints ext...

7d59a89971c58303993577969fed606f53aa0848 authored over 12 years ago by Jon Nordby <[email protected]>
brushlib: Check for presence of mandatory vfuncs before calling

Also make the warning on get_tile errors more generic.

bd8c87d9410de17705431b1a369df141a0896c10 authored over 12 years ago by Jon Nordby <[email protected]>
brushlib: Put MyPaint specifics of tiled surface impl. in lib/

The idea is to have the generally useful bits of tiled surface
in brushlib, so that others consu...

82fcebdb56a52a4b8b637735a4c7fb9d7d73e9de authored over 12 years ago by Jon Nordby <[email protected]>
brushlib: Convert TiledSurface to C

Again we continue to use the C++ interface in MyPaint,
through a wrapper.

ed43264446cf72e237b5da4d882e7583d7fcbac7 authored over 12 years ago by Jon Nordby <[email protected]>
brushlib: Convert the brush interface to C

The brush interface is now pure C, which will hopefully
make it more digestable to other consume...

e8cc993b5f645790fc824100eda9fda02da3b6d7 authored over 12 years ago by Jon Nordby <[email protected]>
minor code cleanups

mainly unused imports reported by pylint

88bf39c71200874f44d615e9b55001e10d370129 authored almost 13 years ago by Martin Renold <[email protected]>
Add symetrical drawing

View->Symmetry, bound to the pipe character "|". Drawing and straight lines
are mirrored over t...

83dbdb7748a8910ef3b064083f46fb2cb293cd77 authored almost 13 years ago by Martin Franco <[email protected]>
brushlib: colorize brush blendmode with weighting

Add a tinting/colorizing brush blend mode which applies the source's hue
and saturation while re...

96dabb1f2940ba79eeb8464805dad2c2c4874c8b authored about 13 years ago by Andrew Chadwick <[email protected]>
minor "scons install" stuff

Remove shebang and executable bit from generate.py. It's only used
for compilation; this is just...

41601aeab19ed2585b30b209905e4d5720f44f79 authored about 13 years ago by Martin Renold <[email protected]>
win64: build fix

Since we use uint32_t, we have to include stdint.h.

<tumagonx> in brushlib\helpers.hpp when bui...

8c473c696d25381dab04859572ce4a579ba85747 authored about 13 years ago by Martin Renold <[email protected]>
brushlib: fix bug with smudge_length=0

For brushes with smudge_length=0 (eg. in Ramon's concept art brushset)
smudging was broken by my...

dd324d1705678c158fc3257ccbc8fbe4f53d0050 authored about 13 years ago by Martin Renold <[email protected]>
optimization for watercolor/smudge brushes

Watercolor/smudge brushes will profit from this, reducing the number
of get_color() calls. The p...

874f9b88824c6bda9d45cd2bb7a5bd6111fcc677 authored about 13 years ago by Martin Renold <[email protected]>
brushlib basic anti-aliasing

Automatically adjust the dab hardness to prevent aliasing.

Most current ink brushes use a low h...

97a467b9da675236561e3547a68078369412788b authored about 13 years ago by Martin Renold <[email protected]>
undo: decrease minimum stroke duration slightly

User feedback indicates that we tend to make too few splits.

adb22fce48f40ac497b60ee32416a8d334d7ad51 authored over 13 years ago by Martin Renold <[email protected]>
brushsettings: allow presets to restore active color

https://gna.org/bugs/?18597

41592d46c00ede35bf0732d945847ffd217d07db authored over 13 years ago by Martin Renold <[email protected]>
brushsettings: increase maximum jitter

Requested by Ramón Miranda.
(Hm, maybe it should be made logarithmic?)

ded3e1986c2ddb092e157c18ca302107ce80ad22 authored over 13 years ago by Martin Renold <[email protected]>
Scratchpad: catch up to master

Change scratchpad hotkey to Shift+S since people probably use [ and ]
for paired operations. And...

ed025f67ed6949336ab0326722b566687a4352e5 authored over 13 years ago by Andrew Chadwick <[email protected]>
fix brushlib Python exception handling

Return NULL from the original python call (stroke_to) if an
exception has occurred while trying ...

8d97d112fbffece097e153431abf82953fff2724 authored over 13 years ago by Martin Renold <[email protected]>
fix brushlib Python exception handling

Return NULL from the original python call (stroke_to) if an
exception has occurred while trying ...

98d2a00a5c451c0b7c9b2bf5ce3c3ac7cad27ffc authored over 13 years ago by Martin Renold <[email protected]>
Fix spelling and grammar in various places.

I tried to make sure things were consistent (e.g., same parts of
speech within a group), sentenc...

147161d0db526115097ad6cd9329d6c2791df65e authored over 13 years ago by Elliott Sales de Andrade <[email protected]>
README: shorter url

fcafb095ca762a97483c70f46f06df52a8143bc8 authored over 13 years ago by Martin Renold <[email protected]>
brushlib license change (LGPL-->ISC)

LGPL didn't work anyway, for a headerfile-only library.
http://en.wikipedia.org/wiki/ISC_license...

5f671a923472fc043287e6d9eab824ff752e0289 authored over 13 years ago by Martin Renold <[email protected]>
refactor brush observer code and its users

Make ManagedBrush the primary class for storing, manipulating
and observing brush settings.

The...

cc476570cd3ccd1cbde00b994d7fbae33ca9d07e authored over 13 years ago by Martin Renold <[email protected]>
add lock_alpha; blend mode refactoring

Squashed branch "blend_modes" by guciek into a single
commit, without modification. Based on 981...

41432480dc2dc89f46303da6f1e28796bd3d8176 authored over 13 years ago by guciek <[email protected]>
brushlib: add reset, reset at startup

Avoid interpolating a stroke from (0, 0) if the first event that is
fed into the brush engine al...

a4366355453b3f631e5262d3668fed962e38c2d8 authored over 13 years ago by Martin Renold <[email protected]>
Use correct version of python for generate.py

The brushlib/generate.py is called by build script using "python generate.py",
if default Python...

46b2f1fde4a1d84c8eeb78313650445c981ff888 authored about 14 years ago by Andrzej Giniewicz <[email protected]>
Properly case brushsetting strings

Also fix a bug in the brushselector lookup of brush settings.
It was looking at the translated n...

b6720b90bd4de9be550159be996185640098b387 authored over 14 years ago by Jon Nordby <[email protected]>
brushlib: make smudge radius configurable

A subtlety for more subtle brushes.

f378bd687fe31372a088bbd3310f64ffc630f7d3 authored over 14 years ago by Martin Renold <[email protected]>
tilt: fix NaN at xtilt/ytilt=1.0

84d46127dddddc7d5b1c63b8319db531bc01cfd7 authored over 14 years ago by Martin Renold <[email protected]>
coding style

write logical OR more explicit

5a64d48a8dc4b5f038b307a90044c9ee7ef0cdb8 authored over 14 years ago by Martin Renold <[email protected]>
tilt: fix mouse tilt

3edbe5432c8d3dfad3e009f067a91f02d2d4a98a authored over 14 years ago by Martin Renold <[email protected]>
tilt: minor cleanup / handle bad tablet input

and don't call all those math functions when there is no tilt

ee063df19e42665be0b44f07e5f2efcc833b7b98 authored over 14 years ago by Martin Renold <[email protected]>
Move tilt angles calculation to C++.

97069b90d803b50229124e92d065caaed62da09e authored over 14 years ago by Ilya Portnov <[email protected]>
Add stylus tilt support.

There are now two new brush inputs: tilt_declination and tilt_ascension.
So, tilt measuring done...

4deb991340bb2c0ee8722818031fa1d20b6e42fc authored over 14 years ago by Ilya Portnov <[email protected]>
brushsettings: docu for opaque_multiply convention

Hope to end the confusion about opaque_multiply, at least for users
who read the tooltips.

0c0badcd0a7e3e07b3791d4459c332b15b566879 authored over 14 years ago by Martin Renold <[email protected]>
brushlib: virtual destructor

Should not affect anything at the moment, just good C++ style.

329b2861777ce887559d8f9431407a113a5dfa41 authored almost 15 years ago by Martin Renold <[email protected]>
allow opaque > 1.0

It was already possible anyway, if you knew how.

4f0316d7290a7ebd6ba8fef32990155e71c45ff6 authored almost 15 years ago by Martin Renold <[email protected]>
brushlib: fix small problem opaque_multiply

Don't allow opaque to become positive when both opaque and
opaque_multiply are negative (--> uni...

4d4481b2bed456ab222e8fe5b726ffdb14893262 authored almost 15 years ago by Martin Renold <[email protected]>
windows: workaround attempt for startup bug

https://gna.org/bugs/?14372

af2d8700fe0f7e4091d3b970b5893bec59f62bed authored almost 15 years ago by Martin Renold <[email protected]>
fix workaround for startup bug on windows

https://gna.org/bugs/?14372

6d02a73cc5e931c6f4a5ebd3d7364fdf4673e933 authored almost 15 years ago by Martin Renold <[email protected]>
build: add *.pyc to clean target

d9914d310c0499d5b7c2421b08d002b8476dd13f authored about 15 years ago by Martin Renold <[email protected]>
String freeze for v0.8

- Fixed a couple of typos.
- Tested that all visible strings are marked for translation.
- Updat...

5d1e99f755b1d908f5e07207f690a9e4a046071b authored about 15 years ago by Jon Nordby <[email protected]>
Localized input names

aff49590e4ff0c759289fc8cead154d445bde532 authored about 15 years ago by Luka Čehovin <[email protected]>
Better user-visible strings in brushsettings

- speed1 and speed2 strings changed to "fine speed" and "gross speed"
- descriptions for input m...

323319e730df4a3731e635d73750ccebc9466521 authored about 15 years ago by Luka Čehovin <[email protected]>
typo: spell stroke_threshold correctly

thanks Lukacu

c6ed634bcb97b2ed432cca464ceece12cc45a9bd authored about 15 years ago by Martin Renold <[email protected]>
brushsettings: minor docu correction

00671ead912f9c8f5432f14c818fe0badfdc3c5f authored about 15 years ago by Martin Renold <[email protected]>
brushlib README

d061f4ae870692445c4fb190c9ca6c64cb05fd41 authored about 15 years ago by Martin Renold <[email protected]>
windows: workaround attempt for crash at startup

bug #14372 (crash only when moving pen during startup)

a38d04b27fffa59f68de4371d8bc81a972c7d639 authored over 15 years ago by Martin Renold <[email protected]>
make 'scons -c' clean up more

ee064fe82a97eb59890094567a236cfa6176c1b9 authored over 15 years ago by Martin Renold <[email protected]>
Merge branch 'i18n' (with cleaned-up commits)

Conflicts:
brushlib/brushsettings.py
gui/drawwindow.py

dc24220e5782ccf70bd152dbc0bc3721a817cfc7 authored over 15 years ago by Martin Renold <[email protected]>
make gettext work both installed and non-installed

204d6f783989192196987bac1e1bb823bdbecbd8 authored over 15 years ago by Martin Renold <[email protected]>
Start i18n.

Lots of i18n changes (squashed commit).
Now *.mo installs when doing scons install.

5253ef4c00b13275c902bf68fea8a521e6a6be88 authored over 15 years ago by Ilya Portnov <[email protected]>
brushlib: negative jitter means no jitter

Use no jitter when the jitter setting goes below zero.
Fix/update the affected brushes.

19ea20fbed333729879e6dd0185e12df3ae8a365 authored over 15 years ago by Martin Renold <[email protected]>
Fix far-off dabs seen on Windows with some brushes

This was caused by brushes with zero offset_by_speed_slowness.
Require some minimal filtering no...

6ed55a72b839497cd781dcb21aa889a248e55837 authored over 15 years ago by Martin Renold <[email protected]>
[mapping] fix interpolation special cases

When a mapping curve had two points at the same y value the
interpolation code did return nan th...

e2b40aa5a0ddc8877be676dc4f0f091c8f6a09be authored over 15 years ago by Martin Renold <[email protected]>
[mapping] allow points at the same x value (fixes bug #13617)

svn://svn.gna.org/svn/mypaint/trunk@378

d31df80f704f8684237ac9cb6871e20e50d0845c authored over 15 years ago by Martin Renold <[email protected]>
[mapping] simplify linear interpolation formula

svn://svn.gna.org/svn/mypaint/trunk@376

531a40e59adf9ff2d3b5b61098c336df746a144c authored over 15 years ago by Martin Renold <[email protected]>
Replace assertion on pressure with a CLAMP.

This should fix a crasher when using the "custom pressure curve" setting.
This fixes the symptom,...

583df4974abd36d5e197aa653329587339cc1a23 authored over 15 years ago by Martin Renold <[email protected]>
fix obsolete setting names

svn://svn.gna.org/svn/mypaint/trunk@371

4890020a8a88d07f535859217ca3a2b3828234bf authored over 15 years ago by Martin Renold <[email protected]>
[elliptical dabs] stroke direction filtering, with demo brushes

also, use degrees again, as it is easier to explain

svn://svn.gna.org/svn/mypaint/trunk@368

37fb785b2b3f526d3e17eb9105fb8bf63bf59514 authored over 15 years ago by Martin Renold <[email protected]>
[elliptical dabs] change angle definition from 0-360 to 0.0-1.0

and use "computer graphics" definition of the angle (positive is clockwise)

svn://svn.gna.org/sv...

c7d3511b5123359af76f98ca54a37946f4e5cd1a authored over 15 years ago by Martin Renold <[email protected]>
[brush settings] "filter" is probably better understood than "slowness"

svn://svn.gna.org/svn/mypaint/trunk@361

25491c8c7d6834dbeb294e7bb485192788c2bca5 authored over 15 years ago by Martin Renold <[email protected]>
fixed outdated addresses in COPYING

svn://svn.gna.org/svn/mypaint/trunk@324

74ae397208b8ab09927e88b3fc2bc70962ab8b93 authored over 15 years ago by Martin Renold <[email protected]>
finetuning stroke splitting (for undo) once more

splitting up long strokes faster; chaining short strokes together longer

svn://svn.gna.org/svn/m...

6cba3167b454599a98670e731beda24418bc050f authored over 15 years ago by Martin Renold <[email protected]>
changelog, and fixing some limits

svn://svn.gna.org/svn/mypaint/trunk@307

a75679dbf5371078ad9ce0410d3ba6d3648ca022 authored over 15 years ago by Martin Renold <[email protected]>
dab aspect ratio (experimental)

based on patch by Paul Nasca (bug #13210)
includes some testbrushes

svn://svn.gna.org/svn/mypai...

dfa7eee4f9097c644637e34777e52c3e9661fd4b authored almost 16 years ago by Martin Renold <[email protected]>
rename html --> doc and update references to images in comments

svn://svn.gna.org/svn/mypaint/trunk@304

a9e5ab9fc36fcd906df65096ae671ebf27011da7 authored almost 16 years ago by Martin Renold <[email protected]>
relabel "offset by random" --> "jitter" for consistency with GIMP

svn://svn.gna.org/svn/mypaint/trunk@301

9152329f400b79beca87beedcc733a09018004e5 authored almost 16 years ago by Martin Renold <[email protected]>
add back extreme zoom-out levels

raise brush radius limit from 150 to 5000

svn://svn.gna.org/svn/mypaint/trunk@296

5a454b89beb42d15cd8ba379c643e0561a1179f9 authored almost 16 years ago by Martin Renold <[email protected]>
remove useless (since unfinished) "angle" input

svn://svn.gna.org/svn/mypaint/trunk@269

85c05a7ce9da1e83e2dca94b73fec8c42fc1eabf authored almost 16 years ago by Martin Renold <[email protected]>
made global pressure mapping functional again

svn://svn.gna.org/svn/mypaint/trunk@258

cfebd36514e70808a6f210cc5b8ffbc667964bb2 authored almost 16 years ago by Martin Renold <[email protected]>
fewer assertions on floating point values, more CLAMPing

svn://svn.gna.org/svn/mypaint/trunk@242

89e0df4e8a8b22c38899a0e266aa91e6fb4b21e0 authored almost 16 years ago by Martin Renold <[email protected]>
debugging smudge+, next take

svn://svn.gna.org/svn/mypaint/trunk@238

c245302180b09fc28a132e2865b38bb6f730f37d authored almost 16 years ago by Martin Renold <[email protected]>
fix smudge+ brush crashes (rounding problems due to floating point math)

svn://svn.gna.org/svn/mypaint/trunk@237

10d562136ff2b775fe1ac25e1c9573558fc6165d authored almost 16 years ago by Martin Renold <[email protected]>
more assertions for debugging smudge brush problem

svn://svn.gna.org/svn/mypaint/trunk@236

ba9827b35ca407d2ff7853016fc6a7851ced9556 authored almost 16 years ago by Martin Renold <[email protected]>
decreased idling time required to separate two undoable strokes from 1.5s to 0.9s

svn://svn.gna.org/svn/mypaint/trunk@217

172ea9e3ed92d1f39e5b81893812722f88bf7383 authored about 16 years ago by Martin Renold <[email protected]>
optimization: normal (non-smudge) brushes do not call get_color() any more

svn://svn.gna.org/svn/mypaint/trunk@166

5ecc6d502bbe71d73cdf9309ebb8bde0d9ad1eb4 authored about 16 years ago by Martin Renold <[email protected]>
smudge math reworked

svn://svn.gna.org/svn/mypaint/trunk@165

2be25ee6c6865858ba6cacde9d7b4944bb10be07 authored about 16 years ago by Martin Renold <[email protected]>
use real brush radius for smudge/blur color picking (instead of hardcoded size)

svn://svn.gna.org/svn/mypaint/trunk@163

f027482e8a6d5ea408b3424d0608b9e6674cb74b authored about 16 years ago by Martin Renold <[email protected]>
reimplemented get_color() for the pixel format; smudge/blur works again now

svn://svn.gna.org/svn/mypaint/trunk@158

d00ce86760fc2ace4cef60520f30b079353fbf3d authored about 16 years ago by Martin Renold <[email protected]>
fixed assert() crash when the brush uses color change

svn://svn.gna.org/svn/mypaint/trunk@156

d1193ae90086de2bc9419a5e33b5177f03e19bc5 authored about 16 years ago by Martin Renold <[email protected]>
optimized rand_gauss(); charcoal stroke speedup 7%

svn://svn.gna.org/svn/mypaint/trunk@153

14ced70eb45e4b20eb94679e828b9c60899a0db3 authored about 16 years ago by Martin Renold <[email protected]>
moved rand_gauss back to helpers.hpp, reverted to the implementation (charcoal stroke 3% faster)

and some other minor changes

svn://svn.gna.org/svn/mypaint/trunk@152

71c19fcca581e4bcd85ffa86a5ca4677f3596a05 authored about 16 years ago by Martin Renold <[email protected]>
relicensed brushlib GPL ==> LGPL (all my own work in there)

svn://svn.gna.org/svn/mypaint/trunk@142

a3d8f3fdc2cea52bd7e23f74fa2b55fbbd33505e authored about 16 years ago by Martin Renold <[email protected]>
brushlib splitoff (moved some code from lib into brushlib)

svn://svn.gna.org/svn/mypaint/trunk@141

021ae77e9c36fd1297b55bc4d6edfc00c1a741f6 authored about 16 years ago by Martin Renold <[email protected]>