Commit Graph

15657 Commits

Author SHA1 Message Date
Sven Neumann fa8a2c37ea news flash 2005-05-11 23:22:59 +00:00
Sven Neumann 35b4627cc2 request notification about changes to the "transient-docks" preference and
2005-05-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpimagedock.c: request notification about changes
	to the "transient-docks" preference and drop the transient
	relationship if it is disabled.

plus some other changes / fixes to my previous commit
2005-05-11 23:12:36 +00:00
Sven Neumann 840e5f4601 app/config/gimpguiconfig.[ch] added new gimprc option "transient-docks".
2005-05-12  Sven Neumann  <sven@gimp.org>

	* app/config/gimpguiconfig.[ch]
	* app/config/gimprc-blurbs.h: added new gimprc option
	"transient-docks".

	* app/widgets/gimpimagedock.c (gimp_image_dock_display_changed):
	as an experiment
	, obey the "transient-docks" preference and set
	the dock window transient to the active display shell. Please
	comment on the behaviour you observe.

	* app/dialogs/preferences-dialog.c (prefs_dialog_new): added a
	view on the new gimprc property.

	* app/config/gimpguiconfig.[ch]: set the IGNORE flag on the
	"info-window-per-display" property; it isn't used any longer.

	* app/config/gimpconfig-dump.c (dump_gimprc_system): don't dump
	properties that have the GIMP_CONFIG_PARAM_IGNORE flag set.
2005-05-11 22:18:47 +00:00
Sven Neumann c9933fca55 split the message into primary and secondary label.
2005-05-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c (jpeg_query): split the message into
	primary and secondary label.
2005-05-11 21:25:52 +00:00
Michael Natterer fb03c60e15 allow to pass a NULL group_name and iterate all action groups to find the
2005-05-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.c (gimp_ui_manager_find_action): allow
	to pass a NULL group_name and iterate all action groups to find
	the action in that case.

	* app/widgets/gimpcontrollereditor.c: show the action's stock icon
	in the "Action" column, using above function.
2005-05-11 21:15:16 +00:00
Sven Neumann 5fb2c4fc86 added a read-only property to access the display-shell w/o having to
2005-05-11  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplay.c: added a read-only property to access
	the display-shell w/o having to include gimpdisplay.h.
2005-05-11 20:41:51 +00:00
Michael Natterer 1f1305c372 Some dock refactoring which separates the docking logic from active image
2005-05-11  Michael Natterer  <mitch@gimp.org>

	Some dock refactoring which separates the docking logic from
	active image and UI manager stuff:

	* app/widgets/gimpmenudock.[ch]: new widget renamed from
	GimpImageDock, zero changes except the name change.

	* app/widgets/gimpimagedock.[ch]: new widget derived from
	GimpDock. Keeps the UI manager.

	* app/widgets/gimpdock.[ch]: removed the UI manager. GimpDock only
	contains the basic docking logic again.

	* app/widgets/gimpmenudock.[ch]
	* app/widgets/gimptoolbox.[ch]: derive them from GimpImageDock.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/actions/dialogs-commands.c
	* app/actions/dock-actions.c
	* app/actions/dock-commands.c
	* app/actions/dockable-commands.c
	* app/dialogs/dialogs-constructors.c: changed accordingly.
