Commit Graph

6736 Commits

Author SHA1 Message Date
Mukund Sivaraman 1558c3ffa5 sphere-designer: Remove dead variable and assignment 2011-10-11 09:59:34 +05:30
Mukund Sivaraman 6ea66d8142 qbist: Delete dead variable and assignment 2011-10-11 09:57:55 +05:30
Mukund Sivaraman 3f62941c78 color-rotate: Delete dead variables and assignments 2011-10-11 09:56:46 +05:30
Mukund Sivaraman 90a4886ce4 curve-bend: Delete dead variable and assignment 2011-10-10 10:11:40 +05:30
Mukund Sivaraman 2e988adc66 edge-neon: Comment out unused variable and assignment 2011-10-10 10:10:08 +05:30
Mukund Sivaraman 3725041760 file-xjt: Remove redundant and erroneous pre-assignment 2011-10-10 10:06:45 +05:30
Mukund Sivaraman 70a6f7e6bf file-gif-save: Delete dead variables and assignments 2011-10-10 10:05:05 +05:30
Mukund Sivaraman 089040e6c1 antialias: Delete dead variable and assignment 2011-10-10 10:03:43 +05:30
Mukund Sivaraman 852646a1c2 unsharp-mask: Delete dead variable and assignment 2011-10-10 10:02:34 +05:30
Mukund Sivaraman 4829464f58 iwarp: Delete dead variables and assignments 2011-10-10 10:01:30 +05:30
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
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