Commit Graph

11137 Commits

Author SHA1 Message Date
Sven Neumann 6293dee279 map the Home button to "index.html" and removed the Index button for now.
2004-01-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: map the Home button to
	"index.html" and removed the Index button for now.
2004-01-30 14:24:21 +00:00
Michael Natterer a6a21841a1 fixed help ID.
2004-01-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/rcm/rcm_dialog.c (rcm_dialog): fixed help ID.

	* plug-ins/rcm/rcm.[ch]
	* plug-ins/rcm/rcm_callback.[ch]
	* plug-ins/rcm/rcm_dialog.[ch]
	* plug-ins/rcm/rcm_gdk.[ch]
	* plug-ins/rcm/rcm_misc.[ch]: completely reindented, removed
	overly long /*---...---*/ comment lines, fixed spacing.
2004-01-30 11:53:28 +00:00
Miloslav Trmac e9c6e913f4 Fix Czech translation 2004-01-30 10:38:41 +00:00
Michael Schumacher 36444e28a0 added missing symbols. Sven fixed the EXEEXT problem in plug-ins/common.
* libgimpwidgets/gimpwidgets.def: added missing symbols.
* README.win32: Sven fixed the EXEEXT problem in
plug-ins/common. Updated README.win32 accordingly.
2004-01-30 00:19:03 +00:00
Michael Schumacher 67e4359ca7 Sven fixed the EXEEXT problem in plug-ins/common. Updated README.win32 accordingly. 2004-01-29 23:49:29 +00:00
Michael Schumacher 272a2f7a2e added missing symbols 2004-01-29 23:48:51 +00:00
Simon Budig 6e99d930ba Mention fixed bugs in NEWS and Changelog 2004-01-29 22:53:18 +00:00
Simon Budig 645a1ab652 Store the zoom factor as float, not as a ratio.
2004-01-29  Simon Budig  <simon@gimp.org>

	* app/display/gimpdisplayshell.[ch]: Store the zoom factor as
	float, not as a ratio.

	* app/display/gimpdisplayshell-scale.[ch]: change the API to
	expose the Float instead a weirdly encoded integer. Implement
	functions to get a ratio from the scale factor. Implement a set
	as presets as discussed on the mailinglist. Changed Zoom->Other
	dialog to enable entering a float.

	* app/display/gimpdisplayshell-title.c
	* app/display/gimpnavigationview.c
	* app/gui/image-menu.c
	* app/gui/info-window.c
	* app/tools/gimpmagnifytool.c: changed accordingly.

	* app/core/gimp.[ch]
	* app/display/gimpdisplay.[ch]
	* app/gui/gui-vtable.c
	* app/widgets/widgets-enums.h: Made the various display-creating
	functions accept a float for the scale. Introduce a new
	GimpZoomType: GIMP_ZOOM_TO. Generally adjust the API to use
	floats instead of weird integers.

	* app/core/gimp-edit.c
	* app/core/gimptemplate.c
	* app/display/gimpdisplayshell-callbacks.c
	* app/file/file-open.c
	* app/gui/image-commands.c
	* app/gui/view-commands.[ch]
	* tools/pdbgen/pdb/display.pdb
	* app/widgets/gimpimageview.c
	* app/widgets/gimptoolbox-dnd.c: changed accordingly

	* app/pdb/display_cmds.c: regenerated
2004-01-29 22:22:29 +00:00
Sven Neumann eca5c99e63 updated NEWS 2004-01-29 17:59:11 +00:00
Michael Natterer c798f9678d removed the last artefact of context signal handling from 1.2:
2004-01-29  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontext.[ch]: removed the last artefact of context
	signal handling from 1.2:

	GimpContext used to connect to e.g. the current brush's
	"invalidate_preview" and "name_changed" signals and emitted
	"brush_changed" when the callback was invoked. This was needed to
	make 1.2 work, but is conceptually broken with the real model <->
	view approach implemented in the current code.
	This change also optimizes things quite a bit because lots of
	signal emissions are saved.

	Added utility function which finds a container's current object
	after a freeze/thaw.

	* app/widgets/gimpcontainerview.[ch]: added new virtual function
	GimpContainerView::rename_item(). Connect to "name_changed" of the
	corrent container's children and invoke rename_item() accordingly.

	* app/widgets/gimpcontainertreeview.[ch]: removed name_changed
	handler and implement GimpContainerView::rename_item().

	* app/widgets/gimpcontainergridview.c: ditto. the grid view was
	still relying on the removed GimpContext behaviour for updating
	the label showing the sleected item's name.
