Commit Graph

6806 Commits

Author SHA1 Message Date
Mukund Sivaraman 7ebcf3f755 metadata: Use glib base64 decoder instead of local copy 2011-10-06 20:22:27 +05:30
Mukund Sivaraman 197dddb5d5 wind: Delete dead assignment 2011-10-06 19:54:58 +05:30
Mukund Sivaraman 7fbc0fe540 file-psd: Delete dead variable and assignment 2011-10-06 19:51:04 +05:30
Mukund Sivaraman b613969d8b file-psd: Move variables to local block 2011-10-06 19:49:47 +05:30
Mukund Sivaraman d5c1e09643 file-gif-save: Delete dead variables and assignments 2011-10-06 19:42:47 +05:30
Mukund Sivaraman 030695b8d0 contrast-retinex: Delete redundant assignment and move variable to local block 2011-10-06 19:39:59 +05:30
Mukund Sivaraman db40cca290 file-xwd: Change if statements list to a switch 2011-10-06 19:35:21 +05:30
Mukund Sivaraman 957ca36576 file-xwd: Remove dead variable and assignment 2011-10-06 19:34:05 +05:30
Mukund Sivaraman 1dfec7dac8 sphere-designer: Remove useless variable 2011-10-06 19:32:56 +05:30
Mukund Sivaraman cf19e68205 warp: Delete dead variable and assignment 2011-10-06 19:30:49 +05:30
Mukund Sivaraman 9e4627730a file-sunras: Delete dead variable and assignment 2011-10-06 19:26:06 +05:30
Mukund Sivaraman b3337ee865 metadata: Delete dead assignment and move variable to local block 2011-10-06 19:24:56 +05:30
Mukund Sivaraman 599c077548 edge: Delete dead variables and assignments 2011-10-06 19:21:14 +05:30
Mukund Sivaraman b11bc202f1 semi-flatten: Remove dead variable and assignment 2011-10-06 18:59:31 +05:30
Mukund Sivaraman 5deb726dfb gimpressionist: Remove 'step' variable which is equal to 'i' 2011-10-06 18:58:25 +05:30
Mukund Sivaraman e04edfa8e2 depth-merge: Delete redundant assignment 2011-10-06 09:11:53 +05:30
Mukund Sivaraman 61c47bf865 mosaic: Remove dead variable and assignment 2011-10-06 09:10:33 +05:30
Mukund Sivaraman e3b8d9885e rotate: Remove redundant assignment 2011-10-06 09:08:22 +05:30
Mukund Sivaraman b5288df912 convolution-matrix: Remove dead code and variable 2011-10-06 09:06:27 +05:30
Mukund Sivaraman 7048d9e46e tinyscheme: Remove dead assignment 2011-10-06 09:04:43 +05:30
Mukund Sivaraman 4b75e13518 polar-coords: Remove redundant assignment 2011-10-06 08:53:34 +05:30
Mukund Sivaraman c4b709cdce edge: Remove dead variable and assignment 2011-10-06 08:51:07 +05:30
Mukund Sivaraman 12f6dba895 file-sunras: Use precomputed hdr_entries instead of recomputing it 2011-10-06 08:49:21 +05:30
Mukund Sivaraman 13cd1f6f80 blur-motion: Move variables into inner block, where they're used 2011-10-06 08:45:58 +05:30
Mukund Sivaraman 37d81cd396 film: Remove dead assignment (and variable) 2011-10-06 08:38:46 +05:30
Mukund Sivaraman bdd7a934a7 file-gif-load: Conditionally compile debug code 2011-10-06 08:33:26 +05:30
Mukund Sivaraman 91bcc3dff4 file-sgi: Remove redundant assignment 2011-10-06 08:29:36 +05:30
Mukund Sivaraman 245b4482eb file-tiff-load: Remove function's dead args 2011-10-06 08:27:57 +05:30
Mukund Sivaraman bf31425640 file-sunras: Remove dead assignment (and variable) 2011-10-06 08:25:04 +05:30
Mukund Sivaraman f5e51fe31a warp: Remove dead variable and assignment 2011-10-04 14:53:53 +05:30
Mukund Sivaraman 433e1dcb77 mosaic: Delete dead variable and assignment 2011-10-04 14:49:30 +05:30
Mukund Sivaraman c70b243714 lens-distortion: Delete dead variable and assignment 2011-10-04 14:46:39 +05:30
Mukund Sivaraman c87e232f57 noise-randomize: Delete dead assignment and variable 2011-10-04 14:34:29 +05:30
Mukund Sivaraman ce86fbff05 convolution-matrix: Remove dead assignment and move variable 2011-10-04 14:30:00 +05:30
Mukund Sivaraman f5369a9158 noise-randomize: Remove dead assignment and variable 2011-10-04 14:27:53 +05:30
Mukund Sivaraman a966a9ba2e file-ps: Remove dead assignment (and variable) 2011-10-04 14:24:49 +05:30
Mukund Sivaraman b45868c081 file-csource: Remove dead assignments (and variable) 2011-10-04 14:23:58 +05:30
Mukund Sivaraman 566e2bf0af channel-mixer: Remove dead assignment (and variable) 2011-10-04 14:20:25 +05:30
Mukund Sivaraman b5c08c1c04 jigsaw: Remove dead assignments (and variables) 2011-10-04 14:18:43 +05:30
Mukund Sivaraman ed8beff406 qbist: Remove dead assignment (and variable) 2011-10-04 14:16:20 +05:30
Mukund Sivaraman 9780fe04be apply-canvas: Remove dead assignments (and variable) 2011-10-04 14:14:18 +05:30
Mukund Sivaraman c149d17a16 contrast-retinex: Remove dead assignment 2011-10-03 19:15:00 +05:30
Mukund Sivaraman fc3f59872d help-browser: Remove dead assignment (and variable) 2011-10-03 19:10:55 +05:30
Mukund Sivaraman cb3abfc190 mosaic: Remove dead assignment (and variable) 2011-10-03 19:08:04 +05:30
Mukund Sivaraman a35813ffd7 file-ico: Move image_ID into local blocks 2011-10-03 19:01:15 +05:30
Mukund Sivaraman 123bb1e5ad file-ico: Remove dead assignment (and variable) 2011-10-03 18:59:39 +05:30
Mukund Sivaraman aac5be344f file-gif-save: Remove dead assignments (and variables) 2011-10-03 18:57:48 +05:30
Mukund Sivaraman af547cc0c7 file-gif-save: Remove dead assignments (and variables) 2011-10-03 18:56:14 +05:30
Mukund Sivaraman 7d465f0a62 gimpressionist: Remove dead assignment (and variable) 2011-10-03 18:53:32 +05:30
Mukund Sivaraman d72c6f6cf5 wind: Remove dead assignments (and variables) 2011-10-03 18:52:13 +05:30
Mukund Sivaraman 6bfae7f8d1 waves: Remove dead assignments (and variables) 2011-10-03 18:50:23 +05:30
Mukund Sivaraman c0e873cd8a file-pdf-save: Remove dead assignment (and variable) 2011-10-03 18:48:56 +05:30
Mukund Sivaraman 3a4243a61f file-ps: Remove dead assignments (and variables) 2011-10-03 18:46:24 +05:30
Mukund Sivaraman 9343018ad9 file-faxg3: Remove dead assignment (and variable) 2011-10-03 18:44:27 +05:30
Mukund Sivaraman da075e9523 apply-canvas: Remove dead assignment 2011-10-03 18:42:15 +05:30
Mukund Sivaraman cd2b6107c3 file-gif-save: Remove dead assignment (and variable) 2011-10-03 18:39:42 +05:30
Mukund Sivaraman be850d1507 mosaic: Remove dead assignments (and variables) 2011-10-03 13:21:44 +05:30
Mukund Sivaraman 5643bd5104 selection-to-path: Remove dead assignments (and variable) 2011-10-03 13:18:39 +05:30
Mukund Sivaraman 3a8d248404 plugin-browser: Free leaf_ptr when done 2011-10-03 13:16:16 +05:30
Mukund Sivaraman 3630b3857a plugin-browser: Remove dead assignments (and variable) 2011-10-03 13:15:23 +05:30
Mukund Sivaraman 2d56f6445d file-xwd: Remove dead assignments (and variable) 2011-10-03 13:08:17 +05:30
Mukund Sivaraman 13eadb00dd warp: Remove dead assignment 2011-10-03 12:56:24 +05:30
Mukund Sivaraman ea12d8da4d metadata: Remove ns_prefix decl (it is conditionally used) 2011-10-03 12:55:10 +05:30
Mukund Sivaraman 327e02537a sphere-designer: Lessen code 2011-10-03 12:52:46 +05:30
Mukund Sivaraman 581767bb84 sphere-designer: Remove dead assignment 2011-10-03 12:51:15 +05:30
Mukund Sivaraman b873e732c0 file-xwd: Remove dead assignments 2011-10-03 12:49:45 +05:30
Mukund Sivaraman b321f4ec51 file-gif-save: Remove dead assignments 2011-10-03 12:49:06 +05:30
Mukund Sivaraman a485bac7bc mosaic: Remove dead assignments 2011-10-03 12:47:16 +05:30
Mukund Sivaraman ea7abb2922 file-psd: Remove unused but set variable (fill) 2011-10-03 11:18:22 +05:30
Mukund Sivaraman 803d6c9d7c file-gih: Remove unused but set variable 2011-10-03 11:12:41 +05:30
Mukund Sivaraman cf4d270908 file-pnm: Handle psvals.raw as boolean valued int 2011-10-03 11:08:16 +05:30
Mukund Sivaraman 74dd0196e5 sharpen: Handle img_bpp outside bounds (to shut up static analyzer) 2011-10-03 11:06:55 +05:30
Mukund Sivaraman 077dc13c4e curve-bend: Remove dead code 2011-10-03 11:03:06 +05:30
Mukund Sivaraman c7466e4f8a file-psd: Move run_mode decl to where it is conditionally used 2011-10-03 11:00:22 +05:30
Mukund Sivaraman 211dfb0ce1 file-jpeg: Fix format specifiers 2011-10-03 10:59:48 +05:30
Michael Natterer f1d4dde36a libgimpwidgets: add gdk_event_triggers_context_menu() to gimp3migration.[ch]
and remove gimp_button_event_triggers_context_menu() again. Update
all callers to use the new function.
2011-10-02 16:23:59 +02:00
Mukund Sivaraman fb6fea3b11 imagemap: Add missing include for gtk_box_new() 2011-10-02 19:44:28 +05:30
Michael Natterer 2c175b068d libgimpwidgets: add gtk_paned_new() to gimp3migration.[ch]
and use it all over the place.
2011-10-02 14:36:42 +02:00
Michael Natterer 19b9bfd189 libgimpwidgets: add gtk_scale_new() to gimp3migration.[ch]
and use it all over the place. Also change some GtkObject* variables
to GtkAdjustment*.
2011-10-02 14:36:41 +02:00
Michael Natterer 16817c666f libgimpwidgets: add gtk_scrollbar_new() to gimp3migration.[ch]
and use it all over the place.
2011-10-02 14:36:41 +02:00
Michael Natterer f342b50483 libgimpwidgets: add gtk_button_box_new() to gimp3migration.[ch]
and use it all over the place.
2011-09-30 15:44:33 +02:00
Mukund Sivaraman a7604f706d file-jpeg: Save and restore use_orig_quality 2011-09-30 18:31:28 +05:30
Mukund Sivaraman aa2a876d22 file-jpeg: Rename load_save_defaults() to load_defaults() 2011-09-30 18:31:27 +05:30
Michael Natterer dcb4c6e34a plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
Nils Philippsen a324206a3e script-fu: link libtinyscheme with libm if necessary
The tinyscheme static library uses math functions, ensure that libm is
linked where necessary (#659586, original patch by Vincent Untz,
modified)

