summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2015-09-01docs: do not include source code in json dumpØyvind Kolås1-0/+1
2015-06-29gegl-imgcmp: main: if images differ, memcpy() right amount of stringRoman Lebedev1-1/+1
If one of tests fail and images are different, we write image difference under a new name. We use very scary looking memcpy() to replace last 4 symbols of filename with "-diff.png", but since sizeof("-diff.png") == 10, we were reading 1 byte past string bound. Fixes AddressSanitiser complaint like: ... PASS apply-lens3.xml (OpenCL) /home/lebedevri/src/_GIMP/gegl/tests/compositions/reference/bump-map.png and /home/lebedevri/src/_GIMP/gegl/tests/compositions/output/bump-map.png differ wrong pixels : 46/150000 (0.03%) max ?e : 0.214 avg ?e (wrong) : 0.111(wrong) 0.000(total) ================================================================= ==29799==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000000402aa0 at pc 0x4020b0 bp 0x7fffa5051640 sp 0x7fffa5051638 READ of size 11 at 0x000000402aa0 thread T0 0 0x4020af in main /home/lebedevri/src/_GIMP/gegl/tools/gegl-imgcmp.c:148 1 0x7fe64b509b44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44) 2 0x40154b (/home/lebedevri/src/_GIMP/gegl/tools/.libs/gegl-imgcmp+0x40154b) 0x000000402aa0 is located 4205152 bytes insideASAN:SIGSEGV ==29799==AddressSanitizer: while reporting a bug found another one.Ignoring. FAIL bump-map.xml ...
2015-06-13tools: add MATH_LIB to AL_LDFLAGSMichael Natterer1-1/+1
2015-06-04gegl-imgcmp: iteratively approaching something that might workØyvind Kolås1-1/+1
2015-06-04gegl-imgcmp: use the right argument as referenceØyvind Kolås1-1/+1
2015-06-01tools/gegl-imcmp: assume pass if no referenceØyvind Kolås1-1/+47
To make the distributed GEGL tarballs smaller, assume the second argument to be the reference image and silently succeed if it doesn't exist.
2015-01-21Allow operations to include their source as class metadataJon Nordby1-0/+33
Allows GEGL applications to show the code, so users can study them or create new operations based on them easily.
2014-12-20tools: Allow passing the max permitted difference to gegl-imgcmpMukund Sivaraman1-4/+22
2014-12-18tools: Minor nitpicking cleanupMukund Sivaraman1-5/+10
2014-07-18tools: Prettify help output from gegl-imgcmpJon Nordby1-3/+3
2014-07-18tools: Rename img_cmp to gegl-imgcmp and installJon Nordby3-3/+4
This exectuable is useful to others using GEGL, for instance in test suites.
2014-07-11tools: remove trace of create-reference.rb from Makefile.amØyvind Kolås1-1/+0
2014-07-11docs: do not use ruby to build api.htmlØyvind Kolås1-589/+0
2014-05-27tools: Return unique error code in img_cmpJon Nordby1-4/+11
2014-05-26operation-reference: simplify json data modelØyvind Kolås1-40/+7
2014-05-25oprefernece: extract more content, add more linksØyvind Kolås1-2/+62
2014-05-25create-reference.rb: do not rely on operations.html existingØyvind Kolås1-6/+8
2014-05-25docs: add javascript+json static/dynamic op browserØyvind Kolås1-0/+19
2014-05-25op-reference: generate a .json dump instead of HTMLØyvind Kolås1-231/+271
2014-01-05tools: img_cmp output the diff image as soon as there is a differenceTéo Mazars1-4/+3
... with the reference image
2013-12-01Add all gegl include paths to AM_CPPFLAGSDaniel Sabo1-3/+9
Necessary to move declarations into their own headers.
2013-11-19Remove unused function in operation_reference.cDaniel Sabo1-0/+2
2013-10-17tests: Run composition tests with and without OpenCLDaniel Sabo3-5/+46
2013-03-30Remove all references to g_thread_init ()Michael Henning3-3/+0
It was deprecated in glib 2.32
2012-11-19tweaks across doc buils systemØyvind Kolås2-5/+15
2012-08-15tools: changed img_cmp to use gegl:image-compareVille Sokk1-152/+75
2012-08-02docs: show example images in operations.html instead of linking to themVille Sokk1-1/+1
2012-08-02add links to example images in operations.html generationVille Sokk1-0/+31
2012-07-17operations.html: force utf-8 charsetMichael Muré1-1/+1
2012-06-04introspect.c: useless fix of a memory leakMichael Muré1-5/+12
2012-05-11docs: Fix broken links to glib/gobject docs.Michael Henning1-10/+10
2012-04-05tools/create-reference.rb: fix utf8 handling for ruby >= 1.9.xØyvind Kolås1-0/+5
A patch from Tim Mooney, fixing bug #673523
2012-03-31tools: fix NULL dereference in op doc generatorØyvind Kolås1-1/+2
2012-03-29operation: massive refactoring of how operation meta data is handledØyvind Kolås1-7/+12
Operations can now hold arbitrary string based key/value pairs, this permits dynamically extending what is stored without needing to break API/ABI, it also means we can encode things like gimp menu paths or similar.
2012-03-21tools/introspect: harden escape() against NULL stringsNils Philippsen1-1/+1
This can happen e.g. if the blurb of a property is NULL.
2012-03-20All makefiles include opencl [except docs]Victor Oliveira1-1/+3
2011-10-01tools/create-reference.rb: Handle GI annotationsJon Nordby1-2/+10
2011-09-05website: some css tweakMichael Muré2-2/+2
2011-09-02operation_reference.c: fix wrong variable typeMichael Muré1-4/+4
2011-09-02operation_reference.c: clamp property values with +-inf if more than 7 ↵Michael Muré1-41/+66
digits for int, display value for float properties
2011-09-01Bug 655280 - Devel docs badly formattedMichael Muré1-5/+9
display +inf or -inf if the default value is more than 7 digits
2011-07-10tools/introspect: fix to use never API properlyØyvind Kolås1-4/+4
2011-05-17operations: Fix set but unused variables which gccØyvind Kolås2-7/+4
Most of these are actually valid warnings, thus in total line count reduction, yay!
2011-04-21tools: Fix typoMartin Nordholts1-1/+1
2011-01-13tools/gobj2dot.rb: catch encoding errorsØyvind Kolås1-8/+12
Handle errors due to invalid utf8 gracefully. Fixes a build error originally spotted by Joel Parker Henderson.
2010-11-24Use #!/usr/bin/env ruby instead of #!/usr/bin/rubyMichael Schumacher1-1/+1
2010-10-03tools: PKG_CHECK_MODULES sets EXIV2_CFLAGS, not _CXXFLAGSMartin Nordholts1-1/+1
PKG_CHECK_MODULES sets EXIV2_CFLAGS, not _CXXFLAGS, so set the former in exp_combine_CXXFLAGS.
2010-08-11Added exposure combiner, and support tool, for HDRDanny Robson3-0/+183
The exp-combine operation takes n input pads named 'exposure-%u'. They are used to estimate the camera response function, and rebuild a representative high range image. The exp_combine tool takes an output, and a series of input and EV exposure pairs. It uses the exp-combine operator to produce a high range output. This tool has a dependency to libexiv2, for which checks have been added to configure. A regression test is also included, wrapped in a shell script. If libexiv2 is not present, the test will be skipped (and not fail). NOTE: make check fails on some platforms, we need to fix this somehow. Maybe add relative error tolerance in img_cmp?
2010-08-11tools: #define P2() at the top and call it SQR() instead in img_cmpMartin Nordholts1-10/+10
2010-08-08tools: Us g_printerr() for img_cmp errorsMartin Nordholts1-16/+16