2004-01-29 16:34:41 +00:00
Michael Natterer 44cac5ae91 GimpData code review:
2004-01-29  Michael Natterer  <mitch@gimp.org>

	GimpData code review:

	* app/core/gimpdata.c (gimp_data_init): default to
	writable = FALSE and dirty = TRUE.

	* app/core/gimpbrushgenerated.[ch]: added "const gchar *name" to
	gimp_brush_generated_new().

	* app/core/gimpbrush.c
	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrushpipe.c
	* app/core/gimpgradient.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c: set all standard datas to clean and
	internal, check for g_path_is_absolute() in all load functions,
	pass the data's name as construct property to g_object_new()
	instead of calling gimp_object_set_name() after creation, fixed
	some UTF-8 handling, spacing, indentation, coding style, general
	cleanup.
2004-01-29 16:19:57 +00:00
Sven Neumann 4591bc1a8d app/tools/gimpcurvestool.c app/tools/gimpinkoptions.c removed explicit
2004-01-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.c
	* app/tools/gimpinkoptions.c
	* app/tools/gimplevelstool.c: removed explicit grabs. The pointer
	is already implicitely grabbed while the button is pressed.
2004-01-29 13:59:14 +00:00
Stanislav Visnovsky a479831ba4 Revert last commit to get the right version.
2004-01-29  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Revert last commit to get the right version.
2004-01-29 09:41:32 +00:00
Michael Natterer e8843a2372 reset binary age because of struct changes below. require GIMP 1.3.26.
2004-01-29  Michael Natterer  <mitch@gimp.org>

	* configure.in: reset binary age because of struct changes below.
	* m4macros/gimp-2.0.m4: require GIMP 1.3.26.

	* libgimpmodule/gimpmodule.h
	* libgimpmodule/gimpmoduledb.h
	* libgimpthumb/gimpthumbnail.h
	* libgimpwidgets/gimpbutton.h
	* libgimpwidgets/gimpchainbutton.h
	* libgimpwidgets/gimpcolorarea.h
	* libgimpwidgets/gimpcolorbutton.h
	* libgimpwidgets/gimpcolordisplay.h
	* libgimpwidgets/gimpcolordisplaystack.h
	* libgimpwidgets/gimpcolornotebook.h
	* libgimpwidgets/gimpcolorscale.h
	* libgimpwidgets/gimpcolorselection.h
	* libgimpwidgets/gimpcolorselector.h
	* libgimpwidgets/gimpdialog.h
	* libgimpwidgets/gimpfileentry.h
	* libgimpwidgets/gimpmemsizeentry.h
	* libgimpwidgets/gimpoffsetarea.h
	* libgimpwidgets/gimppickbutton.h
	* libgimpwidgets/gimppixmap.h
	* libgimpwidgets/gimpsizeentry.h
	* libgimpwidgets/gimpunitmenu.h: added 4 function pointers padding
	to all class structures.
