Commit Graph

8793 Commits

Author SHA1 Message Date
Michael Natterer a5760e33fe connect to "accel-changed" of the accel_group using connect_object(), not
2004-07-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox.c (toolbox_create_tools): connect to
	"accel-changed" of the accel_group using connect_object(), not
	just connect() so we don't crash when it's emitted after the
	toolbox is destroyed.
2004-07-22 11:18:52 +00:00
Sven Neumann f9c15b4724 fixed typos 2004-07-21 21:14:56 +00:00
Ray Strode c7f0f7e45f Add MimeType line to desktop file new mime sytem.
2004-07-21  Ray Strode  <rstrode@redhat.com>
	* gimp/data/misc/gimp.desktop.in.in: Add MimeType line to desktop file
	new mime sytem.
2004-07-21 19:25:12 +00:00
Sven Neumann a70d2dd8a2 declared global const variable as static. Fixes compiler warnings seen
2004-07-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c: declared global const variable as static.
	Fixes compiler warnings seen with gcc 3.4.1 (don't ask me why).
2004-07-21 17:06:18 +00:00
Michael Natterer a80977b0bc app/widgets/gimptemplateeditor.c plug-ins/common/gif.c set GTK_SHADOW_IN
2004-07-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptemplateeditor.c
	* plug-ins/common/gif.c
	* plug-ins/common/jpeg.c: set GTK_SHADOW_IN on scrolled windows of
	text views. Fixes bug #148025.
2004-07-21 16:29:29 +00:00
Michael Natterer cc6288a4fb Enabled the various "Clear saved foobar now" buttons in prefs:
2004-07-21  Michael Natterer  <mitch@gimp.org>

	Enabled the various "Clear saved foobar now" buttons in prefs:

	* app/gui/session.[ch]
	* app/menus/menus.[ch]
	* app/widgets/gimpdevices.[ch]: implemented the _clear()
	functions: unlink() the rc file and set an internal flag that it
	has been deleted. Added "gboolean always_save" parameter to the
	_save() functions and don't save anything if it is FALSE and the
	internal deletion flag has been set.

	* app/gui/gui.c
	* app/widgets/gimpdevicestatus.c: changed accordingly.

	* app/gui/preferences-dialog.c: added callbacks for all "Save now"
	and "Clear now" buttons and show error messages if clearing fails.
	Inform the user that she has to restart GIMP to see the effect of
	the clearing.
2004-07-21 16:11:31 +00:00
Michael Natterer e7479951b5 app/core/gimpmarshal.list added "gboolean delete" parameter to the
2004-07-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpmarshal.list
	* app/widgets/gimpcellrendereraccel.[ch]: added "gboolean delete"
	parameter to the GimpCellRendererAccel::accel_edited() signal.

	* app/widgets/gimpactionview.c: distinguish between deletion of an
	accelerator and the user entering an invalid accelerator.
2004-07-21 14:09:36 +00:00
Shlomi Fish 59179c2dd9 normalized the identifiers in placement.c.
* plug-ins/gimpressionist/: normalized the identifiers in placement.c.
2004-07-21 13:48:13 +00:00
Michael Natterer 7c7879b669 changed names of actions which select brushes, patterns etc. from e.g.
2004-07-21  Michael Natterer  <mitch@gimp.org>

	* app/actions/context-actions.c: changed names of actions which
	select brushes, patterns etc. from e.g. "context-brush-first" to
	"context-brush-select-first".

	* menus/image-menu.xml.in: changed accordingly.
2004-07-21 12:53:38 +00:00
Michael Natterer b241a40b43 remember the keyboard shortcut dialog and show it only once.
2004-07-21  Michael Natterer  <mitch@gimp.org>

	* app/gui/preferences-dialog.c: remember the keyboard shortcut
	dialog and show it only once.

	* app/widgets/gimpactionview.c
	* app/widgets/gimpcellrendereraccel.c: minor cleanups.

	Seems to work pretty well now and thus fixes bug #142922.
2004-07-21 11:28:31 +00:00
Michael Natterer 62bf62a151 app/core/gimpmarshal.list app/widgets/Makefile.am
2004-07-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpmarshal.list
	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcellrendereraccel.[ch]: new cell renderer
	which displays an accelerator and allows to edit it (ripped
	out of libegg and modified).

	* app/widgets/gimpactionview.c: use the new renderer and connect
	to its "accel-edited" signal (its callback is one huge mess that
	needs to be cleaned up). Added ugly hack to work around GTK+ API
	limitation that seems to prevent implementing a shortcut editor in
	a sane way.

	* app/actions/file-actions.c
	* app/actions/image-actions.c
	* app/actions/tools-actions.c: added ugly hacks here, too.

	* app/gui/preferences-dialog.c: relaced Cancel/Ok in the shortcut
	editor by Close.
2004-07-21 00:39:46 +00:00
Sven Neumann fef6257145 added back "pa" for Punjabi now that the missing po files have been added
2004-07-20  Sven Neumann  <sven@gimp.org>

	* configure.in (ALL_LINGUAS): added back "pa" for Punjabi now that
	the missing po files have been added (tips/pa.po is still missing
	though).
2004-07-20 21:20:39 +00:00
Michael Natterer 94fc8f15a1 app/widgets/gimpactionfactory.[ch] added "label" and "stock-id" properties
2004-07-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpactionfactory.[ch]
	* app/widgets/gimpactiongroup.[ch]: added "label" and "stock-id"
	properties to GtkActionGroup and allow to register them in the
	GimpActionFactory.

	* app/actions/actions.c: register user visible labels and icons
	with all action groups.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpactionview.[ch]: new widget which shows a
	treeview of action groups and their actions & shortcuts.

	* app/widgets/gimpaction.[ch]: added gimp_action_name_compare()
	utility function.

	* app/widgets/gimpwidgets-utils.[ch]: added
	gimp_get_accel_string() utility function.

	* app/widgets/gimpcontrollers.[ch]: added
	gimp_controllers_get_ui_manager() which will be used for setting
	up the controller mapping dialog.

	* app/gui/preferences-dialog.c: added a "Configure Keyboard
	Shortcuts" button which pops up a GimpControllerView. Work in
	progress...
2004-07-20 18:50:20 +00:00
Michael Natterer 868bee6540 make sure that the "image-new" and "image-new-from-image" actions always
2004-07-20  Michael Natterer  <mitch@gimp.org>

	* app/actions/image-actions.c: make sure that the "image-new" and
	"image-new-from-image" actions always have the same shortcut.
2004-07-20 18:36:07 +00:00
William Skaggs 85e884cee1 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/Lighting/lighting_main.c
	* plug-ins/Lighting/lighting_main.h
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/Lighting/lighting_preview.h
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/Lighting/lighting_ui.c: completely reworked UI for
	lighting page.  Now supports up to 6 lights (more is trivial).
	Added ability to temporarily isolate selected light.  Added
	light intensity controls.  Can interactively position each light
	(does not quite work yet for directional lights).
2004-07-20 18:19:47 +00:00
Michael Natterer 8f74e672a8 added an icon to the "tools-visibility" action.
2004-07-20  Michael Natterer  <mitch@gimp.org>

	* app/actions/tools-actions.c: added an icon to the
	"tools-visibility" action.
2004-07-20 18:13:49 +00:00
Sven Neumann aab25cdc36 now that the output depends on --verbose, enable it for stable releases
2004-07-20  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite.c (gimp_composite_init): now that
	the output depends on --verbose, enable it for stable releases also.
2004-07-20 16:55:39 +00:00
Shlomi Fish faa6e7b70d fixed the incorrect strings for input and output of the preset's fields.
* plug-ins/gimpressionist/presets.c: fixed the incorrect strings
for input and output of the preset's fields. (a relic of an
irresponsible search-and-replace script).
* plug-ins/gimpressionist/: normalized the identifiers of
orientmap.c.
2004-07-20 16:54:22 +00:00
Helvetix Victorinox c7c91f333a Updated make-installer.py command line to take advantage of the new
* app/composite/Makefile.am (regenerate): Updated make-installer.py
command line to take advantage of the new compile time method of
determining which instruction set to compile.
2004-07-20 16:33:58 +00:00
Helvetix Victorinox 3260e230df Updated make-installer.py command line to take advantage of the new
* app/composite/Makefile (regenerate): Updated make-installer.py
command line to take advantage of the new compile time method of
determining which instruction set to compile.
2004-07-20 16:02:27 +00:00
Helvetix Victorinox 54630be219 Print the list of active instruction sets if the --verbose command line
* app/composite/gimp-composite.c (gimp_composite_init): Print the
list of active instruction sets if the --verbose command line
switch is ON (via be_verbose)

