Commit Graph

13860 Commits

Author SHA1 Message Date
Sven Neumann a168e833f2 cleaned up sanity checks and handling of undo groups. Fixes bug #395798.
2007-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c: cleaned up sanity checks and
	handling of undo groups. Fixes bug #395798.


svn path=/trunk/; revision=21711
2007-01-15 10:35:58 +00:00
Sven Neumann ac2ee350d3 plug-ins/imagemap/imap_csim_lex.c plug-ins/imagemap/imap_ncsa_parse.[ch]
2007-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_csim_lex.c
	* plug-ins/imagemap/imap_ncsa_parse.[ch]
	* plug-ins/imagemap/imap_ncsa_lex.c
	* plug-ins/imagemap/imap_cern_lex.c
	* plug-ins/imagemap/imap_csim_parse.[ch]
	* plug-ins/imagemap/imap_cern_parse.[ch]: regenerated using GNU
	Bison 2.3.  Should fix bug #396261.


svn path=/trunk/; revision=21710
2007-01-15 10:09:42 +00:00
Sven Neumann 6a6d5e2cf7 use ngettext() for the close dialog. Fixes bug #396513.
2007-01-15  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-close.c: use ngettext() for the
	close dialog. Fixes bug #396513.


svn path=/trunk/; revision=21709
2007-01-15 10:03:18 +00:00
Hans Breuer b2ebab0b29 to make it compile with msvc redefine stricmp after including <string.h>
2007-01-14  Hans Breuer  <hans@breuer.org>

        * plug-ins/script-fu/tinyscheme/scheme.[ch] : to make it compile with
        msvc redefine stricmp after including <string.h> and protect gccism
        #warning with #ifdef __GNUC__, also some more exports
	* plug-ins/script-fu/scheme-wrapper.c : simple 'extern' does not work
	to get variables across modules boundaries for msvc, use SCHEME_EXPORT
	Together fixes bug #396268


svn path=/trunk/; revision=21707
2007-01-14 13:57:59 +00:00
Hans Breuer f8d14112c4 updated #include "file/file-utils.h" for file_utils_uri_display_name
2007-01-13  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc app/gimpcore.def : updated
	* app/display/gimpdisplay-handlers.c : #include "file/file-utils.h"
	for file_utils_uri_display_name
	* plug-ins/imagemap/imap_statusbar.c : g_snprintf instead of snprintf


