Commit graph

39 commits

Author SHA1 Message Date
nia
12234093cf imlib2: Update to 1.7.1
***
*** Version 1.7.1 ***
***

Daniel Kolesa (1):
      Fix big endian build

Kim Woelders (6):
      rend.c: Fix __imlib_generic_render() when jump != 0
      grab.c: Support 30bpp display in __imlib_GrabXImageToRGBA()
      WEBP loader: Add initial signature check
      XPM loader: Get transparency right when doing header-only loading
      Silence a couple of sign-compare warnings
      1.7.1
2021-01-24 15:15:46 +00:00
gutteridge
d92a1df8cd imlib2: fix big-endian builds 2020-08-17 02:52:52 +00:00
nia
a71155b430 imlib2: Update to 1.6.1
***
*** Version 1.6.1 ***
***

Kim Woelders (11):
      gz loader: Use FILE, not fd
      gz, bz2 loaders: Fix recent breakage when file name has more than two dots
      Quit on 'q' or 'esc' key press in all imlib2_... test utilities
      Rename imlib2_test_load to imlib2_load
      imlib2_load: Optionally write to stderr instead of stdout
      imlib2_view: Add progress debug options
      Enable specifying loader/filter paths with environment variables
      BMP loader: Remove some bogus conditions
      XPM loader: Minor optimization for cpp > 2
      LBM loader: Fix header-only loading
      1.6.1

Luiz Carlos Ramos (1):
      BMP loader: Fix size calculation when saving files


***
*** Version 1.6.0 ***
***

Alexander Volkov (1):
      Allow to use custom memory management functions for loaded images

Kim Woelders (64):
      Add __imlib_LoadImageWrapper() handling all load() calls
      imlib2_conv: Report error on save failure
      Autofoo cosmetics
      Trivial cleanups in imlib2_... test programs
      Add imlib2_test_load program
      Cleanups in load() functions
      Centralize handling of im->format
      Sort loaders in Makefile.am
      Remove obsolete dmalloc stuff
      Move SWAP.. macro definitions to common.h
      Use common PIXEL_ARGB() macro to compose pixels
      Add new ICO loader
      Spec file simlifications and cleanups
      Fix memory leak in imlib_list_fonts()
      XPM loader: Refactor exit cleanup handling
      XPM loader: Fix potentially uninitialized pixel data
      XPM loader: Fixup after "Refactor exit cleanup handling"
      Revert "XPM loader: Fix potentially uninitialized pixel data"
      XPM loader: Cosmetics (reduce indent level)
      XPM loader: Fix several colormap issues
      XPM loader: Simplify pixel value handling
      XPM loader: Add missing pixels (malformed xpm)
      XPM loader: More simplifications
      JPG loader: Refactor
      JPG loader: Do proper CMYK conversion
      Add new WebP loader
      Remove pointless im->data checks in loaders
      WepP loader: Fix memory leak in error path
      JPG loader: Fix memory leaks in error paths
      Fix ABI break
      ICO loader: Add binary flag to fopen()
      JPG loader: Refactor error handling
      Rename/add byte swap macros
      BMP loader: Major makeover - numerous bug fixes and feature enhancements
      Miscellaneous imlib_test_load tweaks
      GZIP loader: Check filename before uncompress
      imlib2_test_load: Fixup after recent change
      Re-indent everything using indent-2.2.12
      TGA loader: Refactor
      Eliminate WRITE_RGBA()
      Simplify autogen.sh
      Simplify pixel color handling in api.c
      Use pixel instead of r,b,g,a in __imlib_render_str()
      Use macro for pixel color access in savers
      Eliminate READ_RGBA()
      XPM loader: Accept signature not at the very start of the file
      Simplify loader lookup functions
      imlib2_view: Enable selecting next/prev using keys too
      imlib2_view: Fix event processing bug
      imlib2_test_load: Fixup recent breakage for real
      imlib2_test_load: Check progress conditionally
      imlib2_view: Add verbose option, quit on Escape too
      TGA loader - Mostly cosmetic refactoring
      TGA loader: More mostly cosmetic changes
      TGA loader: Support horiontal flip
      TGA loader: Add simple 16 bpp handling
      TGA loader: Tweak error handling
      ICO loader: Fix non-immediate loading
      Remove __imlib_AllocateData() w,h args
      imlib2_view: Fix next/prev selection if last/first image is bad
      ICO loader: Fix memory leak in error path
      XPM loader: Correct signature check (avoid accessing unset data)
      gz, bz2 loaders: Simplify, eliminate unnecessary strdups, cosmetics
      1.6.0.