* app/composite/gimp-composite-x86.h: Factored code from the mmx,
and sse implementations.

* app/composite/make-installer.py: Raised the number of test
iterations from 1 to 10.

* app/composite/gimp-composite-3dnow.[ch]
* app/composite/gimp-composite-3dnow-test.c
* app/composite/gimp-composite-3dnow-installer.c
* app/composite/gimp-composite-altivec.[ch]
* app/composite/gimp-composite-altivec-test.c
* app/composite/gimp-composite-altivec-installer.c
* app/composite/gimp-composite-mmx.[ch]
* app/composite/gimp-composite-altivec-test.c
* app/composite/gimp-composite-altivec-installer.c
* app/composite/gimp-composite-sse.[ch]
* app/composite/gimp-composite-sse-test.c
* app/composite/gimp-composite-sse-installer.c
* app/composite/gimp-composite-sse2.[ch]
* app/composite/gimp-composite-sse2-test.c
* app/composite/gimp-composite-sse2-installer.c
* app/composite/gimp-composite-vis.[ch]
* app/composite/gimp-composite-vis-test.c:
Regenerated sources via make-installer.py
2004-07-20 15:59:12 +00:00
Sven Neumann 03b3f8c90f app/app_procs.c app/base/base.[ch] pass "be_verbose" to the base and
2004-07-20  Sven Neumann  <sven@gimp.org>

	* app/app_procs.c
	* app/base/base.[ch]
	* app/composite/gimp-composite.[ch]: pass "be_verbose" to the base
	and composite subsystems.
