Commit Graph

1384 Commits

Author SHA1 Message Date
Kim Woelders 7e513f5b87 Remove OS/2 support.
Looks incomplete and unmaintained.
2013-12-22 05:10:44 +01:00
Kim Woelders 1df8defbaa GIF loader: Fix for libgif version 5. 2013-12-22 05:10:43 +01:00
Kim Woelders 31af56a040 1.4.6. 2013-12-21 13:41:59 +01:00
Kim Woelders ce0c14be10 Remove ChangeLog and obsolete rule to generate it. 2013-12-21 12:50:07 +01:00
Kim Woelders df2c80ed07 Simplify some more and fix certain case of cpp > 2. 2013-08-05 14:38:38 +02:00
Kim Woelders 0d7f851f25 Cosmetics (reduce deep indentation level). 2013-08-04 19:58:33 +02:00
Kim Woelders 4a8aa48317 Deuglification. 2013-07-07 20:36:18 +02:00
Kim Woelders db33b8c6a1 Indent. 2013-07-07 20:36:18 +02:00
Kim Woelders fe82b9760c Autofoo updates.
- Eliminate deprecated AC_TRY_CPP.
- Use pkg-config in stead of freetype-config to get freetype info.
- Eliminate my_includes/my_libs.
- Clean up include paths.
2013-07-07 20:35:29 +02:00
Kim Woelders e81eec2961 Don't set -std=gnu99.
Should not be needed since round() was implemented as macro.
2013-07-05 18:44:11 +02:00
Kim Woelders 842b550233 More warning fixes (64 bit). 2013-07-05 18:44:11 +02:00
Kim Woelders 306f42e0bd Silence compiler warnings (filters). 2013-07-03 16:57:04 +02:00
Kim Woelders 357852ebb9 Silence compiler warnings (loaders). 2013-07-03 16:53:21 +02:00
Kim Woelders 0c647a7f24 Silence compiler warnings (lib). 2013-07-03 16:51:22 +02:00
Kim Woelders 6e41fe2e1a Set warning options when using gcc. 2013-07-03 15:07:51 +02:00
Kim Woelders 41dc2bb98b Update .gitignore. 2013-07-02 16:37:49 +02:00
Kim Woelders 4f94a524b9 Update configure.ac (mostly suggestions by autoupdate). 2013-07-02 16:08:53 +02:00
Kim Woelders 7514ec5276 Minor optimisation (avoid bogus valgrind complaint). 2013-07-02 09:00:37 +02:00
Kim Woelders ad756ccacf Cosmetics for readability. 2013-07-02 08:57:04 +02:00
Kim Woelders eee318461d Fix drawing of closed polygons in certain situations (ticket 2309).
Drawing of the closing line could be skipped depending on the specific
vertex coordinates (and order).

Can't say that I undestand the code completely but this change seems
to fix the problem, and I don't think it can cause trouble.
2013-03-24 20:28:31 +01:00
Kim Woelders d943d1ebea Change INCLUDES to AM_CPPFLAGS.
INCLUDES is deprecated.
2013-03-24 20:28:31 +01:00
Cedric BAIL b88a36e6fd trunk: remove use of AM_PROG_CC_STDC as AC_PROG_CC does it.
Patch by Doug Newgard <scimmia22@outlook.com>


SVN revision: 82148
2013-01-04 05:49:26 +00:00
Cedric BAIL 6d19254b4f autotools: move to AC_CONFIG_HEADERS.
Patch by Doug Newgard <scimmia22@outlook.com>.


SVN revision: 82135
2013-01-04 00:55:00 +00:00
Kim Woelders a115ba3645 TGA loader: Fix for corrupt RLE format.
Patch by Matias Garcia/Ross Video.

SVN revision: 76919
2012-09-20 18:04:06 +00:00
Kim Woelders 12a35d6bae Update ChangeLog.
SVN revision: 62487
2011-08-15 19:34:10 +00:00
Kim Woelders d41d57003a 1.4.5.
SVN revision: 62486
2011-08-15 19:30:41 +00:00
Kim Woelders ebb62b7521 Avoid referencing /usr/X11R6 when x_dir is not set.
... which normally it will not be, AFAICT.

