2002-08-30 James Henstridge <james@daa.com.au>
* pygimp-tile.c (PyGimpPixelRgn_Type): convert to use getsets.
(PyGimpTile_Type): convert to use getsets.
* pygimp-image.c (PyGimpImage_Type): convert getattr and setattr
routines into getsets.
2002-08-28 James Henstridge <james@daa.com.au>
* *.c, pygimp.h: split module into multiple files, and convert
types to Python 2.2 style types. Still need to fix some of the
getattr routines.
2002-08-28 Sven Neumann <sven@gimp.org>
* plug-ins/common/rotate.c (rotate): check if the active drawable
is a layer before using gimp_layer functions on it.
2002-08-28 James Henstridge <james@daa.com.au>
* gimpmodule.c: various updates to get it to compile with latest
gimp. Still need to merge in changes to toplevel configure.in.
2002-08-26 Sven Neumann <sven@gimp.org>
* plug-ins/sel2path/sel2path.c: changed dialog name as suggested
in bug-report #88905 and did some code cleanup while I was at it.
2002-08-26 Michael Natterer <mitch@gimp.org>
Color correction tool chopping:
* app/Makefile.am
* app/image_map.[ch]: removed...
* app/core/Makefile.am
* app/core/core-types.h
* app/core/gimpimagemap.[ch]: ...and added here as object.
* app/base/Makefile.am
* app/base/base-types.h
* app/base/color-balance.[ch]
* app/base/curves.[ch]
* app/base/hue-saturation.[ch]
* app/base/threshold.[ch]: the lowlevel color correction functions
plus their parameter structs cut out of the resp. tools.
* app/core/core-enums.[ch]: removed GimpTransferMode enum...
* app/base/base-enums.[ch]: ...added it here. Also added
GimpHueRange for the new hue-saturation files.
* tools/pdbgen/enums.pl
* libgimp/gimpenums.h
* plug-ins/script-fu/script-fu-constants.c: regenerated.
* app/tools/Makefile.am
* app/tools/gimpcolorbalancetool-transfer.c: removed (code went
to base/color-balance.c).
* app/tools/gimpimagemaptool.[ch]: added most code which was
diplicated in subclasses. Create the dialog here with a nice title
bar including image preview and name (fixes#66033). Added virtual
functions map(), dialog() and reset() which need to be implemented
by subclasses.
* app/tools/gimpbrightnesscontrasttool.[ch]
* app/tools/gimpcolorbalancetool.[ch]
* app/tools/gimpcurvestool.[ch]
* app/tools/gimphuesaturationtool.[ch]
* app/tools/gimplevelstool.[ch]
* app/tools/gimpposterizetool.[ch]
* app/tools/gimpthresholdtool.[ch]: removed tons of duplicated
code and simply implement GimpImageMapTool's virtual functions.
Removed all dialog structs and keep the variables in the tool
structs. The dialogs are now created on-the-fly and destroyed when
the tool goes away, which makes all callbacks much simpler and
safer. Lots of GUI & code cleanup in all dialogs.
* app/tools/gimpcurvestool.c
* app/tools/gimplevelstool.c: added separate "Reset Channel"
buttons and let the global "Reset" buttons reset all color
channels.
* app/tools/tools.c: the various antique foo_free() functions
don't exist any more.
* app/tools/gimphistogramtool.c: removed ImageMap field from
dialog struct (it was unused). Cleaned up dialog a bit.
* tools/pdbgen/Makefile.am: don't scan tools/gimphuesaturationtool.h
for enums.
* tools/pdbgen/pdb/color.pdb: use the new stuff from base/ and
don't include stuff from tools/ any more.
* app/pdb/color_cmds.c
* app/pdb/paint_tools_cmds.c: regenerated.
2002-08-22 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/gimprc.pdb
* app/pdb/gimprc_cmds.c (gimprc_query_invoker): don't leak the
result of gimprc_value_to_str().
* app/core/gimpdrawable-preview.c (gimp_drawable_preview_scale):
use g_new0() instead of g_new() followed by memset().
* plug-ins/script-fu/script-fu-server.c (server_log): free the
string after logging it.
2002-08-18 Michael Natterer <mitch@gimp.org>
* plug-ins/common/gif.c: removed GTK_ENABLE_BROKEN and _DEPRECATED
#defines and #includes because this plug-in has already been
ported.
2002-08-03 Manish Singh <yosh@gimp.org>
* configure.in: make sure -lm is in $LIBS for the finite/isfinite
test, fixes issues on newer FreeBSD
* plug-ins/common/jpeg.c: cast statbuf.st_size to glong for
g_snprintf
2002-06-24 Sven Neumann <sven@gimp.org>
* plug-ins/dbbrowser/dbbrowser_utils.c (dialog_search_callback):
cleaned up after myself. There's no need to sort the store twice.
2002-06-17 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-server.c (read_from_client): merged
fix for bug #85573 from stable branch. We should port this stuff
to use GIOChannels.
2002-06-11 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/helpbrowser.c: implemented anchor handling.
Load remote URLs by calling the webbrowser plug-in.
2002-06-10 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/Makefile.am
* plug-ins/helpbrowser/uri.[ch]: added new files that implement
conversion of a relative URI and an absolute base URI to a new
absolute URI according to RFC 2396. This code has been kindly
provided by Jacob Schroeder <jacob@convergence.de>.
* plug-ins/helpbrowser/helpbrowser.c: more work on the help
browser using the new URI functions. Still work in progress.
2002-06-08 Sven Neumann <sven@gimp.org>
* app/base/Makefile.am
* app/paint-funcs/Makefile.am: automake-1.6 seems to use yet another
variable to pass flags to the assembler (bug #84514). Define
AM_CCASFLAGS like AM_ASFLAGS to satisfy all versions of automake.
* configure.in
* all Makefiles: removed STRIP_BEGIN and STRIP_END since it's a
GNU make extension that we don't really need and newer versions of
automake don't seem to like it.
2002-05-30 Sven Neumann <sven@gimp.org>
* configure.in: check for extra libraries needed for inet_ntoa() and
socket() and define them as SOCKET_LIBS.
* plug-ins/script-fu/Makefile.am (LDADD): added SOCKET_LIBS.
2002-05-30 Sven Neumann <sven@gimp.org>
* configure.in: added -lX11 to LIBXMU since GTK_LIBS doesn't provide
it for us anymore (reported by Tomas Ogren).
* libgimpbase/gimpenv.[ch]: declare gimp_path_runtime_fix() static.
* app/base/Makefile.am: conditionally build detect-mmx.S to avoid
warnings about empty object files (reported by Tomas Ogren).
* plug-ins/Makefile.am: commented out plugin-helper since it's just
too broken to be distributed.
* themes/Default/images/Makefile.am: echo -n is not portable and not
needed, so removed it (reported by Tomas Ogren).
2002-05-28 Sven Neumann <sven@gimp.org>
* NEWS: updated.
* plug-ins/common/jpeg.c (background_jpeg_save): cast stat.st_size
to gint to avoid compiler warning with large file support. This
will fail for JPEG files > 2GB but I doubt this is a real problem.
2002-05-28 Sven Neumann <sven@gimp.org>
* configure.in (AC_OUTPUT): fixed dist target by commenting out
plug-ins/tools/common since it's also commented out in the Makefile
in plug-ins/tools. Fixed broken check for sendmail.
* plug-ins/common/mail.c: use the SENDMAIL define from config.h.
2002-05-25 Sven Neumann <sven@gimp.org>
* NEWS: updated.
* plug-ins/helpbrowser/helpbrowser.c
* plug-ins/helpbrowser/queue.[ch]: simplified user interface and
code. Still work in progress...
2002-05-16 Sven Neumann <sven@gimp.org>
* app/gui/splash.c: don't allow to close the splash screen. Fixes
bug #81962.
* plug-ins/gimpressionist/gimpressionist.c: changed button order.
As mentioned in bug #81963 the UI of this plug-in needs some more
work.
* plug-ins/gimpressionist/brush.c
* plug-ins/gimpressionist/paper.c
* plug-ins/gimpressionist/presets.c: fixed handling of scrolled
windows.
2002-05-15 Simon Budig <simon@gimp.org>
* plug-ins/pagecurl/pagecurl.c: tiny fix, there was an
ancient non working call to gimp_layer_add_alpha still
hanging around...
2002-05-14 Sven Neumann <sven@gimp.org>
* plug-ins/common/ps.c: reverted the last change and applied a patch
from Peter Kirchgessner instead (closes reopened bug #81606).
2002-05-13 Sven Neumann <sven@gimp.org>
* libgimp/gimpmenu.c: use gimp_image_get_name().
* plug-ins/common/deinterlace.c: don't use 'O' as mnemonic, it's
already taken by the _OK button.
2002-05-11 Sven Neumann <sven@gimp.org>
* libgimp/stdplugins-intl.h
* plug-ins/script-fu/script-fu-intl.h: use the new function
gimp_locale_directory() instead of LOCALEDIR.
* app/Makefile.am
* plug-ins/*/Makefile.am: removed LOCALEDIR definition.
2002-05-08 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (run): call bind_textdomain_codeset() so
that we get UTF-8 encoded translations from libgimpprint.
2002-05-08 Sven Neumann <sven@gimp.org>
* plug-ins/print/gimp_color_window.c
* plug-ins/print/gimp_main_window.c: a couple of cleanups and fixes.
This code relies heavily on GTK+ implementation details and thus
tends to work differently or even crash on GTK+-2.0 :-(
* plug-ins/dbbrowser/dbbrowser_utils.c: (gimp_db_browser) use a
GtkHPaned instead of a GtkHBox to separate the list from the details.
This little change makes the pdb browser much more usable.
2002-05-05 Sven Neumann <sven@gimp.org>
* configure.in: bumped our version number to 1.3.6. Added check
for libgtkhtml-2.0.
* plug-ins/helpbrowser/Makefile.am
* plug-ins/helpbrowser/helpbrowser.c: started to port the help browser
to GtkHtml2. Not all features are working yet.
* plug-ins/helpbrowser/back.xpm
* plug-ins/helpbrowser/forward.xpm: removed.
2002-05-03 Sven Neumann <sven@gimp.org>
* plug-ins/common/borderaverage.c
* plug-ins/common/convmatrix.c
* plug-ins/common/nlfilt.c
* plug-ins/common/papertile.c
* plug-ins/common/vpropagate.c: applied a patch from iccii@hotmail.com
that adds missing calls to gimp_tile_cache_ntiles() to speed up the
plug-ins considerably (bug #78358).
* plug-ins/common/colorify.c: fix for drawables with alpha from
iccii@hotmail.com.
2002-05-02 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-console.c: fixed communication
with the SIOD interpreter:
- set the GError variable to NULL before using it.
- set the GIOChannel used to read SIOD's output to binary mode.