Commit graph

9275 commits

Author SHA1 Message Date
Sven Neumann c7d3ce61f7 app/gui/preferences-dialog.c app/text/gimptextlayer-transform.c some
2003-08-20  Sven Neumann  <sven@gimp.org>

	* app/gui/preferences-dialog.c
	* app/text/gimptextlayer-transform.c
	* app/widgets/gimpitemfactory.c: some changes for legacy compilers
	based on a patch from Avi Bercovich (bug #120251).
2003-08-20 09:59:12 +00:00
Kwok-Koon Cheung b38a11eae5 Updated traditional Chinese translation.
* zh_TW.po: Updated traditional Chinese translation.
2003-08-20 08:12:18 +00:00
Helvetix Victorinox 475edd81b6 Enabled erase mode for all pixel formats instead of just RGBA8.
* app/composite/gimp-composite-generic.c: Enabled erase mode for
  all pixel formats instead of just RGBA8.
2003-08-20 03:34:52 +00:00
Helvetix Victorinox 9d405b607c Regenerated installers and testers.
* app/composite/: Regenerated installers and testers.

* app/composite/make-install.py: increased tests of pixels to 1024*1024+1

* app/composite/gimp-composite-mmx.c (gimp_composite_overlay_rgba8_rgba8_rgba_mmx):
  Backed out of the current build.  Although the unit tests all
  pass, the emperical evidence is that something is wrong with it.
2003-08-20 02:55:46 +00:00
Christian Rose 846592379e Updated Swedish translation.
2003-08-20  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2003-08-20 01:33:32 +00:00
Helvetix Victorinox 1b232ec01b Removed wayward printf() of a debugging message.
* Removed wayward printf() of a debugging message.
2003-08-19 23:32:35 +00:00
Kwok-Koon Cheung 90177e1dee Convert lt.po to UTF-8 2003-08-19 22:14:26 +00:00
Abel Cheung 002be83aaf Mark wrong entry as fuzzy. Convert to UTF-8 again.
2003-08-19  Abel Cheung  <maddog@linux.org.hk>

	* ja.po, nl.po: Mark wrong entry as fuzzy.
	* lt.po: Convert to UTF-8 again.
2003-08-19 22:10:28 +00:00
Manish Singh 4788969e54 Oops, fix date in entry 2003-08-19 19:08:54 +00:00
Manish Singh 780710188d Default all strings to validate UTF-8, use no_validate to disable. Also
2003-08-18  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/app.pl: Default all strings to validate UTF-8, use
        no_validate to disable. Also added a null_ok parameter which does
        validate UTF-8, but allows NULL.

        * tools/pdbgen/pdb/brush_select.pdb
        * tools/pdbgen/pdb/brushes.pdb
        * tools/pdbgen/pdb/channel.pdb
        * tools/pdbgen/pdb/convert.pdb
        * tools/pdbgen/pdb/fileops.pdb
        * tools/pdbgen/pdb/font_select.pdb
        * tools/pdbgen/pdb/gimprc.pdb
        * tools/pdbgen/pdb/gradient_select.pdb
        * tools/pdbgen/pdb/gradients.pdb
        * tools/pdbgen/pdb/help.pdb
        * tools/pdbgen/pdb/image.pdb
        * tools/pdbgen/pdb/layer.pdb
        * tools/pdbgen/pdb/message.pdb
        * tools/pdbgen/pdb/palette_select.pdb
        * tools/pdbgen/pdb/palettes.pdb
        * tools/pdbgen/pdb/parasite.pdb
        * tools/pdbgen/pdb/paths.pdb
        * tools/pdbgen/pdb/pattern_select.pdb
        * tools/pdbgen/pdb/patterns.pdb
        * tools/pdbgen/pdb/plug_in.pdb
        * tools/pdbgen/pdb/procedural_db.pdb
        * tools/pdbgen/pdb/text_tool.pdb
        * tools/pdbgen/pdb/unit.pdb: removed utf8, added no_validate and
        null_ok where appropriate.

        * app/pdb/brush_select_cmds.c
        * app/pdb/font_select_cmds.c
        * app/pdb/gradient_select_cmds.c
        * app/pdb/layer_cmds.c
        * app/pdb/palette_select_cmds.c
        * app/pdb/pattern_select_cmds.c
        * app/pdb/plug_in_cmds.c: regenerated.
2003-08-19 19:08:11 +00:00
Michael Natterer 82ac2e384f always look for the active drawable, not for the active layer. Fixes line
2003-08-19  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppainttool.c
	(gimp_paint_tool_oper_update,cursor_update): always look for the
	active drawable, not for the active layer. Fixes line and brush
	preview drawing for channels.
2003-08-19 18:04:40 +00:00
Sven Neumann 52ccb9557b use the new icons here as well.
2003-08-19  Sven Neumann  <sven@gimp.org>

	* app/gui/toolbox-menu.c: use the new icons here as well.
2003-08-19 17:31:43 +00:00
Sven Neumann fe2a0731f2 libgimpwidgets/libgimpwidgets-sections.txt updated for new icons.
2003-08-19  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml: updated for new icons.
2003-08-19 17:22:37 +00:00
Michael Natterer e9e98af6fb app/config/gimpdisplayconfig.[ch] added "gboolean show_brush_outline".
2003-08-19  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpdisplayconfig.[ch]
	* app/config/gimprc-blurbs.h: added "gboolean show_brush_outline".

	* app/gui/preferences-dialog.c (prefs_dialog_new): added it to the
	"Pointer Movement Feedback" frame.

	* app/tools/gimppainttool.[ch]: connect to
	"notify::show-brush-outline" and toggle brush outline display
	accordingly. Fixes bug #120084.
2003-08-19 17:20:05 +00:00
Kwok-Koon Cheung 1081b14f2b Updated traditional Chinese translation.
* zh_TW.po: Updated traditional Chinese translation.
2003-08-19 17:09:13 +00:00
Sven Neumann 1f39a82962 themes/Default/images/Makefile.am
2003-08-19  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-indexed-palette-[16|24].png
	* themes/Default/images/stock-undo-history-[16|24].png: added new
	icons drawn by Jimmac.

	* libgimpwidgets/gimpstock.[ch]
	* app/gui/dialogs-constructors.c
	* app/gui/dialogs-menu.c
	* app/gui/image-menu.c: register and use them.
2003-08-19 17:08:06 +00:00
Michael Natterer 6186877f5d when reordering the selected item, don't just scroll to its position but
2003-08-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_reorder_item): when reordering the
	selected item, don't just scroll to its position but call
	gimp_container_view_select_item(), so the views' state
	(e.g. raise/lower buttons) updates correctly. Fixes bug #120177.
