Commit Graph

10431 Commits

Author SHA1 Message Date
Sven Neumann 3fef851411 app/actions/data-commands.c app/actions/edit-commands.c
2005-02-10  Sven Neumann  <sven@gimp.org>

	* app/actions/data-commands.c
	* app/actions/edit-commands.c
	* app/actions/error-console-commands.c
	* app/actions/file-commands.c
	* app/actions/gradient-editor-commands.c
	* app/actions/gradients-commands.c
	* app/actions/plug-in-commands.c
	* app/actions/templates-commands.c
	* app/actions/text-editor-commands.c
	* app/actions/tool-options-commands.c
	* app/dialogs/image-new-dialog.c
	* app/dialogs/resize-dialog.c
	* app/display/gimpdisplayshell-close.c
	* app/display/gimpdisplayshell-filter-dialog.c
	* app/display/gimpdisplayshell-scale.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimptexttool.c
	* libgimp/gimpexport.c
	* libgimpwidgets/gimpcolorbutton.c
	* libgimpwidgets/gimpfileentry.c
	* libgimpwidgets/gimpquerybox.c
	* libgimpwidgets/gimpunitmenu.c: applied another patch by Patrice
	Tremblay to make more dialogs obey the alternative button order
	setting (bug #166678).
2005-02-10 11:00:46 +00:00
Manish Singh 4bfb3e26a5 new function to workaround pango bug #166540, by tacking on a ',' to font
2005-02-09  Manish Singh  <yosh@gimp.org>

        * app/text/gimpfont-utils.[ch]: new function to workaround pango
        bug #166540, by tacking on a ',' to font names that end in numbers,
        so pango_font_description_from_string doesn't interpret it as a size.

        * app/text/Makefile.am: add above files.

        * app/text/gimpfontlist.c
        * app/text/gimptext-compat.c: use new function.

        * app/text/gimptext-xlfd.c: also make sure font names pulled out
        from XLFD don't end in numbers.

        * app/text/gimpfont.c
        * app/text/gimptextlayout.c: remove some redundant checks.
2005-02-10 05:33:01 +00:00
William Skaggs a666d52d84 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events):  For testing, apply
	patch switching display-wide grab to app-wide grab while
	handling button-release event, see bug #162823.
2005-02-10 03:16:52 +00:00
David Odin a2a114d2a7 added a preview.
* plug-ins/common/pixelize.c: added a preview.
2005-02-09 19:50:20 +00:00
Sven Neumann 8d020f42f7 marked strings for translation.
2005-02-09  Sven Neumann  <neumann@jpk.com>

	* plug-ins/uri/uri-backend-wget.c: marked strings for translation.
2005-02-09 17:56:24 +00:00
Sven Neumann 381e762ee6 libgimpwidgets/gimpsizeentry.[ch] added new function
2005-02-09  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.[ch]
	* libgimpwidgets/gimpwidgets.def: added new function
	gimp_size_entry_set_activates_default().

	* app/dialogs/image-new-dialog.c: set the initial focus on the
	Width entry and set the activates_default flag for the size entry.
	Fixes bug #165748.
2005-02-09 16:57:18 +00:00
Sven Neumann e21a5ff2f0 app/display/gimpscalecombobox.[ch] pass an action label to
2005-02-09  Sven Neumann  <sven@gimp.org>

	* app/display/gimpscalecombobox.[ch]
	* app/display/gimpstatusbar.c: pass an action label to
	gimp_scale_combo_box_add_action().
2005-02-09 02:33:48 +00:00
Sven Neumann 4fac6a1f6b fixed brokeness introduced by the latest changes.
2005-02-09  Sven Neumann  <sven@gimp.org>

	* app/display/gimpscalecombobox.c: fixed brokeness introduced by
	the latest changes.
2005-02-09 02:23:13 +00:00
Sven Neumann 9ee865fa20 app/display/gimpscalecombobox.[ch] add an "Other..." item to the scale
2005-02-09  Sven Neumann  <sven@gimp.org>

	* app/display/gimpscalecombobox.[ch]
	* app/display/gimpstatusbar.c: add an "Other..." item to the scale
	menu in the image window. Somewhat hackish but fixes bug #143747.