2004-01-29 00:21:33 +00:00
Michael Natterer 9887f19729 libgimpbase/tmpl/gimpdatafiles.sgml
2004-01-28  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/tmpl/gimpdatafiles.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimppatheditor.sgml: updated.
2004-01-28 22:01:59 +00:00
Michael Natterer 894cf70dd5 Added infrastructure to make sure we don't write to the global brush,
2004-01-28  Michael Natterer  <mitch@gimp.org>

	Added infrastructure to make sure we don't write to the global
	brush, pattern etc. directories. Needed to make this configurable
	because we can't rely on the global directories being read-only,
	having certain names or being otherwise detectable at runtime in a
	sane way. Fixes bug #132214.

	* libgimpbase/gimpdatafiles.[ch]: added "const gchar *dirname" to
	the GimpDataFileData struct so callbacks don't need to call
	g_path_get_dirname() for each file.

	* libgimpwidgets/gimpfileentry.c: made it work with non UTF-8
	encoded filenames.

	* libgimpwidgets/gimppatheditor.[ch]: ditto. Added GUI and API for
	setting/getting a second "writable_path". The widget makes sure
	that the writable_path is always a subset of the path.

	* app/config/gimpconfig-utils.[ch]: added new function
	gimp_config_build_writable_path().

	* app/config/gimpcoreconfig.[ch]: added separate properties for
	the writable brush, pattern, gradient, palette and font paths.

	* app/config/gimprc-blurbs.h: added (still empty) blurbs for the
	new properties.

	* app/core/gimpdata.[ch] (gimp_data_set_filename): added parameter
	"gboolean writable". Set data->writable to FALSE by default. If
	"writable" is passed as TRUE, still check if we can write to the
	file before setting data->writable to TRUE.

	(gimp_data_create_filename): changed "data_path" parameter to
	"dest_dir" and assume dest_dir is writable.

	(gimp_data_duplicate): set data->dirty to TRUE to make sure
	duplicated things will be saved.

	* app/core/gimpbrush.c
	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrushpipe.c
	* app/core/gimpgradient.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c: don't set the data's filename and don't
	touch data->dirty in the _load() functions because that's done by
	the data factory now. Don't touch data->dirty in the _duplicate()
	functions because that's done by gimp_data_duplicate() itself now.

	* app/core/gimpdatafactory.[ch] (gimp_data_factory_new): added
	"writable_property_name" and remember it.
	Added utility function gimp_data_factory_get_save_dir() which
	determines the directory to save new datas to.
	Added public function gimp_data_factory_data_save_single() which
	saves a single data object.
	Make sure new things get saved to the first writable directory
	as specified in preferences.

	* app/core/gimp.c (gimp_real_initialize): pass the writable_paths'
	property names to gimp_data_factory_new().

	* app/widgets/gimpdataeditor.c (gimp_data_editor_save_dirty): use
	gimp_data_factory_data_save_single() instead of implementing
	saving here.

	* app/widgets/gimppropwidgets.[ch] (gimp_prop_path_editor_new):
	added "const gchar *writable_property_name" parameter (can be
	NULL).

	Added the needed callbacks to handle the writable_path and made
	the path_editor and file_entry code aware of non UTF-8 filename
	encodings. Some general cleanup.

	* app/gui/preferences-dialog.c: changed accordingly.
2004-01-28 21:53:50 +00:00
David Neary 6ab5abcd1b Correct typo.
Correct typo.
2004-01-28 16:12:27 +00:00
Sven Neumann 70077c091b according to the automake docs, we need to add $(EXEEXT) explicitely for
2004-01-28  Sven Neumann  <sven@gimp.org>

	* configure.in: according to the automake docs, we need to add
	$(EXEEXT) explicitely for programs that are conditionally built
	using configure substitutions instead of automake conditionals.
2004-01-28 15:52:08 +00:00
Michael Natterer 9c28c22906 return early if gimp_config_path_expand_only() fails.
2004-01-28  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-path.c (gimp_config_path_expand): return
	early if gimp_config_path_expand_only() fails.
2004-01-28 14:36:22 +00:00
Dave Neary 87e1ea554c Removed duplicate TIFF entry from save dialog, and made the save handler
2004-01-28  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/tiff.c: Removed duplicate TIFF entry from save
        dialog, and made the save handler point to the one that doesn't
        pre-multiply by alpha. Reported on gimp-user by misfit-x. Also
        changed default value to not destroy data on save.
2004-01-28 12:30:00 +00:00
Pedro Gimeno a0b7d6d569 Fix typo that prevented using the inverse of the golden ratio (1/g) as a
2004-01-28  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/script-fu/scripts/grid-system.scm: Fix typo that prevented
	using the inverse of the golden ratio (1/g) as a weight in the list.
2004-01-28 11:27:44 +00:00
Michael Natterer c07bbf8200 updated help IDs for new/reordered pages in the prefs dialog.
2004-01-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp-ids.h: updated help IDs for new/reordered
	pages in the prefs dialog.

	* app/gui/preferences-dialog.c (prefs_dialog_new): changed
	accordingly.
2004-01-28 11:06:34 +00:00
Manish Singh 86a2462143 validate the types of the individual list members when passing parasites.
2004-01-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call): validate
        the types of the individual list members when passing parasites.
        Fixes #93806.
2004-01-28 08:35:10 +00:00
Manish Singh 27d43d86af inlined rotate_pointers, changed prototypes and casts around so that we're
2004-01-27  Manish Singh  <yosh@gimp.org>

        * app/paint-funcs/paint-funcs.c: inlined rotate_pointers, changed
        prototypes and casts around so that we're compliant with C99 aliasing
        rules.