2005-05-11 20:26:12 +00:00
Sven Neumann 5c4278d003 also zoom on mouse position if the event originates from the canvas (see
2005-05-11  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
	also zoom on mouse position if the event originates from the canvas
	(see bug #79384).

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): replaced a g_warning()
	with g_return_if_fail().
2005-05-11 15:00:49 +00:00
Simon Budig 9ddc6cafcc reset the vector tool to Design mode whenever a new vectors object gets
2005-05-11  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.c: reset the vector tool to Design
	mode whenever a new vectors object gets connected to the tool.

	Attempt to fix #300663, please report there if you like / dislike
	the new behaviour.
2005-05-11 13:59:17 +00:00
Sven Neumann 7d8063dac9 return silently instead of warning if the window hasn't been realized.
2005-05-11  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
	return silently instead of warning if the window hasn't been
	realized. This happens as part of the setup process if
	"resize-windows-on-zoom" is selected in the prefs.
2005-05-11 13:49:55 +00:00
Sven Neumann 3273078831 made the warning about the library search path problem more prominent 2005-05-10 22:58:51 +00:00
Michael Natterer a98adfd829 added API to set an event snooper which, if set, receives any controller
2005-05-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollerinfo.[ch]: added API to set an event
	snooper which, if set, receives any controller event first, even
	if event dispatching is disabled for the controller.

	* app/widgets/gimpcontrollereditor.[ch]: use the new API to
	implement a "Grab Event" button, which takes the next event from
	the controller and selects it in the event mapping tree view.
2005-05-10 22:08:48 +00:00
Michael Natterer 66ce4f85de some more stuff: up/down buttons, remember the dialogs' size and
2005-05-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollerlist.[ch]: some more stuff: up/down
	buttons, remember the dialogs' size and positions, misc stuff.

	* app/widgets/gimpcontrollereditor.c
	(gimp_controller_editor_edit_clicked): use a GimpViewableDialog
	now that GimpControllerInfo is a GimpViewable.

	* app/dialogs/dialogs.c: added a foreign entry for the controller
	editor dialog. Allow the controller editors and its event mapping
	dialogs to exist multiple times.

	* app/dialogs/preferences-dialog.c (prefs_notebook_append_page):
	create the pages' event boxes with input-only windows.
2005-05-10 19:48:03 +00:00
Helvetix Victorinox 32ca225aa0 Repaired a latent bug in gimp_composite_lighten_rgba8_rgba8_rgba8_sse2
* app/composite/gimp-composite-sse2.c: Repaired a latent bug in
gimp_composite_lighten_rgba8_rgba8_rgba8_sse2 where setting up
the alpha masks were not done correctly.  A redundant (better?)
fix to bug #164061

Use movntq instructions to avoid processor cache pollution.

Some adjustments to register allocation specifications.
2005-05-10 05:26:11 +00:00
Sven Neumann 2cec4583b4 changed translation of "Grid".
2005-05-09  Sven Neumann  <sven@gimp.org>

	* de.po: changed translation of "Grid".
2005-05-09 20:40:49 +00:00
David Odin 46ed4f2cb6 use the correct bounds for the spinners. This is related to #114225.
* plug-ins/common/grid.c: use the correct bounds for the spinners.
  This is related to #114225. Spotted by Lomaxx.
2005-05-09 19:32:03 +00:00
Iaki Larraaga 2bc3206094 Updated Basque trsnalation.
2005-05-09  Iaki Larraaga  <dooteo@euskalgnu.org>

        * eu.po:  Updated Basque trsnalation.
2005-05-09 17:14:49 +00:00
Sven Neumann 8f49da491c sprinkled some const qualifiers.
2005-05-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: sprinkled some const qualifiers.
2005-05-09 10:41:39 +00:00
Michael Natterer 92ad7c1d53 app/widgets/Makefile.am app/widgets/widgets-types.h new widget which
2005-05-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcontrollerlist.[ch]: new widget which allows
	adding/removing controllers using two lists of available/active
	controllers. Work in progress...

	* app/widgets/gimpcontrollerinfo.[ch]: derive it from GimpVieable
	so it can have an icon (unfinished). Added convenience constructor
	gimp_controller_info_new().

	* app/dialogs/preferences-dialog.c: use a GimpControllerList
	instead of a notebook of GimpControllerEditors.
2005-05-09 09:35:41 +00:00
Sven Neumann 06e8324687 minor update 2005-05-09 07:53:42 +00:00
Sven Neumann 9d0d9f1653 removed traces of plug-ins/common,
2005-05-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/Makefile.am: removed traces of plug-ins/common,
2005-05-09 00:12:07 +00:00
Sven Neumann 5de2d7e580 updated README for GIMP 2.3 2005-05-09 00:03:52 +00:00
Sven Neumann 7c2f4a126a NEWS update, fixed a typo in ChangeLog 2005-05-08 23:52:40 +00:00
Sven Neumann 3bb2f79984 inline tile_manager_get_tile_num().
2005-05-09  Sven Neumann  <sven@gimp.org>

	* app/base/tile-manager.c: inline tile_manager_get_tile_num().

	* app/display/gimpdisplayshell-render.c (render_image_tile_fault):
	reverted one of the changes I did here earlier.
2005-05-08 23:30:54 +00:00
Sven Neumann 4b582207f1 always set "activates-default" on the name entry.
2005-05-08  Sven Neumann  <sven@gimp.org>

	* app/dialogs/layer-options-dialog.c (layer_options_dialog_new):
	always set "activates-default" on the name entry.
2005-05-08 20:49:06 +00:00
Sven Neumann 001bd33231 some code cleanup.
2005-05-08  Sven Neumann  <sven@gimp.org>

	* app/base/tile-manager.[ch]: some code cleanup.
2005-05-08 20:24:54 +00:00
Michael Natterer 46951bd8d8 don't call gtk_entry_set_text() with a NULL text.
2005-05-08  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppropwidgets.c (gimp_prop_entry_new)
	(gimp_prop_entry_notify): don't call gtk_entry_set_text() with a
	NULL text.
2005-05-08 15:53:21 +00:00
Marco Ciampa 2bcc9da9d3 Updated italian translation 2005-05-08 15:32:15 +00:00
Sven Neumann 63676cca6a limit the tile-cache-size to G_MAXULONG or GIMP_MAX_MEMSIZE, whatever is
2005-05-08  Sven Neumann  <sven@gimp.org>

	* app/config/gimpbaseconfig.c: limit the tile-cache-size to
	G_MAXULONG or GIMP_MAX_MEMSIZE, whatever is smaller. Fixes
	bug #303371.
2005-05-08 11:07:44 +00:00
Manish Singh df3ae9c65d Fix a typo reported in bug #303379.
2005-05-07  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/pdb/image.pdb: Fix a typo reported in bug #303379.

        * app/pdb/image_cmds.c
        * libgimp/gimpimage_pdb.c: regenerated.
2005-05-07 16:22:52 +00:00
Sven Neumann ddd7f1c3e0 added help-id to undo-clear dialog 2005-05-07 14:27:47 +00:00
Sven Neumann 1cbcb0d0f1 tell the user how much memory will be freed by clearing the undo history.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-commands.c (edit_undo_clear_cmd_callback): tell
	the user how much memory will be freed by clearing the undo history.
2005-05-07 13:56:05 +00:00
Sven Neumann 349f852c8b added app/tools/gimpselectiontool.c.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added app/tools/gimpselectiontool.c.

	* de.po: updated german translation.
2005-05-07 13:35:33 +00:00
Sven Neumann 27042a7b36 app/tools/gimppainttool.[ch] unified tool and paint-tool statusbar APIs.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppainttool.[ch]
	* app/tools/gimptool.[ch]: unified tool and paint-tool statusbar APIs.

	* app/tools/gimpblendtool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcolortool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimpnewrectselecttool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimprectselecttool.c
	* app/tools/gimpvectortool.c: changed accordingly.

	* app/tools/gimpselectiontool.c: give more hints in the statusbar.
	Some of the selection tools should probably override these.
2005-05-07 13:24:47 +00:00
Sven Neumann d2cf185c30 minor code cleanup.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimppreviewcache.c: minor code cleanup.
2005-05-07 12:19:47 +00:00
Sven Neumann 3d83d3a0a2 added modifier keys to the tooltips of the selection mode buttons.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpselectionoptions.c: added modifier keys to the
	tooltips of the selection mode buttons.
2005-05-07 10:16:01 +00:00
Sven Neumann 6df791ec49 removed the GUI for the "default-threshold" preference.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: removed the GUI for the
	"default-threshold" preference.
2005-05-07 09:43:43 +00:00
Sven Neumann 8d055544f4 oops, I didn't meant to commit that yet 2005-05-07 09:38:29 +00:00
Sven Neumann 98fdc459ab removed the GUI for the Threshold option; it is more confusing than
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpmagnifyoptions.c (gimp_magnify_options_gui):
	removed the GUI for the Threshold option; it is more confusing
	than useful.
2005-05-07 09:37:03 +00:00
Sven Neumann 115f21d144 changed the default value for "save-tool-options" to FALSE. This is a
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/config/gimpguiconfig.c: changed the default value for
	"save-tool-options" to FALSE. This is a major source of confusion;
	let's try if disabling it is an improvement.
2005-05-07 09:28:12 +00:00
jaycox cc140a9b25 add comments describing thumbnail resource. >
* plug-ins/common/psd.c: add comments describing thumbnail resource.
>
2005-05-07 07:58:20 +00:00
Sven Neumann b163c36962 plug-ins/winicon/icoload.c added a thumbnail loader for .ico files Fixes
2005-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/main.c: added a thumbnail loader for .ico files
	Fixes bug #158191.
2005-05-07 00:06:33 +00:00
Sven Neumann e016f2db02 more preparations for thumbnail loading 2005-05-06 23:42:14 +00:00
Sven Neumann f3e9122465 plug-ins/winicon/icoload.[ch] code cleanup, prepare for thumbnail loading.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.[ch]
	* plug-ins/winicon/main.c: code cleanup, prepare for thumbnail
	loading.
2005-05-06 23:26:04 +00:00
Sven Neumann 2a08c79b2b app/actions/layers-actions.c app/core/gimpimage.c
2005-05-06  Sven Neumann  <sven@gimp.org>

	* app/actions/layers-actions.c
	* app/core/gimpimage.c (gimp_image_position_layer)
	* app/widgets/gimplayertreeview.c (gimp_layer_tree_view_drop_possible):
	drop the limitation that layers not at the bottom of the stack
	have to have an alpha channel. Allow the user to move the
	background layer up in the stack or reposition it using DND.

	* tips/gimp-tips.xml.in: changed the relevant tip and some more.
2005-05-06 20:45:21 +00:00
Michael Natterer 65098dda2b use G_DIR_SEPARATOR instead of '/'.
2005-05-06  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compressor.c: use G_DIR_SEPARATOR instead of '/'.

	* plug-ins/common/mail.c: ditto. Fixed some coding style issues.
	Special case .bz2 files just as .gz ones.
2005-05-06 19:36:12 +00:00
Sven Neumann 7be65c2d60 removed redundant casts.
2005-05-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-merge.c: removed redundant casts.
2005-05-06 15:45:04 +00:00
Michael Natterer b4f942055a added enum for the "load_color" actions.
2005-05-06  Michael Natterer  <mitch@gimp.org>

	* app/actions/gradient-editor-commands.h: added enum for the
	"load_color" actions.

	* app/actions/gradient-editor-actions.c
	* app/actions/gradient-editor-commands.c: use the new enum instead
	of magic values, cleanup.

	* app/actions/palette-editor-commands.c: cleanup.

	* app/widgets/gimpbrusheditor.c
	* app/widgets/gimpdataeditor.c: cleanup.

	* app/widgets/gimpgradienteditor.c: added GtkObject::destroy() and
	GtkWidget::unmap() implementations which destroy the color dialog.
	Destroy color dialogs by cancelling them via gtk_dialog_response(),
	so temporarily changed colors are restored correctly. Refactored
	my last commit below a bit. Various cleanups.

	* app/widgets/gimppaletteeditor.[ch]: no need to remember the
	buttons in the GimpPaletteEditor struct.
2005-05-06 15:07:34 +00:00
Sven Neumann f3c0a28de8 abort early if the values are all setup already. Fixes bug #164281.
2005-05-06  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_scale_by_values): abort early if the values are
	all setup already. Fixes bug #164281.
2005-05-06 13:11:53 +00:00
Sven Neumann 260bf6e8ba applied a patch from Joao S. O. Bueno Calligaris that changes the SSE2
2005-05-06  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-sse2.c
	(gimp_composite_lighten_rgba8_rgba8_rgba8_sse2): applied a patch
	from Joao S. O. Bueno Calligaris that changes the SSE2 code to
	load the proper register. Fixes bug #164061.
2005-05-06 12:30:51 +00:00