2020-02-20 15:14:56 +00:00
leot
b01a543f54 imlib2: Update graphics/imlib to 1.5.1
pkgsrc changes:
- Remove lround patches: lround is no longer used
- Remove #ifndef blocks to rip out XShm support.  Unfortunately
  the logic is much more convoluted now and #ifndef parts of the code
  no longer scale.
  Please note that this can break support on Interix!

Changes:
1.5.1
*****
Kim Woelders (13):
 - Fix build without HAVE_X11_SHM_FD (T6752)
 - XPM loader: Fix potential use of uninitialized value (T6746)
 - BMP loader: Fix infinite loop with invalid bmp images (T6749)
 - PNM loader: Simplify (fixing ASCII format parsing issues T6751)
 - BMP loader: Fix warnings found with -O3
 - Maximum image dimension should be 32767, not 32766
 - PNG loader: Correct various error handling cases
 - Add missing const to imlib_apply_filter() script argument
 - Warning fixes in imlib2_... programs
 - imlib2_view: Limit window dimensions to 32767
 - grab.c: Fix gcc8 warning
 - imlib2_conv.c: Fix gcc8 warning
 - 1.5.1.

1.5.0
*****
Alexander Volkov (3):
 - put a check for shared memory inside __imlib_ShmGetXImage()
 - introduce __imlib_ShmDestroyXImage() instead of __imlib_ShmDetach()
 - Add support for MIT-SHM FD-passing

Kim Woelders (19):
 - XPM loader: Fix incorrect image invalidation.
 - Make some more functions static.
 - Introduce __imlib_LoadImageData()
 - Remove redundant CAST_IMAGE()
 - imlib2_grab: Always use imlib_create_scaled_image_from_drawable() to grab image
 - imlib_create_scaled_image_from_drawable(): speed up 1:1 case
 - imlib_create_scaled_image_from_drawable(): Drop shape handling if unshaped
 - Indent
 - Autofoo cosmetics
 - Strip trailing whitespace, cosmetics
 - Fix potential OOB memory access if border elements are negative
 - Fix potential OOB memory access if border sizes exceed image dimensions
 - Introduce IMLIB2_SHM_OPT to enable overriding/testing SHM modes
 - Add IMLIB2_XIMAGE_CACHE_COUNT to enable testing the ximage cache
 - Refactor the XImage cache
 - Add imlib_get_cache_used()
 - Expose XImage cache control functions
 - Drop -Waggregate-return
 - 1.5.0.
2018-11-29 13:58:58 +00:00
leot
98ebcd7fab Update graphics/imlib2 to 1.4.7.
pkgsrc changes:
 o Add LICENSE
 o Remove no more needed patches and while here add a comment to all patches

Changes:
Fabian Keil (14):
      Prevent division-by-zero crashes
      imlib_conv: Use proper buffer size to prevent invalid write of size one
      loader_gif: Don't read uninitilized memory in case of invalid input
      loader_gif(): Abort gif parsing if DGifGetLine() fails
      Fix segfault when opening input/queue/id:000007,src:000000,op:flip1,pos:51 with feh
      Make IMAGE_DIMENSIONS_OK() more restrictive
      load_pnm: Deal with fread() errors consistently
      __imlib_LoadImage(): Additionally check loader_ret to detect loader failures
      loader_tga: Abort file loading if the file obviously isn't large enough
      imlib_save_image(): Check loader return code for errors
      loader_tga.c: Properly signal if decoding uncompressed BGRA data failed
      loader_tga.c: Properly signal if decoding RLE compressed data failed
      imlib_save_image_with_error_return(): Check loader return code to prevent use of unitialized memor
      load_gif: Make sure rows isn't used partly unitialized