2004-07-20 14:33:22 +00:00
Sven Neumann d23f6ad2d3 added some empty lines to improve readability of the output in case of
2004-07-20  Sven Neumann  <sven@gimp.org>

	* autogen.sh: added some empty lines to improve readability of the
	output in case of problems.

	* configure.in: bumped version number to 2.1.3.
2004-07-20 10:06:46 +00:00
Michael Natterer 6594d74c3b fix formatting. 2004-07-20 08:56:33 +00:00
Helvetix Victorinox d02bc5453b More clobber register corrections. 2004-07-20 06:33:03 +00:00
Sven Neumann 49fa9b7589 Made 2.1.2 release.
2004-07-20  Sven Neumann  <sven@gimp.org>

        * Made 2.1.2 release.
2004-07-20 01:09:16 +00:00
Sven Neumann 6d8b24dace plug-ins/winicon/icoload.c added explicit casts to please the compiler.
2004-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/icosave.c: added explicit casts to please the
	compiler.
2004-07-20 00:53:19 +00:00
Sven Neumann 3da94c7257 added paper.h.
2004-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/Makefile.am (gimpressionist_sources):
	added paper.h.
2004-07-20 00:28:58 +00:00
Sven Neumann 686a5687e7 added back arcball.h.
2004-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/MapObject/Makefile.am (MapObject_SOURCES): added back
	arcball.h.

	* plug-ins/MapObject/mapobject_main.c
	* plug-ins/MapObject/mapobject_preview.c: no need to include
	arcball.h here.
2004-07-20 00:09:58 +00:00
Sven Neumann abf7ed21a1 added back gfig-examples
2004-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/Makefile.am (SUBDIRS): added back gfig-examples

	* plug-ins/gfig/gfig-examples/Makefile.am: cleanup.
2004-07-19 23:44:42 +00:00
Sven Neumann ce5ffd3ea7 fixed some GUI issues: left-align labels, use stock buttons, added
2004-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c: fixed some GUI issues:
	left-align labels, use stock buttons, added line-breaks to make
	the code fit into 80 columns.
2004-07-19 22:06:09 +00:00
Sven Neumann 95ca2a8dd0 fixed a couple of issues with the new code: don't include individual glib
2004-07-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c: fixed a couple of issues with
	the new code: don't include individual glib headers, never ever
	use sprintf(), mark user-visible strings for translations, use
	default messages, removed trailing whitespace.
2004-07-19 21:33:55 +00:00
William Skaggs f5d56368e7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/Lighting/lighting_ui.c: added ability to save and load
	presets for lights.
2004-07-19 19:49:19 +00:00
Michael Natterer ad578d0e9e fixed formatting. 2004-07-19 16:33:16 +00:00
Shlomi Fish e113a667d6 normalized some variables in the module and fixed some indentation.
* plug-ins/gimpressionist/orientation.c: normalized some variables
in the module and fixed some indentation.
2004-07-19 16:19:01 +00:00
Helvetix Victorinox a11dbef340 Correction of clobbered register lists, as additional progress against bug #147013. 2004-07-19 15:57:07 +00:00
Michael Natterer 144d663525 removed unused VOID:UINT,STRING.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpmarshal.list: removed unused VOID:UINT,STRING.
2004-07-19 15:34:40 +00:00
Michael Natterer 2e205e7c1a added the "web" icon left of label & entry.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-open-location-dialog.c
	(file_open_location_dialog_show): added the "web" icon left of
	label & entry.
