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
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
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
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
Carsten Haitzler
e5a280efc1
minor buglet - w * w - duh!
...
SVN revision: 47825
2010-04-08 01:29:29 +00:00
Kim Woelders
d3bdadd623
Remove unused __imlib_FileField functions.
...
SVN revision: 47773
2010-04-05 18:36:50 +00:00
Kim Woelders
dcddb36686
Remove .cvsignores.
...
SVN revision: 47214
2010-03-14 15:25:09 +00:00
Kim Woelders
f8d9efaec5
Oops - forgot extern.
...
SVN revision: 46591
2010-02-27 18:14:25 +00:00
Kim Woelders
d67ea1d096
Avoid cast.
...
SVN revision: 46335
2010-02-20 11:51:07 +00:00
Kim Woelders
08183bec3f
Only check XShmAttach once in __imlib_ShmGetXImage().
...
SVN revision: 46334
2010-02-20 11:51:04 +00:00
Kim Woelders
7bf03a945c
Fix excessive checking for shm extension in __imlib_GrabDrawableToRGBA().
...
SVN revision: 46333
2010-02-20 11:51:02 +00:00
Kim Woelders
2d25ea7c2a
Fix for libpng-1.4 (png_check_sig->png_sig_cmp).
...
SVN revision: 46088
2010-02-11 20:01:54 +00:00
Kim Woelders
d0d1a48672
Fix compiling .S files when using older automake (ticket 449).
...
SVN revision: 43354
2009-10-30 19:40:29 +00:00
Kim Woelders
4d1f5002b9
Use PNG_CFLAGS when compiling png loader (ticket 449).
...
SVN revision: 43332
2009-10-28 21:17:27 +00:00
Kim Woelders
9ca97f2001
Correct image dimension check (pixels are four bytes).
...
SVN revision: 43242
2009-10-24 06:29:21 +00:00
Carsten Haitzler
3bcb4f4746
handle modified dir date of 0
...
SVN revision: 42936
2009-10-07 12:07:53 +00:00
Kim Woelders
dd93bae938
Fix build for x86 on x86_64.
...
As far as I can tell this fixes building on x86_64 with e.g.
'./configure --enable-mmx CFLAGS=-m32" or "rpmbuild --target i386 ..."
without breaking anything.
SVN revision: 41667
2009-08-10 16:26:20 +00:00
Kim Woelders
661a78dc57
Remove unimplemented imlib_clip_line prototype and documentation (ticket 379).
...
SVN revision: 41517
2009-07-27 21:35:25 +00:00
Kim Woelders
5619f9e257
Relax 8192 pixel dimension limit (ticket 361).
...
This time hopefully without buffer overflow issues.
SVN revision: 41516
2009-07-27 21:05:12 +00:00
Kim Woelders
dedebfcc1a
Relax 8192 pixel dimension limit (ticket 361).
...
SVN revision: 41412
2009-07-18 09:58:43 +00:00
Mike Frysinger
ebab7f27bb
imlib2: bumpmap: link against -lm since we use sin()/cos() functions
...
SVN revision: 41237
2009-07-03 01:30:49 +00:00
Kim Woelders
9686658a3c
Fix imlib_font_query_size width calculation when there are undefined
...
codepoints (ticket 230).
SVN revision: 39306
2009-03-01 12:14:27 +00:00
Kim Woelders
a7b230a6f8
Fix big endian bug in bmp loader (jogness, ticket 195).
...
SVN revision: 38767
2009-01-24 23:51:05 +00:00
Carsten Haitzler
d4577b5d4e
fix bufferoverflow in id3 loader.
...
SVN revision: 38642
2009-01-19 05:39:29 +00:00
Kim Woelders
6c5afe6fa1
Fix alignment error on amd64 (patch from Erik Boettcher).
...
SVN revision: 38402
2009-01-01 13:59:21 +00:00
Carsten Haitzler
6a427bd328
crash fix.
...
SVN revision: 37744
2008-11-22 09:27:45 +00:00
Kim Woelders
06a53a073d
Refactor shm stuff.
...
SVN revision: 37378
2008-11-01 18:11:10 +00:00
Kim Woelders
5b60182d96
Don't build static libs for modules.
...
SVN revision: 37371
2008-11-01 10:17:38 +00:00
Kim Woelders
29442b80f5
Remove redundant BUILD_X11 tests, indent.
...
SVN revision: 37145
2008-10-26 13:59:07 +00:00
Kim Woelders
84cbf4bd3b
Fix loading of jpeg files with 4 color components (kntriant, ticket 84).
...
SVN revision: 35970
2008-09-12 21:26:53 +00:00
Kim Woelders
bb8b884ee5
Indent.
...
SVN revision: 35902
2008-09-09 20:13:02 +00:00
Kim Woelders
4edfe21515
Fix incorrect event loop causing 100% load until an X event is received.
...
SVN revision: 35901
2008-09-09 20:11:35 +00:00
Kim Woelders
ad29accb17
xpm loader fix (Marcus Meissner, ticket 28).
...
SVN revision: 35900
2008-09-09 19:00:32 +00:00
Kim Woelders
cb588739ae
pnm loader fix (Marcus Meissner, ticket 25).
...
SVN revision: 35796
2008-09-02 18:43:25 +00:00
Kim Woelders
7c8d8a5b1e
Return value is not a pointer.
...
SVN revision: 35464
2008-08-13 17:56:08 +00:00
Kim Woelders
cd929604a1
Introduce imlib_context_disconnect_display().
...
imlib_context_disconnect_display() should be called when a display
connection is closed but the application continues using imlib2 with a
different display connection.
This is required to avoid to attempt to free cached GCs (in
__imlib_RenderImage) after the associated display connection has been
closed.
It is not unlikely that similar cleanups should be performed elsewhere
in this situation, but the __imlib_RenderImage GCs is the only case I
have found to cause trouble so far.
SVN revision: 35463
2008-08-13 17:55:16 +00:00
Kim Woelders
18a8e18546
Loader fixes based on patch from Hans de Goede/Fedora.
...
Fix off by one error in check (tga loader).
SVN revision: 34855
2008-06-18 20:45:41 +00:00
Kim Woelders
00d4d6489b
Oops - correction.
...
SVN revision: 34854
2008-06-18 18:54:08 +00:00
Kim Woelders
78037c5c76
Various loader fixes (Marcus Meissner, bug 494).
...
SVN revision: 34853
2008-06-18 17:52:38 +00:00
Mike Frysinger
a6fa566a3d
fix from Hans de Goede to look for /usr/share/X11/rgb.txt as most modern systems are using now
...
SVN revision: 34819
2008-06-13 22:39:27 +00:00
Kim Woelders
aa033943a6
Add support for TrueType Collections (suggested by Arne Goetje, bug 487).
...
The font specifier format is now "font_name[:faceidx]/size" where
faceidx is an optional face index.
SVN revision: 34721
2008-06-01 21:34:26 +00:00
Carsten Haitzler
48995a4b5a
2 possible security vulns fixed. should probably release new version with
...
these.
SVN revision: 34682
2008-05-27 14:35:17 +00:00
Vincent Torri
7378e6d6a7
* improve autotools stuff
...
* move libtool versioning from src/bin/Makefile.am to configure.in
* formatting
SVN revision: 34563
2008-05-14 05:36:23 +00:00
Kim Woelders
6ef5136bf9
Map after resize to avoid initial placement silliness.
...
SVN revision: 34527
2008-05-10 20:27:28 +00:00
Kim Woelders
86ed6a65a3
Fix HSV color conversion so it matches the API documentation (Dariusz Knocinski).
...
SVN revision: 34525
2008-05-10 16:40:42 +00:00
Kim Woelders
d1b62b240c
Fix destination image loading in __imlib_BlendImageToImage() (Victor Paesa - bug 480).
...
SVN revision: 34515
2008-05-09 17:45:55 +00:00
Kim Woelders
1657ce6e1c
Fix destination image loading in __imlib_BlendImageToImageSkewed() (Victor Paesa - bug 479).
...
SVN revision: 34514
2008-05-09 17:45:35 +00:00
Kim Woelders
3c8de2fbef
Remove incorrect test in __imlib_copy_alpha_data() (Victor Paesa - bug 475).
...
SVN revision: 34504
2008-05-07 21:41:44 +00:00
Kim Woelders
8571e8798c
Fix destination image loading in imlib_image_copy_alpha_to_image() (Victor Paesa - bug 474).
...
SVN revision: 34503
2008-05-07 21:38:39 +00:00
Michael Jennings
31e68f83f4
Mon Mar 10 22:38:16 2008 Michael Jennings (mej)
...
Do not use PKG_CHECK_EXISTS.
----------------------------------------------------------------------
SVN revision: 33982
2008-03-11 05:38:05 +00:00
Kim Woelders
372249e5a5
Remove restriction to 8 bits per sample (suggested by David A. Gatwood, bug 374).
...
Set stopOnError (seems like the proper thing to do?).
SVN revision: 33676
2008-02-04 19:38:53 +00:00
Kim Woelders
c6478dd2df
Indent.
...
SVN revision: 33675
2008-02-04 19:37:46 +00:00
Kim Woelders
b2837013af
Oops - missed one (malloc check).
...
SVN revision: 33364
2008-01-06 15:07:47 +00:00
Kim Woelders
8be6d59395
Handle some out-of-memory situations without crashing.
...
SVN revision: 33358
2008-01-06 13:57:26 +00:00
Kim Woelders
1a2f46814c
Push initial ctxt - continued, wasn't done everywhere.
...
SVN revision: 33357
2008-01-06 13:57:09 +00:00
Carsten Haitzler
911e8a2f5c
push initial ctxt too
...
SVN revision: 32645
2007-11-13 03:47:22 +00:00
Sebastian Dransfeld
9e61bcd77e
Use pkg-config to check for png
...
SVN revision: 32452
2007-11-07 20:23:20 +00:00
Sebastian Dransfeld
a50ee1d8c4
Fix signed warning.
...
SVN revision: 32341
2007-11-04 09:47:53 +00:00
Carsten Haitzler
aa4b88d5a9
different png loading to fix png greyscale loads
...
SVN revision: 31487
2007-08-25 02:33:51 +00:00
Carsten Haitzler
a4addf17e8
round as a #define - and xpm loader has extra rgb.txt sourc
...
SVN revision: 31485
2007-08-25 02:07:08 +00:00
Kim Woelders
1d74ab1d33
Mark some (new) functions deprecated as they are likely to be removed (see bug 118).
...
Change some names to match coding style a bit more.
SVN revision: 31021
2007-07-27 18:46:11 +00:00
Kim Woelders
275d89b1d9
Indent, rewrap long comment lines.
...
SVN revision: 31018
2007-07-27 17:26:58 +00:00
Carsten Haitzler
b9c591d390
font chaining patch
...
SVN revision: 30940
2007-07-23 14:27:44 +00:00
Carsten Haitzler
c8f22c965e
various patches from the devel mailing list in - and fixed where needed.
...
SVN revision: 30818
2007-07-15 08:28:11 +00:00
Carsten Haitzler
90102c17f7
patches for imlib2 and e.
...
SVN revision: 30157
2007-05-30 14:35:26 +00:00
Kim Woelders
46caef98e5
Indent C files.
...
SVN revision: 30046
2007-05-20 13:26:25 +00:00
Kim Woelders
00767dd69e
Make code indentable.
...
SVN revision: 30044
2007-05-20 12:49:43 +00:00
Kim Woelders
90b72d509a
Back out fontset patch.
...
SVN revision: 30034
2007-05-19 18:32:34 +00:00
Carsten Haitzler
82e00e2412
fontset patch from winfred
...
SVN revision: 29880
2007-05-06 13:54:43 +00:00
Carsten Haitzler
f30c5145f7
up to 1.4.0 ...
...
SVN revision: 29879
2007-05-06 13:44:57 +00:00
Kim Woelders
5d28b4ba22
Add option to build with visibility=hidden + associated fixups.
...
SVN revision: 29454
2007-04-09 12:55:29 +00:00
Nathan Ingersoll
69380b3217
Protect against segfaults if XImage allocation fails.
...
Return usable status to the API caller so it can handle the error condition.
SVN revision: 28368
2007-02-15 04:15:03 +00:00
Mike Frysinger
c5cfb22b4a
cleanup and simplify ... this should also fix the preprocessor paste error seen on x86
...
SVN revision: 27943
2007-01-13 05:39:06 +00:00
Carsten Haitzler
f0e51f6488
line patch for imlib2 from john williams.
...
SVN revision: 27381
2006-12-08 12:56:44 +00:00
Carsten Haitzler
4eed6ec35b
fix clip?
...
SVN revision: 27085
2006-11-13 11:20:00 +00:00
Carsten Haitzler
bdc0b127e5
fix width and height checks in case of buffer overflow.
...
SVN revision: 26953
2006-11-05 04:58:06 +00:00
Carsten Haitzler
9a324b0c23
fix possible overflow in tga loader
...
SVN revision: 26949
2006-11-04 17:43:44 +00:00
Kim Woelders
1a9bf6c065
In imlib_render_pixmaps_for_whole_image() and imlib_render_pixmaps_for_whole_image_at_size()
...
don't complain about NULL mask_return. A NULL mask_return is handled appropriately down
the line and simply suppresses rendering of a mask.
SVN revision: 26714
2006-10-20 18:21:24 +00:00
Kim Woelders
32bb37dfbf
Fix major memory leak in xpm loader.
...
SVN revision: 26713
2006-10-20 18:03:15 +00:00
Carsten Haitzler
2b3acfd6be
asparagus - forgot to commit
...
SVN revision: 26230
2006-09-30 08:15:33 +00:00
Sebastian Dransfeld
92b5b4e7b8
EAPI
...
SVN revision: 25527
2006-09-06 07:40:33 +00:00
Sebastian Dransfeld
f393a78080
Remove unused variables.
...
SVN revision: 25517
2006-09-06 07:09:05 +00:00
Kim Woelders
42836e3de1
Enable setting alpha threshold used when rendering masks (was fixed 128).
...
SVN revision: 25500
2006-09-05 18:50:35 +00:00
Carsten Haitzler
96ba0f2f8c
if u run out of memory - actually free stuff
...
SVN revision: 22948
2006-05-28 00:05:50 +00:00
Kim Woelders
fbef280324
Fix pixmap and gc caching when rendering to drawables with different depths.
...
SVN revision: 22769
2006-05-20 13:59:01 +00:00
Kim Woelders
0819b731e5
Enable grabbing of ARGB drawables.
...
SVN revision: 22768
2006-05-20 10:43:49 +00:00
Kim Woelders
06dd919ac6
Remove effectively unused actual_depth variable.
...
SVN revision: 22721
2006-05-18 21:37:45 +00:00
Kim Woelders
42d0f19674
Add some options:
...
-id <drawable> to grab other than root window.
-w/width set output image width.
-h/height set output image height.
-noshape do not use window shape.
-help show usage.
-v show info about the grabbed drawable.
SVN revision: 22718
2006-05-18 20:59:17 +00:00
Kim Woelders
7f1bc6088f
imlib_copy_drawable_to_image() and
...
imlib_create_image_from_drawable():
- When mask is set to (Pixmap)1 (and the context drawable is a window)
the window shape is used for image alpha.
imlib_create_image_from_drawable() and
imlib_create_scaled_image_from_drawable():
- Set image F_HAS_ALPHA alpha flag according to whether or not useful image
alpha data was generated.
SVN revision: 22712
2006-05-18 19:23:26 +00:00
Kim Woelders
b09023b6da
Trivial warning fixes.
...
SVN revision: 22706
2006-05-18 17:36:08 +00:00
Kim Woelders
81c3539440
Patch from Dmitry Antipov:
...
- Visibility hiding
- Move common asm macros to asm.h
- Fix some typos.
SVN revision: 21974
2006-04-09 08:12:51 +00:00
Kim Woelders
4c91decfa6
libImlib2.so minor number should have been bumped. Bad raster :)
...
SVN revision: 21973
2006-04-09 07:52:48 +00:00
Carsten Haitzler
100ee8171d
bmp fixes
...
SVN revision: 21477
2006-03-22 02:08:39 +00:00
Carsten Haitzler
8e83a0d122
fix bmp loader advances
...
SVN revision: 21401
2006-03-19 08:46:16 +00:00
Carsten Haitzler
24e59934fd
fix tiff off-by-1 pixel
...
SVN revision: 21346
2006-03-17 08:47:39 +00:00
Mike Frysinger
d149aa86d7
move imlib_hash_size up in the code so we dont have to declare a prototype for internal usage
...
SVN revision: 20373
2006-02-10 00:01:30 +00:00
Mike Frysinger
2d22b66a4f
only declare do_mmx when it is needed
...
SVN revision: 20372
2006-02-10 00:01:05 +00:00
Kim Woelders
8c6ebda014
Fix colormap when grabbing 8 bit depth pixmaps.
...
SVN revision: 19759
2006-01-13 21:27:36 +00:00
Horms
039bd7322a
fix typos
...
SVN revision: 19602
2006-01-07 11:30:44 +00:00
Carsten Haitzler
22c2bc2b86
tiff patch - simon
...
SVN revision: 19561
2006-01-06 15:39:46 +00:00
Kim Woelders
c26ccebd9d
Another attempt to fix rendering of certain(?) fonts.
...
SVN revision: 19439
2005-12-31 00:58:44 +00:00
Mike Frysinger
82672fb641
fix whitespace
...
SVN revision: 19401
2005-12-30 02:50:09 +00:00
Kim Woelders
a7074466ac
Avoid useless graphics exposure events from imlib_create_scaled_image_from_drawable().
...
SVN revision: 19324
2005-12-27 22:36:25 +00:00
Carsten Haitzler
7271130b0d
oops - typo. fix. works now.
...
SVN revision: 18760
2005-12-01 07:51:51 +00:00
Carsten Haitzler
3a8121b9b4
tiff loader fix
...
SVN revision: 18759
2005-12-01 07:46:07 +00:00
Carsten Haitzler
421e1ec39c
bmp loader in cvs
...
SVN revision: 18753
2005-12-01 06:44:40 +00:00
Carsten Haitzler
7f9c764c88
movdqa -> movdqu where appropriate
...
SVN revision: 18391
2005-11-09 02:51:50 +00:00
Sebastian Dransfeld
6444410b65
Build fix.
...
SVN revision: 18276
2005-11-04 09:43:45 +00:00
Sebastian Dransfeld
6d5932b7a3
Remove excessive strlen usage.
...
SVN revision: 18272
2005-11-04 08:45:38 +00:00
Carsten Haitzler
5a9a40ace5
imlib2 cross-endianess fix from Geoffrey Giesemann
...
SVN revision: 17454
2005-10-12 03:17:46 +00:00
Mike Frysinger
b815e2e588
as pointed out by Quan, we need asm_loadimmq.S in EXTRA_DIST
...
SVN revision: 17221
2005-10-06 02:17:32 +00:00
Mike Frysinger
bba703ec24
only use GNU stack markings when generating ELF objects
...
SVN revision: 17180
2005-10-04 22:54:43 +00:00
Mike Frysinger
7947be0a6c
asm_loadimmq.S is included by other files, it isnt supposed to be compiled by itself
...
SVN revision: 17179
2005-10-04 22:53:39 +00:00
Mike Frysinger
93fd48c324
add a new helper macro by Tres Melton: IS_ALIGNED_128
...
SVN revision: 17059
2005-09-29 07:50:29 +00:00
Mike Frysinger
3ed18e218c
fix by Tres Melton to address 64bit errors: dont cast pointers as ints, cast them as longs
...
SVN revision: 17058
2005-09-29 07:47:29 +00:00
Sebastian Dransfeld
2140e15060
Remove unused variables.
...
Remove signedness warning.
Print pointers with %p
SVN revision: 16812
2005-09-20 17:28:23 +00:00
Sebastian Dransfeld
d2a2a097ac
Remove unused variables.
...
SVN revision: 16811
2005-09-20 17:22:48 +00:00
Sebastian Dransfeld
c9dc33fa66
Add paranthesis to clean up.
...
SVN revision: 16810
2005-09-20 17:22:04 +00:00
Sebastian Dransfeld
522a9027b5
MIN and MAX is defined in common.h
...
SVN revision: 16803
2005-09-20 16:56:42 +00:00
Carsten Haitzler
d2d484c968
include math! and stuff.
...
SVN revision: 16783
2005-09-20 08:49:24 +00:00
Sebastian Dransfeld
5bb40fcccc
Check for .dll extension on cygwin
...
SVN revision: 16539
2005-09-04 20:22:19 +00:00
Sebastian Dransfeld
8d3851841b
* Add X headers if needed
...
* Formatting
SVN revision: 16531
2005-09-04 19:05:21 +00:00
Mike Frysinger
ef4bd4201b
fix for cygwin building (and anyone else who doesnt define RTLD_LOCAL)
...
SVN revision: 16498
2005-09-03 20:58:14 +00:00
Sebastian Dransfeld
82859c8c12
Silence.
...
SVN revision: 16312
2005-08-24 16:06:18 +00:00
Sebastian Dransfeld
8cecab18c0
Add asm_loadimmq.S to dist.
...
SVN revision: 16299
2005-08-23 16:20:42 +00:00
Carsten Haitzler
e814b06bed
amd64 alignment fix
...
SVN revision: 16275
2005-08-22 11:06:35 +00:00
R.Ramkumar
5605dc44dd
Removed some compiler warnings issued by gcc-4.0.1 on issues
...
of signedness in comparison.
SVN revision: 16273
2005-08-22 09:55:18 +00:00
Mike Frysinger
090859e58f
fix typo in IMMQ cleanup count as pointed out by Peter Beutner in Gentoo Bug 102519
...
SVN revision: 16226
2005-08-17 22:42:55 +00:00
Kim Woelders
4c448e9949
1) Quit silently if file doesn't exist.
...
2) Don't close if open failed (fixes segv).
SVN revision: 16107
2005-08-11 18:00:40 +00:00
Mike Frysinger
0c54b9a911
ignore amd64 objects
...
SVN revision: 16090
2005-08-10 05:11:02 +00:00
Mike Frysinger
627e5b86d6
merge PIC-happy code by PaX/Kevin Quinn/me
...
SVN revision: 16089
2005-08-10 05:10:19 +00:00
Carsten Haitzler
cfc76f12ed
ramkumar's id3 updates
...
SVN revision: 16083
2005-08-09 09:11:02 +00:00
Mike Frysinger
90fdea7686
make sure the masks are in the .data section like they should be
...
SVN revision: 16055
2005-08-07 07:07:24 +00:00
Mike Frysinger
0b9de66079
fixes from the PaX guys to make sure we dont have executable stacks
...
SVN revision: 16053
2005-08-06 20:30:27 +00:00
Mike Frysinger
cfff106860
fix whitespace
...
SVN revision: 16039
2005-08-05 21:45:56 +00:00
Kim Woelders
9cffb23460
Bad fix - Revert.
...
SVN revision: 15964
2005-07-30 17:54:02 +00:00
Kim Woelders
58a0cd1668
Quiet.
...
SVN revision: 15939
2005-07-29 16:41:05 +00:00
Carsten Haitzler
96693d652c
expand tmp image
...
SVN revision: 15936
2005-07-29 02:23:55 +00:00
Carsten Haitzler
cf7ddecef8
this SHOULD fix cross-endianness issues (serve and client not same endianess)
...
...
SVN revision: 15923
2005-07-28 04:15:11 +00:00
Carsten Haitzler
5e1351eeda
dont modify alpha if img has no alpha
...
SVN revision: 15922
2005-07-28 03:25:32 +00:00
Carsten Haitzler
9c63a271b1
fix digikam crash
...
SVN revision: 15921
2005-07-28 03:10:16 +00:00
Kim Woelders
7c37c8e907
Be quiet if the file is rejected because it doesn't have a .mp3 extension.
...
SVN revision: 15885
2005-07-24 16:35:17 +00:00
Carsten Haitzler
981bf5b687
1. id3 album cover loader patches
...
2. i reduced list note memory usage by 20% - shoudl work better with malloc
as ti is now a power of 2 as well
3. optimised evas internals to make use of event freezes to make e17'sw menu
popups a LOT snappier
4. fixed using last member of list nodes - bad - shoudl use api as this is
private stuff really
5. added config profile stuff to e17 u can literally maintain multiple
config profiles and choose which one at any time etc.
SVN revision: 15864
2005-07-22 10:28:11 +00:00
Carsten Haitzler
b5c57a8272
aspara!
...
SVN revision: 15226
2005-06-10 03:59:52 +00:00
Carsten Haitzler
0bcb0033ed
xpm segv fix
...
SVN revision: 14832
2005-05-18 05:27:43 +00:00
Carsten Haitzler
f812d109c0
pass make distcheck
...
SVN revision: 14311
2005-04-23 08:27:00 +00:00
Carsten Haitzler
2bf2708144
John Slaten's amd64 mmx patch
...
SVN revision: 14207
2005-04-15 07:00:40 +00:00
Carsten Haitzler
155fb31bab
amd64 asm patches
...
SVN revision: 14121
2005-04-09 00:08:58 +00:00
Tilman Sauerbeck
bb949f0dad
handle bzip2 errors
...
SVN revision: 13920
2005-03-26 13:13:51 +00:00
Tilman Sauerbeck
604ae99890
fix uncompression for the zlib loader
...
SVN revision: 13919
2005-03-26 13:05:30 +00:00
Tilman Sauerbeck
f47e5e6b09
fix uncompression in bzip2 loader2
...
SVN revision: 13918
2005-03-26 12:35:59 +00:00
Tilman Sauerbeck
29b2ab1df7
zlib/bz2 loaders, round 2: look for the real loader using a fake filename (original filename with the bz2/gz suffix cut)
...
SVN revision: 13917
2005-03-26 12:32:07 +00:00
Tilman Sauerbeck
80d218bca7
fixed a fd leak and a bad memory access bug
...
SVN revision: 13914
2005-03-26 11:46:49 +00:00
Tilman Sauerbeck
8c67d3f039
another bug in the bz2 loader: we need to duplicate the original filename so we don't access free'd memory
...
SVN revision: 13913
2005-03-26 11:43:06 +00:00
Carsten Haitzler
75e9166ddb
no dot!
...
SVN revision: 13912
2005-03-26 11:30:24 +00:00
Carsten Haitzler
cfbca3e1d3
bz2 loader fix. thanks julia!
...
SVN revision: 13911
2005-03-26 06:48:40 +00:00
Kim Woelders
6600863e0d
Fix imlib_create_scaled_image_from_drawable for source_y != 0.
...
SVN revision: 13567
2005-03-02 21:33:49 +00:00
Carsten Haitzler
5d618bc603
DISPLAY_MISSING define from spanky
...
SVN revision: 13472
2005-02-23 03:12:04 +00:00
Carsten Haitzler
0edaf1b45a
lround -> round
...
SVN revision: 13471
2005-02-23 03:02:41 +00:00
Carsten Haitzler
bdf343e4c4
link modules back to imlib2 in case they are used in a python extension that
...
dlopens imlib2.so....
SVN revision: 13337
2005-02-13 04:05:03 +00:00
Sytse Wielinga
a633482641
Made imlib2's tests and demos open the display correctly.
...
SVN revision: 13133
2005-01-29 20:57:54 +00:00
Sytse Wielinga
20d8416051
A lot of moving around in imlib2{,loaders} caused lots of unignored files
...
SVN revision: 13131
2005-01-29 18:26:35 +00:00
Michael Jennings
edc0d92d5b
Fri Jan 21 00:57:08 2005 Michael Jennings (mej)
...
I'm sick of seeing this crap. :P
----------------------------------------------------------------------
SVN revision: 13039
2005-01-21 04:53:15 +00:00
Michael Jennings
7720c15f5f
Sun Jan 16 14:27:18 2005 Michael Jennings (mej)
...
raster is the new Minister of Redundancy Minister. Thanks to
D. Hageman <dhageman@dracken.com>.
----------------------------------------------------------------------
SVN revision: 12992
2005-01-16 18:23:47 +00:00
Carsten Haitzler
2960b58af9
dont double guess unicode.. just let it be raw
...
SVN revision: 12973
2005-01-15 07:55:55 +00:00
Carsten Haitzler
054f56166a
make hsv reversible
...
SVN revision: 12821
2005-01-08 07:55:42 +00:00
Carsten Haitzler
7227d27988
bmp patch
...
SVN revision: 12804
2005-01-07 00:43:34 +00:00
Michael Jennings
ac4750e3d9
Ssssh!
...
SVN revision: 12740
2005-01-04 14:47:04 +00:00
Carsten Haitzler
56f15130a6
no more segv/buffer overflow
...
SVN revision: 12725
2005-01-04 03:34:03 +00:00
Carsten Haitzler
3c9fe83e51
progname... :)
...
SVN revision: 12675
2005-01-02 02:37:23 +00:00
Carsten Haitzler
3757b78e21
ditch x headers from those loaders
...
SVN revision: 12609
2004-12-27 21:05:32 +00:00
Carsten Haitzler
80dbacaa5b
no x headers.
...
SVN revision: 12462
2004-12-14 03:55:42 +00:00
Carsten Haitzler
4c4b843194
we dont need no steenking x headers in the loaders
...
SVN revision: 12461
2004-12-14 03:50:46 +00:00
Tilman Sauerbeck
fd7e6bcbc1
always print an error message if an image cannot be opened
...
SVN revision: 12237
2004-11-21 17:35:22 +00:00
Carsten Haitzler
5f7bd7cb09
oosp accidentally put this in. damn!
...
SVN revision: 12137
2004-11-03 09:57:57 +00:00
Carsten Haitzler
af7cffd22b
no asflags recurse
...
SVN revision: 12130
2004-11-02 06:19:52 +00:00
Carsten Haitzler
4bb49ca918
ldflags by bye
...
SVN revision: 12120
2004-11-02 03:15:13 +00:00
Carsten Haitzler
5886f2a7cd
and new much cleaner tree.
...
SVN revision: 12113
2004-11-01 09:45:31 +00:00
Carsten Haitzler
31660022d0
remooov!
...
SVN revision: 12112
2004-11-01 09:34:29 +00:00
Carsten Haitzler
daf113699b
buildie cleanies
...
SVN revision: 11956
2004-10-22 02:47:54 +00:00
Kim Woelders
84731298ef
Fix imlib_create_scaled_image_from_drawable().
...
SVN revision: 11706
2004-09-23 20:42:18 +00:00
Carsten Haitzler
84ec6d0504
up to 1.1.2 - security fixes, some other fixed, ilbm loader
...
SVN revision: 11452
2004-08-31 03:32:13 +00:00
Michael Jennings
a743c11ebc
Wed Aug 25 15:53:59 2004 Michael Jennings (mej)
...
Never mind. I did it myself. :)
----------------------------------------------------------------------
SVN revision: 11379
2004-08-25 19:54:59 +00:00
Dan Sinclair
f0b34344f9
- documentation fix: the angle is in radians not degrees
...
SVN revision: 10720
2004-07-07 00:32:35 +00:00
Vincent Torri
4c6dadff3f
Doxygen documentation
...
SVN revision: 10519
2004-06-16 18:02:50 +00:00
Carsten Haitzler
103eb3c2a7
mr gonzales's latest "final" code.
...
SVN revision: 10512
2004-06-16 06:17:50 +00:00
Carsten Haitzler
5600603ad9
jose's AA rendering patches are in! :)
...
SVN revision: 10507
2004-06-15 02:36:58 +00:00
Carsten Haitzler
3f3e5f1e3b
try using advance metrics
...
SVN revision: 10479
2004-06-09 09:07:44 +00:00
Carsten Haitzler
fdc031b0c0
--without-x works again
...
SVN revision: 10123
2004-05-08 14:30:32 +00:00
Kim Woelders
5da073fb0b
Fix grabbing when source x or y is < 0.
...
SVN revision: 10054
2004-05-04 22:05:28 +00:00
Carsten Haitzler
7df2d726bb
dont return values if void return defined!
...
SVN revision: 9955
2004-04-28 04:28:01 +00:00
Carsten Haitzler
9c561f7bf5
patches... :)
...
SVN revision: 9928
2004-04-27 10:15:38 +00:00
Carsten Haitzler
98a4690ec1
kim patchies.. and in authors!@ :)
...
SVN revision: 9807
2004-04-20 07:11:33 +00:00
Carsten Haitzler
1996be19bd
roatate from buffer patch
...
SVN revision: 9806
2004-04-20 07:04:50 +00:00
Carsten Haitzler
2686809383
imlib2_loaders...
...
SVN revision: 9775
2004-04-18 08:28:50 +00:00
Carsten Haitzler
88033d3aed
distipoos
...
SVN revision: 9749
2004-04-16 05:15:40 +00:00
Carsten Haitzler
38607c4b9f
fix distcheck
...
SVN revision: 9733
2004-04-15 11:54:59 +00:00
Carsten Haitzler
1d6ca99c25
1.1.1
...
SVN revision: 9728
2004-04-15 05:18:51 +00:00
Carsten Haitzler
144d899456
kwo's patch
...
SVN revision: 9719
2004-04-14 08:24:25 +00:00
Carsten Haitzler
47df5c8909
actually use cache in 32bpp/24bpp
...
SVN revision: 9671
2004-04-10 02:26:37 +00:00
Carsten Haitzler
7404d31433
kwo imlib2 patch
...
SVN revision: 9605
2004-04-05 02:55:29 +00:00
Tilman Sauerbeck
e850bf67cc
fixed a bunch of warnings. reverted last commit.
...
SVN revision: 8972
2004-02-15 01:58:24 +00:00
Tilman Sauerbeck
f234855e8d
DirtyPixmapsForImage() is only available when we build with X
...
SVN revision: 8971
2004-02-15 01:38:39 +00:00
Tilman Sauerbeck
e22d481087
Don't call DirtyPixmapsForImage() twice - it's already called by DirtyImage()
...
SVN revision: 8970
2004-02-15 01:36:57 +00:00
Tilman Sauerbeck
8caeeb9b99
Imlib2 loaders don't need to ship with both load() _and_ save() anymore
...
SVN revision: 8930
2004-02-10 18:28:10 +00:00
Tilman Sauerbeck
88e423c058
im->real_file() is set on load, but it will be overwritten when the file is saved. so free the old contents before overwriting it.
...
SVN revision: 8870
2004-02-07 08:44:35 +00:00
Carsten Haitzler
ec9917caeb
bugsie! fixed!
...
SVN revision: 8738
2004-02-01 07:12:14 +00:00
Carsten Haitzler
3ddcfbeb21
build without x.........
...
SVN revision: 7817
2003-11-07 07:39:32 +00:00
Carsten Haitzler
7ed6182b46
-lm
...
SVN revision: 7462
2003-09-18 02:33:22 +00:00
Michael Jennings
5f9dcb9d13
Oops. Forgot to nuke that.
...
SVN revision: 7262
2003-07-30 02:55:46 +00:00
Carsten Haitzler
1c68760158
vrsion -> 1.1.0
...
SVN revision: 7161
2003-07-13 01:32:02 +00:00
Michael Jennings
be6f2d57cb
Gah! New files. :P
...
SVN revision: 7159
2003-07-13 01:23:29 +00:00
Michael Jennings
7c65468d34
Sat Jul 12 21:06:14 EDT 2003
...
(KainX)
Patch from Yuri Hudobin <glassy_ape@users.sourceforge.net>
for Freetype2 support.
SVN revision: 7158
2003-07-13 01:09:17 +00:00
Azundris
0896467998
nominal fix for memory leak in font.c (freetype1 font handling), just so
...
we're in a defined state before switching to freetype2. by azundris and atmos.
SVN revision: 7109
2003-07-02 14:20:59 +00:00
Michael Jennings
103226eb98
Thu Apr 3 14:06:53 EST 2003
...
(KainX)
Rearranged include directory order to make sure
local headers are found before system ones.
SVN revision: 6821
2003-04-03 19:08:17 +00:00
Tom Gilbert
945f1ac75b
->data was getting leaked, as _tidyup() only free()s data for nodes of type
...
CHAR.
SVN revision: 6508
2002-12-22 15:47:26 +00:00
Tom Gilbert
69b5426e19
memory leak busted - valgrind is great.
...
SVN revision: 6507
2002-12-22 15:35:56 +00:00
Michael Jennings
3d627bd1f5
Tue Jun 4 23:00:30 2002 Michael Jennings (mej)
...
Freetype fixes.
SVN revision: 6302
2002-06-05 03:01:14 +00:00
Tom Gilbert
b374d48ccc
Fix bug in ellipse drawing introduced who knows when by who knows who.
...
The ellipse code is total shit, but at least now it does what it is supposed
to.
Could someone with the ability do a release at some point? Lots of users
have reported problems with bug.
SVN revision: 6164
2002-04-22 20:24:45 +00:00
Tom Gilbert
900e167c37
A bugfix!
...
draw_pixel had an inverted test for clipping and so was always calling the
wrong function.
Will this fix ever see the light of day? Who knows?! :)
SVN revision: 6163
2002-04-22 19:19:01 +00:00
Christopher Rosendahl
af4984f978
bad bad!
...
SVN revision: 6108
2002-04-07 20:18:38 +00:00
Corey Donohoe
ad51a5ee68
segfault fix from Dave Weston <dtweston@student.math.uwaterloo.ca>
...
SVN revision: 6069
2002-03-17 02:32:53 +00:00
Michael Jennings
acdc25b8d6
Thu Mar 14 19:18:07 2002 Michael Jennings (mej)
...
Debian rules/control updates from ljlane.
SVN revision: 6065
2002-03-15 00:18:25 +00:00
Carsten Haitzler
bc0b69ddc3
ok ok - pass make disctcheck
...
SVN revision: 5929
2002-02-13 06:28:15 +00:00
Tom Gilbert
83fa7ee55b
Fix from Lindholm@aol.com for segvs when tiling images seamlessly (if they
...
are an odd number of pixels in height).
SVN revision: 5889
2002-02-02 13:14:42 +00:00
Michael Jennings
bf8bae5809
Tue Jan 15 15:22:06 EST 2002
...
(KainX)
Fixed a whole slew of potential buffer overflows, hopefully including
the one recently posted to BUGTRAQ.
SVN revision: 5838
2002-01-15 20:23:53 +00:00
Carsten Haitzler
e9cc0986d0
oooops... fix fix :)
...
SVN revision: 5339
2001-09-07 00:45:23 +00:00
Carsten Haitzler
ebb3f680a3
hmmm now why did this break? hmmmm.... err.,.. hmmm
...
SVN revision: 5313
2001-08-30 03:05:31 +00:00
Franz Marini
02944af5cb
Ok, reverting changes for the draw_pixel function. Now Imlib_image_draw_pixel
...
uses Tom's macro (__imlib_draw_set_point and *_clipped) so it's faster and it
handles clipping, too.
Btw Tom, I choosed not to change the name of the wrap function so that :
1) I don't have to change it in doc/index.html ;)
2) I think it's a little more in line with Imlib_image_draw_line ...
Lightman
SVN revision: 5305
2001-08-29 09:14:32 +00:00
Franz Marini
b490abdb4e
Ok, just tried to compile Imlib2 under Roswell (RH 7.2 beta) and I discovered that
...
it installs freetype 2.0.3 , and so freetype.h (for ftype1) is under
/usr/include/freetype1/freetype/freetype.h .
As to not have plp complaining imlib2 can't find freetype under rh 7.2 , I patched
configure to work with roswell.
Lightman
SVN revision: 5304
2001-08-29 09:10:03 +00:00
Franz Marini
830b576dd1
ok, just wrote this little function to do pixel drawing with blending.
...
In fact, I wrote it just for the Bezier drawing function, but I thought it
could be useful in other cases too.
Have fun, Lightman :)
SVN revision: 5302
2001-08-28 12:50:15 +00:00