svn path=/trunk/; revision=21705
2007-01-13 22:41:21 +00:00
Sven Neumann 64510e99bc plug-ins/common/displace.c plug-ins/common/tileit.c fixed typos (bug
2007-01-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/displace.c
	* plug-ins/common/tileit.c
	* plug-ins/script-fu/scripts/news-text.scm: fixed typos (bug 
#396169).


svn path=/trunk/; revision=21703
2007-01-13 17:29:54 +00:00
Sven Neumann 50103f6ee3 implement GimpPreview's transform() and untransform() methods.
2007-01-13  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpaspectpreview.c: implement GimpPreview's 
transform()
	and untransform() methods.


svn path=/trunk/; revision=21702
2007-01-13 17:25:49 +00:00
Sven Neumann fa8e72ba1d app/widgets/gimpfiledialog.c save some string copies by changing
2007-01-13  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpfiledialog.c
	* app/widgets/gimpthumbbox.[ch]: save some string copies by
	changing gimp_thumb_box_set_uri() to gimp_thumb_box_take_uri().


svn path=/trunk/; revision=21701
2007-01-13 16:56:30 +00:00
Sven Neumann 0130da6786 plug-ins/common/compose.c applied patch from Robert Krawitz that adds HSL
2007-01-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c: applied patch from Robert Krawitz
	that adds HSL support (bug #395928).


svn path=/trunk/; revision=21700
2007-01-12 22:53:20 +00:00
Michael Natterer 55b0c9abf0 renamed gimp_anchor_duplicate() to gimp_anchor_copy().
2007-01-12  Michael Natterer  <mitch@gimp.org>

	* app/vectors/gimpanchor.[ch]: renamed gimp_anchor_duplicate()
	to gimp_anchor_copy().

	* app/vectors/gimpstroke.c (gimp_stroke_real_duplicate): changed
	accordingly.


svn path=/trunk/; revision=21699
2007-01-12 20:31:27 +00:00
Michael Natterer 09f47a0aec register GIMP_TYPE_DASH_PATTERN as boxed type. Added "new" to function
2007-01-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdashpattern.[ch]: register GIMP_TYPE_DASH_PATTERN
	as boxed type. Added "new" to function names which create dash
	patterns. Changed and renamed GValue functions to functions which
	convert the dash pattern between GArray and GValueArray.

	* app/core/gimpstrokeoptions.c
	* app/widgets/gimpcellrendererdashes.c
	* app/widgets/gimpstrokeeditor.c: changed accordingly.

	* app/widgets/gimpdasheditor.c: ditto. Get rid of the recently
	added manual memory management. The list store manages boxed types
	all by itself.


svn path=/trunk/; revision=21698
2007-01-12 20:27:40 +00:00
Sven Neumann 517b0c35ab tools/pdbgen/pdb/display.pdb tools/pdbgen/pdb/drawable.pdb
2007-01-12  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/display.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/vectors.pdb: added PDB functions to validate
	display, drawable, image and vectors IDs.

	* app/pdb/image_cmds.c
	* app/pdb/vectors_cmds.c
	* app/pdb/display_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/drawable_cmds.c
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimpdisplay_pdb.[ch]
	* libgimp/gimpdrawable_pdb.[ch]
	* libgimp/gimpvectors_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.


svn path=/trunk/; revision=21697
2007-01-12 19:59:36 +00:00
Sven Neumann 40d044766b added a construct-only property to specify the enum-type.
2007-01-12  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumstore.c: added a construct-only property
	to specify the enum-type.


svn path=/trunk/; revision=21695
2007-01-12 15:15:42 +00:00
Sven Neumann c1ffb83357 updated copyright.
2007-01-12  Sven Neumann  <sven@gimp.org>

	* app/about.h (GIMP_COPYRIGHT): updated copyright.

	* app/main.c: use application name as summary in the help output.


svn path=/trunk/; revision=21694
2007-01-12 14:46:30 +00:00
Sven Neumann 20d0b45f8d use the base64 encoder from glib.
2007-01-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mail.c: use the base64 encoder from glib.

svn path=/trunk/; revision=21693
2007-01-12 14:34:09 +00:00
Sven Neumann 5bf710beec configure.in depend on glib >= 2.12.3.
2007-01-12  Sven Neumann  <sven@gimp.org>

	* configure.in
	* app/sanity.c: depend on glib >= 2.12.3.

	* HACKING: updated branches.

	* libgimpwidgets/gimpintstore.c: added a construct-only property
	that allows to specify the GType of the user-data column.


svn path=/trunk/; revision=21692
2007-01-12 13:48:30 +00:00
Sven Neumann e2287771fc fixed memory management of dash patterns (bug #395043).
2007-01-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpstrokeeditor.c: fixed memory management of dash
	patterns (bug #395043).


svn path=/trunk/; revision=21690
2007-01-12 12:14:06 +00:00
Sven Neumann 511a488aa2 added transform and untransform methods.
2007-01-11  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: added transform and 
untransform
	methods.

	* libgimp/gimpzoompreview.c: more cleanups. Override the new
	GimpPreview methods.

	* plug-ins/common/nova.c: use the new transform functions.

	* libgimpwidgets/gimpwidgets.def: updated.


svn path=/trunk/; revision=21689
2007-01-11 23:41:45 +00:00
Sven Neumann bc8948eec8 code cleanup. Added missing sanity checks.
2007-01-11  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpzoompreview.c: code cleanup. Added missing sanity
	checks.


svn path=/trunk/; revision=21688
2007-01-11 21:35:53 +00:00
Sven Neumann dc26e92df3 fixed spelling error pointed out by Ulf-D. Ehlert (bug #395384).
2007-01-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/fractaltrace.c: fixed spelling error pointed 
out
	by Ulf-D. Ehlert (bug #395384).


svn path=/trunk/; revision=21687
2007-01-11 18:11:13 +00:00
Simon Budig 7a941059c5 fix the directions of the relative events.
2007-01-10  Simon Budig  <simon@gimp.org>

	* modules/controller_linux_input.c: fix the directions of the
	relative events.

	* plug-ins/common/normalize.c: fix warning about comment starting
	inside a comment. Untabbified.

svn path=/trunk/; revision=21683
2007-01-10 00:42:34 +00:00
Sven Neumann e4e08c59c0 check Atoms before using them. Fixes bug #392111.
2007-01-09  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c (gimp_remote_find_window): check Atoms
	before using them. Fixes bug #392111.


svn path=/trunk/; revision=21680
2007-01-09 14:03:39 +00:00
Sven Neumann dcc6ebd1b0 HACKING tools/pdbgen/lib.pl fixed spelling of "auto-generated".
2007-01-09  Sven Neumann  <sven@gimp.org>

	* HACKING
	* tools/pdbgen/lib.pl
	* tools/pdbgen/app.pl: fixed spelling of "auto-generated".

	* tools/pdbgen/pdb/color.pdb
	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/palette_select.pdb
	* tools/pdbgen/pdb/font_select.pdb
	* tools/pdbgen/pdb/procedural_db.pdb
	* tools/pdbgen/pdb/pattern_select.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/gradient_select.pdb: improved wording and fixed
	spelling errors.
	
	* libgimp/gimp.c: fixed spelling errors.

	* app/pdb/*.h: 
	* libgimp/gimp*_pdb.[ch]: regenerated.


svn path=/trunk/; revision=21676
2007-01-09 10:52:47 +00:00
Sven Neumann a86696b757 increased statusbar message timeout to 5 seconds.
2007-01-08  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c: increased statusbar message timeout
	to 5 seconds.


svn path=/trunk/; revision=21673
2007-01-08 15:41:47 +00:00
Sven Neumann 787c6bcb50 removed wrong and useless call to gimp-drawable-update.
2007-01-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/difference-clouds.scm: removed wrong
	and useless call to gimp-drawable-update.

	* plug-ins/script-fu/scripts/drop-shadow.scm: removed hyphen from
	menu entry and description.


svn path=/trunk/; revision=21670
2007-01-08 11:27:51 +00:00
Marco Ciampa cb69614612 Added Esperanto to ALLLINGUAS in configure.in
svn path=/trunk/; revision=21669
2007-01-08 10:47:46 +00:00
Michael Natterer b383ad45a2 add more relative events.
2007-01-07  Michael Natterer  <mitch@gimp.org>

	* modules/controller_linux_input.c (rel_events): add more relative
	events.


svn path=/trunk/; revision=21665
2007-01-07 21:25:51 +00:00
Sven Neumann 606a97c862 reverted the change for bug #356901 and instead applied a patch from
2007-01-05  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpbrushselectbutton.c: reverted the change for bug
	#356901 and instead applied a patch from Kyoichiro Suda that's
	actually a better fix and also plugs a memleak (see bug 
#393158).


svn path=/trunk/; revision=21658
2007-01-05 20:30:35 +00:00
Sven Neumann 92edf42877 applied patch from Aurimas Juška. Use the alpha channel if and only if a
2007-01-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpread.c (ReadImage): applied patch from Aurimas
	Juška. Use the alpha channel if and only if a bitmap contains at
	least one non-zero value. Fixes bug #352262.


svn path=/trunk/; revision=21657
2007-01-05 19:54:09 +00:00
Sven Neumann 552646e4b1 minor code cleanup. Changed mnemonic of the menu entry.
2007-01-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/nova.c: minor code cleanup. Changed mnemonic 
of
	the menu entry.


svn path=/trunk/; revision=21655
2007-01-05 13:35:26 +00:00
Raphael Quinet 9b6ca68c86 fixed crash when Mottle option is selected (mLayer was incorrectly
2007-01-04  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/script-fu/scripts/old-photo.scm: fixed crash when
	Mottle option is selected (mLayer was incorrectly declared).

svn path=/trunk/; revision=21645
2007-01-04 13:45:02 +00:00
Sven Neumann e640ce4443 fixed clipping (bug #392692).
2007-01-04  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.c: fixed clipping (bug 
#392692).


svn path=/trunk/; revision=21642
2007-01-04 12:14:24 +00:00
Tor Lillqvist 33e8de759b Add workaround for a problem that occurs on Win32 when one has opened an
2007-01-04  Tor Lillqvist  <tml@novell.com>

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image): Add
	workaround for a problem that occurs on Win32 when one has opened
	an image from the root of a drive letter and then does Save As.


svn path=/trunk/; revision=21639
2007-01-04 01:08:09 +00:00
Raphael Quinet d2ae6364f2 install gimpratioentry.h, otherwise it is not possible to build any
2007-01-03  Raphael Quinet  <raphael@gimp.org>

	* libgimpwidgets/Makefile.am (libgimpwidgetsinclude_HEADERS):
	install gimpratioentry.h, otherwise it is not possible to build
	any plug-ins including gimpwidgets.h.

svn path=/trunk/; revision=21638
2007-01-03 17:29:52 +00:00
Sven Neumann 13b27c1948 libgimp/gimpbrushselect.c libgimp/gimpprogress.c
2007-01-03  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpbrushselect.c
	* libgimp/gimpprogress.c
	* libgimp/gimpgradientselect.c
	* libgimp/gimpfontselect.c
	* libgimp/gimppatternselect.c
	* libgimp/gimppaletteselect.c: removed pointless and partly 
wrong
	information from gimp_install_temp_proc() calls.


svn path=/trunk/; revision=21637
2007-01-03 14:34:50 +00:00
Sven Neumann de3130ca10 initialize opacity, spacing and paint mode as described by the API docs.
2007-01-03  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpbrushselectbutton.c 
(gimp_brush_select_button_new):
	initialize opacity, spacing and paint mode as described by the 
API
	docs. Fixes bug #356901.


svn path=/trunk/; revision=21636
2007-01-03 13:39:59 +00:00
Sven Neumann 4981ad57e3 fixed blurb.
2007-01-03  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpcolorconfig.c: fixed blurb.


svn path=/trunk/; revision=21631
2007-01-03 11:24:20 +00:00
Sven Neumann 0ad9e4749e make the About dialog transient to the main window and close it when the
2007-01-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_about.c: make the About dialog 
transient
	to the main window and close it when the Close button is 
pressed.

	* plug-ins/imagemap/imap_cmd_guides.c: use a GimpHintBox.

	* plug-ins/imagemap/imap_menu.c: marked menu labels and tooltips 
for
	translation.


svn path=/trunk/; revision=21629
2007-01-03 11:05:04 +00:00
Sven Neumann eaedd11a3a plug-ins/imagemap/images/Makefile.am
2007-01-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/images/Makefile.am
	* plug-ins/imagemap/images/stock-map-info.png
	* plug-ins/imagemap/imap_stock.[ch]: removed custom info icon.

	* plug-ins/imagemap/imap_menu.c: use GTK_STOCK_INFO instead.

	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_default_dialog.c: make dialogs 
transient
	to the main window and the main window transient to the image 
window.


svn path=/trunk/; revision=21628
2007-01-03 10:15:59 +00:00
Tor Lillqvist 3f47350ed8 Fix mixup in retrieving the filename parameter.
2007-01-03  Tor Lillqvist  <tml@novell.com>

	* plug-ins/common/lcms.c (run): Fix mixup in retrieving the
	filename parameter.


svn path=/trunk/; revision=21626
2007-01-02 23:34:40 +00:00
Sven Neumann 675289a36b fixed order of parameters (pointed out by Yoshinori Yamakawa).
2007-01-02  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c: fixed order of parameters (pointed 
out
	by Yoshinori Yamakawa).


svn path=/trunk/; revision=21624
2007-01-02 19:48:26 +00:00
Sven Neumann aeaf778f16 corrected API docs.
2007-01-02  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpratioentry.c: corrected API docs.


svn path=/trunk/; revision=21622
2007-01-02 18:18:06 +00:00
Kevin Cozens 478654039e Don't include malloc.h file. Fixes bug #391195.
2006-12-31  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Don't include malloc.h
	file. Fixes bug #391195.

svn path=/trunk/; revision=21617
2006-12-31 07:32:58 +00:00
Sven Neumann 51511197d9 restore old function and push a pause/resume to avoid tool redraws from
2006-12-30  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_synthesize_motion): restore old function 
and
	push a pause/resume to avoid tool redraws from the motion 
handler.


svn path=/trunk/; revision=21616
2006-12-30 18:18:53 +00:00
Michael Natterer 9fd79d8bcd compile before you commit :P
2006-12-30  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppropwidgets.c
	(gimp_prop_ratio_entry_notify): compile before you commit :P


svn path=/trunk/; revision=21615
2006-12-30 17:31:21 +00:00
Simon Budig 7a3eb8dcd3 New files implementing a widget for entering ratios. Will be improved over
2006-12-30  Simon Budig  <simon@gimp.org>

	* libgimpwidgets/gimpratioentry.[ch]: New files implementing a widget
	for entering ratios. Will be improved over time...

	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/Makefile.am: changed accordingly.

	* app/widgets/gimppropwidgets.c: use it for the crop/rectangle
	select tools.

svn path=/trunk/; revision=21613
2006-12-30 15:25:11 +00:00
Sven Neumann 8354d1f543 use a GtkMessageDialog to display errors.
2006-12-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: use a GtkMessageDialog to display 
errors.

	* plug-ins/print/print-settings.c: use g_warning() for problems
	that shouldn't ever happen.


svn path=/trunk/; revision=21608
2006-12-30 14:08:33 +00:00
Sven Neumann 52058ce9e7 take the aspect ratio from the size box when the user activates the
2006-12-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpscaletool.c (gimp_scale_tool_size_notify): take
	the aspect ratio from the size box when the user activates the
	constraint by pressing the chain button.
2006-12-29 20:48:42 +00:00
Sven Neumann 4cbb8d7fad store the original aspect ratio. Let the Ctrl key toggle the aspect ratio
2006-12-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptransformtool.[ch]: store the original aspect
ratio.
	Let the Ctrl key toggle the aspect ratio constraint also while
the
	mouse is being pressed.

	* app/tools/gimpscaletool.c (gimp_scale_tool_motion): use the
	original aspect ratio when applying the constraint.
2006-12-29 20:04:34 +00:00
Sven Neumann c60d6fd58b back to synchronous printing, but show status information nevertheless 2006-12-29 15:36:54 +00:00