Commit graph

7284 commits

Author SHA1 Message Date
Manish Singh bc56fc5325 plug-ins/twain/Makefile.am minor tweaks, to match changes that were made
2004-01-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/twain/Makefile.am
        * plug-ins/winsnap/Makefile.am: minor tweaks, to match changes that
        were made in the other Makefiles long ago.
2004-01-03 23:23:59 +00:00
Manish Singh 2ef383c499 fix setting of RT_LIBS.
2004-01-03  Manish Singh  <yosh@gimp.org>

        * configure.in: fix setting of RT_LIBS.
2004-01-03 22:50:00 +00:00
Manish Singh e211f6f73b check for shm_open in libc too, and define RT_LIBS accordingly.
2004-01-03  Manish Singh  <yosh@gimp.org>

        * configure.in: check for shm_open in libc too, and define RT_LIBS
        accordingly.

        * gimptool-1.3.in
        * app/Makefile.am
        * libgimp/Makefile.am
        * plug-ins/*/Makefile.am
        * plug-ins/common/mkgen.pl: use RT_LIBS.
2004-01-03 22:41:09 +00:00
Michael Natterer dfe0d687d7 some cosmetics while reviewing the code.
2004-01-03  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c: some cosmetics while reviewing
	the code.
2004-01-03 20:51:36 +00:00
Michael Natterer 3b38718296 updated. Patch from Michael Schumacher.
2004-01-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimp.def: updated. Patch from Michael Schumacher.
2004-01-03 18:19:49 +00:00
Michael Natterer 9fe65d9765 NULL-terminate the list of strings passed to g_strconcat().
2004-01-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/animationplay.c (build_dialog): NULL-terminate
	the list of strings passed to g_strconcat().
2004-01-02 19:31:32 +00:00
Michael Natterer 84458f5b95 removed GimpTool::cursor_update() implementation (which was there only to
2004-01-02  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppainttool.c: removed GimpTool::cursor_update()
	implementation (which was there only to stop drawing the brush
	preview when the mouse leaves the canvas). Instead, look at
	shell->proximity in GimpTool::oper_update() and just don't start
	drawing the preview if proximity is FALSE.

	* app/display/gimpdisplay.c (gimp_display_delete): set
	gdisp->shell to NULL *before* gtk_widget_destroy()ing the shell so
	our tool callbacks don't dispatch stuff while the shell is in the
	middle of being destroyed.

	Both changes fix bug #129374, though the latter is the fix for the
	real problem.
2004-01-02 17:36:45 +00:00
Simon Budig 910c506e4a app/core/gimpdrawable-stroke.c Don't simplify the border of the selection.
2003-12-31  Simon Budig  <simon@gimp.org>

	* app/core/gimpdrawable-stroke.c
	* app/paint/gimppaintcore-stroke.c: Don't simplify the border
	of the selection. Quite some people were confused by the
	polygonal look of a stroked ellipse. The old behaviour doesn't
	look good, but the new one isn't really better. Since the
	old behaviour is more predictable, I am reverting this for now
	(Please note that the function to simplify the boundary still
	is available, it just is unused).

	Hopefully at some point it will be possible to have non-integer
	boundary coordinates or even a more sophisticated set of
	"vector-selection" tools.
2003-12-31 02:26:32 +00:00
Simon Budig c1350d177a Fixed missing undo step when moving (components of) the path. Don't add an
2003-12-31  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.[ch]: Fixed missing undo step when
	moving (components of) the path. Don't add an undo step when
	nothing changes.

	Also rephrased the help strings in the statusbar to be shorter
	and encourage the user to try shift. Fixes bug #124025.
2003-12-31 02:10:09 +00:00
Sven Neumann d9ee8e8c30 fixed table packing.
2003-12-31  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptextoptions.c (gimp_text_options_gui): fixed
	table packing.
2003-12-31 00:42:35 +00:00
Simon Budig e95b38e66c Do not move anchors in edit mode.
2003-12-30  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.c: Do not move anchors in edit mode.

	Fixes bug #124973.
2003-12-30 22:22:54 +00:00
Simon Budig e6b08da721 Made it possible to have multiple lines of translators in the about
2003-12-30  Simon Budig  <simon@gimp.org>

	* app/gui/about-dialog.c: Made it possible to have multiple
	lines of translators in the about dialog. Simply translate
	"<Translators: insert your names here, separated by newline>".

	Fixes bug #58507.
2003-12-30 20:10:36 +00:00
Simon Budig 618467b8e1 When there is a visible path, it cannot be stored in the XCF in a portable
2003-12-30  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors-compat.c: When there is a visible
	path, it cannot be stored in the XCF in a portable manner.

	* app/xcf/xcf-save.c: Removed Debug output
2003-12-30 18:00:07 +00:00
Simon Budig 50d7db9d75 Save the stroking type (libart / paint-tool) so that it can be remembered
2003-12-30  Simon Budig  <simon@gimp.org>

	* app/gui/stroke-dialog.c: Save the stroking type (libart /
	paint-tool) so that it can be remembered when the dialog
	gets opened a second time. Fixes Bug #128156.
2003-12-30 16:32:07 +00:00
Simon Budig 4343af4c10 reshuffle the authors array and restart the animation when the dialog gets
2003-12-29  Simon Budig  <simon@gimp.org>

	* app/gui/about-dialog.c: reshuffle the authors array and
	restart the animation when the dialog gets shown a second
	time. Also render the current version number to the image
	permanently.
2003-12-29 17:52:46 +00:00
Raphaël Quinet a5c4c459fa Applied patch by David Gowers (neota@softhome.net) improving the mnemonics
2003-12-29  Raphaël Quinet  <quinet@gamers.org>

	* app/gui/palette-editor-menu.c: Applied patch by David Gowers
	(neota@softhome.net) improving the mnemonics of the palette editor
	commands 'New from FG/BG'.  Fixes bug #130121.
2003-12-29 13:09:01 +00:00
Simon Budig 3901945207 Redone to have a fancy graphical effect. Will be tweaked further.
2003-12-29  Simon Budig  <simon@gimp.org>

	* app/gui/about-dialog.c: Redone to have a fancy graphical
	effect. Will be tweaked further.
2003-12-29 02:57:07 +00:00
Simon Budig 411b54d149 Some default dash pattern enum. regenerated.
2003-12-28  Simon Budig  <simon@gimp.org>

	* app/core/core-enums.h: Some default dash pattern enum.
	* app/core/core-enums.c: regenerated.

	* app/core/gimpstrokeoptions.[ch]: Implement default dash
	patterns, add a signal when the dash pattern changes.

	* app/widgets/gimpstrokeeditor.c: Add an option menu for
	the dash pattern and connect it to the signal mentioned above.
2003-12-28 17:09:41 +00:00
Simon Budig 5058627932 Fixed packing of the widgets.
2003-12-28  Simon Budig  <simon@gimp.org>

	* app/widgets/gimpstrokeeditor.c: Fixed packing of the widgets.
2003-12-28 13:48:52 +00:00
Simon Budig 3955690e31 Added functions to shift the dash pattern to the left or right.
2003-12-28  Simon Budig  <simon@gimp.org>

	* app/widgets/gimpdasheditor.[ch]: Added functions to shift the
	dash pattern to the left or right.

	* app/widgets/gimpstrokeeditor.c: Improve the appearance of the
	widget and add left/right buttons.
2003-12-28 02:18:25 +00:00
Sven Neumann 266934dcdf some minor cleanups.
2003-12-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdasheditor.c: some minor cleanups.
2003-12-27 22:04:51 +00:00
Simon Budig 33102089ee Added the relevant bug number to the Changelog entry 2003-12-27 19:47:37 +00:00
Simon Budig c95bca30e9 Dashed stroking is here... :-)
2003-12-27  Simon Budig  <simon@gimp.org>

	Dashed stroking is here...  :-)

	* app/core/gimpdrawable-stroke.c: actually use the dash pattern
	from the options

	* app/core/gimpscanconvert.c: Normalize the dash pattern, so
	that libart does the right thing.

	* app/core/gimpstrokeoptions.c: Fix default value for dash
	offset, handle the property_get for PROP_DASH_INFO correct.

	* app/widgets/gimpdasheditor.[ch]
	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h: New widget to edit a dash
	pattern.

	* app/widgets/gimpstrokeeditor.c: Use it.
2003-12-27 19:25:19 +00:00
Manish Singh 6bf0f76be8 app/main.c app/plug-in/plug-in-shm.c POSIX shared memory tile transport
2003-12-27  Manish Singh  <yosh@gimp.org>

        * app/main.c
        * app/plug-in/plug-in-shm.c
        * libgimp/gimp.c: POSIX shared memory tile transport implementation,
        and a little code cleanup of the SysV and Win32 implementations.

        * configure.in: checks for shm_open, default to POSIX shared memory
        transport on OS X.
2003-12-27 08:07:15 +00:00
Pedro Gimeno 913cdc1aed actually don't crash when layer previews are disabled. Fixes the crash
2003-12-27  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/jigsaw.c (jigsaw): actually don't crash when
	layer previews are disabled. Fixes the crash reported in bug
	#112012, but not the bug itself.
2003-12-27 00:57:05 +00:00
Sven Neumann 17591ea2b7 don't crash when layer previews are disabled.
2003-12-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_save_thumb): don't crash
	when layer previews are disabled.
2003-12-26 22:09:09 +00:00
Dave Neary ffdd5ee026 Modify behaviour of levels tool to conserve lightness when using the
2003-12-26  Dave Neary  <bolsh@gimp.org>

        * app/base/levels.c: Modify behaviour of levels tool to
        conserve lightness when using the grey-point color-picker.
2003-12-26 21:28:30 +00:00
Sven Neumann 18e559c173 forgot to change gimp_pixel_fetcher_set_edgemode to
2003-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/edge.c: forgot to change
	gimp_pixel_fetcher_set_edgemode to gimp_pixel_fetcher_set_edge_mode
	here.
2003-12-26 20:46:30 +00:00
Sven Neumann eac0e23ede plug-ins/imagemap/imap_cern.y plug-ins/imagemap/imap_cern_lex.c
2003-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_cern.y
	* plug-ins/imagemap/imap_cern_lex.c
	* plug-ins/imagemap/imap_cern_parse.[ch]
	* plug-ins/imagemap/imap_csim.[ly]
	* plug-ins/imagemap/imap_csim_lex.c
	* plug-ins/imagemap/imap_csim_parse.[ch]
	* plug-ins/imagemap/imap_ncsa.[ly]
	* plug-ins/imagemap/imap_ncsa_lex.c
	* plug-ins/imagemap/imap_ncsa_parse.[ch]: Yosh informed me that
	regenerating the files using recent versions of flex/bison is a
	bad idea. Reverted my changes and redid the most important parts
	manually.
2003-12-26 20:30:36 +00:00
Sven Neumann a89ed154be set the default value for "activate-on-focus" to TRUE. The discussion on
2003-12-26  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.c: set the default value for
	"activate-on-focus" to TRUE. The discussion on this has been
	controversial and I am doing this change now in order to get more
	feedback.
2003-12-26 18:40:19 +00:00
Sven Neumann 565cf9f4af applied a modified version of a patch from Maurits Rijk that cleans up the
2003-12-26  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpmisc.[ch]: applied a modified version of a patch
	from Maurits Rijk that cleans up the remaining API (bug #125141).

	* plug-ins/common/curve_bend.c
	* plug-ins/common/displace.c
	* plug-ins/common/edge.c
	* plug-ins/common/illusion.c
	* plug-ins/common/shift.c
	* plug-ins/gflare/gflare.c: changed accordingly.
2003-12-26 17:26:36 +00:00
Sven Neumann b867017bc7 removed an unused variable.
2003-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_edit_area_info.c (create_info_tab):
	removed an unused variable.

	* plug-ins/imagemap/imap_cern.l: include <string.h> for strcpy().

	* plug-ins/imagemap/imap_csim.l: include <unistd.h> for isatty().

	* plug-ins/imagemap/imap_cern_lex.c
	* plug-ins/imagemap/imap_csim_lex.c: regenerated.
2003-12-26 16:51:19 +00:00
Sven Neumann ed8b3bcb52 plug-ins/imagemap/imap_cern.y plug-ins/imagemap/imap_csim.y
2003-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_cern.y
	* plug-ins/imagemap/imap_csim.y
	* plug-ins/imagemap/imap_ncsa.y
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-server.c: include gtk.h with angle
	brackets, not quotes.

	* plug-ins/imagemap/imap_cern_parse.[ch]
	* plug-ins/imagemap/imap_csim_parse.[ch]
	* plug-ins/imagemap/imap_ncsa_parse.[ch]: regenerated.

	* plug-ins/imagemap/Makefile.am: added y.tab.h (created by bison)
	to CLEANFILES.
2003-12-26 02:27:13 +00:00
Sven Neumann 77a1e3c2a9 return TRUE if thumbnails are disabled. Fixes bug #129921.
2003-12-25  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_save_thumb): return
	TRUE if thumbnails are disabled. Fixes bug #129921.
2003-12-25 12:10:26 +00:00
Manish Singh 270c8d9c33 add undo_group_{start,end} methods.
2003-12-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: add undo_group_{start,end} methods.

        * plug-ins/pygimp/foggify.py
        * plug-ins/pygimp/shadow_bevel.py: and use them here, instead of
        deprecated PDB functions.
2003-12-25 06:14:15 +00:00
Manish Singh 9fe4d3bbc3 remove add/remove_layer_mask methods...
2003-12-23  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: remove add/remove_layer_mask
        methods...

        * plug-ins/pygimp/pygimp-drawable.c: ... and put them here, as methods
        of the layer object.

        * plug-ins/pygimp/plug-ins/foggify.py: update for the above new API.
2003-12-24 00:41:12 +00:00
David Odin 39bf72558c small cosmetic changes, such as removing tabs. 2003-12-23 22:07:06 +00:00
David Odin 0632251cff added a scrolled window in page 2, since the list of directories is too
* app/gui/user-install-dialog.c (user_install_dialog_run): added a
	scrolled window in page 2, since the list of directories is too long
	to fit in a 1024x768 screen.  The user install dialog should now fit
	into a 800x600 screen.  This should close #122211
2003-12-22 19:47:05 +00:00
Michael Natterer c0e8e2474b indentation & whitespace cleanup.
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/convmatrix.c: indentation & whitespace cleanup.
2003-12-21 22:13:14 +00:00
Michael Natterer 92a3a65e8e added gimp_display_shell_drop_svg() (untested because there is no place to
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-dnd.[ch]: added
	gimp_display_shell_drop_svg() (untested because there is no place
	to drag an SVG from yet...).

	* app/display/gimpdisplayshell.c (gimp_display_shell_init):
	connect SVG drops to the new callback.
2003-12-21 22:09:03 +00:00
Michael Natterer dfba90fe46 changed "svg_data" from guchar* to gchar*, cleaned up debugging output.
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.[ch]: changed "svg_data" from guchar* to
	gchar*, cleaned up debugging output.
2003-12-21 21:57:46 +00:00
Michael Natterer 6614f8a940 some cleanup while hunting window positioning bugs.
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.c: some cleanup while hunting
	window positioning bugs.
2003-12-21 21:51:58 +00:00
Michael Natterer e62ae26c90 render the selection in "light" histograms correctly (unused and
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
	render the selection in "light" histograms correctly (unused and
	untested).
2003-12-21 21:43:46 +00:00
Michael Natterer e12b44f26c reset container_view->dnd_widget in gimp_item_tree_view_constructor()
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemtreeview.c: reset container_view->dnd_widget
	in gimp_item_tree_view_constructor() instead of
	gimp_item_tree_view_new().
2003-12-21 16:15:34 +00:00
Michael Natterer c5af9ea7d2 this was starting to bit-rot on my disk: added "container" and "context"
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerview.c: this was starting to bit-rot on
	my disk: added "container" and "context" properties.

	(gimp_container_view_set_size_request): fixed scrollbar_width
	calculation for deprecated uses of the widget (should never happen
	but the code should be correct anyway).
2003-12-21 16:11:06 +00:00
Michael Natterer b7dbaacc1f fixed cut'n'paste bug: always use offset_x, not offset_y for x coordinates
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-stroke.c (gimp_drawable_stroke_boundary):
	fixed cut'n'paste bug: always use offset_x, not offset_y for x
	coordinates (spotted by Olivier Gondouin).
2003-12-21 15:57:43 +00:00
Dave Neary bff447f05a Updated NEWS.
2003-12-21  Dave Neary  <bolsh@gimp.org>

        * NEWS: Updated NEWS.
2003-12-21 13:48:29 +00:00
Michael Natterer 1b8cdc037b made "item-type" and "signal-name" CONSTRUCT_ONLY properties. Configure
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemtreeview.c: made "item-type" and
	"signal-name" CONSTRUCT_ONLY properties. Configure the DND dests
	in gimp_item_tree_view_constructor(), not in
	gimp_item_tree_view_new().
2003-12-21 12:11:44 +00:00
Sven Neumann 9630d40834 removed the GError parameter from gimp_vectors_export_string() and
2003-12-21  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-export.[ch]: removed the GError parameter
	from gimp_vectors_export_string() and implemented this function.
2003-12-21 11:52:20 +00:00
Michael Natterer fc47cbc059 removed trailing whitespace and #if 0'ed cruft. Cosmetics.
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppreviewrendererbrush.c: removed trailing
	whitespace and #if 0'ed cruft. Cosmetics.
2003-12-21 11:07:40 +00:00