Commit graph

9555 commits

Author SHA1 Message Date
Sven Neumann cc845bc8e3 libgimp/libgimp-docs.sgml libgimpbase/libgimpbase-docs.sgml
2003-09-07  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimpbase/libgimpbase-docs.sgml
	* libgimpcolor/libgimpcolor-docs.sgml
	* libgimpmath/libgimpmath-docs.sgml
	* libgimpwidgets/libgimpwidgets-docs.sgml: converted to use
	XInclude instead of entities.
2003-09-07 21:58:10 +00:00
Michael Natterer 4059b00f7d ignore some more headers.
2003-09-07  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am: ignore some more headers.

	* app/app-docs.sgml
	* app/app-sections.txt: lots of updates. Made <part>s out of the
	app/ subdirs and added sub-<chapter>s. The main TOC is way too
	crowded currently, will fix that later...
2003-09-07 21:57:15 +00:00
Sven Neumann 9981bdc874 app/core/gimpdrawable-preview.c got rid of compiler warnings.
2003-09-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-preview.c
	* plug-ins/fp/fp_gtk.c: got rid of compiler warnings.
2003-09-07 21:07:29 +00:00
Sven Neumann 15e8b105a1 should have gone with my last commit 2003-09-07 19:44:49 +00:00
Michael Natterer aa553d1fa1 image_desaturate() does not exist.
2003-09-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-desaturate.h: image_desaturate() does not
	exist.
2003-09-07 19:39:10 +00:00
Sven Neumann 6f1a0df89f app/display/Makefile.am app/gui/Makefile.am app/paint/Makefile.am
2003-09-07  Sven Neumann  <sven@gimp.org>

	* app/display/Makefile.am
	* app/gui/Makefile.am
	* app/paint/Makefile.am
	* app/pdb/Makefile.am
	* app/text/Makefile.am
	* app/tools/Makefile.am
	* app/widgets/Makefile.am
	* app/xcf/Makefile.am (INCLUDES): removed $(LIBART_CFLAGS) again.
2003-09-07 19:35:10 +00:00
Sven Neumann dce4bafc73 define PANGO_DISABLE_DEPRECATED.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* app/text/Makefile.am: define PANGO_DISABLE_DEPRECATED.

	* app/text/gimptext-compat.c: avoid deprecated API.
2003-09-07 19:35:07 +00:00
Sven Neumann a4bdd93b68 app/display/Makefile.am app/gui/Makefile.am app/paint/Makefile.am
2003-09-07  Sven Neumann  <sven@gimp.org>

	* app/display/Makefile.am
	* app/gui/Makefile.am
	* app/paint/Makefile.am
	* app/pdb/Makefile.am
	* app/text/Makefile.am
	* app/tools/Makefile.am
	* app/widgets/Makefile.am
	* app/xcf/Makefile.am (INCLUDES): removed $(LIBART_CFLAGS) again.
2003-09-07 19:35:07 +00:00
Dave Neary 1c0b586e33 app/vectors/gimpvectors.[ch] app/vectors/gimpstroke.[ch] Cleanup - removed
2003-09-07  Dave Neary  <bolsh@gimp.org>

        * app/vectors/gimpvectors.[ch]
        * app/vectors/gimpstroke.[ch]
        * app/vectors/gimpbezierstroke.c: Cleanup - removed libart
        from the included headers in the .h files, don't pass around
        libart objects any more. Still stub code.
2003-09-07 18:09:58 +00:00
Simon Budig 078d575b31 Implemented gimp_bezier_stroke_arcto () that creates an elliptical arc in
2003-09-11  Simon Budig  <simon@gimp.org>

	* vectors/gimpbezierstroke.[ch]: Implemented
	gimp_bezier_stroke_arcto () that creates an elliptical arc
	in the way SVG works.

	* vectors/gimpvectors-import.c: use it.
2003-09-07 18:09:58 +00:00
Dave Neary e88298a35c app/vectors/gimpvectors.[ch] app/vectors/gimpstroke.[ch] Cleanup - removed
2003-09-07  Dave Neary  <bolsh@gimp.org>

        * app/vectors/gimpvectors.[ch]
        * app/vectors/gimpstroke.[ch]
        * app/vectors/gimpbezierstroke.c: Cleanup - removed libart
        from the included headers in the .h files, don't pass around
        libart objects any more. Still stub code.
