1. 20 Jul, 2003 2 commits
  2. 19 Jul, 2003 4 commits
    • Michael Natterer's avatar
      added style properties "tab_border" and "tab_icon_size" just as they exist · 5acf3f0c
      Michael Natterer authored
      2003-07-19  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolornotebook.c: added style properties
      	"tab_border" and "tab_icon_size" just as they exist for
      	GimpDockbook. Factored page creation out to the new
      	gimp_color_notebook_add_page() utility function.  Added fancy menu
      	items for the popup menu and translate them.
      
      	* etc/gtkrc_user
      	* themes/Default/gtkrc: use the same tab style for GimpDockbooks
      	and GimpColorNotebooks.
      5acf3f0c
    • Dave Neary's avatar
      Fixed a mistake in the code which does a pattern clone. Closes bug · cfbde0f3
      Dave Neary authored
      
      
      2003-07-19  Dave Neary  <bolsh@gimp.org>
      
      	* app/paint/gimpclone.c: Fixed a mistake in the code which does
      	a pattern clone. Closes bug #117433.
      
      	* app/widgets/gimpbrushfactoryview.c: Added a tooltip for the
      	Spacing slider.
      cfbde0f3
    • Danilo Šegan's avatar
      Updated Serbian translation by Serbian team (Prevod.org). · 7b56d5ef
      Danilo Šegan authored
      2003-07-19  Danilo Šegan  <dsegan@gmx.net>
      
      	* sr.po, sr@Latn.po: Updated Serbian translation by Serbian team
      	(Prevod.org).
      7b56d5ef
    • Sven Neumann's avatar
      save some space by showing the stock_id instead of the colorselector's · 30c946af
      Sven Neumann authored
      2003-07-19  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolornotebook.c: save some space by showing
      	the stock_id instead of the colorselector's name.
      
      	* libgimpwidgets/gimpcolorselect.c
      	* modules/colorsel_cmyk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: removed now unused mnemonics.
      
      	* app/widgets/gimpcoloreditor.c: no need to strip mnemonics from
      	the name here any longer.
      30c946af
  3. 18 Jul, 2003 4 commits
    • Miloslav Trmac's avatar
      Update Czech translation · 6df61084
      Miloslav Trmac authored
      6df61084
    • Sven Neumann's avatar
      show CMYK color values. · 31319232
      Sven Neumann authored
      2003-07-18  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/info-window.c: show CMYK color values.
      
      	* app/tools/gimpcolorpickertool.c: reduced code duplication.
      31319232
    • Michael Natterer's avatar
      made generated output compile again and cleaned it up a bit. · 73af860f
      Michael Natterer authored
      2003-07-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/composite/make-gimp-composite-dispatch.py: made generated
      	output compile again and cleaned it up a bit.
      
      	* app/composite/gimp-composite-dispatch.c: regenerated.
      
      	* app/paint-funcs/paint-funcs.c (combine_sub_region): don't use
      	tabs please.
      73af860f
    • Helvetix Victorinox's avatar
      app/composite/gimp-composite.[ch], · 9e3bd947
      Helvetix Victorinox authored
      * app/composite/gimp-composite.[ch],
      * app/composite/make-gimp-composite-dispatch.py
      stubbed out the 32bit-per-channel pixel formats.
      
      * app/composite/gimp-composite-sse.[ch],
      * app/composite/Makefile.am
      Broke-out and added the SSE versions of the MMX code.
      
      * app/composite/gimp-composite.[ch],
      * app/paint-funcs/paint-funcs.c,
      * app/composite/make-gimp-composite-dispatch.py
      Use of the new gimp_composite code is now turned on via the
      environment variable GIMP_COMPOSITE with a non-zero value.  For
      example:
      % GIMP_COMPOSITE=1 gimp-1.3
      9e3bd947
  4. 17 Jul, 2003 5 commits
    • Michael Natterer's avatar
      app/config/gimprc-blurbs.h added separate properties for the fullscreen · bc77f1e3
      Michael Natterer authored
      2003-07-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimprc-blurbs.h
      	* app/config/gimpdisplayconfig.[ch]: added separate properties for
      	the fullscreen appearance of the display (menubar, rulers,
      	scrollbars, statusbar and padding). Default to everything
      	invisible and black padding.
      
      	* app/display/gimpdisplayshell.[ch]: renamed struct
      	GimpDisplayShellVisibility to GimpDisplayShellAppearance and added
      	the canvas padding stuff.
      
      	* app/display/gimpdisplayshell-appearance.[ch]: made
      	gimp_display_shell_set_padding() fullscreen-aware. Added
      	gimp_display_shell_get_padding().
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/gui/image-menu.c: changed addordingly.
      
      	* app/gui/preferences-dialog.c: added the new options and moved
      	the display appearance stuff to its own page. Minor cleanups.
      bc77f1e3
    • Sven Neumann's avatar
      app/vectors/Makefile.am added a simple GimpAnchor API. · 7c4d375a
      Sven Neumann authored
      2003-07-17  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/Makefile.am
      	* app/vectors/gimpanchor.[ch]: added a simple GimpAnchor API.
      
      	* app/vectors/gimpbezierstroke.c
      	* app/vectors/gimpstroke.c: use the new functions.
      7c4d375a
    • Jakub Steiner's avatar
      added mnemonics for plugins · 517cd365
      Jakub Steiner authored
      2003-07-17  Jakub Steiner <jimmac@ximian.com>
      
      * plug-ins/common/*.c: added mnemonics for plugins
      517cd365
    • Michael Natterer's avatar
      added "gboolean allow_percent" to gimp_param_spec_unit() and to the · 486aed8e
      Michael Natterer authored
      2003-07-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-params.[ch]: added "gboolean allow_percent"
      	to gimp_param_spec_unit() and to the GIMP_CONFIG_INSTALL_PROP_UNIT()
      	macro. Changed value validation accordingly.
      
      	* app/config/gimpconfig-types.c (string_to_unit): parse "percent"
      	correctly.
      
      	* app/widgets/gimppropwidgets.c (gimp_prop_unit_menu_new): show
      	the "Percent" menu entry if the param_spec allows percent.
      
      	* app/config/gimpcoreconfig.c
      	* app/core/gimpgrid.c
      	* app/core/gimptemplate.c
      	* app/text/gimptext.c: pass FALSE to disallow percent.
      
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpselectionoptions.c: pass TRUE. Brings back the
      	percent feature for fade_length, gradient_length and fixed_size
      	rect/ellipse select.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c: don't call the the reset()
      	functions from the GUI constructors (and reset the options just
      	deserialized from disk). Instead, added set_defaults() functions
      	which do everything the old reset() functions did (except
      	upchaining) and call set_defaults() from reset() and from the GUI
      	constructors.
      486aed8e
    • Michael Natterer's avatar
      disconnect the GimpDeviceInfo::changed() signal handlers when the dialog · 03bc1fd4
      Michael Natterer authored
      2003-07-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdevicestatus.c (gimp_device_status_init):
      	disconnect the GimpDeviceInfo::changed() signal handlers when
      	the dialog goes away. Fixes bug #117609.
      03bc1fd4
  5. 16 Jul, 2003 7 commits
    • Sven Neumann's avatar
      updated · f6d87e7f
      Sven Neumann authored
      f6d87e7f
    • Michael Natterer's avatar
      invert the matrix for direction == GIMP_TRANSFORM_BACKWARD. Fixes · db2b23f1
      Michael Natterer authored
      2003-07-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/vectors/gimpvectors.c (gimp_vectors_transform): invert the
      	matrix for direction == GIMP_TRANSFORM_BACKWARD. Fixes corrective
      	transformation of paths.
      db2b23f1
    • Michael Natterer's avatar
      add a small EPSILON to the brush coordinates before rounding them (fixes · 30e041cd
      Michael Natterer authored
      2003-07-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppainttool.c (gimp_paint_tool_draw): add a small
      	EPSILON to the brush coordinates before rounding them (fixes
      	off-by-one floating point rounding fnord for "hard edge" painting
      	where e.g. (5.0 - (3.0 / 2.0)) was rounded to 3.0 instead of 4.0).
      
      	* app/tools/gimpdrawtool.c (gimp_draw_tool_draw_boundary): use
      	RINT() instead of floor() to round the transformed boundary to
      	GdkSegments.
      30e041cd
    • Michael Natterer's avatar
      implemented transforming of paths. Cleaned up initialize() and · 30934d23
      Michael Natterer authored
      2003-07-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptransformtool.[ch]: implemented transforming of
      	paths. Cleaned up initialize() and button_press() to activate the
      	tool correctly. Use the transform tool's CREATING state *only*
      	before the first mouse click (when there is no grid displayed).
      	Preview the active path while transforming. Cache the transform
      	direction in the GimpTransformTool struct so we can switch it
      	while previewing the path. Lots of path transform related changes
      	and cleanup.
      30934d23
    • Sven Neumann's avatar
      don't draw the grid when the bounding box becomes concave. · 10eee1e7
      Sven Neumann authored
      2003-07-16  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformtool.c (gimp_transform_tool_draw): don't
      	draw the grid when the bounding box becomes concave.
      10eee1e7
    • Jakub Steiner's avatar
      add PAL and NTSC templates · b61a70c5
      Jakub Steiner authored
      2003-07-15  Jakub Steiner <jimmac@ximian.com>
      
      * etc/templaterc: add PAL and NTSC templates
      b61a70c5
    • Michael Natterer's avatar
      added utility function gimp_paint_options_get_fade() which calculates an · 8224476a
      Michael Natterer authored
      2003-07-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintoptions.[ch]: added utility function
      	gimp_paint_options_get_fade() which calculates an opacity
      	value from paint_core->pixel_dist.
      
      	* app/paint/gimppaintbrush.c: removed the same code here and use
      	gimp_paint_options_get_fade().
      
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimpsmudge.c: enabled fade for all paint tools, along
      	with a general opacity cleanup:
      
      	Use the opacity from gimp_context_get_opacity() *only* for the
      	image_opacity. In particular, *never* use it as initial value for
      	calculating the brush_opacity. Instead, start calculating the
      	brush_opacity from gimp_paint_options_get_fade() and return early
      	if it returns 0.0, if not, multiply tool specific opacity sources
      	like the current pressure.
      
      	(This changes the effect of the paint tools for particular opacity
      	values, but makes the impact of opacity on the final rendering
      	linear and more intuitive)
      
      	* app/tools/gimppaintoptions-gui.c: enabled the "Fade" frame for
      	the tools above.
      
      	* app/paint/gimppaintcore.c: purely cosmetic cleanup.
      8224476a
  6. 15 Jul, 2003 11 commits
    • Miloslav Trmac's avatar
      Update Czech translation · d4304023
      Miloslav Trmac authored
      d4304023
    • Sven Neumann's avatar
      2496fa62
    • Sven Neumann's avatar
      app/gui/preferences-dialog.c (prefs_dialog_new) use a large font instead · e4e45e90
      Sven Neumann authored
      2003-07-15  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new)
      	* app/widgets/gimpviewabledialog.c (gimp_viewable_dialog_new):
      	use a large font instead of extra-large.
      e4e45e90
    • Sven Neumann's avatar
      shut up CVS · fd4bb0c9
      Sven Neumann authored
      fd4bb0c9
    • Helvetix Victorinox's avatar
      app/composite/gimp-composite-dispatch.c: added to cvs AGAIN. · 707365f7
      Helvetix Victorinox authored
      app/composite/test-composite.c: by default check each
      compositing function 1 time, with a 500001 pixel array.
      707365f7
    • Helvetix Victorinox's avatar
      app/composite/gimp-composite-generic.h: Use · f5e839a3
      Helvetix Victorinox authored
      GimpCompositeFunction as the type for all compositing functions.
      
      app/composite/Makefile.am: gimp-composite.c is no longer
      dependant upon gimp-composite-dispatch.c
      
      app/composite/gimp-composite-dispatch.[ch]
      app/composite/make-gimp-composite-dispatch.py: Fixed type
      mismatches.
      
      app/composite/test-composite.c: Fixed bit-rot in not keeping up
      with the changes in the surrounding .h files.
      
      app/composite/gimp-composite-mmx.c: Incipient cleanup in marking
      some asm constructs as volatile.
      f5e839a3
    • Michael Natterer's avatar
      took the fade options out of GimpGradientOptions and added them to the new · 562865a0
      Michael Natterer authored
      2003-07-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintoptions.[ch]: took the fade options out of
      	GimpGradientOptions and added them to the new GimpFadeOptions
      	struct. Added a GObject::finalize() implementation.
      
      	* app/paint/gimppaintbrush.[ch]: changed accordingly. Made
      	gimp_paintbrush_motion() a protected function and renamed it to
      	_gimp_paintbrush_motion() added a "gdouble opacity" parameter so
      	an initial brush opacity can be passed in by subclasses.
      
      	* app/paint/gimpairbrush.[ch]: derive it from GimpPaintbrush so it
      	gets all its rendering features. Removed own rendering code and
      	use _gimp_paintbrush_motion(), passing airbrush_options->pressure
      	as initial opacity. Removed all static variables.
      
      	* app/tools/gimpairbrushtool.[ch]
      	* app/tools/gimppenciltool.[ch]: derive them from GimpPaintbrushTool.
      
      	* app/tools/gimppaintoptions-gui.c: changed accordingly. Added the
      	full paintbrush options overkill to the airbrush GUI. Cleanup.
      
      	* app/tools/gimperasertool.c: forgot to remove the "Hard Edge"
      	toggle here.
      562865a0
    • Sven Neumann's avatar
      use the new CMYK->RGB conversion routine to handle CMYK in PSD files. · b64dfbee
      Sven Neumann authored
      2003-07-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/psd.c: use the new CMYK->RGB conversion routine to
      	handle CMYK in PSD files.
      b64dfbee
    • Sven Neumann's avatar
      applied GIMP coding style. UTF8-validate the image description before · 28bbeb4d
      Sven Neumann authored
      2003-07-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/tiff.c: applied GIMP coding style. UTF8-validate
      	the image description before accepting it as a comment. Check for
      	ASCII-only comment before saving it as an image description.
      28bbeb4d
    • Sven Neumann's avatar
      use a range from 0 to 100 for CMYK values. · cc3b1b1e
      Sven Neumann authored
      2003-07-15  Sven Neumann  <sven@gimp.org>
      
      	* modules/colorsel_cmyk.c: use a range from 0 to 100 for CMYK values.
      cc3b1b1e
    • Sven Neumann's avatar
      include <libgimpcolor/gimpcmyk.h>. · 2a72abfd
      Sven Neumann authored
      2003-07-15  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimpcolor.h: include <libgimpcolor/gimpcmyk.h>.
      
      	* modules/Makefile.am
      	* modules/colorsel_cmyk.c: added a simple CMYK color selector.
      2a72abfd
  7. 14 Jul, 2003 7 commits
    • Michael Natterer's avatar
      fixed pattern depth check to allow RGBA patterns again. Removed trailing · 9c7ff983
      Michael Natterer authored
      2003-07-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppattern.c (gimp_pattern_load): fixed pattern depth
      	check to allow RGBA patterns again. Removed trailing whitespace.
      9c7ff983
    • Sven Neumann's avatar
      libgimpcolor/Makefile.am libgimpcolor/makefile.msc new files that define a · f357b2cd
      Sven Neumann authored
      2003-07-14  Sven Neumann  <sven@gimp.org>
      
              * libgimpcolor/Makefile.am
              * libgimpcolor/makefile.msc
              * libgimpcolor/gimpcmyk.[ch]: new files that define a GimpCMYK
              structure similar to GimpRGB.
      
              * libgimpcolor/gimpcolortypes.h: added the GimpCMYK typedef.
      
              * libgimpcolor/gimpcolorspace.[ch]: added conversions between RGB
              and CMYK. This implementation is the naive approach without any
              color calibration whatsoever.
      
              * libgimpcolor/gimphsv.[ch]
              * libgimpcolor/gimprgb.[ch]: purely cosmetic changes.
      f357b2cd
    • Michael Natterer's avatar
      added app/paint/gimppencil.c again. · 68c0a8d6
      Michael Natterer authored
      2003-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: added app/paint/gimppencil.c again.
      68c0a8d6
    • Michael Natterer's avatar
      Argh... · 070fafb5
      Michael Natterer authored
      2003-07-14  Michael Natterer  <mitch@gimp.org>
      
      	Argh...
      
      	* app/paint/Makefile.am
      	* app/paint/gimppencil.[ch]: added it again as GimpPaintbrush
      	subclass and override nothing but the user visible undo name and
      	the paint_options type.
      
      	* app/paint/paint.c
      	* app/tools/tool_manager.c
      	* app/tools/gimppenciltool.c
      	* tools/pdbgen/pdb/paint_tools.pdb: reverted my last changes.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      070fafb5
    • Michael Natterer's avatar
      oops, forgot this one... · 4a30a71c
      Michael Natterer authored
      4a30a71c
    • Sven Neumann's avatar
      updates · 5f62f63c
      Sven Neumann authored
      5f62f63c
    • Michael Natterer's avatar
      app/paint/Makefile.am removed. · e1e943b9
      Michael Natterer authored
      2003-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/Makefile.am
      	* app/paint/gimppencil.[ch]: removed.
      
      	* app/paint/gimppenciloptions.[ch]: new files. Does nothing except
      	setting the default value of "hard" to TRUE.
      
      	* app/paint/paint.c
      	* app/tools/tool_manager.c: changed accordingly.
      
      	* app/tools/gimppenciltool.c
      	* tools/pdbgen/pdb/paint_tools.pdb: use the pintbrush core for
      	pencil drawing.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* app/tools/gimppaintoptions-gui.c: show all paintbrush options
      	except "Hardness" for the pencil tool.
      e1e943b9