2005-02-09 02:05:03 +00:00
Michael Natterer 10583dfe47 app/core/gimpimagefile.c enable explicit (not automatic while browsing the
2005-02-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimagefile.c
	* app/widgets/gimpthumbbox.c: enable explicit (not automatic while
	browsing the list of files) thumbnailing of remote files
2005-02-09 00:47:09 +00:00
Sven Neumann ebb343fa91 app/app_procs.[ch] app/gui/gui.[ch] simplified initialization by passing
2005-02-08  Sven Neumann  <sven@gimp.org>

	* app/app_procs.[ch]
	* app/gui/gui.[ch]
	* app/main.c: simplified initialization by passing GOptionContext
	to app_libs_init() and gui_libs_init().
2005-02-08 22:57:24 +00:00
Michael Natterer a285088cb7 removed SIGCHLD handler which used to call waitpid(-1,...) because this
2005-02-08  Michael Natterer  <mitch@gimp.org>

	* app/main.c: removed SIGCHLD handler which used to call
	waitpid(-1,...) because this breaks all waitpid(pid,...) calls
	in a non-deterministic way. Apparently it is possible to use both
	SIG_DFL *and* SA_RESTART (SA_RESTART being the original reason
	why the call to sigaction() was introduced).

	* app/plug-in/plug-in.c (plug_in_close): don't have a million
	subsequent if(plug_in->pid) blocks. Put everything into one big
	if(plug_in->pid) block instead. Call g_spawn_close_pid() on all
	platforms instead of using the Win32 CloseHandle().
2005-02-08 22:38:58 +00:00
Michael Natterer 3d69ff1108 app/actions/file-actions.c app/actions/image-actions.c
2005-02-08  Michael Natterer  <mitch@gimp.org>

	* app/actions/file-actions.c
	* app/actions/image-actions.c
	* app/actions/qmask-actions.c
	* app/actions/tools-actions.c: removed ugly accel_path hacks
	(don't g_object_set_data(action, "gimp-accel-path", "foo")).

	* app/widgets/gimpactionview.c (gimp_action_view_accel_edited):
	simply use gtk_action_get_accel_path() instead of doing even more
	ugly stuff than above.
2005-02-08 21:35:49 +00:00
Michael Natterer ac01f3b810 return the active display's shell instead of the toolbox when called from
2005-02-08  Michael Natterer  <mitch@gimp.org>

	* app/actions/actions.c (action_data_get_widget): return the
	active display's shell instead of the toolbox when called from the
	<Image> popup. Fall back to the toolbox if there is no active
	display. Fixes bug #166012.
2005-02-08 21:19:57 +00:00
Michael Natterer c4847750dd updated info about stable CVS branches of modules we depend on.
2005-02-08  Michael Natterer  <mitch@gimp.org>

	* HACKING: updated info about stable CVS branches of modules we
	depend on.
2005-02-08 20:59:51 +00:00
Michael Natterer cb7f1dbe56 removed gimp_ui_manager_ui_get() and implement the new virtual functions
2005-02-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.[ch]: removed gimp_ui_manager_ui_get()
	and implement the new virtual functions GtkUIManager::get_widget()
	and ::get_action() instead. Menu loading happens transparently now.

	* app/display/gimpdisplayshell.c
	* app/widgets/gimpdockable.c
	* app/widgets/gimptexteditor.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimptooloptionseditor.c: use
	gtk_ui_manager_get_widget() instead of the removed
	gimp_ui_manager_ui_get().
2005-02-08 20:55:00 +00:00
Sven Neumann 8c83ddc063 Applied a patch from Patrice Tremblay that makes (almost) all dialogs obey
2005-02-08  Sven Neumann  <sven@gimp.org>

	Applied a patch from Patrice Tremblay that makes (almost) all
	dialogs obey the "gtk-alternative-button-order" setting
	(bug #166678). Changes too many files to list them all...
2005-02-08 20:40:33 +00:00
Sven Neumann 2d38ab6a43 add the gtk+ options to the GOptionContext.
2005-02-08  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: add the gtk+ options to the GOptionContext.
2005-02-08 20:18:07 +00:00
Sven Neumann 5b6946fe24 updated.
2005-02-08  Sven Neumann  <sven@gimp.org>

	* INSTALL: updated.
2005-02-08 20:11:21 +00:00
Sven Neumann 3047b96adb use "single-line-mode" for the hint labels. Should fix bug #157570.
2005-02-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpgradienteditor.c (gimp_gradient_editor_init):
	use "single-line-mode" for the hint labels. Should fix bug #157570.
2005-02-08 20:08:13 +00:00
Michael Natterer 86b62f7e1c undeprecated the paint mode menu (ported to GimpEnumComboBox with
2005-02-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-constructors.[ch]: undeprecated the
	paint mode menu (ported to GimpEnumComboBox with separators).
	The separator code is quite hackish and therefore still
	implemented privately here.

	* app/widgets/gimpbrushselect.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimppropwidgets.c: changed accordingly.
2005-02-08 20:07:08 +00:00
Michael Natterer d23ada7057 depend on GTK+ >= 2.6.0 and pango >= 1.8.0.
2005-02-08  Michael Natterer  <mitch@gimp.org>

	* configure.in: depend on GTK+ >= 2.6.0 and pango >= 1.8.0.

	* app/gui/gui.c (gui_sanity_check): changed accordingly.
2005-02-08 19:59:00 +00:00
Sven Neumann cdcbddfef2 minor cleanup.
2005-02-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icosave.c: minor cleanup.
2005-02-08 19:48:58 +00:00
Manish Singh 3609a68fc5 install sphere.py in unstable releases only.
2005-02-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/Makefile.am: install sphere.py in unstable
        releases only.
2005-02-08 19:32:12 +00:00
Manish Singh 47770c91bf plug-ins/pygimp/plug-ins/sphere.py plug-ins/pygimp/plug-ins/gimpcons.py
2005-02-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/sphere.py
        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: Just leave imagetypes empty,
        since we don't operate on existing images here. Fixes bug #166650.
2005-02-08 19:24:20 +00:00
Michael Natterer 0212d65047 if display became NULL (e.g. by closing a view) and we decide to activate
2005-02-08  Michael Natterer  <mitch@gimp.org>

	* app/gui/gui.c (gui_display_changed): if display became NULL
	(e.g. by closing a view) and we decide to activate another view
	of the same image, stop the emission of the original
	"display-changed" signal so it doesn't affect the toolbox'
	UI manager. Fixes bug #159304.
2005-02-08 17:58:28 +00:00
Sven Neumann 77286380c7 fixed broken UTF-8 2005-02-08 13:50:51 +00:00
Sven Neumann e8e6df4812 fixed bug in save routine for 256-slot palette (bug #162742).
2005-02-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icosave.c (ico_image_get_reduced_buf): fixed
	bug in save routine for 256-slot palette (bug #162742).
2005-02-08 13:40:20 +00:00
Sven Neumann ec98e00b7a added automake conditional GIMP_UNSTABLE.
2005-02-08  Sven Neumann  <sven@gimp.org>

	* configure.in: added automake conditional GIMP_UNSTABLE.

	* plug-ins/script-fu/scripts/Makefile.am: install test-sphere.scm
	in unstable releases only.
2005-02-08 13:25:13 +00:00
Sven Neumann 4fc86a043c gimp-mkenums doesn't seem to like newlines in enum definitions.
2005-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpcolorconfig-enums.[ch]: gimp-mkenums doesn't
	seem to like newlines in enum definitions.

	* libgimpconfig/gimpcolorconfig.[ch]: removed the "profile-path"
	property for now. It doesn't work too well with GimpFileEntry.
	We can add it back later if it turns out that we really need it.

	* app/dialogs/preferences-dialog.c
	* app/widgets/gimphelp-ids.h: added a color management page to the
	preferences dialog.
2005-02-08 00:04:50 +00:00
Michael Natterer 59633d6528 added backend methods for saving to URIs.
2005-02-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/uri/uri-backend.h: added backend methods for saving to
	URIs.

	* plug-ins/uri/uri.c: register a save procecure if the save method
	is available, using some code from compressor.c

	* plug-ins/uri/uri-backend-gnomevfs.c: implement saving.

	* plug-ins/uri/uri-backend-wget.c: added saving stubs which always
	fail.
2005-02-07 19:40:52 +00:00
Sven Neumann d4535cc31f add an "All Images" filter and select it by default.
2005-02-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_add_filters): add
	an "All Images" filter and select it by default.
2005-02-07 18:46:03 +00:00
Sven Neumann 416033b623 app/widgets/gimpselectiondata.c plug-ins/help/domain.c fixed my latest
2005-02-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpselectiondata.c
	* plug-ins/help/domain.c
	* plug-ins/helpbrowser/dialog.c: fixed my latest changes.
2005-02-07 18:30:13 +00:00
Michael Natterer 543b0a0e8c set "activates-default" on the URI entry.
2005-02-07  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/file-open-location-dialog.c
	(file_open_location_dialog_new): set "activates-default" on the
	URI entry.
2005-02-07 18:21:58 +00:00
Sven Neumann 060028ec55 plug-ins/help/domain.c same trick here; should allow to work with help
2005-02-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/domain.c
	* plug-ins/helpbrowser/dialog.c: same trick here; should allow to
	work with help files installed in an UNC path.
2005-02-07 18:06:17 +00:00
Sven Neumann 2f98bfd191 app/dialogs/file-open-dialog.c app/dialogs/file-save-dialog.c use
2005-02-07  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-open-dialog.c
	* app/dialogs/file-save-dialog.c
	* app/widgets/gimpthumbbox.c: use file_utils_filename_from_uri()
	in some more places.

	* app/dialogs/file-open-location-dialog.c
	* app/widgets/gimpselectiondata.c: deal with hostname in URIs.
2005-02-07 17:56:18 +00:00
Sven Neumann 313f7835cb changed "Remote Image" to "Remote File". The state of the thumbnail
2005-02-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_get_desc_string):
	changed "Remote Image" to "Remote File". The state of the
	thumbnail doesn't tell us if this is an image file at all.

	* app/widgets/gimpthumbbox.c: don't auto-thumbnail remote files.

	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.c: do the same workaround for UNC
	paths as in file_utils_filename_from_uri().
2005-02-07 17:29:10 +00:00
Michael Natterer 796898f72a added backend methods uri_backend_init() and uri_backend_shutdown().
2005-02-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/uri/uri-backend.h: added backend methods
	uri_backend_init() and uri_backend_shutdown().

	* plug-ins/uri/uri.c: call them around using other backend
	functions (both in query() and run()).

	* plug-ins/uri/uri-backend-gnomevfs.c: moved init()/shutdown() of
	GnomeVFS into the new backend methods. Create the list of
	supported protocols dynamically. Get rid of one translatable
	string.

	* plug-ins/uri/uri-backend-wget.c: implement the new methods as
	empty stubs which always succeed.
2005-02-07 17:03:41 +00:00
Sven Neumann 5257aa9cbb libgimpconfig/Makefile.am libgimpconfig/gimpconfig.def
2005-02-07  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/Makefile.am
	* libgimpconfig/gimpconfig.def
	* libgimpconfig/gimpconfig.h
	* libgimpconfig/gimpconfigtypes.h: install the GimpColorConfig
	header and include it.

	* libgimpconfig/gimpcolorconfig.[ch]: commented out some options
	that will only be needed later and that will most likely undergo
	some changes.

	* app/config/gimpcoreconfig.[ch]
	* app/config/gimprc-blurbs.h: added GimpColorConfig to GimpRc.
2005-02-07 16:19:08 +00:00
Michael Natterer 1e5c5ab860 fixed wrong use of GnomeVFSFileInfo (it wants to be allocated and
2005-02-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/uri/uri-backend-gnomevfs.c: fixed wrong use of
	GnomeVFSFileInfo (it wants to be allocated and unrefed). Extended
	the list of supported prefixes (still conceptually broken).
2005-02-07 12:17:30 +00:00
Sven Neumann 377dd60dcb HACKING dropped support for automake 1.6, automake >= 1.7 is now required.
2005-02-07  Sven Neumann  <sven@gimp.org>

	* HACKING
	* autogen.sh: dropped support for automake 1.6, automake >= 1.7 is
	now required.

	* configure.in: removed cruft that was there only for automake 1.6.
2005-02-07 12:05:05 +00:00
Michael Natterer 2f98704a4f check for gnome-vfs-2.0
2005-02-07  Michael Natterer  <mitch@gimp.org>

	* configure.in: check for gnome-vfs-2.0

	* plug-ins/uri/Makefile.am
	* plug-ins/uri/uri-backend-gnomevfs.c: new file which is built
	instead of the wget backend if GnomeVFS is available.
2005-02-07 10:53:24 +00:00
Sven Neumann 47c35a6ebf app/config/gimpconfig-file.c app/file/file-utils.c app/gui/themes.c
2005-02-07  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-file.c
	* app/file/file-utils.c
	* app/gui/themes.c
	* app/tools/gimpimagemaptool.c
	* app/vectors/gimpvectors-export.c
	* app/widgets/gimpwidgets-utils.c
	* app/xcf/xcf.c
	* tools/pdbgen/pdb/procedural_db.pdb: use gstdio wrappers.

	* app/pdb/procedural_db_cmds.c: regenerated.
2005-02-07 01:38:18 +00:00
Sven Neumann 648cccde5e app/base/base.c app/base/temp-buf.c app/base/tile-swap.c
2005-02-07  Sven Neumann  <sven@gimp.org>

	* app/base/base.c
	* app/base/temp-buf.c
	* app/base/tile-swap.c
	* app/config/gimpconfig-file.c
	* app/core/gimpbrush.c
	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrushpipe.c
	* app/core/gimpdata.c
	* app/core/gimpenvirontable.c
	* app/core/gimpgradient-load.c
	* app/core/gimpgradient-save.c
	* app/core/gimppalette-import.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c
	* app/dialogs/user-install-dialog.c
	* app/gui/session.c
	* app/menus/menus.c
	* app/widgets/gimpdevices.c: use gstdio wrappers.
2005-02-07 01:24:22 +00:00
Sven Neumann e6285abfc8 libgimpbase/gimpdatafiles.c libgimpbase/gimpenv.c
2005-02-07  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpdatafiles.c
	* libgimpbase/gimpenv.c
	* libgimpconfig/gimpconfigwriter.c
	* libgimpconfig/gimpscanner.c
	* libgimpthumb/gimpthumb-utils.c
	* libgimpthumb/gimpthumbnail.c: include gstdio.h.
2005-02-07 01:10:50 +00:00
Sven Neumann 8e1aefac24 libgimpbase/gimpdatafiles.c libgimpbase/gimpenv.c
2005-02-07  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpdatafiles.c
	* libgimpbase/gimpenv.c
	* libgimpconfig/gimpconfigwriter.c
	* libgimpconfig/gimpscanner.c
	* libgimpthumb/gimpthumb-utils.c
	* libgimpthumb/gimpthumbnail.c: use gstdio wrappers.
	Unfortunately this causes compiler warnings, see bug #166512.
2005-02-07 00:49:36 +00:00
Sven Neumann caee226502 themes/Default/images/preferences/Makefile.am added icon for the yet to be
2005-02-07  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/preferences/Makefile.am
	* themes/Default/images/preferences/color-management.png: added
	icon for the yet to be added color management preferences page.
	Icon kindly provided by Alastair M. Robinson (bug #78265).
2005-02-07 00:02:37 +00:00
Sven Neumann 1a337ada72 unset the "focus-on-map" property for tool dialogs. Fixes bug #154651 (on
2005-02-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptooldialog.c (gimp_tool_dialog_new): unset the
	"focus-on-map" property for tool dialogs. Fixes bug #154651 (on
	window managers supporting this hint).
2005-02-06 23:33:50 +00:00
Sven Neumann 2eeefb13d2 libgimpconfig/Makefile.am libgimpconfig/gimpcolorconfig-enums.[ch] added a
2005-02-06  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/Makefile.am
	* libgimpconfig/gimpcolorconfig-enums.[ch]
	* libgimpconfig/gimpcolorconfig.[ch]: added a first draft of a
	color management configuration object. Not yet installed nor used
	by anything. This is based on an older patch by Stefan Döhla.
2005-02-06 22:15:54 +00:00
William Skaggs 5e807eabaa Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/unsharp.c:  apply speedup proposed
	by Peter Heckert in bug #166406.
2005-02-06 19:37:20 +00:00