2003-09-07 18:09:58 +00:00
Sven Neumann dda6e4822a accept URLs with https protocol.
2003-09-07  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: accept URLs with https protocol.
2003-09-07 16:23:02 +00:00
Michael Natterer 8df1badccd removed the last traces of xinput_airbrush.
2003-09-07  Michael Natterer  <mitch@gimp.org>

	* app/tools/airbrush_blob.[ch]: removed the last traces of
	xinput_airbrush.
2003-09-07 15:34:49 +00:00
Sven Neumann a4e56d98c3 set the tile cache size to speed up pixel transfers.
2003-09-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/aa.c: set the tile cache size to speed up pixel
	transfers.
2003-09-07 15:08:42 +00:00
Wang Jian d2a6200e5b *** empty log message *** 2003-09-07 14:07:28 +00:00
Sven Neumann 55d9497d12 boost performance by setting a reasonable tile cache size.
2003-09-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (create_image): boost performance
	by setting a reasonable tile cache size.
2003-09-07 13:47:41 +00:00
Michael Natterer 527c1a2f29 ignore paint-funcs-generic.h
2003-09-07  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am: ignore paint-funcs-generic.h

	* app/app-docs.sgml
	* app/app-sections.txt: added all class typedefs, removed struct
	typedefs from the -types sections and removed all -types sections
	which were empty after that. Lots of updates.
2003-09-07 11:49:02 +00:00
Michael Natterer 47ba171afd app/display/display-types.h app/tools/tools-types.h
2003-09-07  Michael Natterer  <mitch@gimp.org>

	* app/display/display-types.h
	* app/tools/tools-types.h
	* app/vectors/vectors-types.h
	* app/widgets/widgets-types.h: removed some forgotten cruft.

	* app/vectors/gimpbezierstroke.h
	* app/vectors/gimpstroke.h
	* app/vectors/gimpvectors.h: added class struct typedefs here.
2003-09-07 10:29:10 +00:00
Simon Budig 966d58c5c0 Implemented gimp_bezier_stroke_arcto () that creates an elliptical arc in
2003-09-11  Simon Budig  <simon@gimp.org>

	* vectors/gimpbezierstroke.[ch]: Implemented
	gimp_bezier_stroke_arcto () that creates an elliptical arc
	in the way SVG works.

	* vectors/gimpvectors-import.c: use it.
2003-09-07 10:29:09 +00:00
Michael Natterer 1345a6d062 app/display/display-types.h app/tools/tools-types.h
2003-09-07  Michael Natterer  <mitch@gimp.org>

	* app/display/display-types.h
	* app/tools/tools-types.h
	* app/vectors/vectors-types.h
	* app/widgets/widgets-types.h: removed some forgotten cruft.

	* app/vectors/gimpbezierstroke.h
	* app/vectors/gimpstroke.h
	* app/vectors/gimpvectors.h: added class struct typedefs here.
2003-09-07 10:29:09 +00:00
Sven Neumann f6f49b2328 redid the fix for the compiler warning: made gimp_vectors_to_art_vpath()
2003-09-07  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors.[ch]: redid the fix for the compiler
	warning: made gimp_vectors_to_art_vpath() take a const GimpVectors
	again, but don't freeze/thaw it since it isn't changed anyway.
2003-09-07 00:03:36 +00:00
Helvetix Victorinox 0b53610c8b Convert "unsigned long" to guint32 in preparation for 64bit machinery.
* app/composite/gimp-composite-mmx.c
  app/composite/gimp-composite-sse.c
  app/composite/gimp-composite-sse2.c:
  Convert "unsigned long" to guint32 in preparation for 64bit
  machinery.
2003-09-06 23:56:05 +00:00
Sven Neumann 4ede9ffbd6 app/Makefile.am app/app-docs.sgml app/app-sections.txt some more updates.
2003-09-07  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am
	* app/app-docs.sgml
	* app/app-sections.txt
	* app/app.types: some more updates.
2003-09-06 22:57:42 +00:00
Michael Natterer 6031629bd3 removed.
2003-09-06  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppreviewrenderertextlayer.[ch]: removed.

	* app/widgets/gimppreviewrendererlayer.[ch]: new renderer which
	renders all kinds of layers and uses GIMP_STOCK_FLOATING_SELECTION
	for floating selections.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimppreviewrenderer-utils.c: changed accordingly.
