Commit graph

232 commits

Author SHA1 Message Date
Mukund Sivaraman f87f2ba907 plug-ins/imagemap/imap_cmd_move.c plug-ins/imagemap/imap_cmd_object_up.c
2008-03-29  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/imagemap/imap_cmd_move.c
        * plug-ins/imagemap/imap_cmd_object_up.c
        * plug-ins/imagemap/imap_cmd_move_up.c
        * plug-ins/imagemap/imap_cmd_move_selected.c
        * plug-ins/imagemap/imap_cmd_move_sash.c
        * plug-ins/imagemap/imap_cmd_object_move.c
        * plug-ins/imagemap/imap_cmd_object_down.c
        * plug-ins/imagemap/imap_object.c
        * plug-ins/imagemap/imap_cmd_move_down.c
        * plug-ins/map-object/map-object-shade.c
        * plug-ins/map-object/map-object-apply.c
        * plug-ins/maze/maze.h
        * plug-ins/maze/maze_face.c
        * plug-ins/selection-to-path/selection-to-path.c
        * plug-ins/selection-to-path/edge.c
        * plug-ins/selection-to-path/pxl-outline.c
        * plug-ins/selection-to-path/fit.c
        * plug-ins/xjt/xjt.c
        * plug-ins/metadata/xmp-parse.c
        * plug-ins/print/print-draw-page.c
        * plug-ins/print/print-settings.c
        * plug-ins/lighting/lighting-preview.c: Cleanups / fixes for
        issues reported by Sparse.


svn path=/trunk/; revision=25296
2008-03-29 09:25:34 +00:00
Michael Natterer e7e14806fc Remove svn:executable property.
svn path=/trunk/; revision=25206
2008-03-24 21:53:00 +00:00
Kevin Cozens 7b67daac8d Dynamically allocate space to hold comments, links, strings, and
2008-01-27  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/imagemap/imap_cern.l:
	* plug-ins/imagemap/imap_cern.y: 
	* plug-ins/imagemap/imap_csim.l:
	* plug-ins/imagemap/imap_csim.y:
	* plug-ins/imagemap/imap_ncsa.l:
	* plug-ins/imagemap/imap_ncsa.y: Dynamically allocate space to hold
	comments, links, strings, and co-ordinate lists. Fixes bug #511072.

	* plug-ins/imagemap/imap_cern_lex.c:
	* plug-ins/imagemap/imap_cern_parse.c:
	* plug-ins/imagemap/imap_cern_parse.h:
	* plug-ins/imagemap/imap_csim_lex.c:
	* plug-ins/imagemap/imap_csim_parse.c:
	* plug-ins/imagemap/imap_csim_parse.h:
	* plug-ins/imagemap/imap_ncsa_lex.c:
	* plug-ins/imagemap/imap_ncsa_parse.c:
	* plug-ins/imagemap/imap_ncsa_parse.h: Regenerated.

svn path=/trunk/; revision=24722
2008-01-27 16:13:51 +00:00
Sven Neumann 6e4e25035b gracefully handle a NULL link. (mru_destruct): plugged a memory leak.
2008-01-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_mru.c (mru_remove_link): gracefully
	handle a NULL link.
	(mru_destruct): plugged a memory leak.

	* plug-ins/imagemap/imap_about.c: use "program-name" instead
	of "name".


svn path=/trunk/; revision=24686
2008-01-23 11:57:14 +00:00
Sven Neumann fc35b815a9 increased buffer size. Addresses bug #511072.
2008-01-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_csim.y: increased buffer size. Addresses
	bug #511072.

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

svn path=/trunk/; revision=24673
2008-01-22 16:10:06 +00:00
Sven Neumann 0b2684c393 use g_filename_display_basename() instead of g_path_get_basename().
2007-07-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_main.c (main_set_title): use
	g_filename_display_basename() instead of g_path_get_basename().

svn path=/trunk/; revision=22983
2007-07-24 10:05:27 +00:00
Mukund Sivaraman c2d1214551 Changed "The GIMP" to "GIMP" everywhere, where it's used as a name.
2007-06-06  Mukund Sivaraman  <muks@mukund.org>

        Changed "The GIMP" to "GIMP" everywhere, where it's used as a name.


