Commit Graph

10528 Commits

Author SHA1 Message Date
Michael Natterer d611d30370 argh, need to assign strings to (*array_retloc[i]), not just
2003-11-21  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-ins.c (plug_ins_help_domains): argh, need to
	assign strings to (*array_retloc[i]), not just *array_retloc[i].
	Fixes passing of the list of help domains to the help browser.
2003-11-21 14:10:52 +00:00
Duarte Loreto 69f5b40237 Updated Portuguese translation.
2003-11-21  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2003-11-21 01:22:12 +00:00
Henrik Brix Andersen 229d12121e app/gui/preferences-dialog.c Added Window Manager tab exposing the window
2003-11-20 Henrik Brix Andersen <brix@gimp.org>

* app/gui/preferences-dialog.c
* app/widgets/gimphelp-ids.h: Added Window Manager tab exposing
the window manager hint settings to the user, moved the
activate-on-focus setting to this tab as well.

* themes/Default/images/preferences/window-manager.png
* themes/Default/images/preferences/Makefile.am: added empty
placeholder for Window Manager preferences icon.
2003-11-20 23:02:54 +00:00
Sven Neumann a7bdb891e6 reverted a small part of my last commit. It doesn't seem to be a good idea
2003-11-20  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdock.c: reverted a small part of my last commit.
	It doesn't seem to be a good idea to unref the context in dispose().
	Do it in destroy() just like we used to do.
2003-11-20 22:32:59 +00:00
Sven Neumann 689c754e28 app/gui/info-dialog.c (info_dialog_new_extended) don't set the utility
2003-11-20  Sven Neumann  <sven@gimp.org>

	* app/gui/info-dialog.c (info_dialog_new_extended)
	* app/widgets/gimptooldialog.c (gimp_tool_dialog_new): don't set
	the utility window type hint on info and tool dialogs. These are
	not persistent utility windows. See bug #115092.
2003-11-20 21:41:36 +00:00
Pablo G. del Campo d08d6520f8 Updated Spanish translation.
2003-11-20  Pablo G. del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-11-20 20:52:05 +00:00
Sven Neumann 5a43e55c50 added GimpWindowTypeHint enum.
2003-11-20  Sven Neumann  <sven@gimp.org>

	* app/widgets/widgets-enums.[ch]: added GimpWindowTypeHint enum.

	* app/widgets/gimpwidgets-utils.{ch]: added a utility function
	that translates GimpWindowTypeHint to GdkWindowTypeHint.

	* app/config/gimpguiconfig.[ch]
	* app/config/gimprc-blurbs.h: added two new gimprc options that
	allow to configure which window type hint to set on the toolbox
	and on dock windows.

	* app/widgets/gimpdock.[ch}: use the window type hint from gimprc.
	Introduced construct properties and got rid of gimp_dock_construct().

	* app/widgets/gimpimagedock.c
	* app/widgets/gimptoolbox.c: changed accordingly.

	* app/gui/preferences-dialog.c (prefs_dialog_new): let the Themes
	frame expand.
2003-11-20 20:36:55 +00:00
Michael Natterer 9a7229ac55 when exposing the display, transform the update area using sub-pixel
2003-11-20  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplay.c (gimp_display_paint_area): when
	exposing the display, transform the update area using sub-pixel
	accuracy and floor()/ceil() the resulting area to make sure we
	always expose a *super*set of the dirtied area. Makes the code
	robust against sub-pixel differences between coordinate
	transformation and display scaling. Fixes bug #126942.
