because it confuses gtk-doc and breaks some links. Also change the
"Index of new symbols in GIMP 2.x" sections to be what seems to be the
modern standard (looked at the GLib and GTK+ docs), and update some
other stuff.
2009-01-17 Michael Natterer <mitch@gimp.org>
* all files with a GPL header and all COPYING files:
Change licence to GPLv3 (and to LGPLv3 for libgimp).
Cleaned up some copyright headers and regenerated the parsers in
the ImageMap plugin.
svn path=/trunk/; revision=27913
2007-09-21 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreview.c: formatting.
* libgimpwidgets/gimpscrolledpreview.c: make use of freeze/thaw to
reduce the number of updates during initialization.
svn path=/trunk/; revision=23602
2007-01-11 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreview.[ch]: added transform and
untransform
methods.
* libgimp/gimpzoompreview.c: more cleanups. Override the new
GimpPreview methods.
* plug-ins/common/nova.c: use the new transform functions.
* libgimpwidgets/gimpwidgets.def: updated.
svn path=/trunk/; revision=21689
2006-02-06 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreview.c: connect-after to "realize" and
"size-allocate" signals of the preview area and call the
set-cursor method from the callback.
* libgimpwidgets/gimpscrolledpreview.c: no need to explicitely set
the cursor now that the virtual method is used correctly.
* libgimp/gimpzoompreview.c: implement set-cursor and set the move
cursor in accordance with the zoom factor.
2005-09-28 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreview.[ch]: renamed newly added function to
gimp_preview_get_controls(). Increased row padding for controls.
* libgimpwidgets/gimpwidgets.def
* libgimp/gimpzoompreview.c: changed accordingly.
* libgimpbase/gimputils.c (gimp_enum_get_value): ref the enum
class instead of only peeking at it.
* libgimpwidgets/gimpzoommodel.c (gimp_zoom_button_new): set a
tooltip on zoom buttons that only show an icon.
2005-09-28 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreview.[ch]: added a hbox to the table and
the "Update Preview" checkbutton there. Added a function to access
this control box. Increased default size to 200.
* libgimpwidgets/gimpscrolledpreview.[ch]: added function
gimp_scrolled_preview_set_policy() to control when the scrollbars
should be shown.
* libgimpwidgets/gimpwidgets.def: updated.
* libgimp/gimpzoompreview.c: pack the zoom buttons into the
preview's control box. Commented out the label, it shows a bogus
zoom factor. Set scrollbar policy to ALWAYS to avoid resizing.
* libgimpwidgets/gimpzoommodel.[ch]: New object to handle zoom
factor, and create widgets to control or view this value.
* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgets.h: Added gimpzoommodel.[ch].
* libgimpwidgets/gimpwidgetsenums.h: new enum: GimpZoomWidgetType.
This enumerate which knid of widget you can created from the zoom
model.
* libgimpwidgets/gimpwidgetsenums.c
* libgimpwidgets/gimpwidgetstypes.h: regenerated.
* libgimpwidgets/gimppreview.c: move the update toggle to the bottom
of the vbox.
* libgimp/Makefile.am
* libgimp/gimpui.h
* libgimp/gimpuitypes.h
* libgimp/gimpzoompreview.[ch]: New widget, derivated from
GimpScrolledPreview, which offer the same functionnalities as the
GimpAspectPreview widget plus zoom facilities.
* plug-ins/common/AlienMap2.c
* plug-ins/common/apply_lens.c
* plug-ins/common/blinds.c
* plug-ins/common/channel_mixer.c
* plug-ins/common/colorify.c
* plug-ins/common/flarefx.c
* plug-ins/common/illusion.c
* plug-ins/common/jigsaw.c
* plug-ins/common/mapcolor.c
* plug-ins/common/max_rgb.c
* plug-ins/common/nova.c
* plug-ins/common/polar.c
* plug-ins/common/retinex.c
* plug-ins/common/waves.c
* plug-ins/common/whirlpinch.c: use a GimpZoomPreview instead of a
GimpAspectPreview.
2005-07-21 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreview.[ch]: added gimp_preview_get_area()
for the rare case when one needs access to the GimpPreviewArea
used in the preview.
* libgimpwidgets/gimpwidgets.def: updated.
* libgimpwidgets/gimpscrolledpreview.[ch]: new function:
gimp_scrolled_preview_set_position () to set the position of the
preview content wrt the drawable. This function might be moved to a
virtual function of GimpPreview in a near future.
* libgimp/gimpdrawablepreview.c: use this function, so a preview
remembers its position from one invocation to the next. This is done
using the current executable name as a key for gimp_set/get_data () so
each plug-in can have its preview on a different place.
More informations could be saved this way: the update toggle, the checks, etc.
Addresses bug #162286.
* libgimpwidgets/gimppreview.c: smallish cleanup.
2004-11-29 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreview.c (gimp_preview_toggle_callback):
change the "update" property and notify listeners (in particular
GimpDrawablePreview) before invalidating the preview. Plug-ins
might (needlessly) look at the property to decide whether they
need to redraw. Fixes bug #159816.
* plug-ins/common/unsharp.c (preview_update): no need to look at
the value of the "Preview" toggle. GimpPreview takes care this.
* libgimpwidgets/gimppreview.[ch]: added a new function to set the
default cursor on preview: gimp_preview_set_default_cursor().
* libgimpwidgets/gimpscrolledpreview.c: changed accordlingly.
* plug-ins/common/flarefx.c:
* plug-ins/common/nova.c: use this function.
This addresses bug #90519.
* libgimpwidgets/gimppreview.c
* libgimpwidgets/gimppreview.h: split this widget into itself (more
abstract now) and ...
* libgimpwidgets/gimpscrolledpreview.c
* libgimpwidgets/gimpscrolledpreview.h: this widget which also have
some scrollbars and a nagivation preview.
* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
* libgimp/gimpaspectpreview.c
* libgimp/gimpaspectpreview.h: Added this widget, derived from
GimpPreview, which has always the same ratio has the given drawable.
This widget has almost the same api as GimpDrawablePreview, and is
useful for plug-ins that show the whole (scaled) drawable in their
preview.
* libgimp/gimpdrawablepreview.c
* libgimp/gimpdrawablepreview.h: GimpDrawablePreview is now derived
from GimpScrolledPreview.
* libgimp/Makefile.am
* libgimp/gimpui.h
* libgimp/gimpuitypes.h: changed accordingly.
* plug-ins/common/plasma.c: use a GimpAspectPreview.
* plug-ins/common/bumpmap.c
* plug-ins/common/cartoon.c
* plug-ins/common/deinterlace.c
* plug-ins/common/despeckle.c
* plug-ins/common/dog.c
* plug-ins/common/edge.c
* plug-ins/common/engrave.c
* plug-ins/common/exchange.c
* plug-ins/common/gauss.c
* plug-ins/common/grid.c
* plug-ins/common/mblur.c
* plug-ins/common/neon.c
* plug-ins/common/noisify.c
* plug-ins/common/oilify.c
* plug-ins/common/photocopy.c
* plug-ins/common/sel_gauss.c
* plug-ins/common/sharpen.c
* plug-ins/common/shift.c
* plug-ins/common/sobel.c
* plug-ins/common/softglow.c
* plug-ins/common/spread.c
* plug-ins/common/struc.c
* plug-ins/common/unsharp.c
* plug-ins/common/wind.c: use gimp_scrolled_preview_get_position
instead of gimp_preview_get_position.
2004-09-09 Sven Neumann <sven@gimp.org>
* libgimp/gimpdrawablepreview.c
* libgimpwidgets/gimppreview.[ch]: added a navigation popup
similar to the one in the image window. Needs some more work.
2004-09-09 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreviewarea.[ch]: allow to set a maximum size
and center the preview area if its allocation extends the maximum.
* libgimpwidgets/gimppreview.[ch]: derive from GtkVBox, moved the
toggle button out of the table and put the table into an aspect
frame. Added an API to set the preview boundaries. Set the maximum
size of the GimpPreviewArea from that function.
* libgimpwidgets/gimpwidgets.def: added new entries.
* libgimp/gimpdrawablepreview.c: use gimp_preview_set_bounds().
* plug-ins/common/gauss.c: pack the preview widget so that it
resizes with the dialog.
2004-09-04 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreviewarea.[ch]: pass a GdkEventButton to
gimp_preview_area_menu_popup().
* libgimpwidgets/gimppreview.c: implement GtkWidget::popup_menu().
2004-09-03 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreviewarea.[ch]: added
gimp_preview_area_menu_popup(). Not completely finished yet...
* libgimpwidgets/gimppreview.c: use the new function.
2004-09-03 Sven Neumann <sven@gimp.org>
* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_set_drawable):
take care of setting the colormap for indexed drawables.
* libgimpwidgets/gimppreview.c (gimp_preview_area_event): pan with
the first mouse button only. We will need the other buttons.
2004-09-02 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreview.[ch]: made gimp_preview_draw() public,
added some gtk-doc comments.
(gimp_preview_toggle_callback): immidiately invalidate the preview.
* plug-ins/common/gauss.c (gauss): fixed (and simplified) handling
of zero radii by using the new GimpPreview API.
2004-09-01 Sven Neumann <sven@gimp.org>
* libgimp/gimpdrawablepreview.[ch]
* libgimpwidgets/gimppreview.[ch]: always show the "Preview" check
button. Simplified the preview APIs, moved the "size" style
property to the GimpPreview class.
* etc/gtkrc: changed the example accordingly.
* plug-ins/common/despeckle.c
* plug-ins/common/gauss.c
* plug-ins/common/neon.c
* plug-ins/common/sobel.c
* plug-ins/common/softglow.c
* plug-ins/common/spread.c
* plug-ins/common/unsharp.c: follow change in GimpDrawablePreview API.
2004-09-01 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreview.[ch]: set a busy cursor while the
preview is being recalculated.
* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_original):
do nothing if there's no drawable.
2004-09-01 Sven Neumann <sven@gimp.org>
* libgimp/gimpdrawablepreview.c: increased default preview size to
150 pixels. Added a border of 10 pixels around the bounding box of
the selection.
* libgimpwidgets/gimppreview.[ch]: only show the GDK_FLEUR cursor
if there's something to pan. Set the correct page size on the
scrollbar adjustments.
2004-09-01 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreviewarea.[ch]: added new function
gimp_preview_area_set_offsets().
* libgimpwidgets/gimppreview.c: use the new function to let the
checkerboard scroll with the preview.
2004-09-01 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreview.[ch]: delay the emission of the
"invalidated" signal using a timeout. Removed hack that used to
invalidate the preview on button-release.
* plug-ins/common/unsharp.c: no need to fiddle with the slider
update policies any longer.
2004-08-31 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimppreview.c: handle the widget size dynamically.
Hide scrollbars when there's nothing to scroll.
* libgimp/gimpdrawablepreview.c: simplified a lot. The scrollbars
are handled completely in the GimpPreview widget now.
2004-08-31 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimppreview.c (gimp_preview_toggle_callback):
notify the "update" property on the preview, not the toggle.
2004-08-31 Sven Neumann <sven@gimp.org>
* libgimp/gimppreview.c: allow to pan the preview with all mouse
buttons. Set a cursor to indicate that panning is possible.