Commit Graph

16227 Commits

Author SHA1 Message Date
Sven Neumann 55f7b68c23 allow to enable some debug output.
2005-07-28  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: allow to enable some debug output.
2005-07-28 00:18:39 +00:00
Manish Singh bd5d41062d #include gimpimage-colormap.h
2005-07-27  Manish Singh  <yosh@gimp.org>

        * app/core/gimpdrawable-foreground-extract.c: #include
        gimpimage-colormap.h
2005-07-27 23:01:48 +00:00
Sven Neumann d429a944db app/core/Makefile.am moved cpercep from here ...
2005-07-28  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/cpercep.[ch]: moved cpercep from here ...

	* app/base/Makefile.am
	* app/base/cpercep.[ch]: ... to here.

	* app/base/siox.[ch]: use the cpercep routines for RGB->LAB
	conversion, gives a 20% speedup. Removed normalization which seems
	redundant. Make it work for grayscale and indexed, not only RGB.

	* app/core/gimpdrawable-foreground-extract.c
	* app/core/gimpimage-convert.c: changed accordingly.
2005-07-27 22:52:34 +00:00
Sven Neumann 5ef2b855ca change the cursor with the tool (bug #90519).
2005-07-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: change the cursor with the tool
	(bug #90519).
2005-07-26 13:38:48 +00:00
Sven Neumann 18943eba39 fixed signedness warnings.
2005-07-26  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: fixed signedness warnings.
2005-07-26 01:21:17 +00:00
Maurits Rijk 4c28829dc5 make buffer large enough to hold all polygon data.
2005-07-25  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_csim.y: make buffer large enough to hold
	all polygon data.

	* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated. Fixes #169698
2005-07-25 20:07:14 +00:00
Michael Natterer c1c876a963 Some DND fixes / cleanup:
2005-07-25  Michael Natterer  <mitch@gimp.org>

	Some DND fixes / cleanup:

	* app/widgets/widgets-enums.h: renamed GIMP_DND_TYPE_TOOL to
	GIMP_DND_TYPE_TOOL_INFO.

	* app/widgets/gimpselectiondata.[ch]: s/tool/tool_info/g. Moved
	private functions to the end of the file. Include GIMP's PID in
	all GtkSelectionData strings which are used to pass around stuff
	by reference. For things which are referenced by name, also encode
	the object's address in the GtkSelectionData so having a brush
	called "Standard" or a named buffer called "Global Buffer" will
	work together with DND.

	* app/widgets/gimpdnd.[ch]: s/tool/tool_info/g. Renamed
	gimp_dnd_get_data_data() to gimp_dnd_get_object_data() since it's
	not limited to GimpData objects. Follow above selection data API
	changes. Cleanup.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpdrawablecombobox.c
	* libgimp/gimpfontselectbutton.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimpimagecombobox.c
	* libgimp/gimppalettemenu.c
	* libgimp/gimppatternmenu.c: follow GtkSelectionData format change
	and check the dropped things' PID against the return value of
	gimp_getpid().
2005-07-25 13:53:00 +00:00
Sven Neumann 1999d56ef9 on Win32, include <process.h> for getpid().
2005-07-25  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/misc.pdb: on Win32, include <process.h> for
	getpid().

	* app/pdb/misc_cmds.c: regenerated.
2005-07-25 12:59:53 +00:00
Michael Natterer 52329c5799 added gimp_getpid().
2005-07-25  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/misc.pdb: added gimp_getpid().

	* libgimp/gimp.def: changed accordingly.

	* app/pdb/internal_procs.c
	* app/pdb/misc_cmds.c
	* libgimp/gimpmisc_pdb.[ch]: regenerated.
2005-07-24 23:34:25 +00:00
Michael Natterer 43d691daef don't call gtk_widget_hide() on a NULL help button.
2005-07-25  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpdialog.c (gimp_dialog_add_buttons_valist):
	don't call gtk_widget_hide() on a NULL help button.
2005-07-24 23:02:33 +00:00
Michael Natterer b7b799c041 libgimp/gimpbrushmenu.c put the previews into sunken instead of etched-in
2005-07-24  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpbrushmenu.c
	* libgimp/gimppatternmenu.c: put the previews into sunken instead
	of etched-in frames.
2005-07-24 14:40:10 +00:00
Hendrik Richter 47d3ba132b Fixed German translation by Jens Seidel <jensseidel@users.sf.net>.
2005-07-24  Hendrik Richter  <hendi@gnome-de.org>

	* de.po: Fixed German translation by
	Jens Seidel <jensseidel@users.sf.net>.
2005-07-24 12:22:36 +00:00
Michael Natterer 07ff13c754 untabify, minor cleanup.
2005-07-24  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppattern.c: untabify, minor cleanup.
2005-07-23 22:22:45 +00:00
Michael Natterer b886b0179b special case the global buffer so it can be dropped, not only dragged
2005-07-23  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpselectiondata.c
	(gimp_selection_data_get_buffer): special case the global buffer
	so it can be dropped, not only dragged around.
2005-07-23 19:42:20 +00:00
Michael Natterer 53ac1f4f01 added a label showing the number of selected pages. Allow to enter ranges
2005-07-23  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.c: added a label showing the
	number of selected pages. Allow to enter ranges like "5-" or "-7"
	(treat them as if the user had entered "5-n_pages" or "1-7").
	Minor UI spacing and code cleanup.
2005-07-23 16:37:33 +00:00
Michael Schumacher 456d74d8e8 added missing gimp_page_selector_[get|set]_target
2005-07-22  Michael Schumacher  <schumaml@cvs.gnome.org>

	* libgimpwidgets/gimpwidgets.def: added missing
	gimp_page_selector_[get|set]_target
2005-07-22 16:37:30 +00:00
Michael Natterer f0c7009c29 allow to drop palettes onto the palette view again.
2005-07-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteeditor.c (gimp_palette_editor_init):
	allow to drop palettes onto the palette view again.
2005-07-22 11:12:43 +00:00
Michael Natterer 93e282b5b5 Forgot to commit ChangeLog. 2005-07-22 10:36:01 +00:00
Ivan Stojmirov 46e6c85217 100% 2005-07-22 10:17:02 +00:00
Sven Neumann afc7754c9e fixed the GIMP_ZOOM_TO case for palettes with a number of colors that is
2005-07-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppaletteeditor.c (gimp_palette_editor_zoom):
	fixed the GIMP_ZOOM_TO case for palettes with a number of colors
	that is not a multiple of the number of columns.
2005-07-22 08:19:05 +00:00
Sven Neumann 222d5a8935 reverted my last change here and replaced it with a better fix.
2005-07-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrendererpalette.c
	(gimp_view_renderer_palette_render): reverted my last change here
	and replaced it with a better fix.
2005-07-22 08:09:40 +00:00
Sven Neumann 772b47db6a libgimpwidgets/libgimpwidgets-sections.txt added gimp_preview_get_area().
2005-07-22  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimppreview.sgml: added gimp_preview_get_area().
2005-07-22 07:43:58 +00:00
Michael Natterer 2a48c63e90 setup the dnd stuff in GimpView::set_viewable() and remove GimpView's
2005-07-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteview.c: setup the dnd stuff in
	GimpView::set_viewable() and remove GimpView's automatically added
	GimpPalette drag source. Fixes color dragging (bug #113237).
2005-07-21 22:36:14 +00:00
Sven Neumann 6a4b454431 added gimp_preview_get_area() for the rare case when one needs access to
2005-07-21  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: added gimp_preview_get_area()
	for the rare case when one needs access to the GimpPreviewArea
	used in the preview.

	* libgimpwidgets/gimpwidgets.def: updated.
2005-07-21 14:02:29 +00:00
Ivan Stojmirov 2b575849c1 done 2005-07-21 11:08:25 +00:00
Pawan Chitrakar 54ddd1efaf Updated Nepali translation 2005-07-21 08:44:51 +00:00
Pawan Chitrakar 6a06988737 Nepali Translation Added 2005-07-21 07:51:29 +00:00
Michael Natterer 20725453b4 don't return an execution error if the user cancelled the dialog.
2005-07-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/poppler.c (run): don't return an execution error
	if the user cancelled the dialog.
2005-07-20 19:39:46 +00:00
Marcel Telka 6ba98881fa Updated Slovak translation.
2005-07-20  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-07-20 19:27:21 +00:00
Sven Neumann 09f4e32828 fixed typo (Debian bug #310018).
2005-07-20  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-dump.c: fixed typo (Debian bug #310018).
2005-07-20 14:56:39 +00:00
Sven Neumann 0a29b4b509 declare variables at the start of the scope. Apply GIMP coding style to
2005-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-grid.c: declare variables at the start of the
	scope. Apply GIMP coding style to the new polar grid code.
2005-07-20 09:40:32 +00:00
Sven Neumann 3e74368a3b return FALSE if the keypress event isn't handled because of a display
2005-07-19  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpvectortool.c (gimp_vector_tool_key_press): return
	FALSE if the keypress event isn't handled because of a display
	mismatch.
2005-07-19 21:26:12 +00:00
Sven Neumann f56ab4b823 fixed signedness warnings.
2005-07-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (mng_save_image): fixed signedness warnings.
2005-07-19 20:52:12 +00:00
Michael Natterer 19ea2a9db4 app/widgets/Makefile.am new files keeping the render acceleration check
2005-07-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/gimprender.[ch]: new files keeping the render
	acceleration check buffers.

	* app/display/gimpdisplayshell-render.[ch]: removed them here.

	* app/gui/gui.c: initialize/shutdown the new buffers.

	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpviewrenderer.c
	* app/widgets/gimpviewrenderergradient.c
	* app/actions/view-actions.c
	* app/display/gimpdisplayshell-appearance.c
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell.c: use the new stuff. Removes
	lots of broken widgets -> display dependencies.
2005-07-19 20:42:14 +00:00
Michael Natterer 7e11ba99b8 renamed member "palette" to "preview", cleanup.
2005-07-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolormapeditor.[ch]: renamed member "palette"
	to "preview", cleanup.
2005-07-19 19:37:07 +00:00
Sven Neumann 7e4f880849 app/actions/edit-actions.c changed the default keybinding for Edit->Clear
2005-07-19  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-actions.c
	* etc/ps-menurc: changed the default keybinding for Edit->Clear
	from Ctrl-K to Delete (bug #118115).
2005-07-19 12:02:53 +00:00
Sven Neumann 603efe98a4 removed unused include.
2005-07-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_menu.c: removed unused include.
2005-07-19 11:51:22 +00:00
Sven Neumann 1e76f341f9 try a different style for the info labels below the histogram; mainly to
2005-07-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogrameditor.c: try a different style for the
	info labels below the histogram; mainly to avoid repositioning.
2005-07-19 09:44:46 +00:00
Baris Cicek 95398ba44f Updated Turkish Translation from Gorkem Gencturk 2005-07-19 08:24:39 +00:00
Adam Weinberger c2026c1f9f Updated Canadian English translation.
2005-07-18  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-07-19 01:16:02 +00:00
Sven Neumann c8895fc04f allow to have the output images saved, made the code more robust with
2005-07-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/benchmark-foreground-extract.py: allow to have the
	output images saved, made the code more robust with respect to
        input images, corrected some mistakes.
2005-07-18 20:53:26 +00:00
Josep Puigdemont i Casamajó 3ba1d851e6 Updated Catalan translation. 2005-07-18 19:27:52 +00:00
David Odin f0e58a1c63 don't try to free unallocated space (happened when vert or horz were 0.0)
* plug-ins/common/gauss.c: don't try to free unallocated space
  (happened when vert or horz were 0.0)
2005-07-18 18:10:55 +00:00
Sven Neumann 2954fa94b8 updated.
2005-07-18  Sven Neumann  <sven@gimp.org>

	* de.po: updated.
2005-07-18 17:34:39 +00:00
Sven Neumann 3dcf54db08 added libgimpwidgets/gimpresolutionentry.c.
2005-07-18  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added libgimpwidgets/gimpresolutionentry.c.

	* de.po: updated.
2005-07-18 16:58:35 +00:00
Sven Neumann efe3e15fa5 marked strings for translation.
2005-07-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/poppler.c: marked strings for translation.
2005-07-18 16:52:03 +00:00
Sven Neumann 6466e3b82d need to sort the boundary here since gimp_draw_tool_draw_boundary()
2005-07-18  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_start):
	need to sort the boundary here since gimp_draw_tool_draw_boundary()
	expects a sorted boundary now. Fixes bug #310432.

	* app/tools/gimppainttool.c: formatting.
2005-07-18 15:54:49 +00:00
Sven Neumann 3d9b2cdf60 news update 2005-07-18 11:45:04 +00:00
Sven Neumann dca11f2ef4 tweaked spacing and alignments to make it look more like our other
2005-07-18  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpresolutionentry.c: tweaked spacing and
	alignments to make it look more like our other widgets.

	* plug-ins/common/poppler.c: put the resolution entry into a hbox
	so that it doesn't expand horizontally; removed unused table.
2005-07-18 10:16:45 +00:00
Adam Weinberger 5713d3048b Updated Canadian English translation.
2005-07-18  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-07-18 08:32:23 +00:00