Michael Natterer
bbd7ec6b5c
plug-ins: port from gimp_image_add_foo() to gimp_image_insert_foo()
...
I'm sure some plug-ins need to add their items *not* at the toplevel,
but since making plug-ins really tree-aware is a lot more work than
just fixing insert positions, I went for passing -1 as parent in
almost all cases. And because of laziness...
2010-09-06 11:40:46 +02:00
Martin Nordholts
8f66651123
configure.ac: Disable gzip tarball
...
We do releases with the bzip2 tarball, so don't bother creating a gzip
tarball.
2010-09-06 08:34:27 +02:00
Martin Nordholts
83435ab879
po: Fix make distcheck
2010-09-06 08:14:38 +02:00
Michael Natterer
d0e55640ec
pdb: deprecate gimp_image_add_layer,channel,vectors()
2010-09-06 00:15:40 +02:00
Michael Natterer
9e0dccec73
pdb: update docs to mention the new insert procs instead of the add ones
2010-09-06 00:03:29 +02:00
Michael Natterer
a547c5d200
pdb: add gimp_image_insert_layer,channel,vectors()
...
which all take "parent" parameters and allow to insert items in a
tree. We don't have channel or vectors trees (yet) but API symmetry is
more important here than a currently useless parameter.
2010-09-05 23:56:35 +02:00
Martin Nordholts
6af4cd6cff
build: Update buildbot/suppressed-warnings.txt again
...
Update buildbot/suppressed-warnings.txt again, hopefully final time,
all warnings should be fixed or suppressed now.
2010-09-05 23:47:06 +02:00
Michael Natterer
edf1bb794f
plug-ins: use gimp_item_to_selection() instead of deprecated API
2010-09-05 23:22:17 +02:00
Michael Natterer
8ab4fbcf28
pdb: add context procedures for the new antialias and feather properties
2010-09-05 23:13:42 +02:00
Michael Natterer
e7475c1d52
pdb: add new procedure gimp-item-to-selection
...
and deprecate all old to-selection APIs. The new procedure uses the
newly added GimpPDBContext properties, so it only has an "operation"
parameter.
2010-09-05 22:38:07 +02:00
Michael Natterer
cbcb7515f0
app: increase max value of feather-radius properties to 1000.0
2010-09-05 22:34:24 +02:00
Sven Neumann
ee31bd1c4d
plug-ins: whitespace and coding style cleanups
...
Apply whitespace and coding style cleanups to the new optimized
code. Also sprinkle with const qualifiers.
2010-09-05 19:35:33 +02:00
KermiDT
6a99cf7ed4
Bug 628817 - Optimized Despeckle plug-in
...
Included optimized version of despeckle plug-in.
2010-09-05 19:35:11 +02:00
Michael Natterer
1e4b3a53b3
tools: insert #include "gimppdbcontext.h" at the right place if needed
2010-09-04 22:31:58 +02:00
Michael Natterer
2066545b91
app: add GimpPDBContext which holds more state available to procedures
...
Initially contains antialias, feather and feather radius for the
upcoming gimp-item-to-selection preocedure. Keeping states in the
context reduces the number of parameters of procedures, and both the
state API and the API using the states can be changed/deprecated
independently. Make sure that all procedures and all plug-ins get
GimpPDBContexts instead of plain GimpContexts passed.
2010-09-04 22:17:01 +02:00
Martin Nordholts
fc121e7ba8
Disable strict aliasing where we break aliasing rules
...
Add -fno-strict-aliasing to CFLAGS for files where we get
"dereferencing type-punned pointer will break strict-aliasing
rules"-warnings.
2010-09-04 13:49:09 +02:00
Martin Nordholts
27471e1f7c
plug-ins/common: Allow arbitrary CFLAGS in mkgen.pl
...
Don't require a plug-in to specify a *FLAGS* variable in
plugin-defs.pl, to make it possible to for example add
cflags => '-fno-strict-aliasing'
directly.
2010-09-04 13:49:08 +02:00
Martin Nordholts
92b1d80e0c
build: Update buildbot/suppressed-warnings.txt
2010-09-04 13:24:31 +02:00
Martin Nordholts
529559407e
plug-ins/pygimp: Fix copy-paste error in gimpthumb.override
2010-09-03 09:32:25 +02:00
Martin Nordholts
5f8a13a360
build: Update buildbot/suppressed-warnings.txt
2010-09-03 09:06:13 +02:00
Martin Nordholts
136499d1ae
plug-ins/imagemap: Kill #define COMMAND_PROTO
...
Kill #define COMMAND_PROTO and move its definition to the only client,
and get rid of warnings about defined functions not being used.
2010-09-03 09:06:12 +02:00
Martin Nordholts
3e60cacfd5
app/core: Init bestcolor in gimpimage-convert.c
...
Init bestcolor in gimpimage-convert.c to fix warning about "may be
used uninitialized in this function".
2010-09-03 08:52:26 +02:00
Martin Nordholts
b3189cdbf6
plug-ins/pygimp: Workaround for missing header
...
Add workaround for missing header in gimpui.c and gimpthumb.c to avoid
compile warnings about "no previous prototype".
2010-09-03 08:28:28 +02:00
Martin Nordholts
1d79b045e8
plug-ins/pygimp: Fix setitem function signatures
...
Use 'Py_ssize_t' not 'int' so we compile without warnings on 64-bit
too.
2010-09-03 08:20:00 +02:00
Martin Nordholts
d40984f505
plug-ins/pygimp: Cast PyMappingMethods.mp_length to lenfunc
...
From Pyton 2.5 - which is the minimum Python version we require - the
type of the mp_length member in PyMappingMethods is lenfunc, not
inquiry. Fix this to get rid of "initialization from incompatible
pointer type" warnings.
2010-09-03 08:12:05 +02:00
Martin Nordholts
1801fc70ab
app: Use `git describe` for verbose version
...
Use `git describe` for verbose version, it provides more info than
just the commit ID, and it feels sane to use an existing command for
this. Note that the commit ID is prefixed with 'g'.
2010-09-02 21:28:42 +02:00
Tor Lillqvist
fc7831f7a1
Reduce risks on Windows also for plug-ins
2010-09-02 21:28:29 +03:00
Tor Lillqvist
6d62a5e4fe
Fix Win32 build
...
No sa_family_t in winsock headers, so typedef it.
2010-09-02 19:34:51 +03:00
Tor Lillqvist
8a8140986f
Include cairo.h from correct path
2010-09-02 19:10:10 +03:00
Tor Lillqvist
24386abb3b
Increase safety on Windows
...
Call SetDllDirectory() to reduce risk of DLL hijacking, and call
SetProcessDEPPolicy() to reduce risk of rogue code execution.
2010-09-02 18:40:50 +03:00
Michael Natterer
bfce429d24
app: some minor fixes in GimpTextStyleEditor
...
- initialize all of the color strust in init().
- simplify font_changed().
2010-09-02 00:42:59 +02:00
Michael Natterer
ad819263af
Bug 620674 - Adding support for multi-colored text layer
...
Apply slightly modified patch from Barak Itkin that adds colors for
text spans plus GUI to edit these colors.
2010-09-02 00:20:04 +02:00
Michael Natterer
3759b3f0d1
app: render the text layout directly into the layer's pixels
...
instead of using a mask. Enables color tags. Set the default color
from the text object using a pango color attibute and factor out
GimpTextLayout attribute setting into a utility function.
2010-09-01 23:30:40 +02:00
Michael Natterer
1e525ff3b9
libgimpwidgets: allow gimpcairo-utils.h inclusion from non-gui files
...
This is such a bad hack, but I currently can't decide how to properly
split this file into GTK+ and non-GTK+ parts...
2010-09-01 23:13:02 +02:00
Martin Nordholts
d791e308f1
build: Rename to buildbot/suppressed-warnings.txt
...
Rename buildbot/suppressed_warnings.txt to
buildbot/suppressed-warnings.txt, dashes are nicer in file names.
2010-09-01 17:14:24 +02:00
Sven Neumann
5f77a0c33f
build/windows: remove trailing whitespace and fix file coding system
2010-09-01 14:14:57 +02:00
Michael Schumacher
e77dd90fc0
Bug 574018 - Add a manifest to executables
...
Created a resource file for plug-ins and a rule to link it to them.
The application icon file is smaller than the default one, there's no
point in doubling the size of a plug-in executable just for an icon.
If no problems turn up, this will close the bug.
2010-09-01 08:24:45 +02:00
Michael Schumacher
81024bd501
Adjusted copyright date to 2010
2010-09-01 08:19:24 +02:00
Sven Neumann
813ee3de88
app: port layout drawing to cairo
2010-08-31 22:59:34 +02:00
Martin Nordholts
b8c8993ff9
build: Add initial version of buildbot/suppressed_warnings.txt
2010-08-31 22:52:22 +02:00
Martin Nordholts
0dc4b5de72
Fix a bunch of warnings
2010-08-31 22:46:36 +02:00
Michael Natterer
7ea33a7ea6
libgimp: update gimp.def
2010-08-31 18:59:41 +02:00
Martin Nordholts
bf62cc2e5f
Revert "tools: Add distdir-from-configure-ac.sh"
...
This reverts commit 762ad9c074
.
This tool should simply be installed on buildbot build slaves, doesn't
make sense to version control it in GIMP.
2010-08-31 17:46:27 +02:00
Michael Natterer
ab852d7409
pdb: add proper error messages for gimp_image_reorder_item()
2010-08-31 17:07:27 +02:00
Michael Natterer
b24de26791
libgimp: add gimp_image_reorder_item() for arbitrary reordering in a tree
2010-08-31 11:16:41 +02:00
Martin Nordholts
762ad9c074
tools: Add distdir-from-configure-ac.sh
...
Add distdir-from-configure-ac.sh for use by buildbot.
2010-08-30 23:13:21 +02:00
Martin Nordholts
9f0cdcded6
libgimp: Update gimp.def
2010-08-30 19:35:29 +02:00
Martin Nordholts
34b525a379
po-plug-ins: Update POTFILES.in
2010-08-30 18:20:10 +02:00
Alan Monfort
91b069c843
Updated Breton translation
2010-08-30 14:03:01 +02:00
Alan Monfort
05c6b7e9f2
Updated Breton translation
2010-08-30 14:02:10 +02:00