* plug-ins/common/shift.c
* plug-ins/common/sinus.c
* plug-ins/common/snoise.c
* plug-ins/common/spheredesigner.c: added missing calls to
g_rand_free (), remove tabs while I was at it.
* plug-ins/common/smooth_palette.c: minor cleanup
* plug-ins/common/spread.c: removed tabs.
2004-07-27 Sven Neumann <sven@gimp.org>
* libgimpbase/Makefile.am
* libgimpbase/gimpbase.h
* libgimpbase/gimpbase.def
* libgimpbase/gimpmemsize.[ch]: added new files with memsize
related functions (moved here from gimputil.c) and
GIMP_TYPE_MEMSIZE (moved here from app/config/gimpconfig-types.[ch]).
* libgimpbase/gimputils.[ch]: removed gimp_memsize_to_string() here.
* libgimpbase/gimpunit.[ch]: added GIMP_TYPE_UNIT (moved here from
app/config/gimpconfig-types.[ch]).
* libgimpbase/gimpbase-private.c
* libgimp/gimptile.c
* libgimp/gimpunitcache.c
* plug-ins/help/domain.c
* app/xcf/xcf-read.c: need to include glib-object.h.
* plug-ins/common/uniteditor.c: use GIMP_TYPE_UNIT.
* app/config/gimpconfig-types.[ch]: removed code that lives in
libgimpbase now.
* app/config/gimpconfig-deserialize.c: changed accordingly.
* app/config/gimpbaseconfig.c
* app/config/gimpdisplayconfig.c
* app/core/gimpcontext.c
* app/gui/grid-dialog.c
* app/tools/gimpcolortool.c
* app/widgets/gimpaction.c
* app/widgets/gimpunitstore.c: no need to include gimpconfig-types.h
any longer.
2004-07-27 Michael Natterer <mitch@gimp.org>
* libgimp/Makefile.am
* libgimp/gimp.h
* libgimp/gimpui.h
* libgimp/gimppalettemenu.[ch]
* libgimp/gimppaletteselect.[ch]: added palette select wrapper and
widget (straight copy & string replace of the font select stuff).
Fixes bug #136130.
* plug-ins/script-fu/script-fu-enums.h
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/siod-wrapper.c: added SF_PALETTE so it can
be used in scripts.
* plug-ins/script-fu/scripts/test-sphere.scm: added a palette
parameter to the test script.
* plug-ins/gimpressionist/: placed all the orientation map-related
public functions in orientmap.h. Now we're freeing the PPM's that it
is allocating by a call to orientation_map_free_resources().
2004-07-26 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmp.h
* plug-ins/bmp/bmpread.c: applied a patch by Brion Vibber that
fixes extra data overflow, nonstandard 16bpp field arrangement
and unrecognized compression (bug #143682).
* plug-ins/common/decompose.c: clamp results of LAB decomposition
so that out-of-gamut conversions do not overflow and get
badly distorted. Fixes bug #147603. Note that it would probably
be a good idea to do similar things for other conversion types.
* plug-ins/gimpressionist/: fixed bug #148088: ("Gimpressioinst crashes if
given malicious presets with out of range values, in the radio buttons
group numeric values: "placetype", "orienttype", etc. ").
This was done by adding clamps to the relevant values in the preset.
2004-07-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/gif.c: declared global const variable as static.
Fixes compiler warnings seen with gcc 3.4.1 (don't ask me why).
2004-07-21 Michael Natterer <mitch@gimp.org>
* app/widgets/gimptemplateeditor.c
* plug-ins/common/gif.c
* plug-ins/common/jpeg.c: set GTK_SHADOW_IN on scrolled windows of
text views. Fixes bug #148025.
* 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: completely reworked UI for
lighting page. Now supports up to 6 lights (more is trivial).
Added ability to temporarily isolate selected light. Added
light intensity controls. Can interactively position each light
(does not quite work yet for directional lights).
* plug-ins/gimpressionist/presets.c: fixed the incorrect strings
for input and output of the preset's fields. (a relic of an
irresponsible search-and-replace script).
* plug-ins/gimpressionist/: normalized the identifiers of
orientmap.c.
2004-07-20 Sven Neumann <sven@gimp.org>
* plug-ins/MapObject/Makefile.am (MapObject_SOURCES): added back
arcball.h.
* plug-ins/MapObject/mapobject_main.c
* plug-ins/MapObject/mapobject_preview.c: no need to include
arcball.h here.
2004-07-20 Sven Neumann <sven@gimp.org>
* plug-ins/Lighting/lighting_ui.c: fixed some GUI issues:
left-align labels, use stock buttons, added line-breaks to make
the code fit into 80 columns.
2004-07-19 Sven Neumann <sven@gimp.org>
* plug-ins/Lighting/lighting_ui.c: fixed a couple of issues with
the new code: don't include individual glib headers, never ever
use sprintf(), mark user-visible strings for translations, use
default messages, removed trailing whitespace.
* 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-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-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-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 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.
* 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 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-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 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.
* 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-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 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-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 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.[ch]
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/siod-wrapper.[ch]
* plug-ins/script-fu/siod/slib.c: applied a patch from Kevin
Cozens that removes an unneeded pipe which was causing problems
on long output from the SIOD interpreter (bug #139200). Also
shortened the welcome message.
2004-07-14 Philip Lafleur <plafleur@cvs.gnome.org>
* plug-ins/common/mng.c: Now writes a global palette chunk, and
empty palette chunks for the frames that use it. This saves a
bit of diskspace.
2004-07-14 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff.c: applied a patch done by Brion Vibber
and Philip Lafleur that fixes loading of CMYK TIFF images on
big-endian hardware (bug #147328).