Commit graph

19247 commits

Author SHA1 Message Date
Simon Budig a8411dc754 Hack up gimp_value_set_item() to do the correct thing for subtypes of
2006-11-17  Simon Budig  <simon@gimp.org>

	* app/core/gimpparamspecs.c: Hack up gimp_value_set_item() to do
	the correct thing for subtypes of GimpItems.

	* app/actions/plug-in-commands.c: Don't rely on the GimpValues for
	type checking, pass the param specs to the _collect functions and
	use them for typechecking.
2006-11-17 16:56:37 +00:00
Michael Natterer c8cb6bfcf4 app/actions/tools-actions.c added actions and callbacks for the new paint
2006-11-17  Michael Natterer  <mitch@gimp.org>

	* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]: added actions and callbacks for
	the new paint options brush scale property. Assigned new
	shortcuts: '<' and '>' are now changing tool-value-1 and '[' and
	']' are changing tool-value-2

	* app/actions/context-actions.c: removed the shortcuts from the
	brush size actions.

	* app/tools/gimpbrushtool.c
	* app/tools/gimpcolortool.c: set tool-value-2 to brush-scale and
	to color-average-radius, so '[' and ']' always affect the size of
	the tip of the active tool. tool-value-1 is connected to
	context-opacity so that is changeable using '<' and '>' now.