Heiko Becker (1):
      GIF loader: Fix for libgif version 5.1

Kim Woelders (20):
      GIF loader: Fix for libgif version 5.
      Remove OS/2 support.
      Remove empty format.c/h.
      Header file cleanups.
      GIF loader: Simplify error handling.
      GIF loader: Fix segv on images without colormap.
      Revert "__imlib_LoadImage(): Additionally check loader_ret to detect loader failures"
      Revert "loader_gif(): Abort gif parsing if DGifGetLine() fails"
      JPEG loader: Fix load() return code when only reading header.
      BMP loader: Simplify pixel fetch.
      Autofoo update (AC_PROG_LIBTOOL -> LT_INIT).
      Autofoo macro cleanups (ac_->ec_).
      Change a number of internal function names.
      Indent.
      Don't include Imlib2.h indirectly via image.h.
      Remove __hidden.
      Enable visibility hiding by default.
      Indent the remaining unindented files.
      Generate a ChangeLog using git shortlog between existing tags.

Michał Górny (1):
      fix -I flags to support building out-of-source

Mike Frysinger (5):
      simplify --enable-visibility-hiding handling
      imlib2-config: delete old reference to @my_libs@
      check return value of fread/write funcs
      fix X_DISPLAY_MISSING redefined warnings when X is disabled
      do not link with X libs when X is disabled
2016-01-22 21:06:59 +00:00
adam
163b962b8b Remove @my_libs@ from imlib2-config 2014-05-20 16:18:38 +00:00
adam
af5916ee54 Version 1.4.6
- TGA loader: Fix for corrupt RLE format.
- Fix drawing of closed polygons in certain situations (ticket 2309).
- Set warning options when using gcc.
- Silence compiler warnings.
- Don't set -std=gnu99.
- XPM loader: Simplify and fix certain case of cpp > 2.
2014-05-17 09:25:01 +00:00
obache
f2bb23c4d5 fixes build with giflib>=5.1 2014-05-16 10:19:11 +00:00
ryoon
f6ca72a5d3 Fix build with giflib 5.0, PR pkg/48021. 2013-07-06 05:58:03 +00:00
joerg
f2b8e46d9a Provide rpath in imlib2-config --libs output. 2013-03-02 18:07:14 +00:00
joerg
72972c3e32 Drop .extern, it is ignored by GNU as and not supported by LLVM. 2012-06-15 18:52:26 +00:00
drochner
49b65739f6 update to 1.4.5
changes:
-bugfixes
-cleanup, spelling fixes
2011-11-07 12:14:15 +00:00
drochner
07001889d3 update to 1.4.4
changes: misc bugfixes and cleanup

The code structure around Xshm has changed -- someone please
check the Interix specific patches.
2011-05-18 10:04:26 +00:00
wiz
381781d6d5 Remove obsolete patch (a very similar chunk is nowadays a few lines
higher, where the variables are defined).
2011-01-31 10:23:44 +00:00
wiz
874c6a8ee7 Add comments to patches. 2011-01-31 10:22:26 +00:00
wiz
6df031eff7 Fix build with png-1.5. From John Bowler. 2011-01-14 10:02:53 +00:00
tron
3c76c93224 Add Debian patch to fix a buffer overflow in the XPM file loader.
Bump package revision.
2008-11-23 18:41:16 +00:00
tron
c8c4823740 Update "imlib" package to version 1.4.2. Changes since version 1.4.0:
- Various bugfixes and security updates

