Commit Graph

6760 Commits

Author SHA1 Message Date
Mikael Magnusson f6f22ed431 Remove stray semicolons 2012-08-20 15:22:20 +02:00
Nils Philippsen 43fc9dbd8e file-gif-load: fix type overflow (CVE-2012-3481)
Cast variables properly to avoid overflowing when computing how much
memory to allocate.
2012-08-16 12:07:40 +02:00
Jan Lieskovsky d95c2f0bcb file-gif-load: limit len and height (CVE-2012-3481)
Ensure values of len and height can't overflow g_malloc() argument type.
2012-08-16 12:06:31 +02:00
Nils Philippsen 86f4cd39bd file-cel: use g_set_error() for errors instead of g_message() 2012-08-14 12:03:59 +02:00
Nils Philippsen 69b98191cf file-cel: use statically allocated palette buffer 2012-08-14 12:03:59 +02:00
Nils Philippsen b772d1b84c file-cel: validate header data (CVE-2012-3403) 2012-08-14 12:03:59 +02:00
Nils Philippsen 797db58b94 file-cel: check fread()/g_fopen() return values and pass on errors 2012-08-14 12:03:58 +02:00
Michael Natterer 73fc1df8ff Bug 678297 - Cannot find Page Setup in Gimp 2.8
Embed the page setup dialog only on non-windows systems. This
effectively reverts bdc3f7e7e0 but puts
the diff in #if[n]def EMBED_PAGE_SETUP which is defined as
!G_OS_WIN32. Did not revert the bug fixes that were mixed with
the original embedding patch.
2012-08-07 16:03:42 +02:00
Michael Natterer c207e395fd Bug 680432 - metadata.exe keeps dying
Based on a patch by Hartmut Kuhse, run all strings through
gimp_any_to_utf8() which always returns something that's UTF-8, even
if it's only "(invalid UTF-8 String)". Better than crashing.
2012-07-31 15:14:20 +02:00
Massimo Valentini d3e68fc995 plug-ins: don't crash loading a transparent indexed png
with no text chunk, in that case 'i' == tile_height and

*** glibc detected *** ...2.0/plug-ins/file-png:
  double free or corruption (out): 0x00000000011af590 ***
2012-07-09 18:04:08 +02:00
Massimo Valentini d76394775f Bug 677040: PDF export does not appear to handle font size...
...correctly unless image flattened

Font size was wrong unless in pixels and
gimp_drawable_type returns a GimpImageType
2012-06-21 19:04:32 +02:00
Mikael Magnusson a4cd8637af metadata: fix length passed to base64 decoder 2012-06-13 02:12:27 +02:00
Matthias Wenzel 9e97e5c26a plug-ins: add 1, 2, 4, 8 bit grayscale loading to file-raw
and put the preview into a scrolled window.

mitch: cleaned up the patch and made the preview area properly
follow the loaded image's size.
2012-06-12 20:10:36 +02:00
Massimo Valentini 03e819de24 Bug 673729: tiff plug in not working 2.8.0-RC1 windows install
implement win32 filename Unicode management in the plug-ins
to work-around a problem in libtiff TIFFFdOpen.