cherry-picked from commit 7df2cb45b3 in
the gimp-2-6 branch.
2011-09-30 06:59:25 +05:30
Nils Philippsen b6310f88cf script-fu: explicitly specify library dependencies
cherry-pick commit d1e0f540e5 from the
gimp-2-6 branch.
2011-09-30 06:55:24 +05:30
Mukund Sivaraman 5769acd3db file-png: Add comments about the struct checks 2011-09-27 19:22:50 +05:30
Kevin Cozens 23978ecec3 Optimized append to make it an O(n) operation (See Sourceforge bug #3400290)
From a patch by Doug Currie. Also some minor whitespace changes.
2011-09-23 19:10:17 -04:00
Kevin Cozens fc811f3708 Applied changes from SVN version 87 of official version of TinyScheme
Can't call round_per_R5RS() in is_integer() as it is not available if USE_MATH
is not defined. It is simpler and faster to compare ivalue() and rvalue() of
an inexact number. No need to round integers in OP_ROUND. Minor optimization
for is_nonneg().
2011-09-23 19:10:17 -04:00
Kevin Cozens 599f6e8390 Fixing formatting of files and removed tabs. 2011-09-23 19:10:16 -04:00
Kevin Cozens b61b8782d0 R5RS compatability fix for expt. (See SourceForge bug #3399332)
Based on the patch from Doug Currie.
2011-09-23 19:10:16 -04:00
Michael Natterer 00c446fc6e plug-ins: remove NONINTERACTIVE from print's PDB docs, it's not supported 2011-09-22 21:05:11 +02:00
Mukund Sivaraman ff2b9ee727 file-png: Return correct type of error value 2011-09-21 17:16:54 +05:30
Mukund Sivaraman 1ac6c7b85c file-png: Check that PNG structs are created properly
If there's a version mismatch between compiled version (header) and
installed shared libpng library, structs are not created and NULL is
returned.
2011-09-21 17:08:56 +05:30
Michael Natterer d92cd2f6c8 Add gimp_button_event_triggers_context_menu() and use it
instead of checking for event->button == 3, so context menus
work correctly on the Mac. Didn't change the image menu yet
because thet requires some more refactoring.
2011-09-19 00:47:23 +02:00
Mukund Sivaraman ecacdbc7cd file-jpeg: Conditionally compile files with EXIF related code 2011-09-18 08:09:41 +05:30
Mukund Sivaraman bd3faae04c file-jpeg: Include gimpexif.h only if HAVE_LIBEXIF 2011-09-18 08:08:16 +05:30
Mukund Sivaraman cbed71eb30 file-jpeg: Conditionally declare orientation 2011-09-18 08:07:32 +05:30
Mukund Sivaraman dfdf05a578 file-jpeg: Add header cladding 2011-09-18 08:00:20 +05:30
Mukund Sivaraman 50b093d92c file-jpeg: Move define to header file 2011-09-18 07:22:38 +05:30
Mukund Sivaraman f6b70ec3e9 file-jpeg: Remove unused define 2011-09-18 07:22:06 +05:30
Mukund Sivaraman 536d6a527c file-jpeg: Create jpeg-exif.h and move EXIF protos to it 2011-09-18 07:21:30 +05:30
Mukund Sivaraman 2aae54226c build: Rename HAVE_EXIF define to HAVE_LIBEXIF 2011-09-18 07:04:44 +05:30
Mukund Sivaraman e6edc7d833 build: Rename BUILD_METADATA conditional to HAVE_LIBEXIF 2011-09-18 06:50:43 +05:30
Mukund Sivaraman 262241cb21 script-fu: Don't print leading space when printing vectors 2011-08-31 22:26:21 +05:30
Massimo Valentini 35524c7c5c plug-ins/gfig: silence a warning and commit on close
Clicking on Close deleted the work done, on Cancel
showed a warning.

Tested terminating with:
<Alt>F4
Esc
<Ctrl>C
File->Close
Close button
Cancel button
2011-08-31 18:04:25 +02:00
Kevin Cozens 01a24fb4f7 R5RS compatability fixes for integer? and round (SourceForge bug #3400284) 2011-08-30 16:53:17 -04:00
Kevin Cozens a8966b8485 R5RS compatability fix for expt (SourceForge bug #3399332) 2011-08-30 12:00:00 -04:00
Kevin Cozens 7ab6704f78 R5RS fix adds decimal point for inexact in atom2str (SourceForge bug #3395548) 2011-08-29 17:27:12 -04:00
Kevin Cozens 6af99d4793 R5RS compatibility fix for min and max (take 2) (SourceForge bug #3399331)
It works better if I also update the script-fu.init file used by Script-Fu.
2011-08-29 17:27:12 -04:00
Kevin Cozens 5d3be5be3c R5RS compatability fix for append by Doug Currie. (SourceForge bug #3400202)
Append with one argument should return the argument but not as a list.
2011-08-29 17:27:12 -04:00
Kevin Cozens 5d61a737a7 R5RS compatibility fix for min and max (SourceForge bug #3399331)
They are required to return inexact when any argument is inexact.
(From a patch by Doug Currie.)  Also de-tabified init.scm file.
2011-08-29 17:27:12 -04:00
Kevin Cozens fe20e7b181 Added closing brace that got lost when applying fix for modulo procedure. 2011-08-29 14:08:57 -04:00
Kevin Cozens 1574700215 R5RS compatibility fix for the modulo procedure (SourceForge bug #3395547) 2011-08-29 13:54:45 -04:00
Kevin Cozens a21bba4cab Added missing #if in opdefines.h around get and put (from SVN TinyScheme r75) 2011-08-29 13:54:17 -04:00
Kevin Cozens c556a8fdab Fixed deprecation warning and script breakage (see bug #646993)
Fixed deprecation warning. Fixed script breakage when "Add shadow" was checked
due to error in order of arguments. Made chris-color-edge a private procedure.
2011-08-29 13:53:29 -04:00
Bruce Cowan 841c8a7ebe String review: fix some spelling and formatting issues 2011-08-28 20:07:55 +02:00
Martin Nordholts 7fea63a283 Bug 653757 - Bitmap export in Gimp 2.6.11 vs Bitmap Export in Gimp 2.7.3
Make writing BITMAPV5HEADER color space information optional since
there are compatibility problems with writing color space
information. Unity 3D and BlitzMax have been reported to not support
such BMP images.
2011-08-26 23:49:41 +02:00
Nelson A. de Oliveira ce3db28f5a Fix some memleaks 2011-08-18 13:37:35 -04:00
Martin Nordholts bb02019aa0 plug-ins: Remember BMP options across invocations
There is no reason to not do that, especially since we soon will make
color space information in the BMP file optional.
2011-08-12 18:47:21 +02:00
Martin Nordholts 698d9ea28e plug-ins: bmp-write.c: encoded -> use_run_length_encoding 2011-08-12 18:47:21 +02:00
Nils Philippsen 376ad788c1 file-gif-load: fix heap corruption and buffer overflow (CVE-2011-2896) 2011-08-12 13:54:02 +02:00
Nils Philippsen b1a3de7613 file-gif-load: ensure return value of LZWReadByte() is <= 255 2011-08-12 13:54:02 +02:00
Michael Schumacher cb86ffb1e8 Use GTK_CFLAGS instead of GLIB_CFLAGS to fix a compile problem 2011-08-04 23:18:44 +02:00
Alexandre Prokoudine baeb83500c Tile Glass plug-in relocated
The Tile Glass plug-in is moved from Lens And Shadow to Artistic
where it really belongs.
2011-07-28 16:43:39 +04:00
Alexandre Prokoudine 6308f0229a Apply Lens filter relocated in menu
The Apply Lens filter is moved from Light And Shadow to Distorts
group where it really belongs.
2011-07-28 16:06:59 +04:00
Massimo Valentini eadceef99b plug-ins: fix a typo in noise-randomize
Applying the filter noise slur on a white image produces
black artifacts at the first rows. Seen in meetthegimp162.mp4.
2011-07-18 20:40:23 +02:00
Martin Nordholts f53f8432f8 plug-ins: Fix libcurl URI backend compilation 2011-07-17 15:34:48 +02:00
Martin Nordholts 204d70739d plug-ins: Stop using gtk_range_set_update_policy() in gfig 2011-07-05 22:13:19 +02:00
Martin Nordholts 1c0115ec95 Fix some warnings 2011-07-05 22:13:18 +02:00
Mikael Magnusson b8740d285d plug-ins: remove curl/types.h include in curl uri backend which was removed in 7.21.7 2011-07-05 19:54:08 +02:00
Mikael Magnusson 039d4636f8 plug-ins: add ftp and gopher support to curl uri backend 2011-07-05 19:54:06 +02:00
Mikael Magnusson 520d852912 plug-ins: add --progress=dot to work with newer wgets, and add ftp support
Fixes bug 653974 - uri-backend-wget backend is broken
2011-07-05 00:14:34 +02:00
Michael Natterer 8ed5002e4a plug-ins: #undef G_DISABLE_DEPRECATED for webkit and rsvg
because they use G_CONST_RETURN which is deprecated in glib master.
2011-06-21 22:13:58 +02:00
Mikael Magnusson 580b5ba624 plug-ins: Disable one more debug statement in pygimp/pygimp-pdb.c 2011-06-16 14:03:13 +02:00
Mukund Sivaraman 0a20d9bdbd file-jpeg: Rename misnamed macros 2011-06-10 23:40:23 +05:30
Mukund Sivaraman f3c395f9df file-jpeg: (save) Change default subsampling labels
This was discussed in #gimp. We change the default subsampling
labels to more easily understood ones ones for users of
graphics software.
2011-06-10 23:37:09 +05:30
Mukund Sivaraman f03aef5a5e file-jpeg: (save) Change default restart MCU rows to 16
With a 1x1,1x1,1x1 interleave, this will result in a restart
marker every 128 rows of pixels, which is more suitable for a
default setting.
2011-06-10 23:34:44 +05:30
Mukund Sivaraman 4e0a48fabc file-jpeg: (save) Change the label for restart interval
This was discussed in #gimp. The old label was "Frequency (rows)"
which is misleading. This field is basically converted by libjpeg
to another value called a restart interval which is stored in a
JPEG file. The restart interval specifies after how many MCUs
the restart (syncronization) marker appears in the bitstream.
It is not easy to explain to a layperson what an MCU is.

The value in the dialog specifies after how many *MCU rows* the
restart marker appears. This is a libjpeg thing, and libjpeg
converts it to the restart interval.

I have merely renamed the text label of the field and PDB
description as the current text implies pixel rows which is not
the case.

A better alternative is to use the restart interval (in MCUs,
not MCU rows) as saved in the file itself, which more people
than users of libjpeg would understand. But even that setting
is not something that can easily be explained to a layperson.
2011-06-10 23:33:11 +05:30
Mukund Sivaraman 4b3a1c6680 file-jpeg: (save) Change default coding mode to progressive
This was discussed in #gimp. This would no longer result in strictly
baseline JPEGs, but progressive mode has been supported for about
a decade in browsers and libjpeg now.

Progressive mode brings two advantages: (1) Medium to large images get
decent space savings to due to coding of large sequences of
zero coefficients, and (2) The images load progressively in a browser
which leads to better user experience when viewing medium to large
images on a website.

Those who want strictly baseline have the option to turn it off.
2011-06-10 23:25:05 +05:30
Mukund Sivaraman dd912b1cb9 file-jpeg: (save) Change default compression level to 90
This was discussed in #gimp. 90 is affordable as the default
in these days of large hard disks and broadband.
2011-06-10 23:16:51 +05:30
Mukund Sivaraman 24c88e0fcf file-jpeg: (save) Change default subsampling to best quality
This was discussed in #gimp. There is no reason to have the default
option throw away such image quality in these days of large hard disks
and broadband.
2011-06-10 23:15:43 +05:30
Dave Lichterman ba324c06f5 Bug 569550 - Can not handle PSD layers/groups
Add support to file-psd plugin for layer group reading.
2011-05-23 20:01:43 +02:00
Nils Philippsen f657361db0 file-psp: fix overflow protection (CVE-2011-1782)
amends commit 48ec15890e, related to
CVE-2010-4543
2011-05-23 11:58:08 +02:00
Jon Nordby 8407d30c8c plug-ins: Support layermodes in OpenRaster files 2011-05-22 16:41:54 +02:00
Martin Nordholts d00196dc7d plug-ins: Disable debug output from pygimp/pygimp-pdb.c
Remove debug output from pygimp/pygimp-pdb.c so we don't get annoying
debug output during the plug-in query phase.
2011-05-19 07:21:54 +02:00
Martin Nordholts 726ec88c26 plug-ins: Fix PyGIMP item warnings 2011-05-18 21:30:05 +02:00
João S. O. Bueno 84dcf6281e pygimp: add public Item.from_id method
Allows the integer IDs returned by the PDB to be promoted to Python
objects. This removes a release blocking factor for pygimp and also
sets base for refactoring pygimp object methods into
pure Python.
2011-05-16 10:13:00 -04:00
João S. O. Bueno 3de6cc5f74 pygimp: Creates the "gimp.Item" class
Creates a gimp.Item class and change the hyerarchy so that
Python Vectors, Layers and Drawable classes inherit from it.
Still not working properly, as PDB calls returns raw integer
ID's instead of proper Python objects.
2011-05-16 10:12:59 -04:00
Michael Natterer ab3fe10275 plug-ins: remove some more -Wunused-but-set-variable 2011-05-15 21:12:49 +02:00
João S. O. Bueno d15cebe649 plug-ins: Fix procedure and file name, list file for translation 2011-05-13 10:50:25 -04:00
João S. O. Bueno 4245b6bbe1 plug-ins: Create save Gradient as CSS3 python-script
A script to enable seamlesly save GIMP gradients as
CSS3 gradients, conformant to w3c and current existing
implementations: mozilla and webkit.
2011-05-12 13:48:26 -04:00
Michael Natterer 77b615e899 plug-ins: use g_object_bind_property() to set widgets sensitive
depending on toggle buttons instead of libgimpwidgets' "set_sensitive"
hack.
2011-05-11 11:41:26 +02:00
Mukund Sivaraman f93398b4cf file-bmp: Fix typo in comment 2011-05-08 23:33:17 +05:30
Mukund Sivaraman b3a4a00d29 file-bmp: Use BITMAPV5HEADER structure (bug #649741) 2011-05-08 22:57:39 +05:30
Mukund Sivaraman a713175375 file-bmp: Rewrite code 2011-05-08 22:10:20 +05:30
Mukund Sivaraman 4978f370fe file-bmp: Rewrite code 2011-05-08 21:22:31 +05:30
Mukund Sivaraman 0654b73964 gradient-map: Free gradient_name when done using it 2011-05-07 06:44:22 +05:30
Mikael Magnusson 9e771c3160 file-uri: use correct variable type
uri-backend-libcurl.c:195: warning: call to '_curl_easy_getinfo_err_long'
declared with attribute warning: curl_easy_getinfo expects a pointer to
long for this info
2011-05-07 01:34:34 +02:00
Michael Natterer 604d50fc36 Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
Apply modified patch from Brennan Shacklett that fixes some more
plug-ins.
2011-05-07 01:11:56 +02:00
Yoshinori Yamakawa 759fad8189 file-psd: Make file-psd-save embed color profile 2011-05-06 20:08:57 +05:30
Mukund Sivaraman 1a025e4fbd selection-to-path: Fix an uninitialized variable 2011-05-06 19:48:20 +05:30
Mukund Sivaraman 904d3452b9 file-mng: Indent some code 2011-05-06 19:33:46 +05:30
Mukund Sivaraman 5b999ab3f9 file-png: Indent some code 2011-05-06 19:33:46 +05:30
Mukund Sivaraman 17c5e114c3 file-mng: Call png_set_*() functions after png_set_IHDR() 2011-05-06 16:28:25 +05:30
Mukund Sivaraman cbc2ffc7c2 file-mng: Specify the interlace type explicitly 2011-05-06 16:17:56 +05:30
Mukund Sivaraman ae654a7aae file-png: Update comment for png_set_IHDR() 2011-05-05 20:47:53 +05:30
Mukund Sivaraman fbbeb8d629 file-png: Call png_set_*() functions after png_set_IHDR() 2011-05-05 20:36:45 +05:30
Mukund Sivaraman dbecc7b705 file-png: Move setting the comment text after IHDR is set 2011-05-05 20:15:02 +05:30
Mukund Sivaraman 4fa2bbabf9 file-png: Specify the interlace type explicitly 2011-05-05 18:53:11 +05:30
Michael Natterer f660236a4f plug-ins: remove some -Wunused-but-set-variable 2011-05-05 12:49:38 +02:00
Mukund Sivaraman 5a1a3209e9 Move libpng specific warning CFLAGS to PNG_CFLAGS 2011-05-05 09:48:02 +05:30
Martin Nordholts 28983a5158 app: Add a "check-for-deprecated-procedures-in-script-fu" make target
Add a "check-for-deprecated-procedures-in-script-fu" make target that
looks for usage of deprecated procedures in *.scm files. We currently
use quite a bit of deprecated procedures. When we don't do that
anymore, we should connect this to make check somehow so our nightly
build fails if someone deprecated a procedures without also porting
all clients.

Run it like this from the source root:

  make -C plug-ins/script-fu check-for-deprecated-procedures-in-script-fu
2011-05-05 01:04:23 +02:00
Michael Natterer 5c7660c6cc plug-ins: don't #include <libgimp/gimppixbuf.h> in bmp-read.c 2011-04-28 19:58:51 +02:00
Michael Natterer cc47b2a600 libgimpwidgets/color: move the cairo color utility functions to libgimpcolor
Add CAIRO_CFLAGS to a lot of Makefiles to make this possible, and
because they pull in cairo via the libgimp headers.
2011-04-28 15:50:39 +02:00
Mukund Sivaraman 7f635464b0 imagemap: Rebuild scanners 2011-04-27 21:12:40 +05:30
Mukund Sivaraman 56f08d682b imagemap: Add lexer options to not generate input and yyunput 2011-04-27 21:11:57 +05:30
Mukund Sivaraman 8868a044ea file-mng: Rename more variables 2011-04-26 15:19:43 +05:30
Mukund Sivaraman c6a60d79c4 file-mng: Don't access inside PNG structs directly 2011-04-26 15:18:45 +05:30
Mukund Sivaraman 5b5d88a2f1 file-png: Get num_colors properly before passing it on 2011-04-26 15:18:27 +05:30
Mukund Sivaraman 838ba0b78e file-mng: Rename variables 2011-04-26 15:00:07 +05:30
Mukund Sivaraman 92684a25e9 file-png: Don't access inside PNG structs directly (contd.) 2011-04-26 08:06:27 +05:30
Mukund Sivaraman be78ba448f file-xmc: Flush each drawable 2011-04-25 21:03:12 +05:30
Mukund Sivaraman a1c7606d51 file-png: Conditionally declare text_length 2011-04-25 20:15:39 +05:30
Mukund Sivaraman f610aa4375 file-png: Don't access inside PNG structs directly 2011-04-25 20:15:39 +05:30
Mukund Sivaraman d8a98bf7b3 imagemap: Rebuild parsers 2011-04-25 14:30:58 +05:30
Mukund Sivaraman 58002ed20e imagemap: Fix protos 2011-04-23 07:02:02 +05:30
Michael Natterer 1f78e8e0c6 plug-ins: screenshot: don't pass NULL to gdk_keymap_get_entries_for_keyval()
because it's deprecated to do that and badly crashes in GTK+ 3.0.
Use the display's keymap instead.
2011-04-22 00:06:22 +02:00
Michael Natterer be642b1e14 plug-ins: screenshot: use Cairo to make the screenshot
instead of gdk_pixbuf_get_from_drawable(), which is gone in GTK+ 3.0.
2011-04-21 21:10:38 +02:00
Michael Natterer 1616151b0e libgimp: remove opacity and mode parameters from gimp_layer_new_from_surface()
They are passed as default values in almost all cases, and can simply
be set later if needed.
2011-04-21 21:10:37 +02:00
Mukund Sivaraman e999122e0b file-pdf-load: Update attribution, removing bogus copyright 2011-04-21 13:57:13 +05:30
Mukund Sivaraman dcd447f583 map-object: Fix aliasing warnings 2011-04-21 11:08:29 +05:30
Mukund Sivaraman 36ccc9292d ifs-compose: Don't use deprecated gtk_range_set_update_policy() 2011-04-21 10:57:03 +05:30
Mukund Sivaraman 7bdadd80ba file-pdf-load: Use better API + cleanups
* fixes issues with poppler 0.17 completely
* uses new libgimp API to pass surfaces instead of pixbufs
* uses GTK+ 3 API to convert surfaces to pixbufs where available
2011-04-21 07:48:25 +05:30
Mukund Sivaraman 79f29530bd Bump poppler required version to 0.12.4
The calls that return cairo surfaces are now required, so the
version bump is required.
2011-04-21 06:56:02 +05:30
Michael Natterer 374dd50c43 libgimp: add gimp_layer_new_from_surface()
and to enable that, make libgimp depend on Cairo.
2011-04-20 23:58:00 +02:00
Michael Natterer 26bf2b0cd7 Make libgimp depend on GdkPixbuf
Move the pixbuf layer and image thumbnail function from libgimpui to
libgimp and move gimp_layer_new_from_pixbuf() to gimplayer.[ch] where
it belongs. Change gimp-2.0.pc accordingly, adapt plug-in Makefiles
and update devel-docs.
2011-04-20 20:04:35 +02:00
Mukund Sivaraman 9b3e1c91fd file-pdf-load: Don't use deprecated API (bug #646947) 2011-04-20 18:55:44 +05:30
Michael Natterer 83bbb67781 plug-ins: #undef GDK_DISABLE_DEPRECATED so we are 64 bit safe
will revert after 2.7.2 so we see the warnings again.
2011-04-14 21:16:40 +02:00
Kevin Cozens f1c20cb165 Fixed modulo function which affected 'random' procedure. (See bug #647541) 2011-04-13 13:39:58 -04:00
Michael Natterer 7ace5f9571 plug-ins: port screenshot to cairo_region_t 2011-04-12 00:26:47 +02:00
Michael Natterer cb7acfaf7a plug-ins: forgot some GdkNativeWindow 2011-04-12 00:16:38 +02:00
Michael Natterer ce25d9ef64 plug-ins: don't use gdk_window_foreign_new_for_display() in screenshot
and also avoid GdkNativeWindow.
2011-04-11 23:58:03 +02:00
Michael Natterer 7e6c026790 Globally use GDK_KEY_foo, remove the compat defines from widgets-enums.h 2011-04-11 23:43:03 +02:00
Mikael Magnusson 8ff66342b8 plug-ins: set progress to 1.0 when done 2011-04-10 19:28:43 +02:00
Mikael Magnusson 7552d1aa8b plug-ins: nova, draw cross and use mouse events properly when the preview allocation is larger than the area 2011-04-10 19:28:43 +02:00
Mikael Magnusson 2fbc0b3389 plug-ins: plasma, port to gimp_drawable_mask_intersect 2011-04-10 19:28:43 +02:00
Michael Natterer d0e07a2b1f Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
Applied heavily modified patch from Brennan Shacklett that fixes
cartoon.c; it still tries to make a preview of the nop though.
2011-04-10 13:11:37 +02:00
Mukund Sivaraman 1a3315feac web-page: Use GimpIntComboBox and avoid a lot of excess code 2011-04-10 13:06:12 +05:30
Michael Natterer 8c4d99f883 Bug 645456 - Inconsistent window (role) naming scheme
Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
2011-04-08 20:31:34 +02:00
Mukund Sivaraman 77b76ca945 web-page: Update progress to 1.0 when complete 2011-04-08 18:33:42 +05:30
Mukund Sivaraman 335047fc7f web-page: Fix use of deprecated API 2011-04-08 18:08:27 +05:30
Mikael Magnusson 61476aa20a Remove two stray semicolons making if bodies always run 2011-04-08 13:20:37 +02:00
Michael Natterer 24ee3370b8 Depend on GTK+ >= 2.24.3, cairo >= 1.20.1, gdk-pixbuf >= 2.22.1
and completely separate configure and sanity checks for gdk-pixbuf
from GTK+, because it's now distributed as a separate package. Remove
all sorts of conditional compiling based on GDK_CHECK_VERSION() and
CAIRO_VERSION.
2011-04-06 19:58:24 +02:00
Mukund Sivaraman 95a32f48b3 web-page: Use a GtkSizeGroup with labels 2011-04-04 18:08:13 +05:30
Mukund Sivaraman 4b06a43953 web-page: Add a default font size combo 2011-04-01 17:01:24 +05:30
Mukund Sivaraman a1142827df web-page: Move global variables into webpagevals struct 2011-04-01 16:34:56 +05:30
Mukund Sivaraman 796038b216 web-page: Append GIMP to the user agent string 2011-04-01 16:24:02 +05:30
Mikael Magnusson d03d804b92 plug-ins: gfig, do cancel stuff when the dialog is closed 2011-04-01 02:32:51 +02:00
Mukund Sivaraman af74ee79e2 web-page: Ankh said 2048 bytes, not 1024 bytes 2011-04-01 05:35:52 +05:30
Mukund Sivaraman e9224d41d5 web-page: Increase maximum URL len 2011-04-01 05:21:39 +05:30
Mukund Sivaraman 0b6491f94c web-page: Untabify code 2011-04-01 05:21:26 +05:30
Mukund Sivaraman 488b73ca7d web-page: Save and restore plug-in data 2011-04-01 04:51:21 +05:30
Mukund Sivaraman a4fb10a5af web-page: Change quote style yet again 2011-04-01 04:14:03 +05:30
Mukund Sivaraman d85642dd57 web-page: Don't clean image by default 2011-03-31 15:17:53 +05:30
Mukund Sivaraman 9d8cef0628 web-page: Update TODO 2011-03-31 14:50:47 +05:30
Mukund Sivaraman 4387ffde06 web-page: Do better error handling 2011-03-31 14:48:25 +05:30
Mukund Sivaraman 8b3c7ace46 web-page: Change quote style 2011-03-31 14:48:25 +05:30
Mukund Sivaraman 46931ec0d4 web-page: Fix PDB data type of URL 2011-03-31 12:33:41 +05:30
Mukund Sivaraman 2b814b7148 web-page: Don't update progress too often 2011-03-31 12:04:17 +05:30
Mukund Sivaraman f81c3b1f2c web-page: Report progress when a webpage is being downloaded 2011-03-31 09:24:48 +05:30
Mukund Sivaraman 6c353096bb web-page: Convert tabs to spaces 2011-03-31 09:24:01 +05:30
Mukund Sivaraman 5d035ae557 web-page: Update TODO 2011-03-31 09:09:31 +05:30
Mukund Sivaraman c7a1846ec8 web-page: Make a well-formed URL if necessary 2011-03-31 09:05:57 +05:30
Mukund Sivaraman d2e836a644 web-page: Update TODO list 2011-03-31 08:54:07 +05:30
Mukund Sivaraman 93e0140cd4 web-page: Add width entry widget 2011-03-31 08:54:07 +05:30
Mukund Sivaraman 0382e204d9 web-page: Return correct flag when action is cancelled 2011-03-31 08:54:07 +05:30
Mukund Sivaraman e9befddbba Add the web-page plug-in 2011-03-31 00:39:57 +05:30
Mukund Sivaraman 647f0ada2a Add support for reading 16-bit raw PPM files
This should be useful for loading the output of programs such
as dcraw.
2011-03-26 15:09:59 +05:30
Mukund Sivaraman c062432444 Fix size_t format modifier yet again
This is cause our favourite platform Windows doesn't support
the POSIX `z' modifier for size_t arguments. Yay!
2011-03-24 11:29:23 +05:30
Michael Natterer 28aa26fb28 Bug 635038 - Fails to build on GNU/Hurd
Apply patch from Ari Pollak that tries harder to get a value for
PATH_MAX.
2011-03-21 23:40:05 +01:00
Michael Natterer 569299523e Bug 641529 - Image Map plugin. The name of 2 buttons are not too clear
It can't hurt to have more obvious tooltips.
Changed to "Move Area to Top/Bottom".
2011-03-21 22:58:59 +01:00
Mukund Sivaraman ee6a029040 Add -fno-common to CFLAGS
Also fix the errors that were discovered by it. Multiple
definitions of global variables are no longer silently combined by
the linker, and will be reported as errors.

If you see GIMP crash strangely (i.e, apart from the usual crashes),
please go see a head doctor.
2011-03-21 22:51:30 +05:30
Michael Natterer 6e45d788f8 plug-ins: undeprecate most of file-xjt 2011-03-18 09:27:54 +01:00
Kevin Cozens 422248d42a Fixed cut and paste error that put R5RS fix before the setting of a variable. 2011-03-17 21:43:48 -04:00
Mukund Sivaraman 94fa7a0471 file-jpeg: Validate ExifRational.denominator before division 2011-03-18 03:44:08 +05:30
Mukund Sivaraman 9538f4d61f file-jpeg: Bug #594282 - Set image resolution from EXIF if available 2011-03-18 03:39:05 +05:30
Kevin Cozens 97bf01569a Minor R5RS compatibility fix for the expt procedure. 2011-03-17 17:47:45 -04:00
Kevin Cozens 5c07d3b52d Added a getenv procedure to the ftx extension of Script-Fu. 2011-03-17 17:47:44 -04:00
Mukund Sivaraman 584f9a35e7 Use correct format string for size_t args 2011-03-18 00:06:15 +05:30
Mukund Sivaraman 2deb14c9be Use correct format string for size_t args 2011-03-18 00:06:15 +05:30
Mukund Sivaraman 9bbfac5c59 Use correct format string for size_t args 2011-03-18 00:06:14 +05:30
Michael Natterer bd74617756 Bug 643174 - GIMP fails to execute 'Palette to Gradient' function
Don't call gimp_gradient_segment_range_split_uniform() if num_segments
is 1 (which happens on a palette with two colors).
2011-03-17 19:21:07 +01:00
Michael Natterer ac5cd62af5 plug-ins: don't use %ld to print simple integer values
I have no clue why %ld was used here, the values are really small...
2011-03-17 15:58:46 +01:00
Michael Natterer e26c2777c5 plug-ins: use GimpImageType instead of GimpImageBaseType in value-propagate
This has been wrong forever.
2011-03-17 15:57:46 +01:00
Michael Natterer d7c1788f2c plug-ins: use gdk_window_get_width/height() on GTK+ >= 2.24 2011-03-17 15:56:53 +01:00
Michael Natterer 98e5c32f00 plug-ins: compare gimp_image_base_type() to GIMP_RGB, not GIMP_RGB_IMAGE
because the latter is from the wrong enum.
2011-03-17 15:44:47 +01:00
Michael Natterer d23c0d3fdf plug-ins: add a typedef for IfsCompose's token enum
and don't treat its values as GTokenType.
2011-03-17 15:29:43 +01:00
Michael Natterer bdf8d3d776 plug-ins: add some GTK_CHECK_VERSION(2,24,0) and use the new GtkComboBoxText 2011-03-17 14:31:39 +01:00
Michael Natterer bb6436cb44 libgimp: deprecate and rename the global pararasite functions
just as it was done for items and images. Remove the "parasite" PDB
group completely.
2011-03-08 14:31:04 +01:00
Michael Natterer db6f3dfe89 plug-ins: fix glitch in image parasite function renaming 2011-03-08 14:21:57 +01:00
Michael Natterer 87646e9ace libgimp: deprecate and rename the image parasite functions
in exactly the way the drawable functios were turned into item ones.
2011-03-08 13:19:21 +01:00
Michael Natterer fcfb7cf160 Use the new g_[s]list_free_full() instead of foreach() and free() 2011-03-07 17:11:28 +01:00
Mikael Magnusson 58cc35a0e9 plug-ins: map-object, remove newlayer option from pdb
It broke compatibility with scripts and is mostly useful for interactive use anyway.
2011-03-05 22:19:02 +01:00
Michael Natterer 38fd77f5e9 plug-ins: some more s/gtk_container_add/gtk_box_pack_start/ 2011-03-05 10:59:56 +01:00
Michael Natterer 97a73ea83f app: use gtk_box_pack_start() to pack a dialog's toplevel container
instead of gtk_container_add()'s because otherwise the widget will not
expand in GTK+ 3.x
2011-03-04 10:44:58 +01:00
Mikael Magnusson c913c1512a libgimp, plug-ins: change the parasite function calls in more places 2011-03-02 21:57:37 +01:00
Kevin Cozens b435e55d14 Applied modified version of second patch for bug #642939.
Original patch supplied by Nelson A. de Oliveira. Modified to not use the
-1 "insanity" for invalid/none layer ID's in scripts per IRC discussion.
Additional scripts were changed to not pass -1 to gimp-image-insert-layer.
2011-03-02 02:55:43 -05:00
Kevin Cozens 403630fd57 Applied modified version of first patch for bug #642939.
Original patch supplied by Nelson A. de Oliveira. Modified to not use the
-1 "insanity" for invalid/none layer ID's in scripts per IRC discussion.
2011-03-02 02:27:15 -05:00
Michael Natterer 7faaf4df41 libgimp: rename the newly added item parasite functions
gimp-item-find-parasite -> gimp-item-get-parasite
gimp-item-list-parasites -> gimp-item-get-parasite-list

Also changed the signature of gimp-item-get-parasite-list's C wrapper
in libgimp to be sane.
2011-03-01 22:19:48 +01:00
Mikael Magnusson 203440521a plug-ins: imagemap, init map type to the default type set in preferences 2011-02-23 23:15:01 +01:00
Mikael Magnusson 6ea2f4881a plug-ins: imagemap, Don't show popup menu when button 1 is pressed
Showing the menu when dragging stuff around broke event handling in
various ways. Also only show the menu on right click.
2011-02-23 13:17:09 +01:00
Mikael Magnusson cc3f1e8a24 plug-ins: imagemap, don't run execute for sash when redoing
It adds event handlers expecting the mouse button to be down, but it
isn't, so everything broke.
2011-02-23 13:17:05 +01:00
Mikael Magnusson 8621807a9f plug-ins: imagemap, port to cairo 2011-02-23 13:17:04 +01:00
Mikael Magnusson e012caf1a3 plug-ins: imagemap, tabs to spaces 2011-02-23 13:17:02 +01:00
Barak Itkin b19645db49 script-fu: Use gimp-image-select-item instead of gimp-item-to-selection
gimp-item-to-selection does not seem to exist (in the PDB), so update to the
correct function gimp-image-select-item (which also takes the image as a
parameter).
2011-02-21 00:19:38 +02:00
Mikael Magnusson 2260b15568 plug-ins: lighting, use an expose handler and remove unneeded backbuf 2011-02-20 16:44:19 +01:00
Mikael Magnusson 87750d993e plug-ins: tabs to spaces in map-object 2011-02-20 15:24:22 +01:00
Mikael Magnusson 0f1da6677c plug-ins: pass the cairo_t from expose handler to drawing functions in map-object 2011-02-20 15:24:21 +01:00
Mikael Magnusson fc1ae9e430 plug-ins: better name for new layers in map-object
Also postpones adding the layer until after the calculation.
2011-02-20 13:53:33 +01:00
Mikael Magnusson cf7902b1ab plug-ins: cleanup map-object a bit 2011-02-20 13:52:50 +01:00
Mikael Magnusson 8be41fa9b7 plug-ins: fix directional light mode in map-object 2011-02-20 13:52:50 +01:00
Mikael Magnusson 5bd9de23b8 plug-ins: add back wireframe mode using cairo 2011-02-20 13:52:49 +01:00
Mikael Magnusson 492ab89b4e plug-ins: use an undo group in map-object 2011-02-20 13:52:48 +01:00
Mikael Magnusson e2710c8371 plug-ins: add "Create New Layer" option to map-object 2011-02-20 13:52:48 +01:00
Mikael Magnusson 0344cb4a42 plug-ins: fix pdb input validation in map-object 2011-02-20 13:52:45 +01:00
Mikael Magnusson 85474bff18 plug-ins: remove backbuffer from map-object 2011-02-19 10:43:52 +01:00
Michael Natterer 2827819f85 plug-ins: remove light marker clearing apparatur from map-object
We draw everything in expose() now so there is no need to clear
anything.
2011-02-16 22:01:54 +01:00
Michael Natterer 4ec309d562 pygimp: use the new properties instead of hacking around 2011-02-15 21:28:13 +01:00
Michael Natterer 0d22fee220 pygimp: use the new width/height properties instead of poking into the button 2011-02-15 20:55:57 +01:00
Michael Natterer 7907a496a5 pygimp: use the new "channel" property instead of poking into the scale 2011-02-15 18:52:33 +01:00
Simon Budig 48ec15890e file-psp: fix for bogus input data. Fixes bug #639203 2011-02-14 21:46:45 +01:00
Simon Budig 7fb0300e1c fixes for some buffer overflow problems (see bug #639203) 2011-02-14 21:08:03 +01:00
Saul Goode 2d419a0cb1 Bug 640612 - Sample Colorize does not function non-interactively
Fixed bug with Sample Colorize plugin's non-interactive mode
2011-02-14 18:54:21 +01:00
Kevin Cozens 29716bccec Changed deprecation message to state name of replacement procedure 2011-02-13 14:02:46 -05:00
Michael Natterer b4c9987de6 libgimp: move the item parasite functions to the parasites files
and rename them yet again to be gimp_item_foo_parasite() instead of
gimp_item_parasite_foo() because the latter is just a misnaming (they
are not GimpItemParasites, they are GimpParasites attached to
GimpItems, just as layers are attached to images).
2011-02-13 17:28:30 +01:00
Ulf-D. Ehlert d650117dfb Bug 625571 - Request context tags for reasonable translation on some plug-ins
Add more context tags for some plug-in labels. There were still
ambiguous "From:" and "To:" labels which were not fixed by commit
1dfa7b5e (2010-07-29).
2011-02-13 15:29:29 +01:00
Michael Natterer 491e55c4e4 plug-ins: move the expose handler to map-pbject-preview.c 2011-02-13 14:16:32 +01:00
Michael Natterer 9912e3f4ee plug-ins: separate preview computation from drawing in map-object 2011-02-13 14:12:08 +01:00
Mikael Magnusson 5173b8559c lighting: remove useless function call 2011-02-13 13:19:08 +01:00
Mikael Magnusson e68df27853 map-object: put the y value in the y spinner 2011-02-13 13:19:07 +01:00
Mikael Magnusson 49fc3a125e lighting: port to cairo, replace wireframe with live preview 2011-02-13 13:18:07 +01:00
Martin Nordholts 221f6d0085 plug-ins: file-uri/uri.c initialize backends non-interactvely
In order for DISPLAY-less builds like our nightly Jenkins builds to be
able to query the file-uri plug-in, perform the backend initialization
in query() in run mode GIMP_RUN_NONINTERACTIVE instead of the
"unspecified" 0 == GIMP_RUN_INTERACTIVE run mode.
2011-02-13 10:32:31 +01:00
Kevin Cozens d2d6edc687 Eliminated compiler warning (from SVN version 71 of the TinyScheme project) 2011-02-09 01:41:34 -05:00
Kevin Cozens fac7d4dd64 Pulled in final changes from 1.40 release of the separate TinyScheme project.
With this commit, the TinyScheme component of Script-Fu now has all changes
and bug fixes that have been applied to the separate TinyScheme project.
2011-02-07 15:56:21 -05:00
Kevin Cozens 526c42dc35 Optionally report error line (from SVN r63 of official TinyScheme) 2011-02-07 15:56:21 -05:00
Kevin Cozens 7597d99c8d Added unwind-protect (from SVN r57 of official version of TinyScheme). 2011-02-07 15:56:20 -05:00
peter sikking, m+mi works 6db80c765d remove garbage I injected 2011-02-06 20:21:20 +01:00
peter sikking, m+mi works 7cb5c67bc8 removing references to ps-menurc 2011-02-06 19:57:59 +01:00
Martin Renold 54792780fc plug-ins: openraster fix for non-ascii layer names
Set the utf-8 filename flag in the ZIP.
Before, layer PNG filenames were stored with undefined coding,
causing most ZIP libraries to interpret it as cp437, if anything.
We now pass a unicode object to ziplib, which does the right thing.
2011-02-05 15:25:22 +02:00
Nils Philippsen 0af966b63f Bug 641259 - [abrt] gimp-2:2.6.11-1.fc14: py-slice.py:172:slice:TypeError: integer argument expected, got float
py-slice: cast cellspacing to int in pyslice() to avoid tracebacks
2011-02-02 17:11:28 +01:00
Omari Stephens ed872c7c6e Bug 599065 - PNG output: omit unwanted chunks (sRGB)
If the image has neither a gamma set nor a color profile set, then we
should leave the image untagged. We should not tag as sRGB by default
because it is too arbitrary.
2011-02-02 08:34:39 +01:00
Martin Nordholts d9b24bb1f3 plug-ins: Fix warning about usage of uninitialized variable 2011-01-26 08:05:34 +01:00
Omari Stephens 5cae0bf65c Bug 630748 - display filters do not work
Create and use Cairo-compatible API for display filters. Also
includes logic changes to the display filters to deal with cairo's
ARGB32 pre-multiplied buffer format.
2011-01-25 20:24:42 +01:00
Michael Natterer 47eaecdc9d libgimp: deprecate a bunch of old selection API
namely ellipse_select(), free_select(), rect_select() and
round_rect_select() because they are fully replaced by the new
gimp_image_select_foo() functions. Will deprecate the rest as soon as
I have figured how to put the parameter overkill of the remaining
functions into context properties.
2011-01-25 19:28:30 +01:00
Michael Natterer 9703bed2ef libgimp: reorder the parameters of the new and unused gimp-image-select API
Make the common "image" and "operation" parameters come first.
2011-01-24 14:53:42 +01:00
Kevin Cozens 8a8e8c6fad Fixed OP_INTEGERP op-code to match version in Tinyscheme 1.40
I don't know how the original block of code got the way it was since it has
been a single line of code in TinyScheme since the second revision. This also
prevents the compile from breaking if the USE_MATH #define was ever set to 0.
2011-01-19 15:30:47 -05:00
Kevin Cozens 5c471ecea3 Fixed an out of place line in the comment block at the start of the file. 2011-01-16 23:09:24 -05:00
Kevin Cozens f571ebf247 Fix for SourceForge bug #2826594 (allow reverse to work on empty list).
From SVN version 64 of official version of TinyScheme.

Also removed obsolete op code from opdefines.h table.
2011-01-16 16:26:57 -05:00
Kevin Cozens 73f9f652bc Added URL to document referenced in comment block at top of file. 2011-01-16 13:16:31 -05:00
Michael Natterer 0a1a2915d0 plug-ins: implement GObject::constructed() instead of ::constructor() 2011-01-14 09:38:46 +01:00
Michael Natterer efd6c90572 plug-ins: remove calls to gtk_range_set_update_policy() where useless
either because we were setting the default value, or because there is
already a delay in the callback code like calling gimp_preview_update().
2011-01-08 21:58:22 +01:00
Rob Antonishen 8a2a18b792 Increased maximum radius to 500 in unsharp-mask plugin 2010-12-08 21:47:09 +01:00
Michael Natterer 3242ad592e plug-ins: don't forget to set the progress to 1.0 when finished 2010-11-25 23:28:25 +01:00
Michael Natterer 09ebacdb82 pygimp: undeprecate quite some stuff 2010-11-24 22:02:22 +01:00
Mukund Sivaraman cfde98394c Fix scheme for (integer? 7.0) which should return #t 2010-11-20 15:43:37 +05:30
Nelson A. de Oliveira f72d8a4a39 Move file opening block to after some tests
Instead fclosing fp for every return, it's better to move the block
to a lower position, since it's not used before.
2010-11-12 21:56:17 +01:00
Nelson A. de Oliveira 7666e5cf36 Fix memory and descriptor leaks 2010-11-12 21:56:17 +01:00
Nils Philippsen d2ebadcfb9 colorxhtml: check validity of source_type 2010-11-09 11:33:49 +01:00
Mikael Magnusson b07d02cdc6 plug-ins: destroy cairo surface in CML Explorer 2010-11-02 21:50:45 +01:00
Mikael Magnusson 81fee76747 plug-ins: port Lighting Effects to cairo 2010-11-02 21:34:11 +01:00
Michael Natterer 73d7fbedeb plug-ins: port file-pdf-load to GimpUnitComboBox and build it again 2010-10-31 21:38:27 +01:00
Mikael Magnusson 16f5727e59 plug-ins: port CML Explorer to cairo 2010-10-31 16:54:33 +01:00
Mikael Magnusson 39199fb98b plug-ins: port sphere-designer to cairo 2010-10-31 15:47:06 +01:00
Michael Natterer 29d63afbb7 pdb: remove gimp-item-to-selection again 2010-10-30 22:19:22 +02:00
Simon Budig 5111498e11 More input validation in the psd load plugin
plug-ins/file-psd/psd-load.c: Avoid dereferencing a random pointer
on chn_a[cidx].data[i] when comp_mode is unrecognized.
Spotted by Mikael Magnusson <mikachu@gmail.com>.
2010-10-28 20:34:44 +02:00
Mukund Sivaraman b072e75833 file-jpeg: Make cinfo struct static so asynchronous saves don't crash
The plug-in already makes a copy of the cinfo struct for asynchronous
save, but it seems that somewhere inside cinfo, a pointer points to
another region in this struct. So, everything is copied as-is, and
the pointer ends up pointing to somewhere in the save_image() stack
which is gone when that function returns.
2010-10-23 17:23:22 +05:30
Mukund Sivaraman 64ed52144a Update indentation 2010-10-23 00:39:03 +05:30
Mukund Sivaraman 4998863806 file-jpeg: Fix a crash when toggling settings in preview mode
This patch cancels the GSource for background_jpeg_save() and calls it
synchronously to free resources. Without this patch, multiple GSources
for background_jpeg_save() get setup and result in a crash.
2010-10-22 22:23:42 +05:30
Mukund Sivaraman 349a401cc5 file-jp2-load: Elaborate comment 2010-10-19 20:26:30 +05:30
Sven Neumann 6302ea7de8 pygimp: remove wrappers for gimp_min_colors() and gimp_install_cmap() 2010-10-19 10:02:27 +02:00
Mukund Sivaraman 9bbcf8c6b3 plug-ins/common/file-jp2-load: Check for other kinds of alpha components
ImageMagick seems to write out the 'matte' component (number 3).
2010-10-18 19:21:51 +05:30
Mukund Sivaraman 83eeb724ca plug-ins/common/screenshot: Remove extra article 2010-10-17 16:06:24 +05:30
Mukund Sivaraman 42f67f4d96 Rename WebKit's AM_CONDITIONAL
This is so that WebKit can be used elsewhere in GIMP.
2010-10-17 00:29:04 +05:30
Mukund Sivaraman daf6456663 Fix install rule for individual plug-ins 2010-10-16 15:08:42 +05:30
Nils Philippsen bec9e4b4ea pygimp: deprecate gimpui.UnitMenu 2010-10-15 17:27:06 +02:00
Nils Philippsen bc265758b0 pygimp: add wrapper for GimpUnit, GimpUnitComboBox 2010-10-15 17:27:06 +02:00
Nils Philippsen b07eed8208 pygimp: fix building with deprecated GimpUnitMenu 2010-10-15 17:27:06 +02:00
Michael Natterer c36f762f7d libgimpwidgets: deprecate GimpUnitMenu and gimp_prop_unit_menu_new()
Add gimp_prop_unit_combo_box_new() and adapt all places using the
prop_unit_menu. Some things are broken now, like there are no pixel
digits set, resolution unit menus show "pixels" and warn badly when
pixels is selected, and file-pdf-load is not built right now.
More fixes to come...
2010-10-14 23:03:34 +02:00
Alexandre Prokoudine fee17f8712 Cleanup of recent changes in porting scripts to new API. Marked layer names in carved-logo.scm for translation while at that 2010-10-10 21:07:24 +04:00