Commit Graph

12900 Commits

Author SHA1 Message Date
Sven Neumann f26d1b8a8c moved variable declarations to the scope they are being used in, removed
2004-07-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpchannel-combine.c (gimp_channel_combine_ellipse):
	moved variable declarations to the scope they are being used in,
	removed trailing whitespace, minor cleanups.
2004-07-19 14:25:59 +00:00
William Skaggs b48a7cce8f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpchannel-combine.c: put in two lines accidentally
	omitted in previous change, improve doc comment.
2004-07-19 14:12:30 +00:00
Michael Natterer c5e78fe18a added copyright header, added #defines for access(), F_OK, R_OK and X_OK.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpwin32-io.h: added copyright header, added
	#defines for access(), F_OK, R_OK and X_OK.

	* app/core/gimpdata.c: include the above instead of defining
	the workarounds here.

	* app/base/tile-swap.c
	* app/config/gimpconfig-dump.c
	* libgimpthumb/gimpthumb-utils.c
	* libgimpthumb/gimpthumbnail.c: for consistency, #include
	gimpwin32-io.h with "" instead of <>.
2004-07-19 13:22:44 +00:00
Michael Natterer fe23211092 comments not intended for gtk-doc must not start with '/**'.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel-combine.c (gimp_channel_combine_ellipse):
	comments not intended for gtk-doc must not start with '/**'.
2004-07-19 12:43:40 +00:00
Michael Natterer e29b2600c1 app-docs.sgml more updates and cleanups.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app-docs.sgml
	* app-sections.txt: more updates and cleanups.
2004-07-19 12:33:08 +00:00
Michael Natterer 086d0b5470 removed obsolete compile-time check for GLIB >= 2.3.5.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in.h (struct _PlugIn): removed obsolete
	compile-time check for GLIB >= 2.3.5.
2004-07-19 12:20:27 +00:00
Shlomi Fish 894de83e12 Fixed a copy-and-paste error with the dates of my commits. removed a few
* ChangeLog: Fixed a copy-and-paste error with the dates of my commits.
* plug-ins/gimpressionist/ppmtool.c: removed a few commented-out
  asserts, and the function that was used to implement them.
2004-07-19 12:18:59 +00:00
Michael Natterer 28b3fd4a74 reordered and commented to match API docs.
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/widgets-types.h: reordered and commented to match
	API docs.
2004-07-19 12:08:37 +00:00
Sven Neumann 8e55c2e1cc renamed struct member file_selection to file_chooser.
2004-07-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_browse.[ch]: renamed struct member
	file_selection to file_chooser.
2004-07-19 11:35:43 +00:00
Michael Natterer 9357713a2b removed GimpConfigInterface typedef, added comments to typedefs which
2004-07-19  Michael Natterer  <mitch@gimp.org>

	* app/config/config-types.h: removed GimpConfigInterface typedef,
	added comments to typedefs which don't belong here.

	* app/config/gimpconfig.h: added GimpConfigInterface typedef.

	* app/core/core-types.h
	* app/display/display-types.h: added commented out typedefs for
	types that live in config-types.h for obscure reasons.

	* app/core/core-types.h: reordered stuff to match the order in the
	API docs (makes keeping stuff in sync much easier).
2004-07-19 11:33:59 +00:00
Shlomi Fish c600346e2a replaced a few if's+destructors pairs for ppm_ with just the destructors.
* plug-ins/gimpressionist/repaint.c: replaced a few if's+destructors
pairs for ppm_ with just the destructors.
2004-07-19 10:28:23 +00:00
Shlomi Fish 2964e2add6 normalized some identifiers of repaint.c, and corrected some indentation
* plug-ins/gimpressionist/repaint.c: normalized some identifiers of
repaint.c, and corrected some indentation there.
2004-07-19 10:02:33 +00:00
William Skaggs f7cca5f2f2 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpchannel-combine.c: improve anti-aliasing for
	elliptical selections, as described in bug #147836.