svn path=/trunk/; revision=22715
2007-06-06 08:44:52 +00:00
Sven Neumann c2758fcc61 plug-ins/helpbrowser/dialog.c plug-ins/imagemap/imap_browse.c
2007-06-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c
	* plug-ins/imagemap/imap_browse.c
	* plug-ins/imagemap/imap_preview.c
	* plug-ins/imagemap/imap_selection.c: added const qualifiers.

svn path=/trunk/; revision=22711
2007-06-05 14:15:50 +00:00
Sven Neumann 2e32d33c6d set a filename based on the image name. Based on a patch from Kevin
2007-05-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_file.c (do_file_save_as_dialog): set a
	filename based on the image name. Based on a patch from Kevin
	Hurewitz (bug #317916).

	* plug-ins/twain/tw_mac.c: don't use C++ style comments.


svn path=/trunk/; revision=22658
2007-05-30 07:23:10 +00:00
Mukund Sivaraman c705096434 Use C89 declarations.
2007-05-29  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/imagemap/imap_object.c: Use C89 declarations.


svn path=/trunk/; revision=22646
2007-05-29 02:31:15 +00:00
Sven Neumann ec1161c139 plug-ins/imagemap/imap_main.c applied patch from Kevin Hurewitz that adds
2007-05-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_object.[ch]: applied patch from Kevin
	Hurewitz that adds keyboard control for resizing an area (bug 
#439226).


svn path=/trunk/; revision=22609
2007-05-25 07:28:15 +00:00
Sven Neumann 30bdffb11e applied patch from Kevin Hurewitz that fixes resizing an area while being
2007-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_cmd_move_sash.c (sash_move): applied
	patch from Kevin Hurewitz that fixes resizing an area while being
	zoomed in (bug #439222).

svn path=/trunk/; revision=22593
2007-05-23 11:05:38 +00:00
Sven Neumann 62207445fd plug-ins/imagemap/imap_main.[ch] plug-ins/imagemap/imap_menu.c finished
2007-05-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_main.[ch]
	* plug-ins/imagemap/imap_menu.c
	* plug-ins/imagemap/imap_command.c: finished port of Undo and 
Redo
	menus to GtkAction. Closes bug #138841.


svn path=/trunk/; revision=22468
2007-05-10 19:29:47 +00:00
Mukund Sivaraman 93a7fc76a5 plug-ins/imagemap/imap_preferences.c plug-ins/gflare/gflare.c
2007-04-27  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/imagemap/imap_preferences.c
        * plug-ins/gflare/gflare.c
        * plug-ins/Lighting/lighting_ui.c
        * plug-ins/xjt/xjt.c
        * plug-ins/metadata/xmp-parse.c
        * plug-ins/flame/flame.c
        * plug-ins/common/curve_bend.c
        * plug-ins/common/compressor.c
        * plug-ins/common/channel_mixer.c
        * plug-ins/common/mail.c
        * plug-ins/common/CML_explorer.c
        * plug-ins/ifscompose/ifscompose.c: Open files in binary mode
        ("rb" and "wb").


svn path=/trunk/; revision=22351
2007-04-26 20:31:01 +00:00
Michael Natterer ab239c3d63 app/text/gimptext-parasite.c use g_strtod() instead of atof() because
2007-02-18  Michael Natterer  <mitch@gimp.org>

	* app/text/gimptext-parasite.c
	* plug-ins/flame/libifs.c: use g_strtod() instead of atof()
	because these files have to parse strings that never had a clearly
	specified format.

	* plug-ins/script-fu/tinyscheme/scheme.c
	* plug-ins/imagemap/imap_cern.l
	* plug-ins/imagemap/imap_csim.l
	* plug-ins/imagemap/imap_csim.y
	* plug-ins/imagemap/imap_ncsa.l: use g_ascii_strtod() instead of
	atof() because scheme code and imagemap files with wrong decimal
	separators are clearly broken and should be rejected.

	* plug-ins/imagemap/imap_cern_lex.c
	* plug-ins/imagemap/imap_csim_lex.c
	* plug-ins/imagemap/imap_csim_parse.c
	* plug-ins/imagemap/imap_ncsa_lex.c: regenerated.

	* plug-ins/common/sample_colorize.c: round numbers using sane code
	instead of sprintf() and atod().

	* plug-ins/Lighting/lighting_ui.c: removed some dead code.


svn path=/trunk/; revision=21942
2007-02-18 20:01:48 +00:00
Mukund Sivaraman d9a29e1a44 plug-ins/imagemap/imap_cmd_guides.c plug-ins/imagemap/imap_main.c
2007-02-12  Mukund Sivaraman <muks@mukund.org>

        * plug-ins/imagemap/imap_cmd_guides.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/imagemap/imap_main.h
        * plug-ins/imagemap/imap_menu.c
        * plug-ins/imagemap/imap_object.c
        * plug-ins/imagemap/imap_preferences.h
        * plug-ins/imagemap/imap_object.h: Cleaned up some warnings in
        the imagemap plug-in; also fixed many function declarations.


svn path=/trunk/; revision=21904
2007-02-12 17:30:42 +00:00
Sven Neumann 71fc3e7b00 removed code that became obsolet by my last change
svn path=/trunk/; revision=21834
2007-02-02 09:03:02 +00:00
Sven Neumann d055b8f77a plug-ins/FractalExplorer/Dialogs.c plug-ins/Lighting/lighting_ui.c
2007-02-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_file.c
	* plug-ins/metadata/interface.c
	* plug-ins/script-fu/script-fu-console.c: set
	do-overwrite-confirmation on file save dialogs and removed custom
	confirmation dialogs where present.


svn path=/trunk/; revision=21833
2007-02-02 08:57:15 +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
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 68efc4c55c don't destroy-with-parent
added missing include

svn path=/trunk/; revision=21632
2007-01-03 11:36:26 +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
Sven Neumann 930d6149da removed all .cvsignore files from SVN
svn path=/trunk/; revision=21612
2006-12-30 14:31:03 +00:00
Michael Natterer 750c0cdbce plug-ins/imagemap/imap_cmd_move.c plug-ins/imagemap/imap_cmd_move_sash.c
2006-10-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/imagemap/imap_cmd_move.c
	* plug-ins/imagemap/imap_cmd_move_sash.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_object.c: use GDK_XOR instead of
	GDK_EQUIV. Fixes bug #311621.
2006-10-14 19:15:40 +00:00
Kevin Cozens 202733c95a Fixed compiler warning by using proper cast.
2006-10-12  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/imagemap/imap_main.c (do_data_changed_dialog): Fixed
	compiler warning by using proper cast.
2006-10-12 21:57:53 +00:00
Raphael Quinet 7c245e1654 Do not declare a symbol "link" because this conflicts with the system call
2006-08-05  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/imagemap/imap_ncsa.l: Do not declare a symbol "link"
	because this conflicts with the system call declared in
	<unistd.h>.  Renamed that symbol "imap_link".  Fixes bug #349589.

	* plug-ins/imagemap/imap_ncsa_lex.c: Updated by hand in order to
	avoid large changes introduced by more recent versions of flex.
2006-08-04 22:12:44 +00:00
Maurits 4f2b4681c5 plug-ins/imagemap/imap_grid.c plug-ins/imagemap/imap_main.c fixed problem
2006-07-14  Maurits  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_grid.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.c: fixed problem with zoom menu
2006-07-14 13:37:56 +00:00
Sven Neumann 5e197c16a6 commented out the non-functional Zoom menu.
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_menu.c: commented out the non-functional
	Zoom menu.
2006-06-27 16:13:22 +00:00
Sven Neumann 91cd3b02f8 adjusted table spacing 2006-06-27 15:37:24 +00:00
Sven Neumann 32fa081919 improved dialog layout.
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_preview.c: improved dialog layout.
2006-06-27 15:18:54 +00:00
Sven Neumann 6be54f9b20 plug-ins/common/CML_explorer.c plug-ins/common/curve_bend.c
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/fractaltrace.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/mblur.c
	* plug-ins/common/png.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/tga.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/tiler.c
	* plug-ins/common/unsharp.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gfli/gfli.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: use canonical parameter names.
2006-06-27 12:38:45 +00:00
Sven Neumann 8a6a538036 moved rulers out of the scrolled window and update them when the scroll
2006-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_preview.[ch]: moved rulers out of the
	scrolled window and update them when the scroll adjustments
	change. Fixes bug #341149.

	* plug-ins/imagemap/imap_about.c
	* plug-ins/imagemap/imap_menu.c: unrelated cleanups.
2006-06-23 12:05:13 +00:00
Manish Singh b9416956f8 Fixes to address -ansi -pedantic compilation (bug #342390). Thanks goes to
2006-05-20  Manish Singh  <yosh@gimp.org>

        Fixes to address -ansi -pedantic compilation (bug #342390).
        Thanks goes to Daniel Richard G. for noticing and suggesting
        fixes.

        * libgimpbase/gimpsignal.c: #include "config.h" and define
        __POSIX_SOURCE for sigaction stuff.

        * app/base/tile-swap.c (tile_swap_test): use more portable
        S_IRUSR and S_IWUSR, instead of S_IREAD and S_IWRITE.

        * plug-ins/common/ripple.c
        * plug-ins/imagemap/imap_main.c: use C89 comments.

        * plug-ins/Lighting/lighting_preview.h: don't define spin widget
        variables here...

        * plug-ins/Lighting/lighting_ui.[ch]: ... and instead take care
        of them here.
2006-05-20 07:18:25 +00:00
Sven Neumann a450ba46bb declared GimpPlugInInfo and GimpParamDef arrays as const.
2006-05-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/*/*.c: declared GimpPlugInInfo and GimpParamDef arrays
	as const.
2006-05-16 12:26:20 +00:00
Michael Natterer 67f9321bc7 fix warning about unused return value of g_list_append().
2006-05-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/imagemap/imap_csim.y: fix warning about unused return
	value of g_list_append().

	* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated (using
	bison 2.1 instead of 2.0, lots of things changed, please test).
2006-05-12 15:32:23 +00:00
Simon Budig 1c63bf565e removed unused code removed deprecated docs regenerated
2006-04-19  Simon Budig  <simon@gimp.org>

	* plug-ins/imagemap/imap_main.c: removed unused code
	* tools/pdbgen/pdb/paths.pdb: removed deprecated docs
	* app/pdb/paths_cmds.c: regenerated
2006-04-19 21:07:11 +00:00
Sven Neumann ec5d800fdf plug-ins/flame/flame.c plug-ins/gfig/gfig.c plug-ins/gflare/gflare.c
2006-03-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/maze/maze.c
	* plug-ins/metadata/metadata.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/print.c
	* plug-ins/rcm/rcm.c
	* plug-ins/winsnap/winsnap.c: reviewed blurbs and marked them for
	translation.
2006-03-28 12:58:49 +00:00
Sven Neumann f775a9c825 return FALSE, not NULL from boolean function 2006-03-09 10:49:17 +00:00
Sven Neumann 51cd51f76e do not attempt to use a NULL function pointer.
2006-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_main.c (button_press): do not attempt to
	use a NULL function pointer.

	* plug-ins/imagemap/imap_preview.c: added some sanity checks.
2006-03-09 10:47:53 +00:00
Sven Neumann 5f5865757b use U+00D7 MULTIPLICATION SIGN instead of x when displaying sizes. 2006-02-28 12:31:04 +00:00
Sven Neumann 5e7ce540c1 app/core/gimpbrush.c app/core/gimpbuffer.c app/core/gimpimagefile.c
2006-02-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrush.c
	* app/core/gimpbuffer.c
	* app/core/gimpimagefile.c
	* app/core/gimppattern.c
	* app/dialogs/preferences-dialog.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimprectselecttool.c
	* app/widgets/gimpimagepropview.c
	* app/widgets/gimpsizebox.c
	* app/widgets/gimptemplateeditor.c
	* plug-ins/imagemap/imap_statusbar.c: use U+00D7 MULTIPLICATION SIGN
	instead of x when displaying sizes.
2006-02-28 12:15:51 +00:00
Sven Neumann 11c0aa9c0b plug-ins/common/raw.c plug-ins/gfig/gfig-dialog.c
2006-02-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/raw.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/helpbrowser/dialog.c
	* plug-ins/imagemap/imap_browse.c
	* plug-ins/print/gimp_main_window.c: use canonical signal names.
2006-02-07 17:22:06 +00:00
Sven Neumann 455ba690dc plug-ins/imagemap/imap_about.c plug-ins/imagemap/imap_file.c
2006-02-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_about.c
	* plug-ins/imagemap/imap_file.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.c
	* plug-ins/imagemap/imap_preferences.c: renamed to "Image Map" and
	unified spelling.
2006-02-01 21:00:29 +00:00
Raphael Quinet 7d8998a99c automatically removed trailing whitespace from 3460 lines.
2006-01-17  Raphael Quinet  <raphael@gimp.org>

	* (about 130 *.[ch] files): automatically removed trailing
	whitespace from 3460 lines.
2006-01-17 12:43:50 +00:00
Michael Natterer b10adabb5e Added parent window API to the GimpProgress interface and to the libgimp
2005-09-09  Michael Natterer  <mitch@gimp.org>

	Added parent window API to the GimpProgress interface and to
	the libgimp progress stuff. Might look strange, but does
	the right thing in almost all cases (image window, file dialog,
	script-fu dialog etc). Fixes bug #62988.

	* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
	which should return a toplevel window ID if the progress is in a
	window that wants to be the transient parent of plug-in dialogs.

	* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
	function which returns the window handle of a GtkWindow's GdkWindow.

	* app/widgets/gimpfiledialog.c: implement ::get_window().

	* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.

	* app/gui/gui-vtable.c: changed accordingly.

	* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
	added GIMP_PROGRESS_COMMAND_GET_WINDOW.

	* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
	new function. Also renamed some functions to match the
	GimpProgress interface, and not the legacy PDB procedure names.

	* tools/pdbgen/pdb/progress.pdb
	* app/core/gimppdbprogress.c: implement get_window() on both
	sides of the wire, keeping backward compatibility (hopefully).

	* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
	and added gimp_progress_install_vtable() which takes a vtable with
	padding to be extensible. Added get_window() vtable entry and
	dispatch it accordingly. Also added pulse() which was implemented
	in a hackish way before. Everything is of course backward
	compatible.

	* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
	so a plug-in dialog containing a progress can be the transient
	parent of another dialog in another plug-in.

	* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
	which returns a foreign GdkWindow of this plug-ins progress
	window.

	Renamed gimp_window_set_transient_for_default_display() to
	gimp_window_set_transient() and make it use the progress' window
	handle instead of the display's (which is the right thing to do in
	almost all cases).

	* libgimp/gimp.def
	* libgimp/gimpui.def: add the new functions.

	* tools/pdbgen/enums.pl
	* app/pdb/internal_procs.c
	* app/pdb/progress_cmds.c
	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* libgimp/gimpexport.c
	* plug-ins/*/*.c: follow API change.
2005-09-09 18:07:31 +00:00
Sven Neumann cc6f3e762f Call gimp_window_set_transient_for_default_display() for most plug-in
2005-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins: Call gimp_window_set_transient_for_default_display()
	for most plug-in dialogs. Not yet done are load and save dialogs
	and dialogs created from language bindings.
2005-09-05 21:40:29 +00:00
Sven Neumann e7a14aaa71 applied capitalization patches contributed by Stephan Binner. Fixes bug
2005-08-23  Sven Neumann  <sven@gimp.org>

	* [lots of files]: applied capitalization patches contributed by
	Stephan Binner. Fixes bug #309657.
2005-08-23 00:18:08 +00:00
Sven Neumann 1a94b2be20 app/actions/channels-commands.c app/actions/qmask-commands.c
2005-08-23  Sven Neumann  <sven@gimp.org>

	* app/actions/channels-commands.c
	* app/actions/qmask-commands.c
	* app/dialogs/channel-options-dialog.c
	* app/dialogs/layer-options-dialog.c
	* app/dialogs/module-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/dialogs/preferences-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/stroke-dialog.c
	* app/dialogs/vectors-options-dialog.c
	* app/display/gimpdisplayshell-scale.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpblendoptions.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimpstrokeeditor.c
	* libgimpwidgets/gimpcolorselection.c
	* modules/cdisplay_colorblind.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_cmyk.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/colorify.c
	* plug-ins/common/film.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/lic.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/gflare/gflare.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_cmd_guides.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/metadata/interface.c
	* plug-ins/print/gimp_color_window.c
	* plug-ins/print/gimp_main_window.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-server.c: applied patch from
	Stephan Binner that fixes capitalization issues (bug #309657).
2005-08-22 23:39:12 +00:00
Sven Neumann f64b986b48 plug-ins/common/curve_bend.c plug-ins/common/plugin-browser.c
2005-08-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c
	* plug-ins/common/plugin-browser.c
	* plug-ins/helpbrowser/dialog.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/jpeg/jpeg-load.c: use canonical procedure names with
	gimp_run_procedure().

2005-08-19  Sven Neumann  <sven@gimp.org>

	* gimpmodule.c
	* gimp-drawable.c: use canonical procedure names with
	gimp_run_procedure().
2005-08-19 16:35:48 +00:00