2007-02-23 Tor Lillqvist <tml@novell.com>
* configure.in: Remove space after the -L in what we add to
LDFLAGS for DirectInput.
svn path=/trunk/; revision=21983
2007-02-23 Tor Lillqvist <tml@novell.com>
* plug-ins/common/psd.c: Inspired by mail from a user, improve
some error messages to be more informative. Use g_message()
instead of plain printf() in a couple of places in situations that
probably are commonly encountered. (There are probably still more
of such printf() calls in the code.) gimp_quit() doesn't return,
not need to do anything else after calling it.
svn path=/trunk/; revision=21982
2007-02-22 Sven Neumann <sven@gimp.org>
* app/base/pixel-surround.c: allocate the PixelSurround struct and
its buffer in one chunk.
svn path=/trunk/; revision=21980
2007-02-22 Sven Neumann <sven@gimp.org>
* app/base/base-types.h
* app/base/pixel-surround.[ch]: hide PixelSurround struct and
cleaned up the PixelSurround API.
* app/core/gimp-transform-region.c: changed accordingly. Also
sprinkled some const qualifiers.
svn path=/trunk/; revision=21978
2007-02-22 Sven Neumann <sven@gimp.org>
* app/base/tile.[ch]: made tile_ref_count a static variable and
added a function to access it. Declared other (unused) global
counters as static variables and moved them into #ifdefs.
* app/base/tile-swap.c: use the function instead of declaring
tile_ref_count as extern.
* app/base/tile-manager.c
* app/base/pixel-surround.c: cosmetics.
svn path=/trunk/; revision=21975
2007-02-23 Tor Lillqvist <tml@novell.com>
* configure.in: Fix logic error in saving and restoring CPPFLAGS
for the DirectInput checks.
svn path=/trunk/; revision=21974
2007-02-22 Tor Lillqvist <tml@novell.com>
* configure.in: Add --with-directx-sdk switch instead of relying
on CPPFLAGS and LDFLAGS. Drop the --without-directinput switch.
svn path=/trunk/; revision=21970
2007-02-21 Tor Lillqvist <tml@novell.com>
* modules/Makefile.am: It's pointless to build
libcontroller_midi.la on Windows, even if it happens to compile
and build. There are no MIDI "device files" on Windows. A totally
specific MIDI API would have to be used.
svn path=/trunk/; revision=21968
2007-02-20 Tor Lillqvist <tml@novell.com>
* app/widgets/gimpcontrollereditor.c
(gimp_controller_editor_sel_changed): Guard against event being
NULL.
svn path=/trunk/; revision=21963
2007-02-20 Tor Lillqvist <tml@novell.com>
* modules/controller_dx_dinput.c: New file. Low level
GimpController support for DirectInput controllers on Win32.
* modules/gimpinputdevicestore.c: Add implementation for
DirectInput devices.
* modules/Makefile.am: Add libcontroller_dx_dinput.la with above
source files.
svn path=/trunk/; revision=21962
2007-02-20 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: reworked shape support. Instead of
fiddling with pixbuf pixels, do most of the work in the core.
svn path=/trunk/; revision=21960
2007-02-20 Sven Neumann <sven@gimp.org>
* app/dialogs/authors.xsl: changed XPath expression to only match
on contributors that have been active in the 2.4 development cycle.
svn path=/trunk/; revision=21959
2007-02-20 Tor Lillqvist <tml@novell.com>
* configure.in: Add check for DirectX DirectInput header and
library. To disable, pass --without-directinput. To find the
DirectInput headers and libraries, one needs to set CPPFLAGS and
LDFLAGS env vars appropriately for now. It should really add a
--with-dx-sdk switch instead. Set HAVE_DX_DINPUT config.h macro
and HAVE_DX_DINPUT Automake conditional.
svn path=/trunk/; revision=21957
2007-02-20 Sven Neumann <sven@gimp.org>
* app/dialogs/Makefile.am: let authors.h depend on authors.xsl.
* app/dialogs/authors.h: removed from repository, it's
generated.
* app/dialogs/authors.xsl: only include contributors that have
contributed to GIMP 2.x. We might want to limit this even
further.
svn path=/trunk/; revision=21956
2007-02-19 Manish Singh <yosh@gimp.org>
* modules/gimpinputdevicestore.c: gimp_input_device_store_type
should be set to G_TYPE_NONE in the !HAVE_LIBHAL case.
* modules/controller_linux_input.c: we can't use
GIMP_TYPE_INPUT_DEVICE_STORE in the !HAVE_LIBHAL case.
svn path=/trunk/; revision=21954
2007-02-19 Michael Natterer <mitch@gimp.org>
* modules/gimpinputdevicestore.c: define gimp_input_device_store_type
also for the !HAVE_LIBHAL case.
svn path=/trunk/; revision=21953
2007-02-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/psd_save.c: check the return value of
gimp_image_flatten(). Fixes the crash reported in bug #395385.
svn path=/trunk/; revision=21950
2007-02-19 Sven Neumann <sven@gimp.org>
* libgimpbase/gimpbaseenums.[ch]: changed description for
GIMP_INTERPOLATION_LANCZOS to "Sinc (Lanczos3)". More correct
and
more in sync with the other terms.
svn path=/trunk/; revision=21949
2007-02-19 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme.c (atom2str): use
locale-independent function to convert a float value to a
string.
svn path=/trunk/; revision=21948
2007-02-18 Michael Natterer <mitch@gimp.org>
* app/text/gimptext-parasite.c
* plug-ins/flame/libifs.c: use g_strtod() instead of atof()
because these files have to parse strings that never had a clearly
specified format.
* plug-ins/script-fu/tinyscheme/scheme.c
* plug-ins/imagemap/imap_cern.l
* plug-ins/imagemap/imap_csim.l
* plug-ins/imagemap/imap_csim.y
* plug-ins/imagemap/imap_ncsa.l: use g_ascii_strtod() instead of
atof() because scheme code and imagemap files with wrong decimal
separators are clearly broken and should be rejected.
* plug-ins/imagemap/imap_cern_lex.c
* plug-ins/imagemap/imap_csim_lex.c
* plug-ins/imagemap/imap_csim_parse.c
* plug-ins/imagemap/imap_ncsa_lex.c: regenerated.
* plug-ins/common/sample_colorize.c: round numbers using sane code
instead of sprintf() and atod().
* plug-ins/Lighting/lighting_ui.c: removed some dead code.
svn path=/trunk/; revision=21942
2007-02-18 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation and fixed a lot of errors
based on comments by Kenneth Nielsen and in particular Mogens
Jæger.
svn path=/trunk/; revision=21941
2007-02-18 Sven Neumann <sven@gimp.org>
* app/actions/edit-commands.c (edit_copy_cmd_callback): show an
informational message in the statusbar. There is otherwise no
indication that something has happened.
svn path=/trunk/; revision=21940
2007-02-18 Michael Natterer <mitch@gimp.org>
* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_set_from_thumb):
return failure if the thumbnail PNG contains no Thumb::URI tag.
svn path=/trunk/; revision=21939
2007-02-18 Ole Laursen <olau@hardworking.dk>
* da.po: Fixed a string in Danish translation which was spotted by
Mogens Jæger.
svn path=/trunk/; revision=21938
2007-02-18 Michael Natterer <mitch@gimp.org>
* app/plug-in/gimppluginprocedure.[ch]: add "locale_domain" and
"help_domain" members and APIs to get/set them. Removed locale and
help domain parameters from all other functions.
* app/plug-in/gimpplugin.c (gimp_plug_in_add_temp_proc)
* app/plug-in/plug-in-def.c (plug_in_def_add_procedure)
(plug_in_def_set_locale_domain_name)
(plug_in_def_set_help_domain_name): make sure all plug-in procedures
have locale and help domains.
* app/plug-in/gimppluginmanager.[ch]: removed function
gimp_plug_in_manager_get_label().
* app/plug-in/gimppluginmanager.c
* app/plug-in/gimpplugin-cleanup.c
* app/actions/plug-in-actions.c
* app/widgets/gimpfiledialog.c
* app/widgets/gimpfileprocview.c
* app/widgets/gimpimagepropview.c: changed (simplified) accordingly.
svn path=/trunk/; revision=21937
2007-02-18 Sven Neumann <sven@gimp.org>
* app/widgets/gimppixbuf.c (gimp_pixbuf_targets_add): skip
Windows
ICO as writable format. It's not well suited as a general image
exchange format and the GdkPixbuf save routine seems to be
buggy.
svn path=/trunk/; revision=21936
2007-02-18 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/png.c: Moved an invariant (in the last
changeset to this file) out of the loop.
svn path=/trunk/; revision=21935
2007-02-17 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h: Add define for
symkey() to quiet the compiler.
* plug-ins/script-fu/tinyscheme/scheme.c (basic_inchar): Return
blank when invalid UTF-8 character is encountered while reading
from memory. Point to start of next valid character on error.
svn path=/trunk/; revision=21934
2007-02-17 Michael Natterer <mitch@gimp.org>
* app/core/gimp-utils.[ch]
* app/core/gimp.c
* app/widgets/gimpcontrollerinfo.c
* libgimpwidgets/gimpcontroller.c: removed various boolean_handled
signal accumulators and use g_signal_accumulator_true_handled().
svn path=/trunk/; revision=21933