* app/gdisplay_color_ui.c: fixed a crash on Cancel that occured
due to bad list handling
* app/module_db.c: indentation madness, no changes
* app/nav_window.c: set the zoom label and slider first, then
update the preview. Gives better user feedback. This is now what
bugreport #3354 suggest, but it comes close.
* plug-ins/common/plugindetails.c: tried to fix the strange resizing
of the dialog. Should fix bug #3352.
--Sven
* app/edit_selection.c: when moving layers/masks freeze the undo
after the first move to avoid that each and every small movements
puts an undo on the stack. Significantly speeds up layer moves
and especially the undo of a layer move.
* app/gdisplay.h: correct rounding errors
* app/gimpimage.c: correctly display floating selections in the
composite_preview instead of ignoring them
* app/channels_dialog.c
* app/layers_dialog.c
* app/lc_dialog.c: s/gtk_widget_draw/gtk_widget_queue_draw/
--Sven
Thu Nov 4 22:06:24 GMT 1999 Andy Thomas <alt@gimp.org>
* app/gradient_select_cmds.c
* tools/pdbgen/pdb/gradient_select.pdb
Fixed crash when main gradient dialog is opened and
one lauched via the PDB interface (ie scriptfu) is also open.
* app/channel.c: get rid of compiler warnings
* app/histogram_tool.c
* app/histogram_tool.h: added a gradient below the histogram so
it looks more like the curves and levels tool
* app/gimpbrushpipe.c
* libgimp/parasiteio.c
* libgimp/parasiteio.h: plugged another mem-leaks. At least
The GIMP now starts without leaking memory...
--Sven
Wed Nov 3 22:36:21 GMT 1999 Austin Donnelly <austin@gimp.org>
* app/text_tool.c: tag text undo group with TEXT_UNDO rather than
silly EDIT_PASTE_UNDO.
* app/undo.c: TEXT_UNDO name
* undo_types.h: new type: TEXT_UNDO, plus fix numbering to make it
consistent (overlapping enums are bad).
1999-11-03 Michael Natterer <mitch@gimp.org>
* app/brush_select.[ch]
* app/gradient.c
* app/gradient_select.[ch]
* app/interface.[ch]
* app/palette.c
* app/pattern_select.[ch]: allow dragging a brush/pattern/... from
the selections with mouse2 without changing the active element in
the dialog.
* app/channels_dialog.c
* app/color_area.c
* app/color_panel.c
* app/color_select.c
* app/colormap_dialog.i.c
* app/devices.c
* app/gimpcontextpreview.[ch]
* app/gimphelp.[ch]
* app/gimpui.[ch]
* app/indicator_area.c
* app/interface.[ch]
* app/layers_dialog.c
* app/lc_dialog.c
* app/ops_buttons.[ch]
* app/paths_dialog.c
* app/preferences_dialog.c
* app/tools.[ch]: wrapped gtk_tooltips_set_tip() with
gimp_help_set_help_data() and moved it to gimphelp.[ch].
This should (hopefully) be the final state of the help system. The
New function allows a "private tip" to be set without a visible
tooltip. This way the tooltips inspector (shift+F1) can search for
help data in the parent containers of the clicked widget. E.g. the
ops buttons in the layers dialog have private tips like
"#new_layer" which gets composed with the help data of the layers
dialog notebook page resulting in a complete help path.
Allow mouse2 for all dnd operations. Mouse1 still works like before.
Tue Nov 2 22:50:31 GMT 1999 Andy Thomas <alt@gimp.org>
* app/undo.h
* app/undo.c
* app/undo_history.c
* pixmaps/question.xpm
Fixed undo history so it shows a dummy image if the preview
image has not already been generated. The actual image
could probably do with an artists hand ;-)
Also mask operations are shown as such in the previews.
* app/lc_dialog.c
Fixed rounding error in preview when width << height.
* plug-ins/common/jpeg.c
Always freeze the undo stack for any of the image export types.
Anyone know why this was not the case to start with?
* app/drawable_cmds.c
* tools/pdbgen/pdb/drawable.pdb: applied (a modified version of) a
patch from Garry R. Osgood <gosgood@idt.net> that should fix bug #2202
and problems with the Warp plug-in.
* app/main.c
* po-plug-ins/POTFILES.in
* plug-ins/common/mail.c: applied a patch from
SHIRASAKI Yasuhiro <yasuhiro@awa.tohoku.ac.jp> that handles i18n issues and fixes a problem in the mail plug-in.
( Could someone please check if the change to app/main.c is the right
thing to do ?! )
* po-plug-ins/POTFILES.in
* plug-ins/common/grid.c
* plug-ins/gap/iter_ALT/gen/plug_in_grid_iter_ALT.inc:
checked in a new version of the Grid plug_in developed by
Tom Rathborne <tomr@aceldama.com> and me.
--Sven
* libgimp/Makefile.am
* libgimp/gimpcolorbutton.[ch]: new widget which provides a simple
button with a color preview together with a completely wired
gtk_color_select_dialog. Color dnd will be added next.
* libgimp/gimpchainbutton.c
* libgimp/gimpchainbutton.h: cleaned up the code a bit and provided
a destroy function which takes care of freeing the memory allocated
for the pixmaps/bitmaps (well at least I hope it does).
* libgimp/gimpunit.c: some cases were handled wrong in
gimp_unit_get_digits().
* plug-ins/megawidget/megawidget.c: follow the GUI conventions when
building the action_area and internationalized the code.
* plug-ins/common/CML_explorer.c: fixed a typo
--Sven
1999-10-31 Tor Lillqvist <tml@iki.fi>
* app/about_dialog.c (scroll_text): Add a couple of missing commas
between names. Add UTF-8 versions of non-ASCII names for the new
UTF-8 based Win32 GDK.
1999-10-30 Michael Natterer <mitch@gimp.org>
* app/gimpdnd.c
* app/undo_history.c: remove the remaining defines of
GRAD_CHECK_SIZE and include libgimp/gimplimits.h instead.
* app/undo_history.c: connect to the image's "rename" signal to
update the window title.
* app/disp_callbacks.c
* app/gdisplay.c
* app/info_window.[ch]: did the same for the info dialog.
The info window has to remember the gdisplay to disconnect from
the image's "rename" signal, so I removed the gdisplay parameter
from the update functions.
1999-10-30 Michael Natterer <mitch@gimp.org>
* app/gimpdnd.c: forgot to set "connected" flag after connecting
to the dnd signals of a specific widget, so the dnd stuff
connected to these signals for every dnd data type (resulting ie
in multiple bucket fills when dropping a color/pattern to the
canvas).
1999-10-30 Michael Natterer <mitch@gimp.org>
* app/lc_dialog.c: removed the GimpImage "destroy" callback
because we already get notified of this event by connecting to the
image context's "remove" signal.
1999-10-30 Michael Natterer <mitch@gimp.org>
* app/ops_buttons.[ch]: added a private tooltip to the
ops_buttons structure. Removed ops_buttons_set_insensitive().
* app/channels_dialog.c
* app/layers_dialog.c
* app/paths_dialog.c
* app/lc_dialog.c: let the ops button's private tips point at the
already existing help pages. Minor fixes.
1999-10-30 Michael Natterer <mitch@gimp.org>
* app_procs.c
* app/commands.[ch]
* app/interface.c
* app/menus.c
* app/session.c
* app/tools.[ch]: namespace cleanups: changed the
"tools_options_*" functions to "tool_options_*" and prefixed all
dialog menu callbacks with "dialogs_*".
Allow dropping a tool to the tool options dialog.
* app/bezier_select.c: change the active tool using context
functions.
* app/dialog_handler.[ch]: replaced the uppercase datatype names
by standard mixed upper/lowercase ones. Provide a function to
register the fileload dialog instead of accessing it as global
variable.
* app/disp_callbacks.c: switch to the move tool using context
functions. Fixed the drop color/pattern functions to convert the
dropped thing to the dest. image's color space.
* app/fileops.c: don't export the fileload dialog as global
variable but register it with the dialog handler instead.
* app/paths_dialog.[ch]: replaced all the uppercase struct names
defined here by mixed upper/lowercase. Introduced a
"set_menu_sensitivity" function like in layers/channels instead of
calling single button on/off functions from various places.
Added a menu entry for "Selection to Path".
1999-10-30 Tor Lillqvist <tml@iki.fi>
* plug-ins/common/wmf.c: Fix a couple of bugs: Must call
make_canvas if necessary when handling CreateFontIndirect. Must
call gdk_gc_set_foreground with the pen colour when handling
LineTo (strange that this hasn't showed up before). Added lots of
debugging printouts (behind #ifdef DEBUG).
1999-10-29 Michael Natterer <mitch@gimp.org>
* app/brush_select.c
* app/gradient_select.c
* app/pattern_select.c: call the PDB callback from the context
callback because it gets called on every change.
* app/interface.c: the tool buttons had the wrong private tooltips
attached.
* app/gimphelp.c: call the help browser with plug_in_run() instead
of procedural_db_execute() to make it really ansynchronous.
Added a GtkTipsQuery tooltips inspector which gets invoked by
<Shift>+F1. Did some illegal juggling with the tips_query's
"parent" pointer which may cause problems, so I made the stuff
disable-able with #ifdef's.
Is there a proper way to create a tips_query widget without having
to show it somewhere??
Thu Oct 28 23:22:34 BST 1999 Andy Thomas <alt@gimp.org>
* app/gimpimage.c
Fixed memory leak with image is deleted.
* plug-ins/common/jpeg.c
Fixed the way the plugin added layers. Preview stuff does not now
get corrupted.
* app/drawable_cmds.c
* tools/pdbgen/pdb/drawable.pdb: The PDB procedures
gimp_drawable_is_[layer|channel|channel_mask] were not renamed,
but changed all over the place. This made the rotate plug-ins
fail.
* app/procedural_db.c: Spit out a warning if a procedure wasn't
found in the PDB. Actually free the hash_table entries on
procedural_db_free().
--Sven
* app/xcf.c: add "(GIMP)" to the menu entry for XCF, in an attempt
to make it clear that it is the native file format.
* app/gimpcontext.c: correct doubled arg name on arg type addition,
which was messing up the internal gtkarg hashtable
-Yosh
* app/gimpimage.c: don't free the old filename pointer till we're
all done, since we might be passed our own filename as a param
and reference it after freeing. The code didn't heed it's own
warning ;) (TigerT, this should fix that filename corruption bug)
-Yosh
1999-10-25 Tor Lillqvist <tml@iki.fi>
* app/cursorutil.h: Uncomment the inclusion of gdkcursor.h that
should happen only with GTk+ 1.3, anyway? Why was it commented
out?
* app/tile_swap.c: Close before unlinking on Win32, too.
* libgimp/gimp.def: Updates, sorted.
* plug-ins/makefile.{cygwin,msc}: Add the gap and imagemap
plug-ins. Remove palette plug-in (what happened to it?).
Portability fixes from Hans Breuer:
* plug-ins/FractalExplorer/Dialogs.c
* plug-ins/gap/*.c:
* plug-ins/gimpressionist/gimpressionist.c:
* plug-ins/common/spheredesigner.c: Ifdefify system-dependent includes.
* plug-ins/common/psp.c: Remove an unused variable.
* plug-ins/imagemap/{imap_csim.y,imap_csim_parse.c}: Use
<string.h>, not <strings.h>.
* plug-ins/imagemap/imap_rectangle.c (rectangle_near_sash): Use
the & operator for function names to return pointers to them.
* plug-ins/winsnap/winsnap.c (sendBMPToGimp):
gimp_drawable_flush() should be called before resizing the layer
and image. Now the snapshot of a window is returned the correct
size, it's not padded in width to a multiple of four pixels.