SVN revision: 58696
2011-04-15 22:04:59 +00:00
Kim Woelders 8169598a08 Fix program linking (ticket 725).
SVN revision: 58695
2011-04-15 22:04:56 +00:00
Kim Woelders 4b12b9e154 PNM loader: Refactor around progress and exits.
SVN revision: 58520
2011-04-09 09:24:51 +00:00
Kim Woelders de93dc7e22 Fix loading of .pbm's (P4) when width is not a multiple of 8.
SVN revision: 58519
2011-04-09 09:24:48 +00:00
Kim Woelders 41c3a967d0 Indent (most) .c files.
SVN revision: 58518
2011-04-09 09:24:44 +00:00
Kim Woelders 4c55d2c3f6 Better image cache time stamp test.
SVN revision: 57918
2011-03-20 17:19:02 +00:00
Kim Woelders a1a018317a Fix pnm image loading in certain situations (ticket 721).
"It fails with "large" images, written with multiple pixels on the same line."

Patch by quentin.stievenart@gmail.com

SVN revision: 57697
2011-03-11 21:13:19 +00:00
Mike Frysinger 5983044ae4 png loader: do not hit "interlaced" member of the png ptr struct
this should work with libpng 1.[245].x ... did not check anything older than that though

patch by Thomas Klausner

SVN revision: 57171
2011-02-19 19:33:58 +00:00
Mike Frysinger d594895dba png loader: use png_jmpbuf() macro rather than hitting jmpbuf directly
this should work with libpng 1.[245].x ... did not check anything older than that though

patch by Thomas Klausner

SVN revision: 57170
2011-02-19 19:23:57 +00:00
Carsten Haitzler 9d92b88128 no more debian dir in our svn - debian now handles this tehmselves.
SVN revision: 54306
2010-11-08 05:54:24 +00:00
Lucas De Marchi 24909ec041 Fix typos
"he->the" where appropriate



SVN revision: 52493
2010-09-20 17:09:13 +00:00
Lucas De Marchi 2ef97d2252 Fix common misspellings
Following misspellings were fixed:

adn->and
alwasy->always
arbitary->arbitrary
cant->can't
commerical->commercial
comprimise->compromise
consistant->consistent
dependant->dependent
didnt->didn't
doesnt->doesn't
enviroments->environments
foudn->found
fucntion->function
isnt->isn't
iwth->with
mroe->more
neccesary->necessary
onyl->only
paranthesis->parenthesis
parralel->parallel
refernces->references
seperate->separate
shoudl->should
soem->some
wasnt->wasn't
wiht->with
wokr->work




SVN revision: 52023
2010-09-09 03:31:04 +00:00
Kim Woelders 9daceb518d Fix imlib_render_image_part_on_drawable_at_size() ...
... when using color modifier and not scaling (ticket 576).

SVN revision: 51846
2010-09-02 21:19:49 +00:00
Lucas De Marchi 43def7af7b Revert and re-apply badnull patch
Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.




SVN revision: 51650
2010-08-26 01:34:13 +00:00
Lucas De Marchi 35e8e96a61 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Lucas De Marchi 5962d9d66c Apply memset-calloc.cocci
Change calls to malloc + memset to calloc whenever an automatic conversion can
be done.

Possible candidates are not treated here, only the ones we can be sure the
conversion is safe.



SVN revision: 51078
2010-08-13 12:53:08 +00:00
Lucas De Marchi 96d043addc FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Kim Woelders e34f1fe134 Fix reading tiff images with orientation other than ORIENTATION_TOPLEFT (ticket 563).
There are almost certainly still issues to be fixed, particularly
around progess() and certain combinations of orientation and tiling.

SVN revision: 50515
2010-07-26 18:14:10 +00:00
Kim Woelders 2c4149fee4 Avoid some duplicated code.
SVN revision: 50514
2010-07-26 18:14:08 +00:00
Kim Woelders c7388db2ae imlib2_view stuff.
- Add -s option to show scaled image.
- Handle WM_DELETE_WINDOW.
- Quit on keypress 'q'.
- Trivial cleanups.

SVN revision: 50513
2010-07-26 18:14:05 +00:00
Lucas De Marchi b2a826a680 Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
Kim Woelders cdaa13122d Update ChangeLog.
SVN revision: 48636
2010-05-05 18:25:17 +00:00
Kim Woelders 2fd09af93f 1.4.4.
SVN revision: 48635
2010-05-05 18:23:19 +00:00
Kim Woelders a50d2b5651 New ChangeLog.
SVN revision: 48634
2010-05-05 18:23:17 +00:00