gimp/app/operations
Ell 993bbd354e Issue #1682 - Segfault when starting GIMP, due to empty data files
Use gimp_input_data_stream_read_line_always(), instead of
g_input_data_stream_read_line(), in a bunch of places that don't
expect EOF.  If we don't do that, the code assumes the GError
parameter is set by the function and returns an error indication,
causing the caller to segfault when it tries to access
error->message.  Instead, we now process an empty line when EOF is
reached, which is caught by the normal parsing logic.

Additionally:

  - Use gimp_ascii_strto[id]() when loading gradients, generated
    brushes, and palettes, to improve error checking for invalid
    numeric input.

  - Improve gradient-segment endpoint consistency check.

  - Allow loading palette files with 0 colors.  They can be created
    during the session, so we might as well successfully load them.
2018-06-20 15:13:05 -04:00
..
layer-modes Issue #1490 - Crash when flattening an XCF file 2018-05-25 20:34:46 -04:00
layer-modes-legacy app: in legacy layer modes, clamp after blending, not compositing 2018-01-04 13:33:57 -05:00
tests app, plug-ins, libgimp*: clean out all remaining trailing spaces/tabs. 2016-06-02 02:04:26 +02:00
.gitignore enums: add intermediate generated enum files to .gitignore 2017-08-24 15:35:27 -04:00
Makefile.am Bug 795230 - Rename Blend tool and provide PDB compatibility 2018-04-13 23:36:16 +02:00
gimp-operation-config.c app: change some gimp-operation-config.[ch] parameters to GObject 2017-07-09 19:20:55 +02:00
gimp-operation-config.h app: change some gimp-operation-config.[ch] parameters to GObject 2017-07-09 19:20:55 +02:00
gimp-operations.c Bug 795230 - Rename Blend tool and provide PDB compatibility 2018-04-13 23:36:16 +02:00
gimp-operations.h Bug 780015 - Filter settings are not properly restored after Gimp restart 2017-03-24 01:29:50 +01:00
gimpbrightnesscontrastconfig.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpbrightnesscontrastconfig.h app: rename GimpImageMapConfig to GimpSettings 2013-05-25 15:26:18 +02:00
gimpcageconfig.c Source and trivial typos 2018-05-12 23:44:47 +02:00
gimpcageconfig.h app: rename GimpImageMapConfig to GimpSettings 2013-05-25 15:26:18 +02:00
gimpcolorbalanceconfig.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpcolorbalanceconfig.h app: rename GimpImageMapConfig to GimpSettings 2013-05-25 15:26:18 +02:00
gimpcurvesconfig.c Issue #1682 - Segfault when starting GIMP, due to empty data files 2018-06-20 15:13:05 -04:00
gimpcurvesconfig.h Bug 757444 - Curves and Levels should operate by default on linear RGB... 2018-01-05 22:37:18 +01:00
gimphuesaturationconfig.c libgimpbase: rename enum GimpHueRange's values 2017-01-09 02:45:16 +01:00
gimphuesaturationconfig.h app: rename GimpImageMapConfig to GimpSettings 2013-05-25 15:26:18 +02:00
gimplevelsconfig.c Issue #1682 - Segfault when starting GIMP, due to empty data files 2018-06-20 15:13:05 -04:00
gimplevelsconfig.h Bug 757444 - Curves and Levels should operate by default on linear RGB... 2018-01-05 22:37:18 +01:00
gimpoperationborder.c Bug 794996 - Misc. typo fixes in comments in app/ 2018-04-08 21:25:56 +02:00
gimpoperationborder.h
gimpoperationbrightnesscontrast.c Bug 792470 - Some filters e.g. "Levels" are not added to "Repeat last" history 2018-01-14 15:42:29 +01:00
gimpoperationbrightnesscontrast.h
gimpoperationbuffersourcevalidate.c app: small fix to gimp_operation_buffer_source_validate_process() 2018-03-26 19:15:20 -04:00
gimpoperationbuffersourcevalidate.h app: add gimp:buffer-source-validate operation 2017-12-04 16:02:41 -05:00
gimpoperationcagecoefcalc.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpoperationcagecoefcalc.h
gimpoperationcagetransform.c app: in GimpOperationCageTransform, use sampler object ... 2018-05-13 19:40:46 -04:00
gimpoperationcagetransform.h Bug 678085 - Cage tool freezes GIMP 2016-02-02 12:21:15 +01:00
gimpoperationcolorbalance.c app: restore color balance's tooltip 2017-06-05 13:16:59 +02:00
gimpoperationcolorbalance.h
gimpoperationcolorize.c app: remove GimpColorizeConfig, merge its props into GimpOperationColorize 2017-09-05 21:26:59 +02:00
gimpoperationcolorize.h app: remove GimpColorizeConfig, merge its props into GimpOperationColorize 2017-09-05 21:26:59 +02:00
gimpoperationcomposecrop.c app: misc performance improvements to GimpOperationComposeCrop 2017-12-26 09:19:46 -05:00
gimpoperationcomposecrop.h app: misc performance improvements to GimpOperationComposeCrop 2017-12-26 09:19:46 -05:00
gimpoperationcurves.c Bug 792470 - Some filters e.g. "Levels" are not added to "Repeat last" history 2018-01-14 15:42:29 +01:00
gimpoperationcurves.h
gimpoperationdesaturate.c Bug 780065 - Change default way to desaturate to Luminance 2017-03-17 17:16:03 -04:00
gimpoperationdesaturate.h app: turn the desaturate tool into a normal GEGL filter 2016-01-16 22:38:12 +01:00
gimpoperationequalize.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpoperationequalize.h Bug 742623: Equalize operation fills buffer with nan values in floating point precision 2015-02-10 12:08:04 +01:00
gimpoperationflood.c Bug 795557 - Misc. typo fixes in source, comments and doxygen (pt3) 2018-04-25 23:49:06 +02:00
gimpoperationflood.h app: Add "gimp:flood" GEGL operation 2016-01-25 22:58:24 +01:00
gimpoperationgradient.c app: in GimpOperationGradient, use sampler for reading the distance buffer 2018-05-25 12:20:48 -04:00
gimpoperationgradient.h app: in GimpOperationGradient, move cache generation back to process() 2018-04-25 14:05:19 -04:00
gimpoperationgrow.c Bug 795557 - Misc. typo fixes in source, comments and doxygen (pt3) 2018-04-25 23:49:06 +02:00
gimpoperationgrow.h
gimpoperationhistogramsink.c app: heed deprectation warning of gegl_operation_context_get_source 2017-11-21 20:21:25 +01:00
gimpoperationhistogramsink.h
gimpoperationhuesaturation.c app: replace the hue-saturation tool by a generic filter action 2017-06-05 18:35:05 +02:00
gimpoperationhuesaturation.h
gimpoperationlevels.c Bug 792470 - Some filters e.g. "Levels" are not added to "Repeat last" history 2018-01-14 15:42:29 +01:00
gimpoperationlevels.h
gimpoperationmaskcomponents.c app: rename mask enum values GIMP_COMPONENT_RED,GREEN,BLUE etc. 2015-09-07 00:35:02 +02:00
gimpoperationmaskcomponents.h
gimpoperationpointfilter.c Bug 757444 - Curves and Levels should operate by default on linear RGB... 2018-01-05 22:37:18 +01:00
gimpoperationpointfilter.h Bug 757444 - Curves and Levels should operate by default on linear RGB... 2018-01-05 22:37:18 +01:00
gimpoperationposterize.c app: use the new GIMP_CONFIG_PROP_FOO() 2016-02-10 01:38:08 +01:00
gimpoperationposterize.h app: turn the posterize tool into an ordinary GEGL filter 2016-01-16 21:41:00 +01:00
gimpoperationprofiletransform.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpoperationprofiletransform.h app: cleanup in GimpOperationProfileTransform 2016-11-06 21:08:10 +01:00
gimpoperationscalarmultiply.c app: add GimpOperationScalarMultiply 2014-11-07 00:42:58 +01:00
gimpoperationscalarmultiply.h app: fix parent_class type of GimpOperationScalarMultiplyClass 2017-06-30 16:24:49 -04:00
gimpoperationsemiflatten.c app: fix some oprtation descriptions and make them translatable 2013-05-20 16:42:26 +02:00
gimpoperationsemiflatten.h
gimpoperationsetalpha.c app: fix the (unused) "mask and value" case in GimpOperationSetAlpha 2012-06-11 12:41:32 +02:00
gimpoperationsetalpha.h
gimpoperationshrink.c Bug 795557 - Misc. typo fixes in source, comments and doxygen (pt3) 2018-04-25 23:49:06 +02:00
gimpoperationshrink.h
gimpoperationthreshold.c Bug 792470 - Some filters e.g. "Levels" are not added to "Repeat last" history 2018-01-14 15:42:29 +01:00
gimpoperationthreshold.h app, pdb, libgimp: allow to choose the channel when thresholding 2016-11-01 22:45:37 +01:00
gimpoperationthresholdalpha.c app: fix some oprtation descriptions and make them translatable 2013-05-20 16:42:26 +02:00
gimpoperationthresholdalpha.h
operations-enums.c app, pdb, libgimp, plug-ins, menus: rename layer composite modes 2018-03-14 16:19:09 -04:00
operations-enums.h app: add gimp_layer_mode_is_alpha_only() 2018-05-07 16:53:29 -04:00
operations-types.h app: layer mode code shuffling 2017-08-17 11:19:37 -04:00