Kevin Cozens
b0d8ba5ffd
Additional fixes for handling UTF-8 coded strings (Bugs 572865 & 628893)
...
plug-ins/script-fu/scheme-wrapper.c:
- Fixed set and get of UTF-8 coded strings for parasites.
plug-ins/script-fu/tinyscheme/scheme.c:
- Additional fix to string-append and fixed substring. The mk_empty_string
routine is not the way to allocate space for UTF-8 coded strings.
- Added some comments.
2010-09-20 23:20:45 -04:00
Kevin Cozens
ae6670ba8b
Last part of fixes for handling UTF-8 coded strings (Bugs 572865 & 628893)
...
At the end of a double quoted string, readstrexp() was passing byte count
instead of character count to mk_counted_string(). Cleaned up basic_inchar().
It ignores bad UTF-8 coded characters when reading from file or buffer.
2010-09-19 17:48:17 -04:00
Kevin Cozens
6855267470
First part of fixes for handling UTF-8 coded strings (Bugs 572865 & 628893)
...
Fixed string-set! and string-append due to mixup of chars vs. bytes.
Fixed calculation of pointer to past end of string in open-*-string
routines.
2010-09-19 17:48:17 -04:00
Michael Natterer
16491ce8a8
pygimp: completely undeprecate pygimp-image.c
...
Somebody really needs to take care of deprecating all that
stuff in pygimp itself, and add API for the new functions.
2010-09-16 20:58:21 +02:00
Michael Natterer
98d8d686e8
pygimp: don't use gimp_image,layer_scale_full()
2010-09-16 20:53:15 +02:00
Massimo Valentini
2643107912
Bug 623850 - (Paco) Recursive Gaussian Filter error
2010-09-16 19:50:16 +02:00
Barak Itkin
1135f2db92
Bug 624487 - Fix incorrect "wrap mode" documentation values in Edge plug-in
2010-09-13 02:55:20 +02:00
Seth Burgess
90eda12905
plug-ins: Fix preview in Difference of Gaussians
...
Implement invert as part of normalize routine - See Bug 557380
2010-09-13 02:23:05 +02:00
Barak Itkin
0097286a45
plug-ins: remove execute permission from common/file-pdf-save.c
2010-09-12 18:51:38 +02:00
Michael Natterer
3c15255030
plug-ins: port curve-bend curve drawing to cairo
2010-09-12 00:54:39 +02:00
Michael Natterer
9b440396e1
plug-ins: port ifs-compose drawing to cairo
2010-09-10 14:44:41 +02:00
Michael Natterer
a0d3d8d763
plug-ins: port color-rotate drawing to cairo and simplify the code
2010-09-09 21:50:55 +02:00
Michael Natterer
52a6a8deb8
plug-ins: port sample-colorize drawing to cairo
2010-09-09 14:07:27 +02:00
Michael Natterer
333eeab13f
plug-ins: pagr-size must be 0 on adjustments used for spin buttons
2010-09-09 13:50:15 +02:00
Michael Natterer
fe536cf845
plug-ins: remove more useless logic from nova
2010-09-09 02:07:58 +02:00
Michael Natterer
3c062c3f23
plug-ins: port lens-flare center drawing to cairo
2010-09-09 02:07:13 +02:00
Michael Natterer
0ad9051bc3
plug-ins: more cleanup in nova and tile-small
2010-09-09 01:54:00 +02:00
Lloyd Konneker
c5658da09c
Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
...
Fix one of many plugins: gimpressionist
Checks for intersecting selection before opening a dialog, and
finding none, returns an error string. Without the patch, the plugin
dialog has a black preview, when user chooses OK assertions fail, and
the plugin has no effect, but doesn't crash.
2010-09-08 21:49:04 +02:00
Michael Natterer
0aa35c8c8e
plug-ins: use the same opacities for drawing lines on top of the preview
2010-09-08 21:00:29 +02:00
Michael Natterer
9970a2b14b
plug-ins: port nova cursor drawing to cairo and simplify drawing a lot
2010-09-08 20:52:02 +02:00
Michael Natterer
73b5f87873
plug-ins: port tile-small selection drawing to cairo
2010-09-08 20:33:39 +02:00
Michael Natterer
e0ad0f478e
plug-ins: port filter-pack drawing to cairo
2010-09-08 14:36:29 +02:00
Michael Natterer
4264afbb0e
pygimp: port to gimp_item_to_selection()
2010-09-07 00:35:28 +02:00
Sven Neumann
bab75db54e
python: port plug-ins to Image.insert_layer()
2010-09-06 23:58:10 +02:00
Sven Neumann
378a465caa
python: add Image.insert_layer() and Image.insert_channel()
2010-09-06 23:43:22 +02:00
Sven Neumann
48f6219585
python: use gimp_image_insert_layer() instead of add_layer()
2010-09-06 23:31:04 +02:00
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
Michael Natterer
edf1bb794f
plug-ins: use gimp_item_to_selection() instead of deprecated API
2010-09-05 23:22:17 +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
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
529559407e
plug-ins/pygimp: Fix copy-paste error in gimpthumb.override
2010-09-03 09:32:25 +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
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
Tor Lillqvist
6d62a5e4fe
Fix Win32 build
...
No sa_family_t in winsock headers, so typedef it.
2010-09-02 19:34:51 +03: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 Natterer
6130f6b0bb
plug-ins: clean up includes in file-pdf-save.c
2010-08-28 12:44:30 +02:00
Barak Itkin
f1266c2b0a
plug-ins: fix some warnings in file-pdf-save, and fix configure.ac to include it
2010-08-28 00:10:00 +03:00
Barak Itkin
6f8c412735
plug-ins: add the new file-pdf-save plugin (Bug #382688 )
2010-08-28 00:09:59 +03:00
Barak Itkin
7f10c24f4a
plug-ins: rename file-pdf to file-pdf-load
...
Renaming the PDF import plugin to file-pdf load is needed in order to introduce
the new PDF export plugin
2010-08-28 00:09:59 +03:00
Massimo Valentini
9bde117b05
Bug 623169 - Memory leaks in GIMP
...
Fix an oversight that was committed with the last patch.
2010-08-22 21:37:24 +02:00
Michael Schumacher
74f39616a0
Bug 627009 - Image type filter doesn't include .rgba SGI files
...
Added the rgba file extension to the load and save handler
registration of the SGI file plug-in.
2010-08-16 22:42:52 +02:00
Martin Nordholts
270ba46eba
Bug 623186 - GIF save plugin chokes on layers larger than canvas
...
GIMP_RUN_WITH_LAST_VALS must have the UI initialized too, for example
when doing File -> Export <file>.
2010-08-16 21:58:14 +02:00
Martin Nordholts
693a76a336
Remove old and unused ChangeLogs
2010-08-16 21:41:02 +02:00
Michael Schumacher
fe7b253512
Bug 626020 - Console window opening on file-ps-load
...
Added G_SPAWN_STDOUT_TO_DEV_NULL and G_SPAWN_STDERR_TO_DEV_NULL to the
g_spawn_sync () flags. According to Tor Lillqvist this won't fix the bug,
but the GLib docs state that these flags have to be added if stdout and
stderr are set to NULL.
2010-08-12 21:54:44 +02:00
Barak Itkin
03f1034a97
script-fu: Use the new gimp-item api where possible
2010-08-03 00:13:51 +03:00
SimaMoto,RyōTa
1dfa7b5e76
Bug 625571 - Request context tags for reasonable translation on some plug-ins
...
Set gettext context signatures on "From:" and "To:" labels
of the Color Rotate and the Color to Alpha plug-ins.
2010-07-31 15:25:12 +02:00