gimp/tools
Michael Natterer 9dd373d86e Bug 620604 - Description of "histogram" procedure is slightly inaccurate
Fix totally broken value ranges of integer PDB parameters. Magically,
the bug was affecting only exactly the two cases mentioned in above
bug report.

* tools/pdbgen/pdb.pl (arg_parse): return <, <=, > and >= literally
  instead of applying a mapping that was originally meant for
  generated C code that would e.g. transform "0 <= int32 < 10" into
  "if (value < 0 || value >= 10) fail". This inversion of all
  operators is now wrong because PDB parameters have been turned into
  GParamSpecs which always need inclusive ranges as min and max
  values.

* tools/pdbgen/pdbgen.pl (arrayexpand): generated array length type
  specs must be "0 <= int32", not "0 < int32".

* tools/pdbgen/app.pl: when generating integer param specs, check if
  the value range is specified in terms of < instead of <=, and
  add/subtract 1, resuting in the inclusive range needed for integer
  GParamSpecs.

* app/pdb/color-cmds.c: regenerated, fixing the two broken ranges
  mentioned in the bug report.
2010-06-05 19:26:06 +02:00
..
pdbgen Bug 620604 - Description of "histogram" procedure is slightly inaccurate 2010-06-05 19:26:06 +02:00
.gitignore Adding Microsoft Windows executables to the .gitignore files 2009-06-19 00:14:17 +02:00
Makefile.am app/Makefile.am change 2.6 to 2.7 here too. 2008-10-09 08:28:39 +00:00
defcheck.py Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimp-mkenums use NC_() to mark enum values for translation. Use a lower-case short form 2008-11-06 08:28:28 +00:00
gimp-remote-x11.c Bug 600303 - gimp-remote not ready for GSEAL_ENABLE 2009-11-03 09:08:47 +01:00
gimp-remote.c Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimp-remote.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimppath2svg.py Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimptool.c tools: fix typo in help text: libgumpui -> libgimpui 2010-01-01 18:48:20 +01:00
kernelgen.c Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
module-dependencies.py tools: Add tool to construct a dependency graph between modules 2010-01-04 17:03:19 +01:00
test-clipboard.c Bug 578630 - File Creation Permission Bug Only for Some File Types: Creating as 644 (rw-r--r--) when should be 664 (rw-rw-r--) 2009-06-15 19:28:06 +02:00