2006-11-17 13:06:00 +00:00
Sven Neumann 7eee48b1de override the wrapper for gimp_int_combo_box_get_active() and let it return
2006-11-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.override: override the wrapper for
	gimp_int_combo_box_get_active() and let it return the selected
	integer instead of the index in the combo (bug #376102).
2006-11-17 12:02:22 +00:00
Sven Neumann f1b7bfca6a removed file information as this is now shown in the "Image Properties"
2006-11-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ccanalyze.c: removed file information as this
is
	now shown in the "Image Properties" dialog.
2006-11-17 08:11:35 +00:00
Kevin Cozens 59ee708f7f A minor optimization. Don't bother to store normalized string.
2006-11-17  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (store_string): A minor
	optimization. Don't bother to store normalized string.
2006-11-17 05:43:50 +00:00
Simon Budig 3240f87208 added PF_VECTORS type.
2006-11-16  Simon Budig  <simon@gimp.org>

	* plug-ins/pygimp/gimpfu.py: added PF_VECTORS type.

	* plug-ins/pygimp/gimpui.py
	* plug-ins/pygimp/gimpui.override: add code for the vectors combo box

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/pygimp/pygimp-api.h: changed accordingly, untabbified.

	* plug-ins/pygimp/pygimp.h: untabbified.
2006-11-16 21:23:50 +00:00
Marco Ciampa 72fd2e0685 Updated italian translation 2006-11-16 18:36:06 +00:00
Michael Natterer 6eb7089577 Made all brushes scalable from the tool options. So far only downscaling
2006-11-16  Michael Natterer  <mitch@gimp.org>

	Made all brushes scalable from the tool options. So far only
	downscaling is supported since we lack an algorithm for bitmap
	brush upscaling. Addresses bug #65030.

	* app/paint/gimppaintoptions.[ch]: added "brush-scale" property.

	* app/paint/gimpbrushcore.[ch]: separate pressure logic from brush
	scaling logic and take paint_options->brush_scale into account.
	Added gimp_brush_core_create_bound_segs() which returns BoundSegs
	of the correctly scaled brush mask for the brush preview on the
	canvas.

	* app/tools/gimpbrushtool.c: use gimp_brush_core_create_bound_segs()
	instead of doing this here (also removes all knowledge about lowlevel
	stuff from this file). Connect to notify::brush-scale of the
	paint options and invalidate the brush core's brush accordingly.

	* app/tools/gimppaintoptions-gui.c: added brush scale slider.
2006-11-16 15:11:27 +00:00
Simon Budig 4255e608e6 plug-ins/script-fu/script-fu-enums.h plug-ins/script-fu/scheme-wrapper.c
2006-11-16  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/script-fu-enums.h
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-types.h
	* plug-ins/script-fu/script-fu-scripts.c: add a SF-VECTORS type for
	script-fu.

	* plug-ins/script-fu/script-fu-interface.c: use a vectors
	combobox for the GUI.

	* plug-ins/script-fu/scripts/test-sphere.scm: test it as well.
2006-11-16 01:29:49 +00:00
Simon Budig 00ab3be823 added new symbols.
2006-11-16  Simon Budig  <simon@gimp.org>

	* libgimp/gimpui.def: added new symbols.
2006-11-16 00:07:48 +00:00
Simon Budig bc495fd411 removed double entry for gimp_font_select_button_get_type.
2006-11-16  Simon Budig  <simon@gimp.org>

        * libgimp/libgimp.types: removed double entry for
        gimp_font_select_button_get_type.

        * libgimp/tmpl/gimpfontselectbutton.sgml: regenerated.
2006-11-16 00:06:23 +00:00
Sven Neumann f51ad1e185 libgimp/libgimp-docs.sgml libgimp/libgimp-sections.txt follow
2006-11-04  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/libgimp.types: follow gimpdrawablecombobox ->
	gimpitemcombobox move.

	* libgimp/tmpl/gimpdrawablecombobox.sgml: removed.

	* libgimp/tmpl/gimpitemcombobox.sgml: and readded as this file.

	* libgimp/tmpl/gimpfileops.sgml: regenerated.
2006-11-15 23:45:15 +00:00
Simon Budig 55259d7fb9 Oops - missed a change in Makefile.am. 2006-11-15 23:24:42 +00:00
Simon Budig fd0e9de40f removed...
2006-11-16  Simon Budig  <simon@gimp.org>

	* libgimp/gimpdrawablecombobox.[ch]: removed...

	* libgimp/gimpitemcombobox.[ch]: and added here. Factored out
	a lot of common code and added a combo box for vectors objects.

	* libgimp/Makefile.am
	* libgimp/gimpui.h
	* libgimp/gimpuitypes.h: changed accordingly.
2006-11-15 23:20:06 +00:00
Sven Neumann 13004433f5 cursors/Makefile.am cursors/cursor-move.png cursors/gimp-tool-cursors.xcf
2006-11-15  Sven Neumann  <sven@gimp.org>

	* cursors/Makefile.am
	* cursors/cursor-move.png
	* cursors/gimp-tool-cursors.xcf
	* cursors/xbm/cursor-move-mask.xbm
	* cursors/xbm/cursor-move.xbm: added new cursor.

	* app/widgets/gimpcursor.c
	* app/widgets/widgets-enums.h: added as GIMP_CURSOR_MOVE.

	* app/tools/gimprectangletool.c: use instead of a cursor
modifier.
2006-11-15 22:43:24 +00:00
Sven Neumann c4b8cda67d app/tools/gimprectangletool.[ch] removed function from the properties.
2006-11-15  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.[ch]
	* app/tools/gimprectangleselecttool.c: removed function from the
	properties. Added getter and setter functions instead. Redraw
the
	tool whenever the function changes.
2006-11-15 20:45:43 +00:00
Michael Natterer 35f198e7b0 use brush_scale_pixmap(), not brush_scale_mask().
2006-11-15  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbrush.c (gimp_brush_real_scale_pixmap): use
	brush_scale_pixmap(), not brush_scale_mask().
2006-11-15 18:46:10 +00:00
Kevin Cozens a023f133bb plug-ins/FractalExplorer/FractalExplorer.h Removed 'static' from the
2006-11-15  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/FractalExplorer/FractalExplorer.h
	* plug-ins/FractalExplorer/FractalExplorer.c (explorer_render_row):
	Removed 'static' from the routines declaration. Changed routine to
	use a switch instead of a series of if statements.

	* plug-ins/FractalExplorer/Dialogs.c: Removed duplicate code by
	using call to explorer_render_row().
2006-11-15 17:35:12 +00:00
Pawan Chitrakar c0f91ced1e Updated Nepali Translation 2006-11-15 12:00:56 +00:00
Simon Budig 8e67ec9d05 adapt the special casing for libtiff warning messages about unknown tags
2006-11-15  Simon Budig  <simon@gimp.org>

	* plug-ins/common/tiff.c: adapt the special casing for libtiff
	warning messages about unknown tags for the apparently newer
	message text.
2006-11-15 00:07:44 +00:00
Simon Budig 446df6895e Simon Budig: tiff.c: bug hotfix 2006-11-14 23:21:53 +00:00
Simon Budig dec2ccf201 Import paths embedded into the PHOTOSHOP-tag. Please test!
2006-11-14  Simon Budig  <simon@gimp.org>

	* plug-ins/common/tiff.c: Import paths embedded into the
	PHOTOSHOP-tag. Please test!
2006-11-14 21:29:51 +00:00
Mukund Sivaraman d89b396980 plug-ins/FractalExplorer/FractalExplorer.c Fixed bug #372671 and made
2006-11-15  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/FractalExplorer/FractalExplorer.c
        * plug-ins/FractalExplorer/Dialogs.c: Fixed bug #372671 and made
        loglog smoothing work again.
2006-11-14 19:44:21 +00:00
Simon Budig e2b4690f74 don't register in the menus. The script duplicates functionality of the
2006-11-14  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/scripts/grid-system.scm: don't register in the
	menus. The script duplicates functionality of the better plugin,
	has a very obscure UI and registers under the same name as the plugin.
2006-11-14 15:48:01 +00:00
Sven Neumann da2253fce0 don't use gimp_dialog_set_sensitive(); just make the entry not editable
2006-11-14  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-open-location-dialog.c: don't use
	gimp_dialog_set_sensitive(); just make the entry not editable and
	the dialog's OK button insensitive.

	* app/widgets/gimpfiledialog.c
	* app/widgets/gimpwidgets-utils.[ch]: moved gimp_dialog_set_sensitive()
	implementation into gimp_file_dialog_set_sensitive().
2006-11-14 13:46:43 +00:00
Marco Ciampa d0da897849 Updated italian translation 2006-11-13 21:02:55 +00:00
Sven Neumann 26db711437 reduced the size of the side handles to two third the size of the corner
2006-11-13  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: reduced the size of the side
	handles to two third the size of the corner handles.
2006-11-13 16:13:37 +00:00
Michael Natterer baf90e745e fix g_str_has_prefix() change below. Now we can open XCF files again.
2006-11-13  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf.c (xcf_load_invoker): fix g_str_has_prefix() change
	below. Now we can open XCF files again. Fixes bug #374657.
2006-11-13 13:11:34 +00:00
Sven Neumann 0a715f7d06 removed obsolete update.sh scripts 2006-11-13 12:34:40 +00:00
Jakub Friedl d11b5ea2f3 Updated Czech translation
2006-11-13  Jakub Friedl <jfriedl@suse.cz>

  * cs.po: Updated Czech translation
2006-11-13 11:27:58 +00:00
Jakub Friedl a00e3aa101 Updated Czech translation.
2006-11-13  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-11-13 10:59:15 +00:00
Michael Natterer 85cecec576 app/base/base.c app/core/gimp-user-install.c
2006-11-12  Michael Natterer  <mitch@gimp.org>

	* app/base/base.c
	* app/core/gimp-user-install.c
	* app/core/gimpbrushgenerated-load.c
	* app/core/gimpcontainer.c
	* app/core/gimpgradient-load.c
	* app/core/gimppalette-load.c
	* app/core/gimpparamspecs-desc.c
	* app/dialogs/tips-parser.c
	* app/menus/plug-in-menus.c
	* app/plug-in/gimppluginmanager.c
	* app/plug-in/gimppluginprocedure.c
	* app/text/gimptext-parasite.c
	* app/tools/gimpforegroundselecttool.c
	* app/widgets/gimpselectiondata.c
	* app/xcf/xcf.c: use g_str_has_prefix() instead of strncmp().
2006-11-12 20:30:50 +00:00
Michael Natterer 8cbc5e652b added -Winit-self and -Wpointer-arith to CFLAGS.
2006-11-11  Michael Natterer  <mitch@gimp.org>

	* configure.in: added -Winit-self and -Wpointer-arith to CFLAGS.
2006-11-11 11:14:11 +00:00
Michael Natterer cb6fe48ccd Fix behavior so that when Alt is down, it appears as if no other modifier
2006-11-11  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpselectiontool.c
	(gimp_selection_tool_modifier_key): Fix behavior so that when Alt
	is down, it appears as if no other modifier was pressed.
	Fixes bug #349338.
2006-11-11 10:44:02 +00:00
Kevin Cozens dc2d31c9d7 Use vectors instead of the non-standard array structure. Also made some
2006-11-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Use
	vectors instead of the non-standard array structure. Also made some
	minor coding style changes in the file.

	* plug-ins/script-fu/tinyscheme/opdefines.h
	* plug-ins/script-fu/tinyscheme/scheme-private.h
	* plug-ins/script-fu/tinyscheme/scheme.h
	* plug-ins/script-fu/tinyscheme/scheme.c: Removed all code related
	to the handling of the non-standard array structure. Added one small
	change to scheme.c to fix problems compiling with MSVC in Windows.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Changed array
	references to use vector references.
2006-11-09 23:03:55 +00:00
Michael Natterer 0b60604896 plug-ins/rcm/rcm.c fix warning about missing declaration and did some code
2006-11-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/rcm/rcm.c
	* plug-ins/rcm/rcm_misc.c: fix warning about missing declaration
	and did some code shuffling and cleanup.
2006-11-09 17:54:01 +00:00
Kevin Cozens b3404e6b6f Moved too much. Move some array declarations out of here...
2006-11-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Moved too much. Move some
	array declarations out of here...

	* plug-ins/script-fu/tinyscheme/scheme-private.h: and back to here.
2006-11-09 17:36:32 +00:00
Kevin Cozens 481100144b Moved various declarations and defines out of here...
2006-11-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h: Moved various
	declarations and defines out of here...

	* plug-ins/script-fu/tinyscheme/scheme.c: and added them here in
	keeping with the original 1.38 version of TinyScheme. Only include
	unistd.h if it exists.

	* plug-ins/script-fu/ftx/ftx.c: Only include unistd.h if it exists.
2006-11-09 16:57:49 +00:00
Michael Natterer 1186dfd256 Properly abstract brush scaling:
2006-11-09  Michael Natterer  <mitch@gimp.org>

	Properly abstract brush scaling:

	* app/core/gimpbrush.[ch]: added virtual functions
	GimpBrush::scale_mask() and ::scale_pixmap() and default
	implementations which call the functions in base/brush-scale.c.

	* app/core/gimpbrushgenerated.c: factored out brush calculation to
	an internal utility function and call that function from ::dirty()
	and from the new ::scale_mask().

	* app/core/gimpbrushcore.c: use gimp_brush_scale_mask/pixmap()
	instead of using the lowlevel scale functions directly. Fixes the
	uglyness that we were scaling generated brushes instead of simply
	recalculating them in the right size.
2006-11-09 14:54:49 +00:00
Michael Natterer 63e257c768 fixed wrong include guard comment.
2006-11-09  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmodule.h: fixed wrong include guard comment.
2006-11-09 13:07:11 +00:00
Michael Natterer 5ff69df6d0 don't include <malloc.h> Fixes the build on OSX (or maybe BSD in general).
2006-11-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: don't include <malloc.h>
	Fixes the build on OSX (or maybe BSD in general).
2006-11-09 10:40:59 +00:00
Sven Neumann 0f0da9c766 added missing quotes in test for libcurl.
2006-11-09  Sven Neumann  <sven@gimp.org>

	* configure.in: added missing quotes in test for libcurl.

	* app/plug-in/gimppluginprocedure.c
	(gimp_plug_in_procedure_add_menu_path): try not to crash on
	invalid menu paths and avoid a string copy for the common case.

	* app/composite/gimp-composite-mmx.c: commented out unused code.
2006-11-09 09:39:36 +00:00
Simon Budig 2f5c6f7b8b don't bail out successfully after the first test, don't bail out
2006-11-08  Simon Budig  <simon@gimp.org>

	* tools/defcheck.py: don't bail out successfully after the first test,
	don't bail out prematurely on a failed test and actually spot double
	symbols in .def-files if they follow immediately each other...
2006-11-08 22:47:44 +00:00
Sven Neumann f7513e5a80 added defcheck.py.
2006-11-08  Sven Neumann  <sven@gimp.org>

	* tools/Makefile.am (EXTRA_DIST): added defcheck.py.

	* tools/defcheck.py: keep a list of .def files, glob didn't work
	for me. Also bail out with a reasonable message if not being
	called from the toplevel source directory.

	* Makefile.am (dist-hook): check .def files for consistency.
2006-11-08 21:42:32 +00:00
Jakub Steiner fda5a84514 update SIOX icon 2006-11-08 21:31:57 +00:00
Kevin Cozens 8c0ac5f367 plug-ins/script-fu/scheme-wrapper.c plug-ins/script-fu/scheme-wrapper.h
2006-11-08  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/scheme-wrapper.h
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-text-console.c: Removed obsolete
	verbose level code.

	* plug-ins/FractalExplorer/FractalExplorer.c: Added missing default
	value to wvals structure.
2006-11-08 20:08:29 +00:00
Sven Neumann 5c0ff0f6e2 removed dead code.
2006-11-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: removed dead code.
2006-11-08 07:22:42 +00:00
Simon Budig 99c64d888b provide an exit code indicating if the check was passed.
2006-11-07  Simon Budig  <simon@gimp.org>

	* tools/defcheck.py: provide an exit code indicating if the
	check was passed.
2006-11-07 22:21:39 +00:00
Sven Neumann a44f83c66c simplified.
2006-11-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c
(gimp_rectangle_tool_oper_update):
	simplified.
2006-11-07 22:07:22 +00:00
Marco Ciampa 3d0bace93d Updated italian translation 2006-11-07 20:11:12 +00:00