2003-08-19 14:08:50 +00:00
Simon Budig 5ccd61bcb5 app/vectors/gimpvectors.h removed temp_anchor stuff. I don't think that
2003-08-19  Simon Budig  <simon@gimp.org>

        * app/vectors/gimpvectors.h
        * app/vectors/gimpstroke.[ch]: removed temp_anchor stuff. I don't
        think that this is needed. Added virtual function to determine the
        closest point on the curve to a given target point.

        * app/vectors/gimpbezierstroke.c: implemented
        gimp_bezier_stroke_nearest_point_get () - up to now untested and
        unused.
2003-08-19 01:05:48 +00:00
Sven Neumann 180aacb96b fixed color picking from other screens.
2003-08-19  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppickbutton.c: fixed color picking from other
	screens.
2003-08-18 23:21:44 +00:00
Nikos Charonitakis 43ed2b38be updated Greek translation 2003-08-18 23:04:10 +00:00
Manish Singh a28b83ae11 updated for new gradient sample API, "reverse" is an optional parameter
2003-08-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: updated for new gradient sample API,
        "reverse" is an optional parameter which defaults to FALSE.
2003-08-18 22:29:13 +00:00
Kjartan Maraas ce60ceb0b5 Remove accidental commit 2003-08-18 20:48:07 +00:00
Kjartan Maraas d9cc3aa570 Update Norwegian translation.
2003-08-18  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Update Norwegian translation.
2003-08-18 20:45:04 +00:00
Michael Natterer 8c10b04b53 updated.
2003-08-18  Michael Natterer  <mitch@gimp.org>

	* app/app-docs.sgml: updated.