2003-09-06 22:02:12 +00:00
Michael Natterer 7fbfdfce62 display the floating selection's name in italic letters. Added the bold
2003-09-06  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimplayertreeview.[ch]: display the floating
	selection's name in italic letters. Added the bold and italic
	PangoAttrLists to the GimpLayerTreeView struct so we can unref
	them properly.

	* app/widgets/gimpdrawabletreeview.c: some cleanup while stealing
	code.
2003-09-06 21:17:16 +00:00
Sven Neumann c9aadb5fcb libgimpwidgets/libgimpwidgets-sections.txt updated for new icon.
2003-09-06  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml: updated for new icon.
2003-09-06 20:50:20 +00:00
Sven Neumann 11b083d9b3 themes/Default/images/Makefile.am new icon drawn by Jimmac.
2003-09-06  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-floating-selection-*.png: new icon
	drawn by Jimmac.

	* libgimpwidgets/gimpstock.[ch]: register the new icon.
2003-09-06 20:47:08 +00:00
Michael Natterer 7a5f914866 To optimize duplicate and/or wrong image updates away, introduced new
2003-09-06  Michael Natterer  <mitch@gimp.org>

	To optimize duplicate and/or wrong image updates away, introduced
	new policy that a child object must never explicitly update or
	invalidate its parent object (just like the GUI is not updated
	explicitly by the core):

	* app/core/gimpdrawable.[ch]: added new signal
	GimpDrawable::update(). Never update or invalidate the image when
	the drawable is updated or invalidated.

	(gimp_drawable_set_visible): don't gimp_drawable_update() the
	drawable since its pixels have not changed.

	* app/core/gimpimage.[ch]: connect to the "add" and "remove"
	signals of the layers and channels containers. Also connect to the
	"update" and "visibility_changed" signals of all drawables in
	these containers (optimizes away updates issued by drawables which
	are not yet added to the image and updates of the selection
	mask). Also, don't propagate updates to the image if the emitting
	drawable is invisible (optimizes away updates issued by invisible
	drawables).

	(gimp_image_add_layer,channel)
	(gimp_image_remove_layer,channel): don't update the image since
	that's done by our "add" and "remove" handlers now.

	(gimp_image_position_layer,channel): update just the image, not
	the drawable since its pixels have not changed.

	(gimp_image_real_colormap_changed)
	(gimp_image_set_component_visible): always call
	gimp_image_update() *and* gimp_viewable_invalidate_preview() to
	get everything updated, since update and invalidate of images are
	not connected.

	* app/core/gimpimage-undo-push.c (undo_pop_layer,channel): don't
	update the drawable since (a) its pixels don't change and (b) the
	image updates itself upon adding/removing now.

	(undo_pop_layer_mod): replaced gimp_image_update() by
	gimp_drawable_update() (just for consistency with other similar
	functions).

	* app/core/gimplayer.c: connect to "update" of the layer mask and
	issue updates on the layer if the mask update has any effect on
	the projection.
	(gimp_layer_create_mask): don't set the mask's offsets here since
	they may be different when we later add the mask to the layer.

	* app/core/gimplayermask.c (gimp_layer_mask_set_layer): set the
	mask offsets here instead.

	* app/core/gimpchannel.c (gimp_channel_translate): update the
	channel even if push_undo == FALSE.

	* app/paint/gimppaintcore.c (gimp_paint_core_finish)
	* app/tools/gimpinktool.c (ink_finish): invalidate both the
	drawable and the image preview since invalidating the drawable
	doesn't invalidate the image any more.

	* app/text/gimptextlayer.c (gimp_text_layer_render_now): also
	update the new extents of the text layer, not only the old one.

	(gimp_text_layer_render_layout): don't update the drawable since
	gimp_drawable_fill() already updated it.
2003-09-06 20:06:53 +00:00
Sven Neumann 99dba1ca01 app/vectors/gimpbezierstroke.c app/vectors/gimpstroke.[ch] removed
2003-09-06  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpbezierstroke.c
	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpvectors.[ch]: removed compiler warnings, cleaned
	up coding style issues,
2003-09-06 20:00:38 +00:00
Dave Neary 1d4720e560 Ooops! Sorry for the oversight. app/vectors/gimpvectors.[ch]
2003-09-06  Dave Neary  <bolsh@gimp.org>

        Ooops! Sorry for the oversight.
        * app/vectors/gimpvectors.[ch]
        * app/vectors/gimpstroke.[ch]
        * app/vectors/gimpbezierstroke.c: Changed include order
        to conform to the coding standards in devel-docs/includes.txt
        (which should really be integrated into HACKING).