This update addresses SA32354.
2008-10-30 11:26:25 +00:00
drochner
24f6cf1d75 add a patch from redhat bugzilla (#449073) to fix the xpm half
of CVE-2008-2426, the pnm half was fixed in pkgsrc in 2006
bump PKGREVISION
2008-06-02 10:05:50 +00:00
drochner
6095cfb18f update to 1.4.0
changes: security fixes, and a few crashes fixed
2007-09-18 19:18:10 +00:00
tnn
1d186eafc7 - Add SUBST fragment to deal with hardcoded .so library suffix in image.c.
- While here, remove hunk "Avoid regenerating within pkgsrc" from patch-af.
  (caught by pkglint)
- Bump revision
2007-08-02 21:35:14 +00:00
yyamano
badb9359cf PR pkg/35521.
Apply patch provided by naoto at morishima.net to make this buld on Darwin/intel.
2007-03-14 16:10:43 +00:00
drochner
42b4c49916 remove stale patchfile, pointed out by Kouichirou Hiratsuka 2006-11-29 15:37:09 +00:00
drochner
f7d5b705e2 fix some insufficient validation of graphics files, patches from Ubuntu
(CVE-2006-4806, CVE-2006-4807, CVE-2006-4808, CVE-2006-4809)
update to 1.3.0 (no changelog available)
2006-11-24 12:46:12 +00:00
rillig
abc5bd256d Solaris 5.8 needs its own definition of lround(), too. 2006-07-19 16:16:23 +00:00
tv
0f8b64736d Use my_lround() on Interix too.
Add minimalist #ifndef blocks to rip out XShm support on Interix.
2005-11-04 20:11:47 +00:00
hiramatsu
48d5d7bb20 OpenBSD doesn't have lround. 2005-11-02 00:45:02 +00:00
joerg
2d0a8a5e41 Also use the lround workaround on older DragonFly systems. 2005-10-10 16:35:45 +00:00
kim
e2b8a4f32e Fix imlib2 use through dlopen. Patch pointer provided by Charlie Allom.
Closes PR 29054.
2005-04-11 05:29:15 +00:00
wiz
0ff8727b0a Fix imlib2-config output to include -Wl,-R. Bump PKGREVISION. 2005-03-14 15:46:18 +00:00
rillig
3ef51f6ac0 Replaced the patch-aa (worked only with NetBSD-2.0) with patch-ab (works
also with NetBSD-1.6.2). Bumped PKGREVISION, because the actual code
changes. The patch is ugly (as usual), but small. Reviewed by christos.
2005-03-10 23:39:53 +00:00
wiz
ca568e9547 Add patch to fix build on 2.0, based on a suggestion by OBATA Akio in PR 28943.
Also closes PR 28984.
2005-01-23 19:42:59 +00:00
adam
845be3282a Changes 1.2.0:
* Source tree clean up
* Bug fixes
2005-01-11 13:37:54 +00:00
rh
71f67f8a82 Update imlib2 to 1.1.2. This version now includes an IFF ILBM loader.
More importantly, this version fixes a buffer overflow vulnerability.
Closes PR 26833 by Peter Bex.
2004-09-06 02:56:07 +00:00
recht
be347301e2 Update to imlib2-1.1.1.
No real changelog available, so I'm guessing it are only bug-fixes..
2004-08-26 20:21:58 +00:00
xtraeme
4a04910f83 Updated to 1.1.0, provided by Min Sik Kim PR pkg/23630.
Changes:

	o imlib2-1.1.0 uses freetype2 instead of freetype1.
	o More bugfixes, etc.
2003-12-04 19:37:52 +00:00
jmmv
5a13113088 Update to 1.0.6. Author only maintains a CVS ChangeLog that is very difficult
to track for differences since 1.0.3...  anyway, most changes seem to be
bugfixes and performance improvements.

This closes my own PR pkg/19144.
2003-02-15 12:00:40 +00:00
enami
60c6ac4d38 Make necessary rpath is embedded in shared objects by making LDFLAGS is
substituted by configure instead of hardcoding.
2001-11-14 23:17:10 +00:00
rh
0dc5ad37a6 Initial import of imlib2-1.0.3, an image manipulation library (the
successor to imlib).
2001-08-16 10:49:52 +00:00