2004-07-19 15:25:44 +00:00
Michael Natterer 85c2b2dd4f removed enum GimpPaintCoreState.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore.h: removed enum GimpPaintCoreState.

	* app/paint/paint-enums.h: added enum GimpPaintState (with values
	that have a name space).

	* app/paint/gimppaintcore.[ch]
	* app/paint/gimpairbrush.c
	* app/paint/gimpbrushcore.c
	* app/paint/gimpclone.c
	* app/paint/gimpconvolve.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimperaser.c
	* app/paint/gimpink.c
	* app/paint/gimppaintbrush.c
	* app/paint/gimppaintcore-stroke.c
	* app/paint/gimpsmudge.c
	* app/tools/gimppainttool.c: changed accordingly.

	* app/tools/gimpinktool.c: removed unused #include.
2004-07-19 14:37:40 +00:00
Sven Neumann f26d1b8a8c moved variable declarations to the scope they are being used in, removed
2004-07-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpchannel-combine.c (gimp_channel_combine_ellipse):
	moved variable declarations to the scope they are being used in,
	removed trailing whitespace, minor cleanups.
2004-07-19 14:25:59 +00:00
William Skaggs b48a7cce8f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpchannel-combine.c: put in two lines accidentally
	omitted in previous change, improve doc comment.
2004-07-19 14:12:30 +00:00
Michael Natterer c5e78fe18a added copyright header, added #defines for access(), F_OK, R_OK and X_OK.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpwin32-io.h: added copyright header, added
	#defines for access(), F_OK, R_OK and X_OK.

	* app/core/gimpdata.c: include the above instead of defining
	the workarounds here.

	* app/base/tile-swap.c
	* app/config/gimpconfig-dump.c
	* libgimpthumb/gimpthumb-utils.c
	* libgimpthumb/gimpthumbnail.c: for consistency, #include
	gimpwin32-io.h with "" instead of <>.
2004-07-19 13:22:44 +00:00
Michael Natterer fe23211092 comments not intended for gtk-doc must not start with '/**'.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel-combine.c (gimp_channel_combine_ellipse):
	comments not intended for gtk-doc must not start with '/**'.
2004-07-19 12:43:40 +00:00
Michael Natterer 086d0b5470 removed obsolete compile-time check for GLIB >= 2.3.5.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in.h (struct _PlugIn): removed obsolete
	compile-time check for GLIB >= 2.3.5.
2004-07-19 12:20:27 +00:00
Shlomi Fish 894de83e12 Fixed a copy-and-paste error with the dates of my commits. removed a few
* ChangeLog: Fixed a copy-and-paste error with the dates of my commits.
* plug-ins/gimpressionist/ppmtool.c: removed a few commented-out
  asserts, and the function that was used to implement them.
2004-07-19 12:18:59 +00:00
Michael Natterer 28b3fd4a74 reordered and commented to match API docs.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/widgets-types.h: reordered and commented to match
	API docs.
2004-07-19 12:08:37 +00:00
Sven Neumann 8e55c2e1cc renamed struct member file_selection to file_chooser.
2004-07-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_browse.[ch]: renamed struct member
	file_selection to file_chooser.
2004-07-19 11:35:43 +00:00
Michael Natterer 9357713a2b removed GimpConfigInterface typedef, added comments to typedefs which
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app/config/config-types.h: removed GimpConfigInterface typedef,
	added comments to typedefs which don't belong here.

	* app/config/gimpconfig.h: added GimpConfigInterface typedef.

	* app/core/core-types.h
	* app/display/display-types.h: added commented out typedefs for
	types that live in config-types.h for obscure reasons.

	* app/core/core-types.h: reordered stuff to match the order in the
	API docs (makes keeping stuff in sync much easier).
2004-07-19 11:33:59 +00:00
Shlomi Fish c600346e2a replaced a few if's+destructors pairs for ppm_ with just the destructors.
* plug-ins/gimpressionist/repaint.c: replaced a few if's+destructors
pairs for ppm_ with just the destructors.
2004-07-19 10:28:23 +00:00
Shlomi Fish 2964e2add6 normalized some identifiers of repaint.c, and corrected some indentation
* plug-ins/gimpressionist/repaint.c: normalized some identifiers of
repaint.c, and corrected some indentation there.
2004-07-19 10:02:33 +00:00