2003-09-06 18:40:48 +00:00
Jan Morén be5e9a9740 Updated Swedish translation.
2003-09-06  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-09-06 18:40:29 +00:00
Michael Natterer b28c23611b app/display/Makefile.am app/gui/Makefile.am app/paint/Makefile.am
2003-09-06  Michael Natterer  <mitch@gimp.org>

	* app/display/Makefile.am
	* app/gui/Makefile.am
	* app/paint/Makefile.am
	* app/pdb/Makefile.am
	* app/text/Makefile.am
	* app/tools/Makefile.am
	* app/widgets/Makefile.am
	* app/xcf/Makefile.am (INCLUDES): add $(LIBART_CFLAGS) here too.
2003-09-06 17:20:02 +00:00
Dave Neary 0508bdcc4b Include libart headers app/vectors/gimpvectors.[ch]
2003-09-06  Dave Neary  <bolsh@gimp.org>

	* app/vectors/Makefile.am: Include libart headers
	* app/vectors/gimpvectors.[ch]
	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpbezierstroke.[ch]: Committing unfinished,
	useless stub code for converting a GimpVectors object to a
	libart vector path. Will pad this out later.
2003-09-06 16:39:08 +00:00
Michael Natterer 27ad396d10 made my last commit compile. Sorry.
2003-09-06  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.c (gimp_drawable_fill): made my last
	commit compile. Sorry.
2003-09-06 15:20:46 +00:00
Michael Natterer 31b754df21 code cleanup. (gimp_drawable_fill): use the INTENSITY() of the passed
2003-09-06  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.c: code cleanup.
	(gimp_drawable_fill): use the INTENSITY() of the passed GimpRGB to
	fill GIMP_GRAY drawables, not just the RED_PIX. Cleanup.

	* app/core/gimpimage.c (gimp_image_transform_color):
	added assertion for src_type != GIMP_INDEXED.
2003-09-06 13:41:58 +00:00
Sven Neumann a7f00f06e8 access the grid structure directly instead of using g_object_get() and
2003-09-05  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_draw_grid):
	access the grid structure directly instead of using g_object_get()
	and leaking the returned values. Release the GC object instead of
	leaking it (the GC should probably become part of the display).

	* app/gui/grid-dialog.c (grid_dialog_new): removed an extraneous
	reference count from grid_backup.
2003-09-05 18:22:03 +00:00
Michael Natterer aaf84a73d2 removed function map_to_color() since it does not belong here and the two
2003-09-05  Michael Natterer  <mitch@gimp.org>

	* app/paint-funcs/paint-funcs.[ch]: removed function map_to_color()
	since it does not belong here and the two places using it look much
	cleaner when doing that stuff themselves.

	* app/core/gimpdrawable-preview.c: cleanup.
	(gimp_drawable_preview_scale): do the indexed palette lookup here
	instead of calling map_to_color().

	* app/core/gimpimage.c (gimp_image_get_color): transform the
	colors here instead of calling map_to_color().

	* app/core/gimpimage.[ch] (gimp_image_get_color): reordered
	parameters src parameters are before dest parameters.
	Made the src color const.

	(gimp_image_transform_color): reordered so src parameters are
	*after* dest parameters (since this function operates on the dest
	image and it makes sense to have the dest parameters
	together). Made the src color const here, too.

	* app/core/gimpdrawable-bucket-fill.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage-contiguous-region.c
	* app/core/gimpimage-projection.c
	* app/core/gimpimagemap.c
	* app/core/gimplayer.c
	* app/core/gimppalette-import.c
	* app/paint/gimpclone.c
	* app/paint/gimppaintcore.c: changed accordingly.

	* app/core/gimpedit.c (gimp_edit_cut,copy): simplified by
	moving the "cropped" variable to a local scope.

	* app/core/gimpimage-mask.c: calling gimp_image_update() followed
	by gimp_viewable_imvalidate_preview(drawable) is equal to calling
	gimp_drawable_update() directly.
2003-09-05 17:44:39 +00:00
Sven Neumann 3a3a57014b code cleanup. Removed the PreviewCache struct that used to wrap TempBuf
2003-09-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimppreviewcache.[ch]: code cleanup. Removed the
	PreviewCache struct that used to wrap TempBuf but didn't add any
	additional information. Actually free the cached temp_buf when
	removing an entry from cache. Free the GSList when invalidating
	the preview cache.
