Commit graph

6626 commits

Author SHA1 Message Date
Mukund Sivaraman a3b5f677fa warp: Delete dead variable and assignment 2011-10-10 09:59:23 +05:30
Mukund Sivaraman 9ab50f28e3 help-browser: Delete dead variable and assignment 2011-10-10 09:57:58 +05:30
Mukund Sivaraman 6fe92ac75b file-ps: Change list of ifs to switch 2011-10-10 09:56:32 +05:30
Mukund Sivaraman 0a5954d8e0 screenshot: Delete dead variable 2011-10-10 09:54:08 +05:30
Mukund Sivaraman 7b25fdc298 sphere-designer: Remove dead variable and assignment 2011-10-10 09:49:54 +05:30
Mukund Sivaraman 1d1fd1a35d blinds: Remove dead variables and assignments 2011-10-10 09:46:57 +05:30
Mukund Sivaraman c8eac767e6 file-xwd: Indent code 2011-10-08 18:38:14 +05:30
Mukund Sivaraman ba71d7b40f file-xwd: Don't bother with return value of set_pixelmap() 2011-10-08 18:37:58 +05:30
Mukund Sivaraman 7693791223 curve-bend: Remove redundant assignment and move variable to local block 2011-10-08 18:33:04 +05:30
Mukund Sivaraman 16f7aafdbb file-jp2-load: Delete dead variable and assignment 2011-10-08 18:30:21 +05:30
Mukund Sivaraman f18946484f color-rotate: Remove dead assignment 2011-10-08 18:25:58 +05:30
Mukund Sivaraman 1b52b1d3fa nl-filt: Remove inline from functions 2011-10-08 18:19:25 +05:30
Mukund Sivaraman ea88059cf4 nl-filter: Remove dead assignment 2011-10-08 18:18:02 +05:30
Mukund Sivaraman dd33ca10ea tile: Delete dead variables and assignments 2011-10-08 18:15:40 +05:30
Mukund Sivaraman a7e218ba51 file-psd: Delete dead variable and assignment 2011-10-08 18:12:57 +05:30
Mukund Sivaraman 875043dbb4 warp: Delete dead variable and assignment 2011-10-08 18:11:36 +05:30
Mukund Sivaraman 9a86ba6393 flame: Remove static condition 2011-10-08 18:07:31 +05:30
Mukund Sivaraman 68704eeb0b flame: Remove dead assignment 2011-10-08 18:05:39 +05:30
Mukund Sivaraman 2712cb1109 file-ps: Delete dead variable and assignment 2011-10-08 18:03:03 +05:30
Mukund Sivaraman 54b0e41479 despeckle: Rename variables for better clarity 2011-10-08 08:19:57 +05:30
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