Commit Graph

15107 Commits

Author SHA1 Message Date
Sven Neumann 816889b544 removed const qualifiers to fix compilation on Solaris 8 (bug #479817).
2007-09-24  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c: removed const qualifiers
	to fix compilation on Solaris 8 (bug #479817).

svn path=/trunk/; revision=23642
2007-09-24 15:43:01 +00:00
Michael Natterer 5e12d9a0a5 allow to pass NULL as label and get the label from the menu itew.
2007-09-24  Michael Natterer  <mitch@gimp.org>

	* app/gui/ige-mac-menu.c (ige_mac_menu_add_app_menu_item): allow
	to pass NULL as label and get the label from the menu itew.

	* app/gui/gui.c (gui_restore_after_callback): pass NULL as labels
	for the preferences menu items.


svn path=/trunk/; revision=23641
2007-09-24 15:01:10 +00:00
Michael Natterer 51f2f0c65f new versions with slight API renaming and new generalized API for adding
2007-09-24  Michael Natterer  <mitch@gimp.org>

	* app/gui/ige-mac-menu.[ch]: new versions with slight API renaming
	and new generalized API for adding application menu items.

	* app/gui/gui.c (gui_restore_after_callback): follow API changes
	and add "Preferences", "Keyboard Shortcuts" and "Units" to the
	application menu's preferences section.


svn path=/trunk/; revision=23639
2007-09-24 13:33:47 +00:00
Simon Budig 93f66169bb use the correct default values for the control points of a loaded path.
2007-09-24  Simon Budig  <simon@gimp.org>

	* app/xcf/xcf-load.c: use the correct default values for the
	control points of a loaded path.

	Fixes bug #479176.


svn path=/trunk/; revision=23637
2007-09-24 08:20:59 +00:00
Sven Neumann 6e412c1e42 applied patch from Ulf-D. Ehlert which fixes a bug which may shrink the
2007-09-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/drop-shadow.scm: applied patch from
	Ulf-D. Ehlert which fixes a bug which may shrink the image instead
	of enlarging it (bug #478385).

svn path=/trunk/; revision=23636
2007-09-24 08:00:14 +00:00
Sven Neumann a1fb50607a Made 2.4.0-rc3 release.
2007-09-23  Sven Neumann  <sven@gimp.org>

        * Made 2.4.0-rc3 release.

svn path=/trunk/; revision=23633
2007-09-23 19:16:58 +00:00
Sven Neumann 84409a2a7c avoid the crash reported in bug #470304.
2007-09-23  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptooloptionseditor.c
	(gimp_tool_options_editor_get_title): avoid the crash reported 
in
	bug #470304.


svn path=/trunk/; revision=23632
2007-09-23 19:09:37 +00:00
Sven Neumann f1ce484ab2 marked blurbs as translatable.
2007-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: marked blurbs as translatable.


svn path=/trunk/; revision=23631
2007-09-23 18:30:31 +00:00
Simon Budig 2e1402c01b Accomodate for spill that happens by the box filtering.
2007-09-23  Simon Budig  <simon@gimp.org>

	* app/display/gimpdisplay.c: Accomodate for spill that
	happens by the box filtering.

	Fixes bug #474509. Again. Hopefully.


svn path=/trunk/; revision=23630
2007-09-23 18:21:08 +00:00
Michael Natterer 2fbe082762 added placeholder File/Preferences and move the preferences and keyboard
2007-09-23  Michael Natterer  <mitch@gimp.org>

	* menus/toolbox-menu.xml.in: added placeholder File/Preferences
	and move the preferences and keyboard shortcut dialogs there.

	* plug-ins/common/uniteditor.c (query): register the unit editor
	there too.


svn path=/trunk/; revision=23629
2007-09-23 17:23:06 +00:00
Sven Neumann 83968989c0 avoid pointer arithmetics on void pointers. Fixes compilation on IRIX (bug
2007-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pcx.c: avoid pointer arithmetics on void 
pointers.
	Fixes compilation on IRIX (bug #479357).


svn path=/trunk/; revision=23628
2007-09-23 17:02:11 +00:00
Martin Nordholts 0ad8adf1b5 Reverted commits for bug #479426, it's NOTABUG.
2007-09-23  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangleselecttool.c: Reverted commits for
	bug #479426, it's NOTABUG.

svn path=/trunk/; revision=23627
2007-09-23 12:25:16 +00:00
Martin Nordholts 386f9c69ca New name for gimp_rect_select_selection_visible() which has been changed
2007-09-23  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangleselecttool.c
	(gimp_rect_select_tool_should_draw): New name for
	gimp_rect_select_selection_visible() which has been changed to
	always return TRUE when the tool is active, i.e. when a rectangle
	is being create or resized. Better fix for bug #479426.

svn path=/trunk/; revision=23623
2007-09-23 07:55:30 +00:00
Martin Nordholts 4d673f1ece Refer to the right bug number bug #479426 in the last ChangeLog entry.
svn path=/trunk/; revision=23622
2007-09-23 07:30:21 +00:00
Martin Nordholts 1444b854e7 Only draw the rectangle when `Show selection' is `true', with the help of
2007-09-23  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangleselecttool.c
	(gimp_rect_select_tool_draw): Only draw the rectangle when `Show
	selection' is `true', with the help of a new function
	gimp_rect_select_tool_selection_visible(). Fixes bug #474509.

svn path=/trunk/; revision=23621
2007-09-23 07:26:52 +00:00
Simon Budig cd5973a654 add a few strategically placed return TRUEs to stop event propagation.
2007-09-23  Simon Budig  <simon@gimp.org>

	* plug-ins/common/bumpmap.c: add a few strategically placed
	return TRUEs to stop event propagation.

	Fixes bug #479389


svn path=/trunk/; revision=23620
2007-09-23 01:15:28 +00:00
Simon Budig a26c1d7df9 oops - managed to miss the mask rendering.
2007-09-23  Simon Budig  <simon@gimp.org>

	* app/display/gimpdisplayshell-render.c: oops - managed to miss the
	mask rendering.


svn path=/trunk/; revision=23619
2007-09-23 00:57:15 +00:00
Simon Budig 7d0a4ce1ec use Bresenham stepping for the y-direction as well.
2007-09-23  Simon Budig  <simon@gimp.org>

	* app/display/gimpdisplayshell-render.c: use Bresenham stepping
	for the y-direction as well.

	Fixes bug #474509.

	Retired old and unused functions.


svn path=/trunk/; revision=23618
2007-09-23 00:36:17 +00:00
Simon Budig 40f66e9c13 implement bresenham-like stepping for interpolating the view in
2007-09-23  Simon Budig  <simon@gimp.org>

	* app/display/gimpdisplayshell-render.c: implement
	bresenham-like stepping for interpolating the view in
	x-direction. Since I now know how it is supposed to work
	the y direction will follow shortly.

	Adresses bug #474509.


svn path=/trunk/; revision=23617
2007-09-22 22:28:51 +00:00
Martin Nordholts cd5a441610 Add an allow-growing option.
2007-09-22  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpcropoptions.[ch]: Add an allow-growing option.

	* app/tools/gimpcroptool.c: Take the new allow-growing option into
	account when setting crop rectangle constraints, and restructure
	the code a bit.
	(gimp_crop_tool_execute): Allow rectangles larger than the
	image/layer being sent to gimp_image_crop() since that function
	handles that fine. These changes fixes bug #368325.

svn path=/trunk/; revision=23616
2007-09-22 18:55:14 +00:00
Martin Nordholts 7b65c24e35 Enforce constraints of any pending rectangle when setting a constraint.
2007-09-22  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_set_constraint): Enforce constraints of any
	pending rectangle when setting a constraint.

svn path=/trunk/; revision=23615
2007-09-22 18:20:29 +00:00
Simon Budig 24f9ed8446 further simplifications.
2007-09-22  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: further simplifications.


svn path=/trunk/; revision=23614
2007-09-22 18:03:39 +00:00
Kevin Cozens 9a5e22bdf5 Applied modified patch from Simon Budig. Any bytes read from a file which
2007-09-21  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (basic_inchar): Applied
	modified patch from Simon Budig. Any bytes read from a file which
	are not valid UTF-8 characters will be ignored. Fixes bug #476356.

svn path=/trunk/; revision=23613
2007-09-21 23:53:03 +00:00
Sven Neumann 24c4243f28 General fix for bug #478657:
2007-09-21  Sven Neumann  <sven@gimp.org>

	General fix for bug #478657:

	* libgimp/gimpaspectpreview.c
	* libgimp/gimpdrawablepreview.c
	* libgimp/gimpzoompreview.c: let all preview widgets store the
	state of the Preview toggle. Declared "toggle" parameter as unused.

	* plug-ins/common/*.c: pass NULL for "toggle" to
	gimp_drawable_preview_new() and gimp_aspect_preview_new().

svn path=/trunk/; revision=23603
2007-09-21 13:27:33 +00:00
Sven Neumann 24c7fc1e8d formatting.
2007-09-21  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.c: formatting.

	* libgimpwidgets/gimpscrolledpreview.c: make use of freeze/thaw to
	reduce the number of updates during initialization.

svn path=/trunk/; revision=23602
2007-09-21 12:19:00 +00:00
Sven Neumann accb626859 set the image clean after handling the color profile.
2007-09-21  Sven Neumann  <sven@gimp.org>

	* app/file/file-open.c (file_open_image): set the image clean
	after handling the color profile.

svn path=/trunk/; revision=23601
2007-09-21 11:23:03 +00:00
Sven Neumann 0370078297 added a load_proc member to GimpImage and getters and setters for it.
2007-09-20  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.[ch]: added a load_proc member to GimpImage
	and getters and setters for it.

	* app/file/file-open.c (file_open_image): set the load 
procedure,
	but only if it hasn't been set already. Use the MIME type from 
the
	load procedure that is set on the image.

	* tools/pdbgen/pdb/fileops.pdb (file_load_invoker): set the load
	procedure. This causes it to be set when the URI plug-in calls
	gimp-file-load to load the image.

	* app/pdb/fileops_cmds.c: regenerated.

	* app/widgets/gimpimagepropview.c
	(gimp_image_prop_view_label_set_filetype): use the MIME type 
from
	the load procedure, in case that no save procedure is set.


svn path=/trunk/; revision=23597
2007-09-20 21:23:05 +00:00
Sven Neumann 8cdf71ff05 use "application/octet-stream" as MIME type in case that it is unset.
2007-09-20  Sven Neumann  <sven@gimp.org>

	* app/gui/gui-vtable.c (gui_recent_list_add_uri): use
	"application/octet-stream" as MIME type in case that it is 
unset.


svn path=/trunk/; revision=23596
2007-09-20 19:28:39 +00:00
Raphael Quinet 0de56fd922 updated the table of known devices and software, work in progress.
2007-09-20  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/jpeg/jpegqual.c (quant_info): updated the table of
	known devices and software, work in progress.

svn path=/trunk/; revision=23595
2007-09-20 16:01:29 +00:00
Michael Natterer e2fcc1fc6e added placeholder Edit/Preferences and move the preferences and keyboard
2007-09-20  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: added placeholder Edit/Preferences and
	move the preferences and keyboard shortcut dialogs there.

	* plug-ins/common/uniteditor.c (query): register the unit editor
	there too.


svn path=/trunk/; revision=23594
2007-09-20 11:39:32 +00:00
Sven Neumann 09b972eef3 corrected an entry, reformatted others
svn path=/trunk/; revision=23592
2007-09-20 06:25:25 +00:00
Sven Neumann 05afe3edc1 weight pixels by their alpha value (bug #477689).
2007-09-19  Sven Neumann  <sven@gimp.org>

	* app/base/gimphistogram.c: weight pixels by their alpha value
	(bug #477689).


svn path=/trunk/; revision=23591
2007-09-19 17:21:41 +00:00
Sven Neumann 04b4982220 removed extra arguments that were added to the compose procedures in the
2007-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c: removed extra arguments that were
	added to the compose procedures in the 2.3 development cycle.
	Restores compatibility and fixes bug #477795.


svn path=/trunk/; revision=23590
2007-09-19 16:56:34 +00:00
Raphael Quinet 3385f9c482 Re-wrote large parts of the code, still work in progress: use GOption for
2007-09-19  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/jpeg/jpegqual.c: Re-wrote large parts of the code,
	still work in progress: use GOption for command-line options, add
	number of quantization tables in QuantInfo, added info for more
	sources (devices or software) but not verified yet.

svn path=/trunk/; revision=23589
2007-09-19 16:09:00 +00:00
Raphael Quinet 51a3ee471b plug-ins/jpeg/jpeg-load.c ifdef'ed out some debugging statements so that
2007-09-19  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/jpeg/jpeg-load.c
	* plug-ins/jpeg/jpeg-save.c: ifdef'ed out some debugging
	statements so that they show up only in unstable releases.

	* plug-ins/jpeg/jpeg.c (run): removed calls to gimp_set_data() and
	gimp_get_data() so that changes made to the JPEG save settings for
	one file do not affect other files saved later.

svn path=/trunk/; revision=23584
2007-09-19 11:44:42 +00:00
Michael Natterer 6ef79aa6a2 removed...
2007-09-18  Michael Natterer  <mitch@gimp.org>

	* app/gui/gtk-macmenu.[ch]: removed...

	* app/gui/ige-mac-menu.[ch]: ...and replaced by new versions which
	don't use the GTK+ namespace.

	* app/gui/Makefile.am
	* app/gui/gui.c: changed accorgingly.


svn path=/trunk/; revision=23582
2007-09-18 17:43:23 +00:00
Michael Natterer 26e11d5fc3 replaced HAVE_GDK_QUARTZ conditional by --disable-toolbox-menu configure
2007-09-18  Michael Natterer  <mitch@gimp.org>

	* configure.in: replaced HAVE_GDK_QUARTZ conditional by
	--disable-toolbox-menu configure switch which defaults to "yes"
	normally and to "no" on quartz.

	* app/widgets/gimptoolbox.c: changed #ifdef accordingly.

	* app/plug-in/Makefile.am
	* app/plug-in/plug-in-menu-path.[ch]: new generic machanism to map
	around menu locations. If ENABLE_TOOLBOX_MENU is false, map
	"Xtns" and "Help" from <Toolbox> to <Image>.

	* app/plug-in/gimppluginmanager-menu-branch.c
	* app/plug-in/gimppluginprocedure.c: run all menu paths through the
	new mapping function.

	* menus/Makefile.am
	* menus/menus.xsl
	* menus/image-menu.xml.in: add both the "Xtns" and "Help" menus to
	the image menubar if TOOLBOX_MENU is false.


svn path=/trunk/; revision=23581
2007-09-18 14:39:52 +00:00
Michael Natterer 4665c7c459 canonicalize the name of the thumbnail loader procedure too. Fixes bug
2007-09-18  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/fileops.pdb: canonicalize the name of the
	thumbnail loader procedure too. Fixes bug #477917.

	* app/pdb/fileops_cmds.c: regenerated.


svn path=/trunk/; revision=23578
2007-09-18 10:51:58 +00:00
Martin Nordholts 88759a35e9 Applied slightly modified patch from John Marshall that drops adjustment
2007-09-17  Martin Nordholts  <martinn@svn.gnome.org>

	* plug-ins/common/psd-load.c (do_layer_record, load_image):
	Applied slightly modified patch from John Marshall that drops
	adjustment and layer group layers when loading PSD files. Fixes
	bug #474718.

svn path=/trunk/; revision=23576
2007-09-17 19:11:25 +00:00
Sven Neumann 57efbc7b70 formatting, added bug number
svn path=/trunk/; revision=23575
2007-09-17 19:08:13 +00:00
Nils Philippsen b4c39928a6 verify that the bytesperline header field (number of bytes to allocate per
2007-09-17  Nils Philippsen  <nphilipp@redhat.com>
* plug-ins/common/pcx.c (load_image): verify that the bytesperline header
field (number of bytes to allocate per plane and line) isn't less than the
width of the image

svn path=/trunk/; revision=23574
2007-09-17 18:56:34 +00:00
Michael Natterer 534833b638 when DND-hovering > 500ms over a notebook tab, switch to that tab's page.
2007-09-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockbook.[ch]: when DND-hovering > 500ms over a
	notebook tab, switch to that tab's page. Suggested by Saul Goode.


svn path=/trunk/; revision=23573
2007-09-17 15:40:01 +00:00
Sven Neumann f7887a99bc use a GimpColorProfileComboBox for profile selection.
2007-09-17  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_proof.c: use a GimpColorProfileComboBox for
	profile selection.

svn path=/trunk/; revision=23571
2007-09-17 13:37:47 +00:00
Simon Budig 046f0ef21e flush the displays at the end.
2007-09-17  Simon Budig  <simon@gimp.org>

	* plug-ins/common/decompose.c: flush the displays at the end.

	Fixes bug #477008.


svn path=/trunk/; revision=23570
2007-09-17 00:29:28 +00:00
Simon Budig 98222b0359 avoid rendering issues by adding xdelta/2 to xstart.
2007-09-17  Simon Budig  <simon@gimp.org>

	* app/display/gimpdisplayshell-render.c: avoid rendering
	issues by adding xdelta/2 to xstart.

	Probably fixes bug #474509.


svn path=/trunk/; revision=23569
2007-09-16 23:38:37 +00:00
Michael Natterer c1b9979db7 added gimp-layer-flatten. Fixes bug #477026. Fixed docs of
2007-09-15  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/layer.pdb: added gimp-layer-flatten.
	Fixes bug #477026. Fixed docs of gimp-layer-add-alpha.

	* app/pdb/internal_procs.c
	* app/pdb/layer_cmds.c
	* libgimp/gimplayer_pdb.[ch]: regenerated.
	* libgimp/gimp.def: changed accordingly.


svn path=/trunk/; revision=23556
2007-09-15 19:55:35 +00:00
Michael Natterer 08d38cea82 Make layer masks work consistently on layers without alpha. Fixes bug
2007-09-15  Michael Natterer  <mitch@gimp.org>

	Make layer masks work consistently on layers without alpha.
	Fixes bug #475548.

	* app/core/gimplayer.c (gimp_layer_apply_mask): changed to work
	on layers without alpha.

	* app/actions/layers-commands.c (layers_add_mask_response): don't
	automatically add an alpha channel when adding a layer mask.


svn path=/trunk/; revision=23555
2007-09-15 19:23:20 +00:00
Michael Natterer 8e86bc46f9 move private functions to the end of the file. Added function is_hidden()
2007-09-14  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpdatafiles.c: move private functions to the end
	of the file. Added function is_hidden() and use it in
	gimp_datafiles_read_directories(). Moved variables to local
	scopes.


svn path=/trunk/; revision=23547
2007-09-14 15:39:28 +00:00
Sven Neumann 3073cf88fe use the untranslated application name. Specify the group "Graphics".
2007-09-14  Sven Neumann  <sven@gimp.org>

	* app/gui/gui-vtable.c (gui_recent_list_add_uri): use the
	untranslated application name. Specify the group "Graphics".

svn path=/trunk/; revision=23546
2007-09-14 15:17:48 +00:00
Sven Neumann ff80ac1701 formatting.
2007-09-14  Sven Neumann  <sven@gimp.org>

	* app/base/tile-pyramid.c: formatting.

	* app/display/gimpdisplayshell-render.c: removed unused include.

svn path=/trunk/; revision=23545
2007-09-14 13:44:32 +00:00