Based on a patch from Hartmut Kuhse.
2012-06-09 15:36:53 +02:00
Massimo Valentini be5b969c00 Bug 677637: PDF export plug-in does not work
use g_fopen and cairo_pdf_surface_create_for_stream
to avoid file name encoding issues on Windows.
2012-06-09 15:36:53 +02:00
Simon Budig 24b834627e slight progress for planar loading... 2012-06-07 01:53:46 +02:00
Simon Budig e0497c5173 treat tiff samples as linear instead of gamma corrected 2012-06-06 21:53:50 +02:00
Michael Natterer ace4563159 Bug 676804 - file handling DoS for fit file format
Apply patch from joe@reactionis.co.uk which fixes a buffer overflow on
broken/malicious fits files.
2012-06-06 21:21:10 +02:00
Massimo Valentini 321a113212 Bug 676916: Filename garbled when you save .xcf.bz2...
or .xcf.gz files using non-ASCII characters
2012-05-31 19:35:23 +02:00
Massimo Valentini 2f10aee65d Bug 676871: GIMP reports false positive plugin crash after...
entering "quit()" in Python Console.
2012-05-29 13:10:05 +02:00
Mukund Sivaraman 49d7b05fed file-compressor: Bug #676916 - Use g_open() and g_fopen() instead of libc 2012-05-28 20:42:59 +05:30
Simon Budig 2ebdd5f550 remove obvious code duplication 2012-05-19 15:32:05 +02:00
Simon Budig abf4693a3d further untested loading code... 2012-05-19 02:52:47 +02:00
Simon Budig b2e579ad21 stab at the tiff plugin. Die! die! die! 2012-05-19 02:52:45 +02:00
Massimo Valentini cac0504f29 Bug 675981: Export as JPEG "save defaults" "load defaults" doesn't work
oversight
2012-05-18 17:20:52 +02:00
Øyvind Kolås 9b7860cbfc plug-ins: remove normalize plugin from menus
This is the same as auto-levels
2012-05-14 19:13:10 +02:00
Alexandre Prokoudine eb48617a38 Replaced old Difference of Gaussians, Laplace and Sobel filters with new GEGL operations 2012-05-13 06:41:19 +04:00
Alexandre Prokoudine ac85c84a0f Replaced old Ripple and Lens Distortion filters with new GEGL operations 2012-05-13 06:15:24 +04:00
Alexandre Prokoudine 20ae491b21 Replaced the old Unsharp Mask filter with the new GEGL operation 2012-05-13 05:38:24 +04:00
Øyvind Kolås 7cfb9b2012 plugins: remove diffraction pattern from menus 2012-05-08 21:07:25 +02:00
Øyvind Kolås 7e6b27609e plugins: remove smooth-palette from menus 2012-05-08 21:07:25 +02:00
Michael Natterer 54bb3c4473 plug-ins: port screenshot cursor drawing to GEGL 2012-05-08 01:44:13 +02:00
Øyvind Kolås 6c3372cefb plugins: remove mail plug-in from menus 2012-05-07 12:21:13 +02:00
Øyvind Kolås 37127d79cb plugins: hide gimpressionist from menus 2012-05-07 09:37:26 +02:00
Øyvind Kolås 54db741e1b plugins: remove sphere designer from menus 2012-05-07 09:36:51 +02:00
Michael Natterer 4b24194907 Bug 588936 - a visual feedback should be produced after screenshot is done
Beep after a screenshot with delay was taken.
2012-05-07 02:18:32 +02:00
Øyvind Kolås d96cab20d7 plugins: remove warp plug-in from menus 2012-05-06 21:44:43 +02:00
Øyvind Kolås 1be09c737e plugins: remove paper tile from menus 2012-05-06 21:42:39 +02:00
Øyvind Kolås c938e4c85c plugins: remove laplace/sobel from menu
The generic edge detect plug-in convers both _and_ is more configurable.
For GEGL it _might_ make sense to internally have laplace/sobel, though
it is not important to have it visible in a end user/photographer menu.
2012-05-06 21:33:48 +02:00
Øyvind Kolås 96ab6aa88e scripts: remove the entries registered in the create menu 2012-05-06 21:16:40 +02:00
Øyvind Kolås 77f76728f5 plugins: remove filter-pack from menus 2012-05-06 21:16:40 +02:00
Øyvind Kolås 8f640e8084 plugins: remove max-rgb from menus 2012-05-06 21:06:12 +02:00
Øyvind Kolås 5dbbb02bfb plugins: remove colorcube-analysis from menus 2012-05-06 20:47:40 +02:00
Michael Natterer f1a771439a Replace the semi-flatten plug-in by a GEGL operation 2012-05-04 23:56:10 +02:00
Michael Natterer f24445efbc Replace the threshold-slpha plug-in by a GEGL operation 2012-05-04 17:59:36 +02:00
Michael Natterer 0c4c095a57 plug-ins: hide colorify from the menus, we have the colorize tool 2012-05-03 15:02:34 +02:00
Michael Muré 9966bcfd13 remove now useless and deprecated g_thread_init
Warning

g_thread_init has been deprecated since version 2.32 and should not be used in newly-written code. This function is no longer necessary. The GLib threading system is automatically initialized at the start of your program.
2012-05-03 20:44:07 +09:00
Øyvind Kolås 1fe7b39dda plugins: remove map-object from menus 2012-05-03 04:34:08 +02:00
Øyvind Kolås b165893c2b plugins: hide tile-small from menus 2012-05-03 04:34:08 +02:00
Øyvind Kolås 5a851c3c9b plugins: hide blinds operation 2012-05-03 04:34:07 +02:00