2003-11-20 18:08:50 +00:00
Michael Natterer 8f8df33b57 *** empty log message *** 2003-11-20 18:08:01 +00:00
Michael Natterer e4d1087f55 Tell which bug is fixed by the last commit. 2003-11-20 17:24:28 +00:00
Sven Neumann 565aaa5271 app/config/gimpdisplayconfig.[ch] added a new gimprc option
2003-11-20  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.[ch]
	* app/config/gimprc-blurbs.h: added a new gimprc option
	"activate-on-focus" that allows to configure GIMP to activate an
	image when the image window receives the focus. Useful for window
	managers using click-to-focus. Defaults to TRUE on OS_WIN32.

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell.c: implemented the new behaviour.
2003-11-20 17:13:02 +00:00
Michael Natterer c5865e497c changed drag source stuff to allow multiple data types. Changed DND source
2003-11-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.[ch]: changed drag source stuff to allow
	multiple data types. Changed DND source API to speak in terms of
	add()/remove() instead of set()/unset(). Added GimpDndDragFileFunc
	typedef and gimp_dnd_file_source_add().

	Unfortunately GTK+'s DND API lacks symmetry here (no GtkTargetList
	based API for drag sources), so we cannot really change drag
	sources on-the-fly and need to set GtkTargetEntry arrays manually.

	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpmenuitem.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimppreview.c
	* app/widgets/gimptoolbox-color-area.c: changed accordingly.

	* app/widgets/gimpdocumentview.c: ditto. Additionally offer
	"text/uri-list" so it's possible to drag images from the document
	history to the file manager or browser.
2003-11-20 16:26:15 +00:00
Sven Neumann b86143f2e8 NEWS flash 2003-11-20 11:51:17 +00:00
Michael Natterer de98d7af5f cleanup before doing real changes.
2003-11-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.c: cleanup before doing real changes.
2003-11-20 11:32:53 +00:00
Duarte Loreto b1eaf7b502 Updated Portuguese translation.
2003-11-20  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2003-11-20 01:23:42 +00:00
Danilo Šegan e9be9741c7 Updated Serbian translation.
2003-11-20  Danilo Šegan  <dsegan@gmx.net>

	* sr.po, sr@Latn.po: Updated Serbian translation.
2003-11-20 00:30:11 +00:00
Manish Singh b6ca2bfbbb Display an error if we still can't convert a filename to a valid uri.
2003-11-19  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimpdnd.c (gimp_dnd_open_files): Display an error if we
        still can't convert a filename to a valid uri. Further addresses
        #127424.
2003-11-19 23:48:16 +00:00
Manish Singh 8b6f84dc6a Include bug number in last commit 2003-11-19 21:46:06 +00:00
Manish Singh a8356d4834 strstr on dnd_crap, not filename, since filename will be NULL in that
2003-11-19  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimpdnd.c (gimp_dnd_open_files): strstr on dnd_crap,
        not filename, since filename will be NULL in that case. Also remove
        doubled declaration of filename.