2004-01-28 04:28:58 +00:00
Manish Singh 0f338c4c2f app/composite/gimp-composite-generic.c
2004-01-27  Manish Singh  <yosh@gimp.org>

        * app/composite/gimp-composite-generic.c
        (gimp_composite_overlay_any_any_any_generic)
        * app/paint-funcs/paint-funcs-generic.h (overlay_pixels): use more
        than one temporary when stacking INT_MULTs, to avoid undefined
        values.
2004-01-28 03:58:52 +00:00
Manish Singh 38a2656c53 Use a real GimpVector2 for vector operations, instead of stuffing
2004-01-27  Manish Singh  <yosh@gimp.org>

        * app/paint/gimppaintcore.c (gimp_paint_core_interpolate): Use a real
        GimpVector2 for vector operations, instead of stuffing everything
        into a GimpCoords. C99 aliasing fix.
2004-01-28 03:29:58 +00:00
Manish Singh 1a8bbe30e3 removed unused variable.
2004-01-27  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/plugindetails.c: removed unused variable.

        * plug-ins/common/nlfilt.c: declare nlfiltRow as inline in the
        function definition as well.
2004-01-28 03:11:49 +00:00
Manish Singh 21c0369105 use AM_PATH_GIMPPRINT to get some additional sanity checks.
2004-01-27  Manish Singh  <yosh@gimp.org>

        * configure.in: use AM_PATH_GIMPPRINT to get some additional
        sanity checks.

        * acinclude.m4: define AM_PATH_GIMPPRINT here, so we don't have
        add a new autogen dependency.

        * plug-ins/print/Makefile.am: Use GIMPPRINT_{CFLAGS,LIBS}
2004-01-28 02:35:08 +00:00
Simon Budig 857d114ace Argh, this is getting silly.
2004-01-28  Simon Budig  <simon@gimp.org>

	Argh, this is getting silly.

	* app/core/gimpscanconvert.c: Fix dumb bug I introduced
	while fixing bug #132036. Instead of always closing a
	polyline to the first point of the vpath close to the
	first point of the current polyline

	I'll close #132036 for the third time now, feel free to
	reopen it when bugs appear...
2004-01-27 23:38:03 +00:00
Dave Neary e498c09743 Apply patch from Andrey Kiselev to improve defaults when there is no
2004-01-27  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/tiff.c: Apply patch from Andrey Kiselev to
        improve defaults when there is no photometric specified for
	CCITT encoded tiffs. Closes bug #131902.
2004-01-27 19:19:54 +00:00
Pablo G. del Campo 91543c56fb Updated Spanish translation.
2004-01-27  Pablo G. del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2004-01-27 19:13:33 +00:00
Pablo Gonzalo del Campo b4c7259ff8 Updated Spanish translation.
2003-01-27  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2004-01-27 19:13:25 +00:00
Pablo Gonzalo del Campo dbd9608618 Updated Spanish translation.
2003-01-27  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2004-01-27 19:13:07 +00:00
Pablo G. del Campo df2e7c1e02 Updated Spanish translation.
2004-01-27  Pablo G. del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2004-01-27 19:12:46 +00:00
Michael Natterer 402c5533cf use the new GIMP_STOCK_LAYER_MASK icon for "Add Layer Mask" dialog.
2004-01-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/layers-commands.c (layers_add_mask_query): use the
	new GIMP_STOCK_LAYER_MASK icon for "Add Layer Mask" dialog.
2004-01-27 18:39:46 +00:00
Stanislav Visnovsky f588c2954a Updated Slovak translation by Zdenko Podobny.
2004-01-27  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation by Zdenko Podobny.
2004-01-27 17:00:31 +00:00
Jakub Steiner 58ad14a241 themes/Default/images/stock-channel-indexed-16.png
2004-01-27  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-channel-indexed-16.png
* themes/Default/images/stock-channel-indexed-24.png
* themes/Default/images/stock-channel-indexed-32.png
* themes/Default/images/stock-channel-indexed-48.png: replacing
  placeholders
