Commit graph

7703 commits

Author SHA1 Message Date
Sven Neumann 2079245f48 common/hrz.c common/plugindetails.c common/spheredesigner.c
2003-01-07  Sven Neumann  <sven@gimp.org>

	* common/hrz.c
	* common/plugindetails.c
	* common/spheredesigner.c
	* gimpressionist/orientmap.c
	* gimpressionist/sizemap.c
	* plugin-helper/color_picker.c
	* plugin-helper/iwarp.c
	* winsnap/winsnap.c: ported to GObject signal API.
2003-01-07 01:47:04 +00:00
Sven Neumann f6c77ecf91 configure.in plug-ins/gfig/Makefile.am added a new directory with PNG
2003-01-07  Sven Neumann  <neo@wintermute>

	* configure.in
	* plug-ins/gfig/Makefile.am
	* plug-ins/gfig/images/Makefile.am: added a new directory with PNG
	images for the GFig plug-in.

	* plug-ins/gfig/images/*.png: placeholder images that need to be
	replaced (see bug #92473).

	* plug-ins/gfig/gfig-stock.[ch]: new files that register the
	images as stock icons.

	* plug-ins/gfig/gfig.c: use stock icons for the buttons on the
	left side of the dialog.

	* plug-ins/gfig/pix_data.h: removed obsoleted images. The
	remaining ones should get converted as well.
2003-01-06 23:47:04 +00:00
Maurits Rijk b6232092e4 Replaced gtk_signal_connect by g_signal_connect 2003-01-06 22:11:17 +00:00
Tor Lillqvist 59a4b7d0c6 Bypass whole file on Win32.
2003-01-06  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/script-fu/script-fu-server.c: Bypass whole file on
	Win32.
2003-01-06 21:41:51 +00:00
Michael Natterer ec0f00b849 even more undeprecated, some cleanup.
2003-01-06  Michael Natterer  <mitch@gimp.org>

	* plug-ins/gfig/gfig.c: even more undeprecated, some cleanup.
2003-01-06 18:02:27 +00:00
Sven Neumann 4f3b58d3a6 made it a lot less deprecated. Removed gazillions of unneeded casts and
2003-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c: made it a lot less deprecated. Removed
	gazillions of unneeded casts and changed others to the more
	portable GINT_TO_POINTER() / GPOINTER_TO_INT() macros. Still more
	work to be done ...
2003-01-06 17:11:09 +00:00
Michael Natterer 224ecade54 added enum GimpRectSelectMode which can be one of "free", "fixed-size" and
2003-01-06  Michael Natterer  <mitch@gimp.org>

	* libgimptool/gimptoolenums.[ch]: added enum GimpRectSelectMode
	which can be one of "free", "fixed-size" and "fixed-ratio".

	* app/tools/selection_options.[ch]: replaced the "Fixed Size /
	Aspect Ratio" toggle by a menu offering the choices above.

	* app/tools/gimprectselecttool.[ch]: changed accordingly. Removed
	the possibility to <shift>-switch from "fixed-size" to
	"fixed-ratio" mode. Fixes bug #100320.
2003-01-06 16:25:04 +00:00
Michael Natterer 8fd6272d61 give an example (commented out) how to change the F1 help binding. Fixes
2003-01-06  Michael Natterer  <mitch@gimp.org>

	* etc/gtkrc_user: give an example (commented out) how to change
	the F1 help binding. Fixes bug #6920.
2003-01-06 15:45:17 +00:00
Sven Neumann b9494c2583 Michael Natterer <mitch@gimp.org>
2003-01-06  Sven Neumann  <sven@gimp.org>
	    Michael Natterer  <mitch@gimp.org>

	* tools/gimp-remote.c (gimp_remote_find_window): re-wrote this
	function without looking at the original source, so it is finally
	free from non-GPL copyright issues.
2003-01-06 14:28:29 +00:00
Sven Neumann cd17ec64df docs/gimp-1.3.1.in removed incorrect copyright clauses and updated
2003-01-06  Sven Neumann  <sven@gimp.org>

	* docs/gimp-1.3.1.in
	* docs/gimptool-1.3.1.in: removed incorrect copyright clauses and
	updated information about bug reporting.
2003-01-06 12:22:26 +00:00
Sven Neumann fdffb13ea8 app/gui/gradient-editor-commands.c don't split translatable sentences into
2003-01-06  Sven Neumann  <sven@gimp.org>

        * app/gui/gradient-editor-commands.c
        * libgimp/gimpexport.c: don't split translatable sentences into
        multiple messages (bug #85828).
2003-01-06 01:01:02 +00:00
Manish Singh 82c16db50d cast memsize to a guint instead of format change. Problem perhaps if
2003-01-05  Manish Singh  <yosh@gimp.org>

        * app/core/gimpobject.c: cast memsize to a guint instead of format
        change. Problem perhaps if get_size really is > 4 GB?
2003-01-05 22:24:07 +00:00
Manish Singh 1a44f2126c cleanup, removed unecessary G_OBJECT() casts. Should do the same for
2003-01-05  Manish Singh  <yosh@gimp.org>

        * many files in app, modules and libgimp*: cleanup, removed unecessary
        G_OBJECT() casts. Should do the same for plug-ins, when more of them
        get undeprecated.
2003-01-05 22:07:10 +00:00
Maurits Rijk 08caef0490 Fix for #73894 2003-01-05 21:44:33 +00:00
Manish Singh 0f3b8463a4 same as below for here.
2003-01-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/script-fu/interp_regex.c: same as below for here.
2003-01-05 20:51:39 +00:00
Manish Singh f44e1e92f9 oops, cast here instead of changing the format string so we're ok on
2003-01-05  Manish Singh  <yosh@gimp.org>

        * app/core/gimpimage-new.c: oops, cast here instead of changing the
        format string so we're ok on 32-bit too.
2003-01-05 20:46:25 +00:00
Manish Singh 013e30db54 app/undo_history.c app/core/gimpbrush.c app/core/gimpimage-new.c
2003-01-05  Manish Singh  <yosh@gimp.org>

        * app/undo_history.c
        * app/core/gimpbrush.c
        * app/core/gimpimage-new.c
        * app/core/gimpobject.c
        * app/core/gimppalette-import.c
        * app/core/gimppattern.c
        * app/plug-in/plug-in.c
        * app/tools/gimpbezierselecttool.c
        * libgimpwidgets/gimpunitmenu.c
        * plug-ins/MapObject/mapobject_ui.c
        * plug-ins/common/convmatrix.c
        * plug-ins/common/curve_bend.c
        * plug-ins/common/sample_colorize.c
        * plug-ins/common/tiff.c
        * plug-ins/flame/flame.c
        * plug-ins/gflare/gflare.c
        * plug-ins/gimpressionist/general.c
        * plug-ins/gimpressionist/orientation.c
        * plug-ins/gimpressionist/preview.c
        * plug-ins/gimpressionist/size.c
        * plug-ins/imagemap/imap_grid.c
        * plug-ins/imagemap/imap_menu.c
        * plug-ins/maze/algorithms.c
        * plug-ins/script-fu/interp_regex.c
        * plug-ins/script-fu/interp_sliba.c
        * plug-ins/script-fu/script-fu-console.c
        * plug-ins/script-fu/script-fu-server.c
        * plug-ins/webbrowser/webbrowser.c: added GINT_TO_POINTER and friends,
        fixed format strings, for 64-bitness.

        * modules/colorsel_triangle.c
        * plug-ins/tools/tool-safe-mode-plug-in.c: #include missing header
        files
2003-01-05 20:38:21 +00:00
Sven Neumann a817b033d2 libgimpwidgets/Makefile.am libgimpwidgets/libgimpwidgets-docs.sgml
2003-01-05  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml: started to document the
	stock items.
2003-01-05 19:53:57 +00:00
Michael Natterer 5a6232cb85 changed --with-gnome-desktop to --with-gnome-datadir
2003-01-05  Michael Natterer  <mitch@gimp.org>

	* configure.in: changed --with-gnome-desktop to --with-gnome-datadir

	* data/misc/gimp.applications
	* data/misc/gimp.keys: added mime info files from Hadess
	<hadess@hadess.net> so gnome-vfs can associate various mime types
	with GIMP.

	* data/misc/Makefile.am: install everything into the right
	subdirectories of GNOME_DATADIR.
2003-01-05 16:44:10 +00:00
Maurits Rijk 0eccb0fec1 Fix for #102562 + minor clean-up of bmp plug-in 2003-01-05 15:48:32 +00:00
Sven Neumann 50c8c56fe0 libgimpwidgets/gimpchainbutton.[ch] libgimpwidgets/gimpcolorarea.[ch]
2003-01-05  Sven Neumann  <sven@gimp.org>

        * libgimpwidgets/gimpchainbutton.[ch]
        * libgimpwidgets/gimpcolorarea.[ch]
        * libgimpwidgets/gimpcolorbutton.[ch]
        * libgimpwidgets/gimpdialog.c
        * libgimpwidgets/gimpfileselection.[ch]
        * libgimpwidgets/gimpoffsetarea.c
        * libgimpwidgets/gimppickbutton.c
        * libgimpwidgets/gimpquerybox.c
        * libgimpwidgets/gimpwidgets.c: added more API documentation.
        Declared gimp_scale_entry_new_internal() as static.

        * libgimpwidgets/gimpwidgets.def: changed accordingly.
2003-01-05 15:41:23 +00:00
Sven Neumann d41e99de78 added libgimpwidgets/gimpmemsizeentry.c.
2003-01-05  Sven Neumann  <sven@gimp.org>

        * POTFILES.in: added libgimpwidgets/gimpmemsizeentry.c.
2003-01-05 14:01:05 +00:00
Sven Neumann 8f7f7a21f4 libgimpwidgets/Makefile.am made GimpMemsizeEntry a widget which doesn't
2003-01-05  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpmemsizeentry.[ch]: made GimpMemsizeEntry a
	widget which doesn't use a GtkAdjustment to store the value.  The
	latter caused problems on 64bit machines since a gdouble doesn't
	provide enough precision for G_MAXULONG.

	* libgimpwidgets/gimpwidgets.[ch]
	* libgimpwidgets/gimpwidgetstypes.h
	* app/widgets/gimppropwidgets.c: changed accordingly.
2003-01-05 13:52:14 +00:00
Sven Neumann 5dcf8da089 redid the fix for bug #101036. Instead of temporarily changing the layer
2003-01-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-merge.c (gimp_image_merge_layers): redid the
	fix for bug #101036. Instead of temporarily changing the layer
	mode, just use a different mode for combine_regions().
2003-01-05 03:34:13 +00:00
Sven Neumann 6d7ae03080 don't free the options structure twice (fixes bug #102515).
2003-01-05  Sven Neumann  <sven@gimp.org>

	* app/gui/qmask-commands.c (qmask_channel_query): don't free the
	options structure twice (fixes bug #102515).
2003-01-05 01:30:33 +00:00
Sven Neumann fc4f674ca5 pass NULL, not 0 to fix compilation on Alpha (bug #102514).
2003-01-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.c: (gimp_prop_enum_option_menu_new):
	pass NULL, not 0 to fix compilation on Alpha (bug #102514).
2003-01-05 01:22:40 +00:00
Ole Laursen 23a593e481 Updated Danish translation.
2003-01-04  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2003-01-04 21:52:59 +00:00
Sven Neumann 78b4a1df9d app/widgets/gimpbrushfactoryview.c app/widgets/gimpcontainereditor.c
2003-01-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpbrushfactoryview.c
	* app/widgets/gimpcontainereditor.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainerlistview.c
	* app/widgets/gimpcontainermenuimpl.c
	* app/widgets/gimpcontainerview.c
	* app/widgets/gimpdatafactoryview.c
	* app/widgets/gimpitemlistview.c: check preview sizes to be
	smaller than GIMP_PREVIEW_MAX_SIZE instead of using a hardcoded
	and much too small value of 64.

	* app/widgets/gimpdialogfactory.c: check that the preview size is
	in range of the GimpPreviewSize enum when parsing the sessionrc.
2003-01-04 18:47:55 +00:00
Sven Neumann 23054985da use off_t to return the offset. Finally allows to handle swap files larger
2003-01-04  Sven Neumann  <sven@gimp.org>

	* app/base/tile-swap.c (tile_swap_find_offset): use off_t to
	return the offset. Finally allows to handle swap files larger than
	2 GB (fixes bug #74478).
2003-01-04 15:06:01 +00:00
Kjartan Maraas 91316ea199 Updated Norwegian (bokmal) translation.
2003-01-04  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmal) translation.
2003-01-03 23:35:50 +00:00
Kjartan Maraas d0268f987d Updated Norwegian (bokmal) translation.
2003-01-03  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmal) translation.
2003-01-03 23:23:00 +00:00
Christian Rose 950cc00bc2 Updated Swedish translation.
2003-01-03  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2003-01-03 21:22:51 +00:00
Sven Neumann ec6c98656e bumped the version number to 1.3.12.
2003-01-03  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped the version number to 1.3.12.

	* app/display/Makefile.am
	* app/display/gimpdisplayshell-cursor.[ch]
	* app/display/gimpdisplayshell-title.[ch]
	* app/display/gimpdisplayshell-transform.[ch]: new files with code
	that used to live in gimpdisplayshell.c.

	* app/display/gimpdisplay-foreach.c
	* app/display/gimpdisplay.c
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-handlers.c
	* app/display/gimpdisplayshell-selection.c
	* app/display/gimpdisplayshell.[ch]
	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpdrawtool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimptool.c: changed accordingly.
2003-01-03 18:01:30 +00:00
Michael Natterer 28bd9bf707 don't HALT the active tool if it is in "preserve" mode. Fixes crashes when
2003-01-03  Michael Natterer  <mitch@gimp.org>

	* app/tools/tool_manager.c (tool_manager_image_undo_start): don't
	HALT the active tool if it is in "preserve" mode. Fixes crashes
	when e.g. the transform tool was pushing an undo group and
	implicitly HALTing itself in the middle of the transform
	operation.
2003-01-03 17:01:55 +00:00
Michael Natterer 4bb66b59cc app/widgets/gimpdialogfactory.c convince more window managers to actually
2003-01-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.c
	* app/widgets/gimptoolbox.c: convince more window managers to
	actually use the specified window positions/sizes by adding
	GDK_HINT_USER_POS and GDK_HINT_USER_SIZE to the windows'
	geometry hints.
2003-01-03 15:56:34 +00:00
Michael Natterer fbe9cb413e don't set paused_count to 0.
2003-01-03  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptoolcontrol.c (gimp_tool_control_halt): don't
	set paused_count to 0.

	* app/tools/gimpblendtool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppainttool.c
	* app/tools/gimppathtool.c
	* app/tools/gimprectselecttool.c
	* app/tools/gimptexttool.c
	* app/tools/gimptool.c
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectortool.c
	* app/tools/tool_manager.c: removed comments about doing so.
2003-01-03 15:49:46 +00:00
Jan Morén b6869ac823 Updated Swedish translation.
2003-01-03  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-01-03 15:08:29 +00:00
Michael Natterer ef3f572af4 don't set paused_count to 0.
2003-01-03  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptoolcontrol.c (gimp_tool_control_halt): don't
	set paused_count to 0.

	* app/tools/gimpblendtool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppainttool.c
	* app/tools/gimppathtool.c
	* app/tools/gimprectselecttool.c
	* app/tools/gimptexttool.c
	* app/tools/gimptool.c
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectortool.c
	* app/tools/tool_manager.c: removed comments about doing so.
2003-01-03 13:59:23 +00:00
Manish Singh 7e5549e214 terminate g_object_set args with NULL.
2003-01-02  Manish Singh  <yosh@gimp.org>

        * app/base/base.c (base_init): terminate g_object_set args with NULL.
2003-01-02 23:14:11 +00:00
Michael Natterer f6d100da01 libgimpmodule/libgimpmodule-sections.txt
2003-01-02  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/libgimpmodule-sections.txt
	* libgimpmodule/tmpl/gimpmodule.sgml
	* libgimpmodule/tmpl/gimpmoduledb.sgml: updated. Documented
	enums and structs. Fixes bug #5746.
2003-01-02 21:36:02 +00:00
Michael Natterer b0e77dbfde libgimpmodule/gimpmodule.[ch] added API docs, removed cruft. Fixes bug
2003-01-02  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmodule.[ch]
	* libgimpmodule/gimpmoduledb.[ch]: added API docs, removed cruft.
	Fixes bug #5746.
2003-01-02 21:34:35 +00:00
Maurits Rijk a73614b650 Fix for #102303 + lots of code clean-up 2003-01-02 20:35:33 +00:00
Michael Natterer cb9d0cc2b8 regenerated, removed some old cruft.
2003-01-02  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/tmpl/gimpmodule.sgml: regenerated, removed
	some old cruft.
2003-01-02 17:48:44 +00:00
Michael Natterer 7eefdb5404 added GIMP_MODULE_ABI_VERSION define and a "guint32 abi_version" field to
2003-01-02  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmodule.[ch]: added GIMP_MODULE_ABI_VERSION
	define and a "guint32 abi_version" field to GimpModuleInfo.  When
	querying a module, check if it was compiled against the same ABI
	version as the code loading it. Fixes bug #5744.

	* modules/cdisplay_colorblind.c
	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: changed accordingly.
2003-01-02 17:44:28 +00:00
Sven Neumann f6d7f59766 just a small cleanup.
2003-01-02  Sven Neumann  <sven@gimp.org>

	    * app/widgets/gimpviewabledialog.c (gimp_viewable_dialog_close):
	    just a small cleanup.
2003-01-02 14:17:13 +00:00
Michael Natterer ea95a3227d Replaced Garry's fix for bug #98843 by a more general solution which stops
2003-01-02  Michael Natterer  <mitch@gimp.org>

	Replaced Garry's fix for bug #98843 by a more general solution
	which stops the active tool when an undo group start is pushed:

	* app/core/gimpimage.[ch]: removed the "layer_merge" signal
	and added "undo_start" instead.

	* app/undo.c: emit "undo_start" in undo_push_group_start()
	_before_ checking if gimage->undo_on is TRUE.

	* app/tools/tool_manager.c: connect to "undo_start" and HALT the
	active tool if neccessary.

	* app/core/core-types.h: added EDIT_COPY_UNDO_GROUP.

	* app/core/gimpedit.c: push an undo group around the copy
	operation. Will probably have to add more undo group types to wrap
	other critical image modifications with.

	* app/core/gimpimage-merge.c
	* app/gui/convert-dialog.c
	* app/gui/edit-commands.c
	* app/gui/test-commands.c
	* app/tools/gimpimagemaptool.c: removed all special code to
	stop the active tool.
2003-01-02 13:38:09 +00:00
Michael Natterer 2ed235164f replaced the 0755 by properly or'ed symbolic values (undid this change
2003-01-02  Michael Natterer  <mitch@gimp.org>

	* app/gui/user-install-dialog.c: replaced the 0755 by properly
	or'ed symbolic values (undid this change from Sven accidentially).
2003-01-02 13:10:10 +00:00
Garry R. Osgood d8fd3b04c1 Updated my CVS. app/undo.c app/undo_history.c app/core/gimpimage.[ch]
2003-01-01 Garry R. Osgood <grosgood@rcn.com>
* MAINTAINERS: Updated my CVS.
* app/undo.c
* app/undo_history.c
* app/core/gimpimage.[ch]
* app/tools/gimpimagemaptool.c
* app/core/gimpimage-merge.c: implementation of LAYER_MERGE
signal emitters and listeners. (see bug #98843); listeners thaw
undo stack (image map tools, usually).
* app/widgets/gimpviewabledialog.c: gimp_viewable_dialog_close ()
Check if the widget has a non-null reference to a window before
using it to synthesize a cancel event. These seven deltas closes bug #98843.
* app/core/gimpimage-merge.c: (gimp_image_merge_layers())
Regardless of merge type, temporarily set composition mode
of bottom layer to NORMAL, then merge. Closes bug #101036.
2003-01-01 23:40:53 +00:00
Sven Neumann 6cd51e1962 changed some menu entries as suggested in bug #101974.
2003-01-01  Sven Neumann  <sven@gimp.org>

	* app/gui/menus.c (image_entries): changed some menu entries as
	suggested in bug #101974.

	* app/display/gimpdisplayshell.c: changed accordingly.
2003-01-01 14:37:14 +00:00
Hans Breuer 8364722f2d when checking for 'excecutable' make sure it is a regular file too (on
2003-01-01  Hans Breuer  <hans@breuer.org>

	* libgimpbase/gimpdatafiles.c : when checking for
	'excecutable' make sure it is a regular file too
	(on win32 even directories carry the IXUSR flag)

	* app/app_procs.h : there is still no #warning with
	msvc, special case to make it build with non GCC

	* makefile.msc */makefile.msc */*/makefile.msc : updated

	* app/gui/user-install-dialog.c : get prototype for mkdir

	* libgimpwidgets/libgimp-glue.c : make it compile without
	LT_RELEASE being defined

	* modules/module.def : removed
	  modules/Makefile.am : no export file needed when
	functions get exported by G_MODULE_EXPORT
2003-01-01 13:33:27 +00:00