2003-11-19 21:45:41 +00:00
Sven Neumann 986c831838 shrink to the size of the monitor, not to the size of the screen (for
2003-11-19  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
	shrink to the size of the monitor, not to the size of the screen
	(for Xinerama setups). Fixes bug #121796.
2003-11-19 18:34:04 +00:00
Marco Ciampa 335f5c4225 Updated italian translation 2003-11-19 18:13:18 +00:00
Sven Neumann 650ad8e95e app/widgets/gimpitemfactory.c moved the gimp_menu_position()
2003-11-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpitemfactory.c
	* app/widgets/gimpwidgets-utils.[ch]: moved the
	gimp_menu_position() implementation that was used only from
	GimpItemFactory to gimpitemfactory.c. Added a new function of the
	same name that positions a menu taking into account the monitor
	geometry and the render direction.

	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainertreeview.c: use gimp_menu_position().

	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimppreview-popup.c: let windows popup on the
	current monitor (for Xinerama setups).
2003-11-19 18:08:15 +00:00
Michael Natterer 95ae8410d7 compress successive layer mode undos just as we compress opacity undos.
2003-11-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimplayertreeview.c
	(gimp_layer_tree_view_paint_mode_menu_callback): compress
	successive layer mode undos just as we compress opacity undos.
2003-11-19 17:03:20 +00:00
Michael Natterer 86f45eabc2 plug-ins/FractalExplorer/Dialogs.c plug-ins/common/CEL.c
2003-11-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_browse.c
	* plug-ins/imagemap/imap_file.c: GtkFileSelection cleanup:
	connect to "response" instead of accessing the "ok_button"
	and "cancel_button" members.
2003-11-19 14:51:52 +00:00
Michael Natterer fca3f8b3db updated.
2003-11-19  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/tmpl/gimphelpui.sgml: updated.
2003-11-19 01:17:06 +00:00
Michael Natterer 18afa1514f renamed "data" parameter of GimpHelpFunc to "help_data".
2003-11-19  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgetstypes.h: renamed "data" parameter
	of GimpHelpFunc to "help_data".

	* libgimpwidgets/gimphelpui.c: cleanup. API doc fixes.
2003-11-19 01:12:20 +00:00
Sven Neumann 28cc547c1b don't disconnect gimp_context_parent_notify() here. The signal will be
2003-11-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcontext.c (gimp_context_finalize): don't disconnect
	gimp_context_parent_notify() here. The signal will be disconnected
	automatically anyway.
2003-11-19 01:02:19 +00:00
Sven Neumann 41553a8bb7 register a log handler for the "Gimp-Vectors" domain.
2003-11-19  Sven Neumann  <sven@gimp.org>

	* app/app_procs.c (app_run): register a log handler for the
	"Gimp-Vectors" domain.

	* app/gui/stroke-dialog.c (stroke_dialog_new): attach the saved
	options to its parent, the user context, not to the gimp.
2003-11-19 00:48:52 +00:00
Sven Neumann 8cc8bff344 updated.
2003-11-19  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/tmpl/gimpquerybox.sgml: updated.
2003-11-18 23:45:32 +00:00
Sven Neumann 4f82e87d62 don't do lazy binding on GIMP modules. We can't recover from missing
2003-11-18  Sven Neumann  <sven@gimp.org>

	* libgimpmodule/gimpmodule.c (gimp_module_open): don't do lazy
	binding on GIMP modules. We can't recover from missing symbols
	later.

	* libgimpwidgets/gimpquerybox.[ch]: renamed "help_page" parameter
	to "help_id" and changed the docs accordingly.

	* libgimpwidgets/gimpcolordisplay.[ch]
	* libgimpwidgets/gimpcolorselector.[ch]: renamed the "help_page"
	struct members of GimpColorDisplay and GimpColorSelector to
	"help_id".

	* app/gui/color-notebook.c
	* app/widgets/gimpcoloreditor.c
	* libgimpwidgets/gimpcolorbutton.c
	* libgimpwidgets/gimpcolornotebook.c
	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c
	* modules/*.c: changed accordingly. Specify a help id instead of
	a HTML page.
2003-11-18 23:44:35 +00:00
Sven Neumann 2fda21f6f3 inform the user when a PNG file specifies an offset that causes the layer
2003-11-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c (load_image): inform the user when a PNG
	file specifies an offset that causes the layer to be positioned
	outside the image area. Fixes "bug" #127307.
2003-11-18 16:46:56 +00:00
Michael Natterer cbfbc2b269 changed the range of the "lightness" parameter to [-100..+100], where -100
2003-11-18  Michael Natterer  <mitch@gimp.org>

	* app/base/colorize.[ch]: changed the range of the "lightness"
	parameter to [-100..+100], where -100 results in pure black and
	+100 in pure white. Default to lightness == 0 so the initial
	transform changes just the colors while keeping the original
	lightness.

	* app/tools/gimpcolorizetool.[ch]: changed accordingly. Reordered
	the scales to be in HSL order.
2003-11-18 16:06:47 +00:00
Miloslav Trmac 0d2229b75d Update Czech translation 2003-11-18 15:02:13 +00:00
Michael Natterer a2c3454199 app/widgets/gimpcontainerpopup.[ch] let the button remember the popup's
2003-11-18  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerpopup.[ch]
	* app/widgets/gimpviewablebutton.[ch]: let the button remember
	the popup's preview_size and view_type.
2003-11-18 13:13:57 +00:00
Michael Natterer 56863fac49 support '|'-separated lists of dialog identifiers and raise any of them if
2003-11-18  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.[ch]
	(gimp_dialog_factory_dialog_raise): support '|'-separated lists of
	dialog identifiers and raise any of them if it is already open, or
	the first dialog in the list otherwise.

	* app/gui/dialogs-commands.c (dialogs_create_dockable_cmd_callback):
	removed the same functionality here.

	* app/gui/edit-commands.c
	* app/tools/gimppaintoptions-gui.c
	* app/tools/gimptextoptions.c
	* app/widgets/gimpdevicestatus.c
	* app/widgets/gimptoolbox-indicator-area.c: pass lists of dialog
	identifiers to gimp_dialog_factory_dialog_raise().
2003-11-18 12:28:15 +00:00
Michael Natterer c78386aaf7 use GIMP_STOCK_SELECTION as the viewable class' default stock ID.
2003-11-18  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpselection.c (gimp_selection_class_init): use
	GIMP_STOCK_SELECTION as the viewable class' default stock ID.

	* app/widgets/gimpselectioneditor.c (gimp_selection_editor_init):
	create the preview for GIMP_TYPE_SELECTION, not just
	GIMP_TYPE_DRAWABLE so the selection icon is used if the editor is
	empty.
2003-11-18 12:13:46 +00:00
Michael Natterer 976816a5f4 app/gui/file-dialog-utils.[ch] app/gui/file-open-dialog.c
2003-11-17  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-dialog-utils.[ch]
	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c
	* app/gui/gradients-commands.c
	* app/gui/vectors-commands.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimperrorconsole.c
	* app/widgets/gimptexteditor.c
	* libgimpwidgets/gimpfileselection.c: don't access the "ok_button"
	and "cancel_button" members of GtkFileSelection. Instead, connect
	to GtkDialog::response(). Feels better and reduces code which
	depends on the to-be-deprecated GtkFileSelection. Changed border
	widths to match the 6px border width of other GIMP dialogs.
	File selections in plug-ins will follow...
2003-11-17 18:29:59 +00:00
Henrik Brix Andersen 75d4de0123 plug-ins/common/color_enhance.c plug-ins/common/c_astretch.c removed
2003-11-17 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/color_enhance.c
* plug-ins/common/c_astretch.c
* plug-ins/common/gtm.c: removed potentionally offensive words +
removed trailing whitespace. This fixes bug #125668.
2003-11-17 18:02:45 +00:00
Sven Neumann 54cd9cd777 dude, forgot to commit these 2003-11-17 17:57:31 +00:00
Sven Neumann faa3e5e443 regenerated 2003-11-17 17:57:00 +00:00
Sven Neumann 83ae886609 removed the addition of 0.001 that isn't correct for use with integers
2003-11-17  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb.h (GIMP_RGB_INTENSITY): removed the
	addition of 0.001 that isn't correct for use with integers (should
	be 0.5 then) and just plain wrong for use with floats/doubles.

	* app/base/temp-buf.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage.c
	* plug-ins/common/aa.c
	* plug-ins/common/engrave.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/newsprint.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/pagecurl/pagecurl.c: add 0.5 to the result of
	GIMP_RGB_INTENSITY() in all places that use it with integers.
2003-11-17 17:33:14 +00:00
Michael Natterer 2b230b9693 s/INTENSITY/GIMP_RGB_INTENSITY/, removed trailing whitespace.
2003-11-17  Michael Natterer  <mitch@gimp.org>

	* modules/colorsel_triangle.c (colorsel_triangle_update_previews):
	s/INTENSITY/GIMP_RGB_INTENSITY/, removed trailing whitespace.
2003-11-17 16:37:56 +00:00
Sven Neumann e4c5b6b0ca added a GIMP_RGB prefix to the INTENSITY macros.
2003-11-17  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb.[ch]: added a GIMP_RGB prefix to the
	INTENSITY macros.

	* libgimp/gimpcompat.h: document this change here.

	* app/base/colorize.c
	* app/base/temp-buf.c
	* app/core/gimpdrawable-blend.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage.c
	* plug-ins/common/aa.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/colorify.c
	* plug-ins/common/displace.c
	* plug-ins/common/engrave.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/oilify.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/pagecurl/pagecurl.c: changed accordingly.

	* libgimpcolor/gimpcolor.h: removed trailing whitespace.

	* app/paint-funcs/paint-funcs.c: fixed indentation.
2003-11-17 14:58:31 +00:00
Sven Neumann dab006d51d removed the unused GimpViewable parameter from
2003-11-17  Sven Neumann  <sven@gimp.org>

	* app/core/gimpviewable.[ch]: removed the unused GimpViewable
	parameter from gimp_viewable_calc_preview_size().

	* app/core/gimpbuffer.c
	* app/core/gimpimage-preview.c
	* app/core/gimpimagefile.c
	* app/core/gimpitem-preview.c
	* app/core/gimpundo.c
	* app/widgets/gimppreview.c
	* app/widgets/gimppreviewrendererdrawable.c
	* app/widgets/gimppreviewrendererimage.c: changed accordingly.

	* app/widgets/gimppreviewrenderer.[ch]: store the viewable_type in
	the preview renderer and use its default stock_id if no viewable
	is set.

	* app/core/gimpbrush.c
	* app/core/gimpbuffer.c
	* app/core/gimpgradient.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c
	* app/core/gimpundo.c: set a default stock_id.
2003-11-17 13:34:38 +00:00
Jan Morén 3e84631e1e Updated Swedish translation.
2003-11-17  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-11-17 09:08:17 +00:00
Manish Singh 05ece027fa search for the window role "gimp-toolbox", since the app sets that instead
2003-11-17  Manish Singh  <yosh@gimp.org>

        * tools/gimp-remote.c (gimp_remote_find_window): search for the
        window role "gimp-toolbox", since the app sets that instead of
        the class now.
2003-11-17 08:46:51 +00:00
Sven Neumann 133949f990 simplified.
2003-11-17  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc.c (gimp_rc_new): simplified.

	* app/core/gimp.c (gimp_dispose) (gimp_finalize): print messages
	if being verbose.
2003-11-17 01:18:33 +00:00
Sven Neumann 599cf586f7 print a message if being verbose.
2003-11-17  Sven Neumann  <sven@gimp.org>

	* app/core/gimp.c (gimp_finalize): print a message if being verbose.
2003-11-17 00:47:37 +00:00
Sven Neumann 921f00c13d unref the gimp object after dumping the configuration as a test for
2003-11-17  Sven Neumann  <sven@gimp.org>

	* app/main.c: unref the gimp object after dumping the
	configuration as a test for Gimp::finalize.

	* app/base/base.[ch]: keep a reference on the config object.
	Renamed parameter "use_mmx" to "use_cpu_accel".

	* app/core/gimp.[ch]: call base_init() and base_exit() from
	app_procs.c, not from the Gimp object.

	* app/app_procs.[ch]: renamed app_init() to app_run() since here's
	where the main loop is run. Actually quit the main loop in
	app_exit_after_callback() instead of just calling exit().

	* app/errors.[ch]: declared fatal error handlers as G_GNUC_NORETURN.

	* libgimp/gimp.h: fixed usage of G_GNUC_NORETURN.
2003-11-17 00:17:01 +00:00
Michael Natterer 8462016ec5 s/libgimp_glue.o/units.o/.
2003-11-17  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am: s/libgimp_glue.o/units.o/.

	* app/app-docs.sgml
	* app/app-sections.txt: updates and fixes.
2003-11-16 23:36:55 +00:00