1. 28 Sep, 2003 7 commits
    • Jan Morén's avatar
      Updated Swedish translation. · 6f8fd54f
      Jan Morén authored
      2003-09-28  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      6f8fd54f
    • Simon Budig's avatar
      Fabian Franz <debian@fabian-franz.de> · 7cc6ed6d
      Simon Budig authored
      2003-09-28  Simon Budig  <simon@gimp.org>
                  Fabian Franz  <debian@fabian-franz.de>
      
      	Ok, this time for real...   :-)
      
      	* plug-ins/common/animoptimize.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/common/smooth_palette.c
      	* plug-ins/common/tile.c: Fixed Undo issues. Plugins creating
      	new images should create an empty undo history. Sprinkeling
      	gimp_image_enable_undo() at the end of the plugins operations
      	does the trick. It makes sense to do this *before* you add
      	a display to the image, otherwise the UI gets out of sync.
      7cc6ed6d
    • Simon Budig's avatar
      Oops, forgot to add my name to the file-header. · 07bfd081
      Simon Budig authored
      2003-09-28  Simon Budig  <simon@gimp.org>
      
      	* app/widgets/gimppreviewrenderervectors.c: Oops, forgot to
      	add my name to the file-header.
      07bfd081
    • Simon Budig's avatar
      "The last of the Oldenburg commits" · 7c3b4559
      Simon Budig authored
      2003-09-28  Simon Budig  <simon@gimp.org>
      
      	"The last of the Oldenburg commits"
      
      	Thanks to the team of the Oldenburg Linux Developers Meeting 2003
      	for providing a nice hacking environment.
      
      	* app/vectors/gimpvectors.c: Add a default stock_id.
      
      	* app/widgets/gimppreviewrenderervectors.[ch]: New Widget
      	to render the preview of vectors. Just renders a stock item
      	now, since I was unable to figure out how to properly draw
      	in the GtkWidget.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h: Changed accordingly.
      
      	* app/widgets/gimppreviewrenderer-utils.c: Use the new widget.
      
      	* app/core/gimpscanconvert.c
      	* app/core/gimpdrawable-stroke.c: Use higher prescision for
      	libart-stroking vectors. Reduces artefacts.
      
      	* app/pdb/paths_cmds.c
      	* libgimp/gimppaths_pdb.c: Regenerated after Tors changes.
      7c3b4559
    • Tor Lillqvist's avatar
      Fix some documentation strings. · 9bbb61d9
      Tor Lillqvist authored
      2003-09-28  Tor Lillqvist  <tml@iki.fi>
      
      	* tools/pdbgen/pdb/paths.pdb: Fix some documentation strings.
      9bbb61d9
    • Duarte Loreto's avatar
      Updated Portuguese translation. · e4060d21
      Duarte Loreto authored
      2003-09-28  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Updated Portuguese translation.
      e4060d21
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 50f76fd3
      Duarte Loreto authored
      2003-09-27  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Updated Portuguese translation.
      50f76fd3
  2. 27 Sep, 2003 21 commits
    • Sven Neumann's avatar
      use the GIMP_COORDINATES_CHAINBUTTON() macro instead of trying to get it · 8e613a45
      Sven Neumann authored
      2003-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/resolution-calibrate-dialog.c (resolution_calibrate_ok):
      	use the GIMP_COORDINATES_CHAINBUTTON() macro instead of trying to
      	get it using a hardcoded and misspelled identifier.
      8e613a45
    • David Odin's avatar
      Removed tabs and trailing whitespaces. · e6cd5255
      David Odin authored
      e6cd5255
    • Michael Natterer's avatar
      use a much simpler and shorter method of determining how to transform the · 079101d6
      Michael Natterer authored
      2003-09-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c (gimp_image_transform_temp_buf): use a much
      	simpler and shorter method of determining how to transform the
      	TempBuf.
      079101d6
    • Michael Natterer's avatar
      some more small cleanups. · 8060800b
      Michael Natterer authored
      2003-09-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-bucket-fill.c
      	(gimp_drawable_bucket_fill_full): some more small cleanups.
      8060800b
    • David Odin's avatar
      added documentation and fixed small typos. · 6ff421a9
      David Odin authored
      6ff421a9
    • Michael Natterer's avatar
      set the transformed color's alpha to OPAQUE so it works with · f5b98a48
      Michael Natterer authored
      2003-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-bucket-fill.c
      	(gimp_drawable_bucket_fill_full): set the transformed color's
      	alpha to OPAQUE so it works with color_region().
      
      	* app/core/gimpdrawable-stroke.c (gimp_drawable_stroke_vectors):
      	no need to transform the color into a newly allocated array,
      	simply use guchar[MAX_CHANNELS] instead.
      
      	Cleaned up both functions to use RED_PIX, GREEN_PIX and BLUE_PIX
      	instead of 0, 1 and 2.
      f5b98a48
    • Michael Natterer's avatar
      added new functions color_region_mask() which works like color_region() · ab34b3ee
      Michael Natterer authored
      2003-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs.[ch]: added new functions
      	color_region_mask() which works like color_region() but takes an
      	additional maskPR parameters and pattern_region() which fills
      	destPR with a TempBuf of *matching color depth*.
      
      	* app/paint-funcs/paint-funcs-generic.h: added corresponding
      	color_pixels_mask() and pattern_pixels().
      
      	* app/core/gimpimage.[ch] (gimp_image_transform_temp_buf): new
      	function which transforms a TempBuf to a specified drawable's
      	color space.
      
      	* app/core/gimpdrawable-bucket-fill.c: the functions were factored
      	out here. Removed them and use the new stuff.
      
      	* app/core/core-enums.[ch]: added enum GimpStrokeStyle which can
      	be one of { SOLID, PATTERN }.
      
      	* app/core/gimpstrokeoptions.[ch]: added "GimpStrokeStyle style"
      	property, cleanup.
      
      	* app/core/gimpdrawable-stroke.c: honor the new "style" property
      	and call the new color_region_mask() and pattern_region()
      	functions accordingly, cleanup.
      
      	* app/widgets/gimpstrokeeditor.c: added a GUI for the stroke
      	style. Ugly but works.
      
      	* app/gui/stroke-dialog.c: undefine "foreground" and "pattern" and
      	set the user context as parent context so we get these properties
      	from the global settings.
      ab34b3ee
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · fcb29af7
      Sven Neumann authored
      2003-09-27  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-cap-[butt|round|square]-16.png
      	* themes/Default/images/stock-join-[miter|round|bevel]-16.png:
      	added placeholders for GimpCapStyle and GimpJoinStyle icons.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      
      	* app/widgets/gimpstrokeeditor.c: made "options" a construct-only
      	property of the editor and create the widgets in a constructor
      	method. Use stock boxes with the new icons.
      
      	* app/gui/stroke-dialog.c (stroke_dialog_new): let the Cancel
      	button destroy the dialog instead of itself.
      fcb29af7
    • Christian Neumair's avatar
      Updated German translation. · fb5b3834
      Christian Neumair authored
      fb5b3834
    • Simon Budig's avatar
      changed the API of gimp_drawable_stroke_vectors to accept · ee339475
      Simon Budig authored
      2003-09-27  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpdrawable-stroke.[ch]: changed the API of
      	gimp_drawable_stroke_vectors to accept GimpStrokeOptions
      	instead of lots of individual parameters.
      
      	* app/vectors/gimpvectors.c: changed accordingly.
      ee339475
    • Sven Neumann's avatar
      added unit properties for stroke width and dashes. Use convenience macros · b2a6cddc
      Sven Neumann authored
      2003-09-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpstrokeoptions.[ch]: added unit properties for
      	stroke width and dashes. Use convenience macros from GimpConfig to
      	register the properties. Removed init function since all values
      	are construct properties.
      
      	* app/vectors/gimpvectors.c: respect the stroke width unit.
      
      	* app/widgets/gimpstrokeeditor.c: added a unit menu here.
      b2a6cddc
    • Michael Natterer's avatar
      made it a view on the GimpItem to stroke, not on the image, so the dialog · 07417fb0
      Michael Natterer authored
      2003-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/stroke-dialog.[ch]: made it a view on the GimpItem to
      	stroke, not on the image, so the dialog goes away automatically if
      	the item is removed from the image. Don't pass a GimpStrokeOptions
      	to stroke_dialog_new() until we figured how to handle a list of
      	presets or at least the last used options object. Also don't pass
      	a GimpDrawable, get the active_drawable in the "ok" callback
      	instead. Attach less pointers to the dialog and simplified stuff.
      
      	* app/gui/vectors-commands.c (vectors_stroke_vectors): changed
      	accordingly, removed commented out cruft.
      07417fb0
    • Miloslav Trmac's avatar
      Update Czech translation · 10bdf056
      Miloslav Trmac authored
      10bdf056
    • Michael Natterer's avatar
      derive it from GimpViewable. · d2b8494a
      Michael Natterer authored
      2003-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppaintinfo.[ch]: derive it from GimpViewable.
      
      	* app/core/gimptoolinfo.c (gimp_tool_info_new): set the
      	paint_info's stock_id from the tool_info's stock_id.
      
      	* app/widgets/widgets-types.h: resurrected GimpItemStrokeFunc.
      
      	* app/widgets/gimpvectorstreeview.[ch]: added a item_stroke_func
      	pointer and use it instead of implementing stroking here.
      
      	* app/gui/vectors-commands.[ch]: added vectors_stroke_vectors()
      	which has the signature of a GimpItemStrokeFunc.
      
      	* app/gui/dialogs-constructors.c: use it for the paths dialog.
      
      	* app/gui/stroke-dialog.[ch]: extended to handle both libart and
      	GimpPaintCore stroking. Use a GimpContainerMenu view on the
      	gimp->paint_info_list container to select the paint core to use.
      d2b8494a
    • Sven Neumann's avatar
      improved readability of this code by introducing a local GimpImage* · 06a21943
      Sven Neumann authored
      2003-09-27  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/info-window.c (info_window_update): improved readability
      	of this code by introducing a local GimpImage* variable.
      
      	* app/composite/gimp-composite-regression.c: use a matching format
      	string for an u_long variable (should probably use gulong instead).
      
      	* app/composite/make-installer.py: output a short note about what
      	tests are going to be run.
      
      	* app/composite/gimp-composite-3dnow-test.c
      	* app/composite/gimp-composite-altivec-test.c
      	* app/composite/gimp-composite-mmx-test.c
      	* app/composite/gimp-composite-sse-test.c
      	* app/composite/gimp-composite-sse2-test.c
      	* app/composite/gimp-composite-vis-test.c: regenerated.
      06a21943
    • Hasbullah Bin Pit's avatar
      Zali... Ismas... aku pening la tengok gimp punya translation.... · eaffde10
      Hasbullah Bin Pit authored
      Zali... Ismas...
      aku pening la tengok gimp punya translation....
      eaffde10
    • Hasbullah Bin Pit's avatar
      Added Translation by MIMOS Open Source Development Group <ismas@mimos.my> · fc24cb14
      Hasbullah Bin Pit authored
      2003-09-27  Hasbullah Bin Pit <sebol@ikhlas.com>
      
              * ms.po: Added Translation by
                      MIMOS Open Source Development Group <ismas@mimos.my>
      fc24cb14
    • Michael Natterer's avatar
      honor the default-resolution-unit when displaying the image's resolution. · 09eb6fe8
      Michael Natterer authored
      2003-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/info-window.c (info_window_update): honor the
      	default-resolution-unit when displaying the image's resolution.
      	Fixes bug #123336.
      09eb6fe8
    • Danilo Šegan's avatar
      po/sr@Latn.po: po-script-fu/sr.po: po-script-fu/sr@Latn.po: · bfe74ae3
      Danilo Šegan authored
      2003-09-27  Danilo Šegan  <dsegan@gmx.net>
      
      	* po/sr.po:
      	po/sr@Latn.po:
      	po-script-fu/sr.po:
      	po-script-fu/sr@Latn.po:
      	po-plug-ins/sr.po:
      	po-plug-ins/sr@Latn.po:
      				Updated Serbian translation.
      bfe74ae3
    • Helvetix Victorinox's avatar
      app/composite/gimp-composite-altivec-test.c · 545c1985
      Helvetix Victorinox authored
      * app/composite/gimp-composite-altivec-test.c
      * app/composite/gimp-composite-mmx-test.c
      * app/composite/gimp-composite-mmx-installer.c
      * app/composite/gimp-composite-sse-test.c
      * app/composite/gimp-composite-sse-installer.c
      * app/composite/gimp-composite-sse2-test.c
      * app/composite/gimp-composite-sse2-installer.c
      * app/composite/gimp-composite-vis-test.c
      * app/composite/gimp-composite-vis-installer.c:
        Regenerated.
      
      * app/composite/gimp-composite-altivec.[ch]
      * app/composite/gimp-composite-mmx.[ch]
      * app/composite/gimp-composite-sse.[ch]
      * app/composite/gimp-composite-sse2.[ch]
      * app/composite/gimp-composite-vis.[ch]
      * app/composite/make-installer.py:
        Make it such that when a test is run on the wrong kind of
        machine, don't fail without an explanation.
      545c1985
    • Simon Budig's avatar
      This still is very much in progress. I just want to commit this to avoid · 3f76868a
      Simon Budig authored
      2003-09-27  Simon Budig  <simon@gimp.org>
      
      	This still is very much in progress. I just want to commit this
      	to avoid lossage. It kind of works but there definitely is
      	code in the wrong place now.
      
      	* app/gui/stroke-dialog.[ch]: New files implementing a dialog
      	containing Svens GimpStrokeEditor-Widget.
      
      	* app/gui/Makefile.am: changed accordingly.
      
      	* app/gui/vectors-commands.c: Open the StrokeOptions-Dialog when
      	the "stroke" menu entry gets selected.
      
      	* app/vectors/gimpvectors.c: Remove bad #ifdef hacks and use
      	Libart/Paintcore-Stroking depending on the type of the stroke_desc
      	Parameter.
      
      	* app/core/gimpstrokeoptions.c: Proper handle the Enum-Properties.
      
      	* app/core/gimpscanconvert.[ch]: make the antialias-parameter
      	to gimp_scan_convert_new a gboolean.
      
      	* app/tools/gimpiscissorstool.c
      	* app/core/gimpdrawable-stroke.c
      	* app/core/gimpimage-mask-select.c: Changed accordingly.
      3f76868a
  3. 26 Sep, 2003 10 commits
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h added a (yet · a411575e
      Sven Neumann authored
      2003-09-26  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpstrokeeditor.[ch]: added a (yet rudimentary)
      	widget to view/edit a GimpStrokeOption.
      
      	* app/widgets/gimptemplateeditor.[ch]: derive it directly from
      	GtkVBox; it doesn't need any GimpEditor functionality.
      a411575e
    • Manish Singh's avatar
      tools/pdbgen/pdb/edit.pdb apply Simon's changes (GIMP_OBJECT casts) to · 1af964a0
      Manish Singh authored
      2003-09-26  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/edit.pdb
              * tools/pdbgen/pdb/paths.pdb: apply Simon's changes (GIMP_OBJECT
      	casts) to here, since they are generated files.
      1af964a0
    • Michael Natterer's avatar
      #include "widgets/gimpwidgets-utils.h" for gimp_button_menu_position(). · 9a8d0783
      Michael Natterer authored
      2003-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c: #include
      	"widgets/gimpwidgets-utils.h" for gimp_button_menu_position().
      9a8d0783
    • Michael Natterer's avatar
      don't scan "app/tools/tools-enums.h" for PDB types since the PDB doesn't · 7d2c7594
      Michael Natterer authored
      2003-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/Makefile.am: don't scan "app/tools/tools-enums.h"
      	for PDB types since the PDB doesn't depend on app/tools/ any more.
      
      	* app/tools/tools-enums.h: removed lengthy "skip" vs. "pdb-skip"
      	comment. Removed "pdb-skip" from all enums. Renamed GimpCropType
      	to GimpCropMode, renamed the enum's values to GIMP_CROP_MODE_*.
      
      	* app/tools/tools-enums.c: regenerated.
      
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpcroptool.c: changed accordingly.
      7d2c7594
    • Simon Budig's avatar
      New Object, holding the Options for a Libart-Stroke. · 10a5269e
      Simon Budig authored
      2003-09-26  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpstrokeoptions.[ch]: New Object, holding the
      	Options for a Libart-Stroke.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h: Changed accordingly.
      
      	* app/core/gimpitem.[ch]: Changed the Signature of
      	gimp_item_stroke to accept a GimpObject instead of a
      	GimpPaintInfo. This enables us to pass GimpStrokeOptions
      	to it. To be cleaned up for 2.2.
      
      	* app/core/gimpselection.c
      	* app/core/gimpchannel.c
      	* app/vectors/gimpvectors.c: Changed accordingly
      
      	* app/gui/edit-commands.c
      	* app/gui/vectors-commands.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpvectorstreeview.c: Fixed warnings by
      	casting the GimpPaintInfo to GimpObject.
      10a5269e
    • Michael Natterer's avatar
      removed inclusion of "gimptoolbox-color-area.h". · fc58b707
      Michael Natterer authored
      2003-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppaletteeditor.c: removed inclusion of
      	"gimptoolbox-color-area.h".
      fc58b707
    • Michael Natterer's avatar
      Cleaned up all places which pick colors to work consistently: the concept · e13afaf2
      Michael Natterer authored
      2003-09-26  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up all places which pick colors to work consistently: the
      	concept of an "active color" has disappeared, instead <ctrl> picks
      	the BG color all over the place (fixes bug #122931).
      
      	* app/tools/tools-enums.[ch]: added enum GimpColorPickMode which
      	can be one of { FOREGROUND, BACKGROUND }. Reordered enums so
      	non-registered ones are at the end of the file. Removed trailing
      	whitespace.
      
      	* app/tools/gimpcolorpickeroptions.[ch]: added a "pick-mode"
      	property and a GUI for it. Renamed the "update-active" property to
      	"update-toolbox".
      
      	* app/tools/gimpcolorpickertool.c: honor the new option. Toggle
      	pick-mode on <ctrl>.
      
      	* app/tools/gimpcolortool.[ch]: added pick_mode member and change
      	the cursor accordingly.
      
      	* app/widgets/gimpcolormapeditor.[ch]: added "GdkModifierType
      	state" to the "selected" signal. Removed the signal's default
      	implementation.
      
      	* app/gui/dialogs-constructors.c: fixed the signal handler which
      	lives here and set BG if <ctrl> was pressed.
      
      	* app/widgets/gimppaletteeditor.c: removed weird <ctrl> <->
      	active_color interaction and pick BG on <ctrl>. Don't change the
      	toolbox color when editing a color in the palette.
      
      	* app/widgets/gimptoolbox-color-area.[ch]: made the whole
      	active_color stuff private. Will remove these artefacts soon...
      
      	* app/gui/colormap-editor-menu.c
      	* app/gui/palette-editor-menu.c: added separate menu entries
      	for adding a color from the current FG and BG.
      
      	* app/gui/colormap-editor-commands.c
      	* app/gui/palette-editor-commands.[ch]: changed callbacks
      	accordingly.
      
      	* cursors/background.xbm
      	* cursors/background_mask.xbm
      	* cursors/foreground.xbm
      	* cursors/foreground_mask.xbm
      	* cursors/gimp-tool-cursors.xcf: moved the FG/BG cursor modifiers
      	closer to the upper right corner.
      
      	* app/widgets/gimpcursor.c: ignore the cursor modifiers' hotspots
      	since they are not relevant and I didn't save the hotspot in the
      	updated cursor files for that reason.
      e13afaf2
    • Sven Neumann's avatar
      added more missing files. · a1d495b9
      Sven Neumann authored
      2003-09-26  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: added more missing files.
      a1d495b9
    • Kwok-Koon Cheung's avatar
    • Simon Budig's avatar
      Add some parameters to gimp_scan_convert_stroke () to expose the · 8172df9a
      Simon Budig authored
      2003-09-26  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpscanconvert.[ch]: Add some parameters to
      	gimp_scan_convert_stroke () to expose the Miter-Setting
      	and enable dashing of vectors.
      
      	* app/core/gimpdrawable-stroke.c: Use the dashing feature.
      
      	* app/vectors/gimpvectors.c: Expose a bad hack (opacity
      	controls the libart-stroke width) in a #define. Default
      	is not enabled.
      8172df9a
  4. 25 Sep, 2003 2 commits