2000-08-02 Tor Lillqvist <tml@iki.fi>
* libgimp/gimp.def: Add handful of missing functions, that
gdyntext now uses.
* plug-ins/makefile.cygwin: Move gdyntext from unofficial set to
official.
* plug-ins/gdyntext/font_selection.c: Remove unneeded inclusion of
Xlib.h and gdkx.h.
* plug-ins/gdyntext/gdyntext.c: Use G_PI.
2000-08-01 Tor Lillqvist <tml@iki.fi>
* libgimp/gimp.c (gimp_extension_process): Pass correct timeout
value to g_io_channel_win32_wait_for_condition (actually g_poll)
to indicate infinite wait.
2000-08-01 Sven Neumann <sven@gimp.org>
* libgimp/gimputils.[ch]: added g_strcompress from glib-1.3
* plug-ins/gdyntext/gdyntextutil.[ch]: removed since it duplicated
gimp_strescape and the newly added gimp_strcompress.
* plug-ins/gdyntext/Makefile.am
* plug-ins/gdyntext/gdyntext.[ch]
* plug-ins/gdyntext/gdyntext_ui.c
* plug-ins/gdyntext/gdyntextcompat.c: use the new functions and
got rid of some gimp_run_procedure calls since we now have proper
wrappers in libgimp.
* plug-ins/common/autocrop.c
* plug-ins/common/gif.c
* plug-ins/common/gifload.c
* plug-ins/common/guillotine.c
* plug-ins/common/mail.c
* plug-ins/common/screenshot.c
* plug-ins/common/tile.c
* plug-ins/common/zealouscrop.c
* plug-ins/gflare/gflare.c
* plug-ins/gimpressionist/gimpressionist.c
* plug-ins/pagecurl/pagecurl.c
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu.c: replaced gimp_run_procedure
calls with functions from libgimp that wrap the PDB calls.
Sorry, all this is untested but I will leave tomorrow and hope to
get some hacking done at Mitch's place. So I wanted that stuff to
be in CVS. There are good chances that it works...
2000-07-31 Tor Lillqvist <tml@iki.fi>
* plug-ins/common/gz.c (load_image,save_image): Change Win32
implementation to be a bit simpler. Use minigzip (from zlib)
instead of the full gzip. Intend to include minigzip with the
(binary) distribution.
* libgimp/makefile.{cygwin,msc}
* app/makefile.{cygwin,msc}: Add G_LOG_DOMAIN.
* app/gimpbrushhose.{c,h}: Really remove these files, as
Adrian tried on August 23.
* plug-ins/script-fu/script-fu.c: Enable the script-fu console on
Win32, too.
* plug-ins/script-fu/script-fu-console.c: Now with new GLib
GIOChannel implementaion, compile for Win32, too. Use
g_io_add_watch instead of gdk_input_add (on Unix, too). The
callback for g_io_add_watch is passed a GIOChannel, while the
callback for gdk_input_add is passed a file descriptor. On Win32
(and possibly other non-Unices) we want GIOChannels, as we must
use g_io_channel_read to read from file descriptors being
watched. Works as previously on Unix this way, too.
Sun Jul 30 12:52:16 CEST 2000 Stanislav Brabec <utx@penguin.cz>
* plug-ins/gap/gap_mov_dialog.c: Removed embedded EOLs and spaces from
tooltips, few typos.
Sun Jul 30 12:52:16 CEST 2000 Stanislav Brabec <utx@penguin.cz>
On request of Martin Weber <martweb@gmx.net>:
* plug-ins/sel2path/bitmap.h
* plug-ins/sel2path/bounding-box.h
* plug-ins/sel2path/global.h
* plug-ins/sel2path/math.c
* plug-ins/sel2path/vector.c
* plug-ins/sel2path/vector.h
plug-ins/sel2path has a number of functions that are declared as
returning a `const' return value. The ANSI spec is a bit vague on it,
but my reading of the spec indicates that the intent is that this is
not legal. In any case, at least one compiler (the compiler on AIX and
on IRIX and lcc) objects to functions that are declared/defined to
return a const value.
2000-07-30 Michael Natterer <mitch@gimp.org>
* app/errors.[ch]
* app/main.c
* libgimp/gimp.c: my last commit redirected all messages to the
console. Use g_log_set_handler() instead of g_set_message_handler()
(which is deprecated anyway).
2000-07-30 Michael Natterer <mitch@gimp.org>
* app/Makefile.am
* libgimp/Makefile.am: set G_LOG_DOMAINs for the app and for
libgimp so we can distinguish their warnings from plug-in ones.
* libgimp/gimp.c: set the stack_trace_mode before installing
signal handlers.
2000-07-30 Sven Neumann <sven@gimp.org>
* plug-ins/gdyntext/gdyntext_ui.c: use gimp_ui_init(). This also
fixes a bug we had fixed in the latest version but was
reintroduced now by upgrading to 1.5.0. This caused empty text
layers to be drawn when LANG != C. Seems to work fine now.
2000-07-30 Michael Natterer <mitch@gimp.org>
* gimp_splash.ppm: while trying to confuse ChangeLog readers
with his log below, Tigert thought that GIMP thought that the
.ppm extension determined the image's format. OTOH, GIMP thought
that Tigert thought that he wanted to save the image as .png but
with a broken extension. This can be considered either GIMP's
bug or a bug of <tigert>/dev/brain. We can make a poll on this,
but I suspect the broken "Save as..." to be the one to blame.
2000-07-30 Sven Neumann <neo@wintermute.ochsenblut.de>
* app/tools.c (tool_options_close_callback): use
gimp_dialog_hide() instead of gtk_widget_hide(). Closes bug #19164.
2000-07-30 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/helpbrowser.c: activate the help page
when clicking into the combo-box displaying the title and use
the webbrowser plug-in (which should call Netscape) to handle
non-local links.
--Sven
2000-07-30 Tor Lillqvist <tml@iki.fi>
* libgimp/gimp.c
* libgimp/gimp.h
* libgimp/gimpmenu.c
* libgimp/gimpprotocol.c
* libgimp/gimpprotocol.h
* libgimp/gimp.def
* app/plug_in.c
* plug-ins/helpbrowser/helpbrowser.c
* plug-ins/script-fu/script-fu.c: As the GLib main loop and IO
channel implementation on Win32 now provides the same interface as
that on Unix, much of the Win32-only crap could be
removed. Especially, no need for "wakeup" out-of-band messages to
wake up pipe readers. No need for plug-ins to tell GIMP their
thread id.
* libgimp/gimp.c (gimp_extension_process): On Win32, use the new
g_io_channel_win32_wait_for_condition() function.
* plug-ins/makefile.cygwin: Add the homogenizer plug-in to the
unofficial part.
2000-07-30 Tor Lillqvist <tml@iki.fi>
* ko.po: Remove the space from the end of one message I added on
1999-10-31... To generate UTF-8 messages I now use iconv from
libiconv, and it complains if the space is there.
But OTOH this file hasn't been kept at all up to date,
lots of presumably totally bogus (fuzzy) translations,
so it probably should not be included in distributions
anyway.
2000-07-29 Sven Neumann <sven@gimp.org>
* plug-ins/common/decompose.c:
applied gimp-kirchgessner-000728-0, a patch by Peter Kirchgessner
that resolves request #16795 and changes the generated filenames
for decomposed images.
* app/authors.h
* tools/authorsgen/Makefile.am
* tools/authorsgen/authorsgen.pl: works better now
--Sven
2000-07-29 Michael Natterer <mitch@gimp.org>
* cursors/background.xbm
* cursors/background_mask.xbm
* cursors/foreground.xbm
* cursors/foreground_mask.xbm
* cursors/pattern.xbm
* cursors/pattern_mask.xbm: new files.
* cursors/gimp-tool-cursors.xcf
* app/cursorutil.[ch]: new cursor modifiers for bucket_fill.
* app/bucket_fill.c: use the new modifiers. Closes#17871.
* app/convolve.c
* app/dodgeburn.c: added cursor_update functions which update the
tools' "toggled" state before they call the cursor_update "method"
of the paint_core "class" -- eek -- I-want-real-objects!
Closes#17872 and #17873.
* app/tools.h: added SELECTION_ANCHOR to the SelectOps enum.
* app/free_select.c
* app/rect_select.c: use the new enum value in the "oper_update"
and "cursor_update" functions. In the "motion" function, set the
tool's operation type back to SELECTION_REPLACE if the tool is
active and call the "cursor_update" function explicitly.
Closes#17870.
* app/by_color_select.c: fixed warning caused by the new enum value.
Tue Jul 18 23:34:34 BST 2000 Austin Donnelly <austin@gimp.org>
* plugs-ins/common/gif.c: The gif save plugin normally asks the
user if it's ok to crop the image if there are layers larger
than the image size. This isn't a good idea if we're running
with run_mode == NON_INTERACTIVE. Fix similar to that
suggested by Bryan Livingston <bryan@cooltext.com> on
gimp-developer mailing list.
* app/layer.c: Fix for Bug#17347: Scale Layer leaves artifacts.
Basic problem is that scaling a layer when there's a selection
active (eg there's a floating selection) doesn't invalidate
the layer bounds. Same problem with resizing a layer,
although the bug report didn't mention that. Fixed by changing
layer_resize() and layer_scale_lowlevel() to call
layer_invalidate_boundary() once done changing the layer.
2000-07-18 Tor Lillqvist <tml@iki.fi>
* libgimp/gimp.c (gimp_flush): Add horrible hack that seems to
help script-fu startup on NT 4.0, by avoiding some bug in GLib.
Yes, it would be better to fix GLib's main loop and GIOChannel
code for Win32. Unfortunately, it's kinda hairy...
* libgimp/gimp.h: Add extern "C" to the Win32 part for compiling
C++ plug-ins.
* plug-ins/makefile.cygwin: Add a couple of new unofficial
plug-ins. Use macros from build/win32/make.mingw.
* plug-ins/common/warp.c: Use G_PI.
2000-07-16 Michael Natterer <mitch@gimp.org>
Sven Neumann <sven@gimp.org>
* AUTHORS
* gimp.1.in
* app/about_dialog.c: removed two accidentially added non-authors.
* app/errors.[ch]
* app/main.c: added a new command line option
"--enable-stack-trace" which can be one of {never|query|always}.
* app/plug_in.c
* libgimp/gimp.c: pass the stack trace mode as an argv[] element to
plug-ins. Cleaned up the plug-ins' argv[] (removed unused TILE_WIDTH
and TILE_HEIGHT arguments, always pass 6 arguments to make the code
simpler).
* libgimp/gimpenums.h
* plug-ins/script-fu/script-fu-constants.c
* tools/pdbgen/Makefile.am
* tools/pdbgen/enums.pl: export the app's STACK_TRACE_MODE enum.
* plug-ins/common/plugindetails.c: made the titles of the tree view
unclickable, cleanups.
2000-07-15 Sven Neumann <neo@wintermute.ochsenblut.de>
* configure.in: added pt_BR to ALL_LINGUAS
* tools/Makefile.am: only build gimp-remote if libXmu
is available. Added a target for kernelgen while I was
on it.