2003-08-18 20:35:22 +00:00
Sven Neumann 90fce1cc62 please the compiler.
2003-08-18  Sven Neumann  <sven@gimp.org>

	* app/gui/dialogs-menu.c: please the compiler.
2003-08-18 18:11:29 +00:00
Michael Natterer db2db08fb4 tools/pdbgen/pdb/brush_select.pdb tools/pdbgen/pdb/brushes.pdb
2003-08-18  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/font_select.pdb
	* tools/pdbgen/pdb/gimprc.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/layer.pdb
	* tools/pdbgen/pdb/message.pdb
	* tools/pdbgen/pdb/palette.pdb
	* tools/pdbgen/pdb/palette_select.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/paths.pdb
	* tools/pdbgen/pdb/pattern_select.pdb
	* tools/pdbgen/pdb/patterns.pdb
	* tools/pdbgen/pdb/plug_in.pdb
	* tools/pdbgen/pdb/procedural_db.pdb
	* tools/pdbgen/pdb/text_tool.pdb
	* tools/pdbgen/pdb/unit.pdb: UTF-8 validate all strings except
	filenames. Does not work yet for string params which may be NULL.
	They currently don't get checked because I still don't understand
	pdbgen enough :)

	* app/pdb/brush_select_cmds.c
	* app/pdb/brushes_cmds.c
	* app/pdb/channel_cmds.c
	* app/pdb/convert_cmds.c
	* app/pdb/drawable_cmds.c
	* app/pdb/fileops_cmds.c
	* app/pdb/font_select_cmds.c
	* app/pdb/gimprc_cmds.c
	* app/pdb/gradient_select_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/message_cmds.c
	* app/pdb/palette_select_cmds.c
	* app/pdb/palettes_cmds.c
	* app/pdb/paths_cmds.c
	* app/pdb/pattern_select_cmds.c
	* app/pdb/patterns_cmds.c
	* app/pdb/plug_in_cmds.c
	* app/pdb/procedural_db_cmds.c
	* app/pdb/text_tool_cmds.c
	* app/pdb/unit_cmds.c: regenerated.
2003-08-18 18:09:26 +00:00
Michael Natterer 58311491e4 cleaned up GimpTool, GimpDrawTool and vectors_tool->vectors state handling
2003-08-18  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpvectortool.c: cleaned up GimpTool, GimpDrawTool
	and vectors_tool->vectors state handling a lot. Still does weird
	things when switching between images and/or displays but it's
	better than before...