2004-01-27 16:52:50 +00:00
Stanislav Visnovsky e7fe283417 Updated Slovak translation by Zdenko Podobny.
2004-01-27  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation by Zdenko Podobny.
2004-01-27 16:17:45 +00:00
Sven Neumann f8f8f3c0bb updated NEWS file 2004-01-27 15:51:36 +00:00
Michael Natterer 86f2bea92c libgimpwidgets/libgimpwidgets-sections.txt added the new icons.
2004-01-27  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml: added the new icons.
2004-01-27 15:31:33 +00:00
Michael Natterer b2606b5128 Re-enabled filling the whole selection using the bucket fill tool. Fixes
2004-01-27  Michael Natterer  <mitch@gimp.org>

	Re-enabled filling the whole selection using the bucket fill
	tool. Fixes bug #132649.

	* app/tools/gimpbucketfilloptions.[ch]: added boolean property
	"fill-selection" and a GUI for it.

	* app/tools/gimpbucketfilltool.c: changed accordingly.
2004-01-27 15:26:11 +00:00
Michael Natterer 1d71eaa1c9 app/gui/image-menu.c (image_menu_entries) use the new
2004-01-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/image-menu.c (image_menu_entries)
	* app/gui/layers-menu.c (layers_menu_entries): use the new
	GIMP_STOCK_LAYER_MASK icons for "Add Layer Mask".
2004-01-27 15:03:27 +00:00
Michael Natterer b8bc248353 themes/Default/images/Makefile.am
2004-01-27  Michael Natterer  <mitch@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-channel-indexed-16.png
	* themes/Default/images/stock-channel-indexed-24.png
	* themes/Default/images/stock-channel-indexed-32.png
	* themes/Default/images/stock-channel-indexed-48.png
	* libgimpwidgets/gimpstock.[ch]: added placeholders for an INDEXED
	channel icon (copied from the GRAY channel icon). To be replaced...

	* app/widgets/gimppreviewrendererimage.c: use
	GIMP_STOCK_CHANNEL_INDEXED instead of GIMP_STOCK_QUESTION for the
	indexed channel.
2004-01-27 13:48:20 +00:00
Sven Neumann eb7f89b909 applied a patch from Pedro Gimeno to make the logo behave more like it
2004-01-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/comic-logo.scm: applied a patch from
	Pedro Gimeno to make the logo behave more like it used to in 1.2
	(bug #132493).
2004-01-27 13:38:19 +00:00
Michael Natterer c92a4e693d added '%P' which expands to the PDB id of the active drawable. Moved local
2004-01-27  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-title.c
	(gimp_display_shell_format_title): added '%P' which expands to the
	PDB id of the active drawable. Moved local variables to local
	scopes where they are needed.

	* app/config/gimpconfig-dump.c: document it.
2004-01-27 12:43:53 +00:00
Michael Natterer f406b73da6 some cleanup.
2004-01-27  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-dnd.c: some cleanup.

	(gimp_display_shell_bucket_fill): don't use the bucket fill
	options but behave like "Edit -> Fill" and fill with NORMAL/100%.
	Fixes bug #132596.
2004-01-27 11:30:54 +00:00
Marco Ciampa 89156a3d87 Updated italian translation 2004-01-27 10:34:09 +00:00
Manish Singh f84cc1f4cd use new versioning defines.
2004-01-26  Manish Singh  <yosh@gimp.org>

        * gimp-zip.in: use new versioning defines.
2004-01-27 03:58:39 +00:00
Manish Singh e8d62cff03 add m4_defines for gimp_unstable and gimp_full_name, and define a
2004-01-26  Manish Singh  <yosh@gimp.org>

        * configure.in: add m4_defines for gimp_unstable and gimp_full_name,
        and define a GIMP_VISIBLE_NAME based on that.

        * data/misc/Makefile.am
        * data/misc/gimp.applications.in
        * data/misc/gimp.keys.in: made these configured files, so they can
        use GIMP_APP_VERSION and GIMP_VISIBLE_NAME.

        * data/misc/gimp.desktop.in.in: use GIMP_APP_VERSION and
        GIMP_VISIBLE_NAME.
2004-01-27 03:45:01 +00:00
Jakub Steiner ac9a2935ff themes/Default/images/stock-layer-mask-32.png replaced the placeholders
2004-01-27  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-layer-mask-32.png
* themes/Default/images/stock-layer-mask-48.png: replaced the
  placeholders
2004-01-27 03:31:19 +00:00