2003-09-05 16:51:51 +00:00
Hasbullah Bin Pit 86133ac68a Added Translation by MIMOS Open Source Development Group <ismas@mimos.my>
2003-09-02  Hasbullah Bin Pit <sebol@ikhlas.com>

        * ms.po: Added Translation by
                MIMOS Open Source Development Group <ismas@mimos.my>
2003-09-05 14:59:46 +00:00
Helvetix Victorinox d16097c2fb Fixed another bug in initialising the compositing context for the special
* app/paint-funcs/paint-funcs.c (initial_sub_region): Fixed
  another bug in initialising the compositing context for the
  special case of dissolve mode.  A further attempt to fix bug
  #121438.

* app/composite/gimp-composite-generic.c
  (gimp_composite_dissolve_any_any_any_generic): Fixed bug in
  calculating whether the destination has an alpha channel (or
  not).
2003-09-05 14:49:14 +00:00
Sven Neumann 5cfcf0486a unref the parasite list before assigning a copy.
2003-09-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-merge.c (gimp_image_merge_layers): unref
	the parasite list before assigning a copy.
2003-09-05 11:53:04 +00:00
Sven Neumann 15fa89bace fixed loop boundaries, spotted by Wolfgang Hofer (bug #121521).
2003-09-05  Sven Neumann  <sven@gimp.org>

	* app/base/temp-buf.c (temp_buf_new_check): fixed loop boundaries,
	spotted by Wolfgang Hofer (bug #121521).
2003-09-05 10:26:59 +00:00
Manish Singh c3bdbdadc5 Fix a couple dates 2003-09-05 08:22:10 +00:00
Sven Neumann b66e3ddd01 make it actually compile... 2003-09-05 01:56:50 +00:00
Sven Neumann f77975a970 removed a superfluous g_strdup(); made GimpQueryStringCallback take a
2003-09-05  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpquerybox.[ch] (string_query_box_ok_callback):
	removed a superfluous g_strdup(); made GimpQueryStringCallback take
	a const gchar* pointer.

	* plug-ins/gflare/gflare.c: changed accordingly.
2003-09-05 01:54:15 +00:00
Sven Neumann 8e38f70b96 free the memory allocated for the GimpLut structure. Removed trailing
2003-09-05  Sven Neumann  <sven@gimp.org>

	* app/base/gimplut.[ch] (gimp_lut_free): free the memory allocated
	for the GimpLut structure. Removed trailing whitespace.

	* app/core/gimpbuffer.c: cosmetics.

	* app/core/gimpedit.[ch]: let gimp_edit_cut() and gimp_edit_copy()
	return a pointer to the global cut buffer instead of creating a
	GimpBuffer which was leaked by most callers.

	* app/gui/edit-commands.c: changed accordingly.

	* libgimpwidgets/gimpquerybox.[ch] (string_query_box_ok_callback):
	removed a superfluous g_strdup(); made GimpQueryStringCallback take
	a const gchar* pointer.

	* app/gui/edit-commands.c
	* app/gui/file-commands.c
	* app/gui/palettes-commands.c: changed accordingly.
2003-09-05 01:40:29 +00:00
Sven Neumann 7dc961ad50 don't fiddle with the spin-buttons, the defaults are fine. Removed
2003-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
	don't fiddle with the spin-buttons, the defaults are fine.
	Removed trailing whitespace.
2003-09-04 23:12:32 +00:00
Manish Singh 4088269581 null-terminate string for vendor comparisions.
2003-09-04  Manish Singh  <yosh@gimp.org>

        * app/base/cpu-accel.c: null-terminate string for vendor comparisions.
2003-09-04 22:31:12 +00:00
Manish Singh e72c69ee28 arg, committed wrong version of file 2003-09-04 22:07:57 +00:00
Manish Singh 0c51110498 rewrote the x86 tests, moved debug printout from base.c to here.
2003-09-04  Manish Singh  <yosh@gimp.org>

        * app/base/cpu-accel.[ch]: rewrote the x86 tests, moved debug printout
        from base.c to here.

        * test-cpu-accel.c: simple test program to test the above.

        * app/base/base.c: use cpu_accel_print_results ()

        * app/base/Makefile.am: added test-cpu-accel to TESTS.

        * data/Makefile.am: make site local font directory on install.
2003-09-04 21:58:57 +00:00