2003-08-18 18:05:57 +00:00
Sven Neumann 506f2d7733 app/config/gimpconfig-dump.c changed prefix of environment variables to
2003-08-18  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-dump.c
	* libgimpbase/gimpenv.c: changed prefix of environment variables
	to GIMP2 (bug #118553).

	* docs/gimprc-1.3.5.in: regenerated.
2003-08-18 15:10:30 +00:00
Helvetix Victorinox 4cae0f19ce Various beautifications, dead code removal, comment clean-up.
* app/composite:
  Various beautifications, dead code removal, comment clean-up.
2003-08-18 15:05:22 +00:00
Michael Natterer 647b1561e6 regenerated.
2003-08-18  Michael Natterer  <mitch@gimp.org>

	* libgimp/tmpl/gimpgradients.sgml: regenerated.
2003-08-18 12:18:31 +00:00
Michael Natterer cd9f65cb87 Finished the addition of "gboolean reverse" to the gradient API:
2003-08-18  Michael Natterer  <mitch@gimp.org>

	Finished the addition of "gboolean reverse" to the gradient API:

	* tools/pdbgen/pdb/gradients.pdb: added "reverse" params to
	gimp_gradients_sample_uniform(), sample_custom() and
	get_gradient_data().

	* app/pdb/gradients_cmds.c
	* libgimp/gimpgradients_pdb.[ch]: regenerated.

	* libgimp/gimpgradientmenu.c: changed accordingly.

	Made everything compile with the new API:

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.[ch]: got lost in
	"reverse" adding, whitespace removal and general code cleanup.
	I better commit this now before continuing, even though "reverse"
	adding is not finished.

	* plug-ins/common/sample_colorize.c: removed own gradient
	reversing code, use "reverse" instead.

	* plug-ins/common/gradmap.c
	* plug-ins/flame/flame.c
	* plug-ins/gflare/gflare.c
	* plug-ins/pagecurl/pagecurl.c: simply pass reverse == FALSE and
	added #warnings that more work needs to be done. Some whitespace
	removal and minor cleanup.
2003-08-18 12:17:21 +00:00
Sven Neumann e5be1ae62c cleaned up whitespace.
2003-08-18  Sven Neumann  <sven@gimp.org>

	* app/composite/Makefile.am: cleaned up whitespace.
2003-08-18 11:13:44 +00:00
Manish Singh f4c812998b shut up cvs 2003-08-18 05:42:23 +00:00
Helvetix Victorinox 3059aad4bf Added app/composite/gimp-composite-3dnow-test.c
Added	app/composite/gimp-composite-sse2-test.c
2003-08-18 02:10:28 +00:00
Helvetix Victorinox c4bf8739c2 Removed 'test' target 2003-08-18 02:01:45 +00:00
Helvetix Victorinox 7d1f8a9686 retired and removed.
* app/composite/gimp-composite-dispatch.[ch]: retired and removed.

* app/composite/Makefile.am: The 'test' target now builds and runs
  all the tests in TESTS

  Fixed typos of mismatched parenthesis in 'regenerate' target

* app/composite/Makefile.am: TESTS now include ss2 and 3dnow
  instruction sets.

* app/composite/make-gimp-composite-dispatch.py: retired and removed.

* app/composite/gimp-composite.c: call the installers of all the
  various instruction sets supplied by x86 type processors.

* app/base/base.c (base_init): Call gimp_composite_init() *before*
  paint_funcs_setup() (preparation for retiring
  app/paint-funcs/paint-funcs.c)

* app/composite/gimp-composite-sse2.[ch]
* app/composite/gimp-composite-3dnow.[ch]
* app/composite/gimp-composite-sse2-installer.c
* app/composite/gimp-composite-3dnow-installer.c:
  Added

* app/composite/make-installer.py: generate regression test
  programmes that take the command line arguments --iterations and
  --n-pixels for the number of iterations of a set of tests, and the
  number of pixels to use in each test, respectively.

  Conditionally compile tests in order to build and run tests on
  machines that can actually perform the tests.

  Failing a regression test now causes remaining tests to be
  skipped and a non-zero exit code by the programme.
2003-08-18 01:47:10 +00:00
Simon Budig cf4bfb2e35 Minor fix.
2003-08-18  Simon Budig  <simon@gimp.org>

        * app/tools/gimpvectortool.c: Minor fix.
2003-08-17 23:19:09 +00:00
Helvetix Victorinox 1b33a15e03 make gimp-composite functions the default.
* app/composite/gimp-composite.c (gimp_composite_init): make gimp-composite
  functions the default.

* app/composite/make-installer.py: changed option --n_pixels to --n-pixels
2003-08-17 21:19:58 +00:00
Manish Singh c2c65b192b reorg, fix reverse logic for parasite utf8 checks.
2003-08-17  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/app.pl: reorg, fix reverse logic for parasite utf8
        checks.
2003-08-17 20:48:33 +00:00
Sven Neumann 5e8014b17c this time fix bug #120083 without breaking the fix for #119440.
2003-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c (iwarp_frame): this time fix bug #120083
	without breaking the fix for #119440.
2003-08-17 20:22:05 +00:00
Michael Natterer 3bdbf62281 Fixed bug #79897 for all parasite procedures:
2003-08-17  Michael Natterer  <mitch@gimp.org>

	Fixed bug #79897 for all parasite procedures:

	* tools/pdbgen/app.pl: UTF-8 validate parasite->name.

	* tools/pdbgen/pdb/parasite.pdb: UTF-8 validate parasite names which
	are passed separately from the parasite struct.

	* app/pdb/parasite_cmds.c: regenerated.
2003-08-17 19:58:59 +00:00
Sven Neumann 5b5a2b866c fixed handling of drawables without alpha channel (bug #120083).
2003-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c (iwarp_frame): fixed handling of
	drawables without alpha channel (bug #120083).
2003-08-17 19:43:04 +00:00
Helvetix Victorinox c86d82f076 regnerated
* app/composite/gimp-composite-{mmx,sse,altivec,vis}-{installer,test}.c:
  regnerated

* app/composite/gimp-composite-sse.c
  (gimp_composite_overlay_rgba8_rgba8_rgba8_sse): fixed (rewrote)

* app/composite/make-installer.py:
  command line option --iterations to set the number of iterations for a test.
  command line option --n_ixels to set the number of pixels for a test.

* app/composite/gimp-composite-mmx.c
  (gimp_composite_grain_merge_rgba8_rgba8_rgba8_mmx): fixed (rewrote)
  (gimp_composite_overlay_rgba8_rgba8_rgba8_mmx): fixed (rewrote)
  (gimp_composite_value_rgba8_rgba8_rgba8_mmx):
	  new testing shows it to be broken (temporarily removed from use)
2003-08-17 19:01:24 +00:00
Sven Neumann 019bdd206f added some newlines.
2003-08-17  Sven Neumann  <sven@gimp.org>

	* app/base/base.c (base_init): added some newlines.

	* data/patterns/brick.pat
	* data/patterns/leopard.pat: replaced with retouched versions done
	by Guillermo S. Romero (bug #118796).
2003-08-17 17:30:51 +00:00
Michael Natterer fd61d33c5e made the layer cycling circular. Removed the static layer_select variable
2003-08-17  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-layer-select.[ch]: made the layer
	cycling circular. Removed the static layer_select variable and
	allocate a new struct for each use. Made it use Ctrl+Tab for
	forward cycling and Ctrl+Shift+Tab for backward so it doesn't use
	Alt any more. Cleanup.

	* app/display/gimpdisplayshell-callbacks.c: changed it from Alt to
	Ctrl here, too.

	Fixes all the stuff mentioned in bug #119236.
2003-08-17 16:58:39 +00:00
Sven Neumann 6ece9f684f applied a patch from S. Mukund that fixes handling of transparent
2003-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c: applied a patch from S. Mukund that fixes
	handling of transparent background (bug #117148).
2003-08-17 14:15:49 +00:00
Simon Budig 91fd07c4b0 fixed typo. 2003-08-17 02:51:20 +00:00
Simon Budig 86e4d32a44 app/vectors/gimpstroke.[ch] Virtualized gimp_bezier_stroke_extend, added
2003-08-17  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpbezierstroke.[ch]: Virtualized
	gimp_bezier_stroke_extend, added gimp_stroke_is_extendable.

	* app/text/gimptext-vectors.c: changed accordingly.

	* app/vectors/gimpvectors.[ch]: added gimp_vectors_anchor_select.

	* app/tools/gimpvectoroptions.[ch]: dummy switch for future
	extensions

	* app/tools/gimpvectortool.[ch]: Major overhaul. Made use of
	gimp_vector_tool_oper_update, cleaned up
	gimp_vector_tool_button_press a lot and finally have a
	working cursor_update. Still buggy, but I wanted to have it
	in CVS.
2003-08-17 02:49:24 +00:00
Sven Neumann 23408af111 warn the user if loading or saving fails (bug #119940).
2003-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c: warn the user if loading or saving
	fails (bug #119940).
2003-08-16 23:26:17 +00:00
Sven Neumann 6d639f4144 update autoconf version here as well 2003-08-16 22:56:10 +00:00