2004-07-18 19:31:29 +00:00
Sven Neumann 55c03a25b5 don't start a comment with /** unless it's meant to be parsed by gtk-doc.
2004-07-18  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-mmx.h: don't start a comment with
	/** unless it's meant to be parsed by gtk-doc.

	* app/actions/Makefile.am:
	* app/actions/file-dialog-commands.[ch]: removed, not used any
	longer.
2004-07-18 18:24:32 +00:00
Philip Lafleur a1c89069db Check if the array index is legal before using it, not the other way
2004-07-18  Philip Lafleur  <plafleur@cvs.gnome.org>

	* app/paint/gimpink-blob.c (blob_make_convex): Check if the
	array index is legal before using it, not the other way around.
	Fixes bug #144856.
2004-07-18 09:10:17 +00:00
Philip Lafleur 68aa11c012 Fixed a write to unallocated memory that was causing crashes in various
2004-07-17  Philip Lafleur  <plafleur@cvs.gnome.org>

	* plug-ins/common/polar.c (dialog_update_preview): Fixed a
	write to unallocated memory that was causing crashes in various
	spots.
2004-07-18 01:45:57 +00:00
Philip Lafleur 774b116e08 moved array initialization out of variable declaration. Fixes bug #147799.
2004-07-17  Philip Lafleur  <plafleur@cvs.gnome.org>

	* plug-ins/common/polar.c (polarize_func): moved array
	initialization out of variable declaration. Fixes bug #147799.
2004-07-18 00:30:56 +00:00
Michael Natterer 09c6ee7363 added the removed help IDs back.
2004-07-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp-ids.h: added the removed help IDs back.

	* app/widgets/gimpfileprocview.[ch]: cache all file_procs' help
	IDs and added gimp_file_proc_view_get_help_id() which returns the
	selected item's help ID.

	* app/widgets/gimpfiledialog.c: added a custom help func which
	shows the help for the selected file_proc if the proc_view has the
	focus.
2004-07-17 19:53:05 +00:00
Sven Neumann d95059db48 use GIMP_STOCK_WEB for "file-open-location".
2004-07-17  Sven Neumann  <sven@gimp.org>

	* app/actions/file-actions.c (file_actions): use GIMP_STOCK_WEB
	for "file-open-location".

	* app/widgets/gimpfiledialog.c: create the scrolled window with
	shadow_type GTK_SHADOW_IN.

	* app/widgets/gimpfileprocview.c (gimp_file_proc_view_new): skip
	procedures that register a prefix (the URL loader).

	* app/widgets/gimphelp-ids.h: removed help IDs that used to be
	used from the file-open and file-save menus.

	* plug-ins/common/xwd.c (query): "X window dump" seems to be more
	appropriate than "X window image".
2004-07-17 13:06:59 +00:00
Sven Neumann 996b45696e app/actions/Makefile.am app/actions/file-dialog-actions.[ch]
2004-07-17  Sven Neumann  <sven@gimp.org>

	* app/actions/Makefile.am
	* app/actions/file-dialog-actions.[ch]
	* app/actions/file-open-actions.[ch]
	* app/actions/file-save-actions.[ch]: these aren't needed any
	longer.

	* app/actions/actions.c: changed accordingly.

	* app/menus/Makefile.am
	* app/menus/file-dialog-menu.[ch]
	* app/menus/file-open-menu.[ch]
	* app/menus/file-save-menu.[ch]: these aren't needed any longer.

	* app/menus/menus.c: changed accordingly.

	* menus/Makefile.am
	* menus/file-open-menu.xml
	* menus/file-save-menu.xml: these are also not needed any longer.
2004-07-17 12:19:58 +00:00
Philip Lafleur a23024eb2b Applied a patch from Brion Vibber that fixes corruption when saving
2004-07-17  Philip Lafleur  <plafleur@cvs.gnome.org>

	* plug-ins/bmp/bmpwrite.c (WriteImage): Applied a patch from
	Brion Vibber that fixes corruption when saving RLE-encoded
	BMPs on big endian hosts. Fixes bug #147759.
2004-07-17 11:33:03 +00:00
Shlomi Fish 7ddb6a6a9e normalized the identifiers of general.c and general.h. Also, renamed a
* plug-ins/gimpressionist/: normalized the identifiers of
general.c and general.h. Also, renamed a callback from _store
to simply _callback to avoid confusion with the _store methods.
Some of the member variables of the pcvals struct were changed
as a result.
2004-07-17 09:43:46 +00:00
Dmitry Mastrukov be272565ff ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2004-07-17 07:04:44 +00:00
Helvetix Victorinox 47b1730948 We've had trouble compiling with the Intel compiler which
identifies itself as GCC, but doesn't support the same extended
assembly features/misfeatures as GCC.  With the help of the Intel
compiler group, we've determined that the Intel compiler can be
identified at compile time by the definition of the preprocessor
variable __INTEL_COMPILER.

These changes make all of the assembly code currently written to
simply avoid the Intel compiler.

This is an interim solution to get a build working despite the
Intel compiler.  A more correct solution has been identified, see
the discussion of bug #147013 for more information.
2004-07-17 05:24:08 +00:00
Sven Neumann 76a5689fc5 also register the internal XCF handlers according to the new scheme.
2004-07-17  Sven Neumann  <sven@gimp.org>

	* app/xcf/xcf.c (xcf_init): also register the internal XCF
	handlers according to the new scheme.

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/hrz.c: removed the HRZ file plug-in since it
	doesn't seem to be very useful.
2004-07-16 22:54:53 +00:00
Sven Neumann 81bdb3c8d0 use g_slist_prepend() instead of g_slist_append().
2004-07-17  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-ins.c (plug_ins_temp_proc_def_add)
	(plug_ins_init_file): use g_slist_prepend() instead of
	g_slist_append().

	* plug-ins/common/url.c (query): ported to the new PDB registration
	scheme.
2004-07-16 22:45:03 +00:00
Sven Neumann 5222925694 sort the file procedures by their menu labels.
2004-07-16  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-ins.c (plug_ins_init): sort the file procedures
	by their menu labels.

	* app/widgets/gimpfileprocview.c: removed the sort function here.
2004-07-16 21:47:06 +00:00
Sven Neumann ccf8ed69e7 app/widgets/Makefile.am app/widgets/widgets-types.h added new widget that
2004-07-16  Sven Neumann  <sven@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpfileprocview.[ch]: added new widget that offers
	a treeview on file procedures.

	* app/widgets/gimpfiledialog.[ch]: replaced the file type option
	menu with the new GimpFileProcView widget.
	(gimp_file_dialog_set_image): reset the file type to Automatic
	(fixes bug #141535).

	* app/actions/file-commands.c
	* app/gui/file-open-dialog.[ch]
	* app/gui/file-save-dialog.[ch]: changed accordingly.

	* plug-ins/common/bz2.c
	* plug-ins/common/gz.c: don't register "xcf.gz" and "xcf.bz2"
	extension. It's redundant and breaks the code that sets the
	extension from the selected file-type.

	* plug-ins/common/dicom.c: register a shorter menu label.

	* plug-ins/common/gbr.c
	* plug-ins/common/gih.c
	* plug-ins/common/pat.c
	* plug-ins/common/url.c: register stock icons.
2004-07-16 21:24:39 +00:00
William Skaggs 07b8bed29a Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/Lighting/lighting_main.c
	* plug-ins/Lighting/lighting_main.h
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/Lighting/lighting_preview.h
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/Lighting/lighting_ui.c:  Made this plug-in support
	multiple light sources; implemented three, architecture now
	supports any number.  Changed material properties to more intuitve
	names; added "metallic" property.  Cleaned out some unused,
	commented-out code.
2004-07-16 19:41:21 +00:00
Michael Natterer a456ac9bde include "libgimpbase/gimpbase.h" instead of "libgimpbase/gimpparasite.h"
2004-07-16  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb.pl: include "libgimpbase/gimpbase.h" instead of
	"libgimpbase/gimpparasite.h" for getting the GimpParasite type.

	* tools/pdbgen/app.pl
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/guides.pdb
	* tools/pdbgen/pdb/image.pdb: removed redundant #includes.

	* tools/pdbgen/pdb/plug_in.pdb: standardized "success" logic.
	Consistetly fail if there is no currently queried plugin.

	* app/pdb/*.c: regenerated.
2004-07-16 14:43:56 +00:00
Michael Natterer 147775d63d made gtk-doc even happier; clarified meaning of the "use_offsets"
2004-07-16  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-transform.c: made gtk-doc even
	happier; clarified meaning of the "use_offsets" parameter.
2004-07-16 12:41:05 +00:00
Sven Neumann 8c4b7b5aba app/display/gimpdisplayshell.c corrected API documentation, removed
2004-07-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c:
	* app/display/gimpcanvas.c:
	* app/display/gimpdisplayshell.c
	* app/display/gimpdisplayshell-transform.c: corrected API
	documentation, removed trailing whitespace.

	Please do always build the documentation if you add or change any
	gtk-doc comments.
2004-07-16 10:07:30 +00:00
William Skaggs 0787e0304f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/display/gimpcanvas.c:
	* app/display/gimpdisplayshell-transform.c: added gtk-doc
	comments for all public functions that lack them.

	* app/display/gimpdisplayshell.c: added a couple of
	gtk-doc comments.
2004-07-15 23:02:52 +00:00
William Skaggs aced3f7910 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpdata.c: added gtk-doc comments for
	public functions.
2004-07-15 19:01:57 +00:00
Shlomi Fish 596ce390b3 normalized the identifiers of paper.c and paper.h. Made one variable local
* plug-ins/gimpressionist/: normalized the identifiers of
paper.c and paper.h. Made one variable local to the function
instead of module static.
2004-07-15 18:09:48 +00:00
Shlomi Fish 2f5a1d8a7b normalized the ppmtools.c and ppmtool.h identifiers. Also fixed some (but
* plug-ins/gimpressionist/: normalized the ppmtools.c and
ppmtool.h identifiers. Also fixed some (but not all) of the
syntax.
2004-07-15 11:58:47 +00:00
Philip Lafleur f162a82e2a Fixed typo. 2004-07-15 11:14:15 +00:00
Philip Lafleur de5aa52eb8 Applied a patch from Brion Vibber that fixes byte-swapping on big endian
2004-07-15  Philip Lafleur  <plafleur@cvs.gnome.org>

	* plug-ins/winicon/icoload.c:
	* plug-ins/winicon/icosave.c: Applied a patch from Brion Vibber
	that fixes byte-swapping on big endian hosts.	Fixes bug #147610.
2004-07-15 11:10:09 +00:00
Sven Neumann 9098878252 plug-ins/helpbrowser/dialog.c don't warn if no help pages are installed
2004-07-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c
	* plug-ins/helpbrowser/uri.c: don't warn if no help pages are
	installed and the Home button is clicked.
2004-07-15 10:39:59 +00:00
Michael Natterer 963b941d39 don't crash if no layer or only one layer is visible. Fixes bug #143804.
2004-07-15  Michael Natterer  <mitch@gimp.org>

	* app/file/file-open.c (file_open_layer): don't crash if no
	layer or only one layer is visible. Fixes bug #143804.

	* app/app_procs.c (app_run): fixed log domain registration.
2004-07-15 10:37:03 +00:00
Michael Natterer 9b28b36ff8 app/app-docs.sgml more updates.
2004-07-15  Michael Natterer  <mitch@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: more updates.
2004-07-15 10:18:32 +00:00
Michael Natterer c9d31f6e97 corrected API docs and fixed function parameter names to silent gtk-doc
2004-07-15  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpviewable.[ch]: corrected API docs and fixed
	function parameter names to silent gtk-doc warnings.
2004-07-15 09:53:17 +00:00
Michael Natterer 4812d3165a register a log handler for the "Gimp-Menus" domain.
2004-07-15  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c (app_run): register a log handler for the
	"Gimp-Menus" domain.
2004-07-15 09:29:01 +00:00
Philip Lafleur 7327a2ed51 cleanup.
2004-07-15  Philip Lafleur  <plafleur@cvs.gnome.org>

	* plug-ins/common/mng.c: cleanup.
2004-07-15 06:57:46 +00:00
Dmitry Mastrukov 192e557a37 ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2004-07-15 04:52:09 +00:00
William Skaggs 9c7c6e4221 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpviewable.c: added gtk-doc comments for public
	functions.
2004-07-14 23:41:41 +00:00
Michael Natterer 6fb2502e72 reordered to match the .c file.
2004-07-15  Michael Natterer  <mitch@gimp.org>

	* app/actions/file-commands.h: reordered to match the .c file.

	* app/core/gimpitem.c
	* app/vectors/gimpvectors-import.c: fixed API docs.
2004-07-14 23:14:49 +00:00
Michael Natterer 8098af32f6 app/app-docs.sgml app/app-sections.txt updated and reviewed.
2004-07-15  Michael Natterer  <mitch@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt
	* app/app.types: updated and reviewed.
2004-07-14 23:10:57 +00:00
Philip Lafleur 6f6c71d01c Fixed erroneously reported warning message when saving indexed layers with
2004-07-14  Philip Lafleur  <plafleur@cvs.gnome.org>

	* plug-ins/common/png.c:
	* plug-ins/common/mng.c: Fixed erroneously reported warning
	message when saving indexed layers with an alpha channel but
	no transparent pixels.
2004-07-14 22:09:51 +00:00
Sven Neumann deb8f7bfc4 register a log handler for the "Gimp-Actions" domain.
2004-07-14  Sven Neumann  <sven@gimp.org>

	* app/app_procs.c (app_run): register a log handler for the
	"Gimp-Actions" domain.
2004-07-14 21:27:11 +00:00