2002-11-07 Sven Neumann <sven@gimp.org>
* app/widgets/gimpbrushpreview.c
(gimp_brush_preview_render_timeout_func): fixed a bug spotted
by Jim Meyer (#97911) and added a missing call to
gtk_widget_queue_draw().
2002-11-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/papertile.c: applied a patch from Toby Smith
that moves the call to gimp_drawable_mask_bounds() to the filter()
function so that the filter is applied to the correct selection
even if it changed after the plug-in dialog was opened.
* plug-ins/common/unsharp.c (unsharp_mask_dialog): allow larger
values for the radius (as suggested #92250).
* plug-ins/common/png.c: applied patch from Raphael Quinet that
untoggles the "Save background color" option for images w/o an
alpha channel (#92395).
2002-11-06 Sven Neumann <sven@gimp.org>
* app/base/base.c (base_init): don't say we'd use MMX if it is
disabled.
* libgimpmodule/gimpmodule.[ch]
* app/gui/module-browser.c: changed enum values and user-visible
strings to saner values.
* libgimpmodule/gimpmoduledb.c
* plug-ins/tools/tool-safe-mode.c: made them less verbose.
2002-11-06 Sven Neumann <sven@gimp.org>
* app/xcf/xcf-save.c
* app/xcf/xcf.c: save as XCF version 2 if one of the new layer
modes is used.
* plug-ins/gflare/gflare.c: fixed#97766 along with a couple of
other GUI issues.
2002-11-05 Sven Neumann <sven@gimp.org>
* plug-ins/common/mapcolor.c: fixed stupid bug that caused this
plug-in to map to undefined values. Spotted by David Necas (#97780).
* tools/authorsgen/contributors: added some names.
* AUTHORS
* app/gui/authors.h: regenerated.
2002-11-05 Sven Neumann <sven@gimp.org>
* plug-ins/gflare/gflare.c: applied a couple of patches from
yeti@physics.muni.cz that fix various issues with the GFlare
plug-in. Most of these were introduced when doing the (still
unfinished) port to GTK+-2.0 (#97761, #97764, #97765).
Did some more changes while I was on it...
* plug-ins/gflare/gflares/Bright_Star
* plug-ins/gflare/gflares/Classic
* plug-ins/gflare/gflares/Default
* plug-ins/gflare/gflares/Distant_Sun
* plug-ins/gflare/gflares/GFlare_101
* plug-ins/gflare/gflares/GFlare_102
* plug-ins/gflare/gflares/Hidden_Planet: applied a patch from
yeti@physics.muni.cz that changes the names to use spaces instead
of underscores (#97763).
2002-11-05 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpcolorselector.[ch]: added virtual functions
set_toggles_visible() and set_toggles_sensitive(). Added a
stock_id. Emit "color_changed" and "channel_changed" on
set_color() and set_channel() resp.
* libgimpwidgets/gimpcolornotebook.[ch]: implement the new
methods. Added gimp_color_notebook_set_has_page() to control
which selectors a notebook contains.
* libgimpwidgets/gimpcolorscales.[ch]: removed the toggle
API and implement the new methods.
* libgimpwidgets/gimpcolorselect.c: added toggle buttons for the
channels so the widget doesn't need external ones.
* app/gui/color-notebook.c: changed accordingly.
* libgimpwidgets/gimpstock.[ch]
* themes/Default/images/Makefile.am
* themes/Default/images/stock-color-triangle-16.png: added a
(bad) icon for the triangle color selector.
* modules/colorsel_triangle.c: use the new icon.
* modules/colorsel_water.c: use the "Paintbrush" icon for now.
* app/widgets/gimpcoloreditor.[ch]: new widget for editing the
FG/BG color featuring a color notebook, stock buttons for
selecting the pages and a GimpPickButton.
* app/widgets/Makefile.am
* app/widgets/widgets-types.h: changed accordingly.
* app/gui/dialogs-constructors.[ch]
* app/gui/dialogs.c: added a dockable wrapper for GimpColorEditor.
* app/gui/menus.c: added it to the menus. Also added separate
Layers, Channels and Paths entries. Bind <ctrl>L to the new
callback so it doesn't always create a new layers dialog.
2002-11-05 Michael Natterer <mitch@gimp.org>
* libgimpmodule/gimpmodule.c: on error, always close the module
using gimp_module_close(), not g_module_close() so all stuff gets
reset. Set module->state *after* calling gimp_module_close().
Added more error checking & messages.
2002-11-04 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimppickbutton.[ch]: new GtkButton subclass
implementing the pick-from-everywhere eyedropper known from
GtkColorSel. Code shamelessly stolen from there.
* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgets.h
* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
2002-11-04 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdock.c (gimp_dock_class_init): connect
book_removed()'s default implementation correctly so dock auto
destruction on last dockbook removal works again.
2002-11-04 Michael Natterer <mitch@gimp.org>
* app/widgets/gimppreview.[ch]: removed idle rendering and render
the preview on "expose" if needed. Renamed gimp_preview_render()
to gimp_preview_update(). Cleanup.
* app/widgets/gimpimagefilepreview.c
* app/widgets/gimpselectioneditor.[ch]
* app/widgets/gimptoolinfopreview.c: changed accordingly.
2002-11-02 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpcolorarea.[ch]: simplified the code and
improved the performance by getting rid of the idle function.
Simply rerender the buffer on expose if necessary.
2002-11-02 Sven Neumann <sven@gimp.org>
* app/display/gimpprogress.c (gimp_progress_update): force an update
of the progress bar (#97459, reported by Akkana).
2002-11-01 Michael Natterer <mitch@gimp.org>
* app/gui/file-open-dialog.[ch]: added "gimage" and "uri"
parameters to file_open_dialog_show(). If an image is passed, go
to that image's directory, for an uri, preselect the file.
Fixes bug #96779.
* app/gui/menus.c: pass "action" to file_open_cmd_callback() so we
can distinguish if it was invoked from the toolbox or an image.
* app/gui/file-commands.[ch]: if invoked from an image, pass it to
file_open_dialog_show().
* app/widgets/gimpdocumentview.c: pass the selected document's uri
to file_open_dialog_show().
* app/gui/file-save-dialog.c: use gimp_image_get_filename()
instead of fiddling with the image's uri manually.
2002-11-01 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdataeditor.c
* app/widgets/gimpimageview.c: changed some debugging output to
say "TODO: ...".
2002-11-01 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpcolorscale.[ch]: improved preformance by
rendering the buffer only when needed for an expose instead of
after each color/channel change.
2002-11-01 Michael Natterer <mitch@gimp.org>
* libgimpcolor/gimpcolorspace.h (gimp_rgb_to_hsv4): "rgb" and
"hsv" parameters were swapped in the header. All users however
used the function as implemented, not as documented.
2002-10-31 Sven Neumann <sven@gimp.org>
* app/gui/color-notebook.c: make the dialog a "normal" window if
it is created w/o an action area (#97364).
* plug-ins/Lighting/lighting_preview.c: removed use of deprecated
GDK functions.
2002-10-31 Sven Neumann <sven@gimp.org>
* plug-ins/common/gauss_iir.c
* plug-ins/common/gauss_rle.c
* plug-ins/common/sel_gauss.c:
applied a patch from Guillermo S. Romero that extends the range of
valid radii to > 0.0 for these blur plug-ins (#97166).
2002-10-31 Sven Neumann <sven@gimp.org>
* app/gui/color-notebook.c: removed the white and black color
buttons since white and black are trivial to select anyway.
2002-10-31 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpcolorscale.c: added the missing bits for
channel == GIMP_COLOR_SELECTOR_ALPHA and for vertical orientation.
2002-10-30 Sven Neumann <sven@gimp.org>
* libgimpwidgets/Makefile.am: install gimpcolorscale.h.
* libgimpwidgets/gimpcolorscale.c: changed the sliders to black
and white arrows.
2002-10-30 Michael Natterer <mitch@gimp.org>
* app/core/gimpdata.[ch] (gimp_data_delete_from_disk): don't
g_message() on error but return a GError.
* app/widgets/gimpdatafactoryview.c: show the message here.
2002-10-30 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpcolorscale.c: fixed rendering for partial
expose events.
* libgimpwidgets/gimpwidgets.[ch]: added gimp_color_scale_entry_new().
* libgimpwidgets/gimpcolorscales.c: use the color scales.