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
Tom Gilbert
3ae994e663
bad logic there tom
...
SVN revision: 5291
2001-08-26 21:20:02 +00:00
Tom Gilbert
c86e7b86ab
fixed filled ellipses - note, this isn't the cleanest fix in the world.
...
set_cliprect(0,0,0,0) is supposed to disable clipping, but the calls in
api.c subtract one from maxx and maxy, so that breaks some of the logic that
checked for the need to clip. This is a temporary fix, but it does work.
That "whether to clip or not" logic needs a rewrite, but I'm real tired.
SVN revision: 5275
2001-08-25 01:01:09 +00:00
Carsten Haitzler
7be07a6635
hmm - fix segv with x font support
...
SVN revision: 5204
2001-08-18 02:49:42 +00:00
Carsten Haitzler
de446b41a3
aha! oops :)
...
SVN revision: 5186
2001-08-17 00:17:58 +00:00
Carsten Haitzler
1889718e75
ooooh that would leak if we added the same path all the time... which shoudl
...
be ignored... :)
SVN revision: 5155
2001-08-13 23:24:13 +00:00
Tom Gilbert
c0a35f2a2f
Expunged all the raw_file stuff and fixed a warning.
...
SVN revision: 5143
2001-08-13 18:16:03 +00:00
Carsten Haitzler
70d6cef5b3
oops.. free pointers that might be null.. checdk for that first!
...
SVN revision: 5140
2001-08-13 13:38:19 +00:00
Tom Gilbert
d1227e7040
another one
...
SVN revision: 5138
2001-08-13 08:29:05 +00:00
Carsten Haitzler
7cc89cb9ba
oops developer debug info wrong.. fix
...
SVN revision: 5137
2001-08-13 07:48:12 +00:00
Tom Gilbert
f0b1398bbf
that doesn't actually do anything different
...
SVN revision: 5132
2001-08-12 23:19:28 +00:00
Carsten Haitzler
fc59b342fa
double up modified date checks... incase of colon
...
SVN revision: 5131
2001-08-12 22:57:19 +00:00
Tom Gilbert
49b98d08de
sorry, debugging stuff
...
SVN revision: 5125
2001-08-12 13:47:39 +00:00
Tom Gilbert
ab067f4fc5
This is what I meant.
...
I have tested:
feh test:image.jpg WORKS
imlib2_view e/data/icons/image/png.db:/icon/clicked WORKS
I have tested saving with geist too and that works.
The patch is bigger than it would have been because I had to revert some of
raster's attempt. There is more debris left over (unused functions and
params etc) but I won't clean all that out until people have checked out
this and are happy.
I might make something like imlib_get_real_filename available in the public
API. So that apps (like feh) that use stat() that do their own error checking
can also do the right thing, but this is a separate issue and not totally
necessary.
SVN revision: 5122
2001-08-12 13:41:11 +00:00
Carsten Haitzler
a3dae08a37
alright - comprimise. theres a imlib_context_set_filename_raw_mode()
...
call now - if you want to deal with filenames and not have them interpreted
use this and set it to 1.
SVN revision: 5096
2001-08-11 03:33:05 +00:00
Tom Gilbert
dd082b7d0b
warnings suck
...
SVN revision: 5095
2001-08-11 00:47:49 +00:00
Carsten Haitzler
0564389a26
virtualize real file and key splitting nicely into image data struct.
...
now we escpae literal colons with double colons. it's documented too. (this
was easier to do as i also have to do it for ssving files and you cant stat
to see if a file exisit fi you havent saved it yet)
SVN revision: 5080
2001-08-10 08:35:05 +00:00
Carsten Haitzler
94828db44e
add a color clearer too
...
SVN revision: 4762
2001-05-11 07:22:40 +00:00
Carsten Haitzler
05d0572575
in cvs :) clear function :)
...
SVN revision: 4761
2001-05-11 07:14:47 +00:00
Carsten Haitzler
02a6912ad4
add then :)
...
SVN revision: 4746
2001-05-09 01:57:02 +00:00
Carsten Haitzler
fee04bcdde
franz's patches to support other color spaces :)
...
SVN revision: 4745
2001-05-08 20:29:16 +00:00
Carsten Haitzler
c994718676
up to 1.0.3
...
SVN revision: 4682
2001-04-29 05:58:36 +00:00
Carsten Haitzler
22cdb56e43
oooooooooooooooops
...
fix fix fix bug bug :)
SVN revision: 4678
2001-04-29 02:55:55 +00:00
Carsten Haitzler
895027d9fe
oops - widht & height 1 grad get div by 0 .. fix fix fix :)
...
SVN revision: 4635
2001-04-16 19:10:58 +00:00
Carsten Haitzler
c2e1328e53
carsten's context stack patch... with a default context entry too.. :)
...
SVN revision: 4572
2001-04-11 19:27:32 +00:00
Michael Jennings
d2b05e00e9
Fix error building with dmalloc support.
...
SVN revision: 4309
2001-03-04 08:40:43 +00:00
Tom Gilbert
4c3d00f262
fix memory leak
...
SVN revision: 4300
2001-03-03 22:32:16 +00:00
Carsten Haitzler
15263ed166
sorry - debain dir breaks build. removed form configure and makefile... also
...
up to 1.0.2
SVN revision: 4297
2001-03-02 18:58:47 +00:00
Tom Gilbert
70edd4110f
Adam's font fixer-upper patch :)
...
SVN revision: 4291
2001-02-28 19:48:38 +00:00
Carsten Haitzler
22d04327be
adam's patches... :)
...
SVN revision: 4264
2001-02-20 05:57:53 +00:00
Carsten Haitzler
591a098daa
found it!!!! :)
...
SVN revision: 4242
2001-02-17 22:06:30 +00:00
Carsten Haitzler
e486b98e93
and then he found some minor bugs in file examination... and then they were
...
fixed. :)
SVN revision: 4240
2001-02-17 21:30:18 +00:00
Carsten Haitzler
c6fc12fa81
oops - hard coded op - fixed that :)
...
SVN revision: 4203
2001-02-13 23:47:10 +00:00
Carsten Haitzler
973cac277d
fix blend mode for alpha dest when drawing text
...
SVN revision: 4191
2001-02-12 18:54:35 +00:00
Carsten Haitzler
45ba00f3fd
ewwwww - fix infinte loop bug... :)
...
SVN revision: 4152
2001-01-26 03:29:55 +00:00
Carsten Haitzler
9cc5944b2b
errrr?
...
SVN revision: 4149
2001-01-24 05:06:51 +00:00
Carsten Haitzler
5c591c19dc
possible infinite loop in cache code.. fix.
...
SVN revision: 4146
2001-01-24 01:01:04 +00:00
Platon Fomichev
fa3a7dafa1
General cleanup of EMX things
...
SVN revision: 4139
2001-01-20 11:41:31 +00:00
Carsten Haitzler
40c866239c
use 128x128 dither mask for rgb666 (in 8bpp) rendering
...
SVN revision: 4124
2001-01-18 00:07:01 +00:00
Carsten Haitzler
630afd9b86
minor fixup if last char in string has 0 boundingbox width :)
...
SVN revision: 4123
2001-01-17 21:31:30 +00:00
Carsten Haitzler
8cb5f5dc04
patch from matt
...
SVN revision: 4116
2001-01-13 07:40:11 +00:00
Carsten Haitzler
d9dedd7ea6
fix minor segv in gradient rendering if your color range has err... no colors
...
SVN revision: 4112
2001-01-11 22:43:11 +00:00
Carsten Haitzler
cea6638e08
* up version to 1.0.1 - will do minor release real soon.
...
* fix build so loaders build if u have no imlib2 installed
* fix requires and buildrequires in spec file for freetype & edb to be correct
SVN revision: 4105
2001-01-07 22:02:08 +00:00
Carsten Haitzler
157dad2d37
x fonts blend again now.... and colro correctly too :)
...
SVN revision: 4092
2001-01-04 21:09:52 +00:00
Carsten Haitzler
5c7f536d4a
attempt to fix xfd font transparency....... ??? :)
...
SVN revision: 4090
2001-01-04 01:46:28 +00:00
Carsten Haitzler
c061b76b93
errr - clean clean.. fix color pixle caclfor 8bpp and 8bpp non dithered had
...
a.. er... bug :)
SVN revision: 4073
2001-01-02 23:09:02 +00:00
Carsten Haitzler
a8ccf132b8
err commit?
...
SVN revision: 4048
2000-12-28 03:54:58 +00:00
Carsten Haitzler
a3588b2945
oops - fix soem ascent & descent problems
...
SVN revision: 3994
2000-12-15 00:03:43 +00:00
Carsten Haitzler
571d51a852
masa's internationalization + x font support for imlib2 :)
...
SVN revision: 3980
2000-12-12 21:07:38 +00:00
Tom Gilbert
975f0b4c65
dunno why there were two of those
...
SVN revision: 3942
2000-12-02 18:57:46 +00:00
Michael Jennings
a33bf8aa22
Fix make distcheck.
...
SVN revision: 3900
2000-11-17 17:07:47 +00:00
Michael Jennings
7ac858d32d
Imlib2 now benefits from the same MMX goop that Eterm has. :)
...
SVN revision: 3898
2000-11-17 00:37:00 +00:00
Carsten Haitzler
63c17d1769
os/2 fixes :)
...
SVN revision: 3852
2000-11-11 00:18:58 +00:00
Carsten Haitzler
11e7b0369a
bigendianess patch from nathan
...
SVN revision: 3851
2000-11-11 00:08:11 +00:00
Carsten Haitzler
e983a0adbb
more paranoid abotu allocating memory with realloc
...
SVN revision: 3816
2000-11-07 20:12:02 +00:00
Carsten Haitzler
490383f4d7
patch for grabbing form ximage's - plug dont segv when u set the format to
...
NULL.
SVN revision: 3782
2000-10-29 23:55:04 +00:00
Tom Gilbert
ed96b0c6ff
SHUT UP!
...
SVN revision: 3709
2000-10-25 01:48:23 +00:00
Carsten Haitzler
10b12fd3ad
off by one may have been causing segv's ? :)
...
SVN revision: 3588
2000-10-13 04:31:01 +00:00
Carsten Haitzler
1a457d0029
--without-x patch from steve
...
SVN revision: 3584
2000-10-13 00:11:34 +00:00
Carsten Haitzler
0af7f642be
fix a small segv problem with pollies! :)
...
SVN revision: 3583
2000-10-13 00:06:57 +00:00
Carsten Haitzler
72f81a4c4d
no more ellipse segv's :)
...
SVN revision: 3582
2000-10-12 23:51:58 +00:00
Carsten Haitzler
456a035996
clip rect fix
...
SVN revision: 3576
2000-10-12 16:50:21 +00:00
Carsten Haitzler
965982c5c0
polygons now........ don't anti-alias anymore.. will be fixed.. BUT
...
they handle convex, concave, clip and are all happy little poly's
SVN revision: 3573
2000-10-12 00:26:14 +00:00
Tom Gilbert
f7701663ce
EEeeeeek. Segv.
...
SVN revision: 3571
2000-10-09 14:49:42 +00:00
Tom Gilbert
b634319d94
Better fix.
...
SVN revision: 3570
2000-10-09 13:37:03 +00:00
Tom Gilbert
bc9df479a1
Fix for _polygon_get_bounds.
...
SVN revision: 3569
2000-10-09 13:32:30 +00:00
Carsten Haitzler
24a1af7ee0
fix masks over network
...
SVN revision: 3521
2000-09-18 01:34:11 +00:00
Carsten Haitzler
f93e8368ae
free image? dirty the pixmaps that belong to it and set image pointer to null
...
SVN revision: 3517
2000-09-17 22:32:24 +00:00
Carsten Haitzler
336cecc801
fix pixmap caching...... :)
...
SVN revision: 3505
2000-09-17 17:22:55 +00:00
Tom Gilbert
0776d7ff0d
not quite there yet
...
SVN revision: 3504
2000-09-17 13:23:15 +00:00
Carsten Haitzler
65dc01f834
fix that! that aint static! (__imlib_dynamic_filters_init that is)
...
SVN revision: 3502
2000-09-17 05:07:14 +00:00
Tom Gilbert
b9f5dca00f
quick warning hunt
...
SVN revision: 3500
2000-09-17 03:07:45 +00:00
Tom Gilbert
6c80c342a7
nm I fixed it anyway
...
SVN revision: 3499
2000-09-17 02:26:24 +00:00
Tom Gilbert
eebefe5ede
Commiting what I have so far. More to do tomorrow, but it's 3am.
...
Polygons are now filled with antialiasing, if context_antialias is set.
So are ellipses.
I fixed some clipping bugs.
There is a bug with the AA span though, it's just a little one, but I'm too
tired to find it now. You will see it if you look closely at the top of the
filled ellipse in test/imlib2, using xmag or something.
I'll fix that tomorrow, speed things up a bit, and hopefully implement AA
drawing for ellipse outlines. Oh, I'll unroll some more loops too.
raster: your last commit broke the two test apps. a segv in _RGBA_init()
somewhere, I know it's not my new code, as I tried a fresh checkout and it
did the same thing. I don't have time to check it out tonight though.
SVN revision: 3498
2000-09-17 01:57:01 +00:00
Carsten Haitzler
77a68dc413
unrolled span rendering a little more (switch stamement is now just once
...
per span 0 thats good enough.... :) )
SVN revision: 3491
2000-09-16 18:16:11 +00:00
Tom Gilbert
6cedec71a8
more inlining
...
SVN revision: 3488
2000-09-16 00:38:10 +00:00
Tom Gilbert
5552e7e064
Use spans and the span list clipper to do filled ellipses too. Much better.
...
SVN revision: 3485
2000-09-16 00:09:18 +00:00
Carsten Haitzler
227a499f1d
no prointf!
...
SVN revision: 3484
2000-09-15 23:52:21 +00:00
Carsten Haitzler
69c726a9cf
handle lower depths :)
...
SVN revision: 3482
2000-09-15 23:47:27 +00:00
Tom Gilbert
9cef1b4308
Lots of changes. Macro-ised the point_on_segment code.
...
Implemented a span-list clipper.
Inlined the drawing code for span().
Cleaned up and speeded up a couple of drawing funcs.
Polygons filled much faster now. More to do though.
SVN revision: 3480
2000-09-15 23:22:53 +00:00
Carsten Haitzler
220207d492
666 colorcube rendering works....... :)
...
SVN revision: 3478
2000-09-15 18:21:08 +00:00
Carsten Haitzler
0acbe99fd1
fix visual picker :)
...
SVN revision: 3469
2000-09-15 14:34:31 +00:00
Michael Jennings
1051a20dd2
Son of a raster! I think I just found the memory leak. I shall now hide
...
in shame. Perhaps giblet should take over Eterm development.
SVN revision: 3466
2000-09-14 19:08:08 +00:00
Carsten Haitzler
35b6638256
add call to get text inset for string
...
SVN revision: 3453
2000-09-13 17:00:37 +00:00
Carsten Haitzler
d7b8c1575b
add docs..... and prefix is /usr for rpms damnit! :)
...
SVN revision: 3450
2000-09-13 16:20:33 +00:00
Carsten Haitzler
2d96eee956
add api call to get text string advances........
...
SVN revision: 3447
2000-09-13 15:52:53 +00:00
Carsten Haitzler
66095b9573
missing some load data checks for some routines... fix fix fix
...
SVN revision: 3440
2000-09-13 14:04:47 +00:00
Carsten Haitzler
542cc394f8
ewwwwwwwwwwwwps! scaling blending buggy! fix fix fix fix :) GOTCHA!
...
SVN revision: 3434
2000-09-13 04:18:39 +00:00
Carsten Haitzler
00aeaf4586
up version number.. tentative for a 1.0 release...
...
revamp rpm packages completely. split loaders into their own packages
(more logical units). main imlib2 requires the jpeg, png and db laoders
at a minimum
SVN revision: 3417
2000-09-12 21:11:22 +00:00
Carsten Haitzler
0883f1b746
and enable the fast path again
...
SVN revision: 3403
2000-09-12 05:46:17 +00:00
Carsten Haitzler
356c4db490
added generic slow-path rendering code
...
SVN revision: 3402
2000-09-12 05:34:32 +00:00
Carsten Haitzler
ee6dba3708
wooo! found bug in filename:key splitting.... fix fix fix... :)
...
SVN revision: 3371
2000-09-09 19:42:09 +00:00
Tom Gilbert
a7557ddc46
final fix for _list_fonts()
...
SVN revision: 3357
2000-09-08 17:23:07 +00:00
Tom Gilbert
5de8b0f072
Much faster clipped ellipse filling.
...
SVN revision: 3356
2000-09-08 15:05:38 +00:00
Tom Gilbert
cd464e9838
Much faster polygon clipping, made span() more sensible.
...
Added the function:
unsigned char imlib_polygon_contains_point(ImlibPolygon poly, int x,
int y);
Tells you if a point lies in a polygon. Handy for apps that might want to
test for "selection" of a polygon shape or something...
SVN revision: 3355
2000-09-08 14:47:36 +00:00
Tom Gilbert
20aa346460
tidy up
...
SVN revision: 3313
2000-09-04 17:02:58 +00:00
Tom Gilbert
82824227fc
slight speedup
...
SVN revision: 3312
2000-09-04 15:56:59 +00:00
Tom Gilbert
cdf8e6ed76
killed a rounding error in line clipping
...
SVN revision: 3308
2000-09-03 22:43:59 +00:00
Tom Gilbert
6a4d800e92
imlib_image_fill_ellipse()
...
SVN revision: 3306
2000-09-03 19:31:03 +00:00
Tom Gilbert
e3d927d32c
Better API, simpler polygon struct. imlib_polygon_new() now, no type member.
...
Then _draw_polygon(polygon, unsigned int closed), and _fill_polygon(poly).
SVN revision: 3305
2000-09-03 19:14:02 +00:00
Tom Gilbert
222e1b5f32
Polygon filling. Right now only works for convex polygons. Works with a
...
clipping rect, but highly suboptimally (I'm not doing proper polygon
clipping here yet, just clipping slowly on each point drawn - really nasty).
There are probably some rounding errors in here. I need to work more on
this, but I have *so* little time for the next few weeks.
Please don't kill me for this code. It's not finished, but I'm about to move
house, and I have to get something working before I pack my PC away.
SVN revision: 3303
2000-09-03 18:04:00 +00:00
Carsten Haitzler
f640137020
get rid of comment
...
SVN revision: 3297
2000-09-02 07:28:16 +00:00
Carsten Haitzler
6fe8ee962f
foudn bug in mmx asm blending.. 1 line hihg blends get skipped.. fix! :)
...
(ugly fix tho)
SVN revision: 3296
2000-09-02 07:27:50 +00:00
Tom Gilbert
0794fb0f14
imlib_image_draw_ellipse()
...
Check test/imlib2 for example. Clipped too.
TODO: Not antialiased. yet. point drawing needs to be inlined, or something.
SVN revision: 3287
2000-08-31 22:49:06 +00:00
Carsten Haitzler
1250f13969
possible crash fixed
...
SVN revision: 3286
2000-08-31 19:02:37 +00:00
Tom Gilbert
c46b591e82
Added function to calculate bounds of a polygon.
...
SVN revision: 3280
2000-08-30 21:57:36 +00:00
Tom Gilbert
b5ababf0b7
Polygons. Not filled ones yet =P Empty ones are easier ;-)
...
Hard to come up with a nice API for this, but here's what I have:
ImlibPolygon imlib_polygon_new(int type);
void imlib_polygon_free(ImlibPolygon poly);
void imlib_polygon_add_point(ImlibPolygon poly, int x, int y);
void imlib_image_draw_polygon(ImlibPolygon poly);
Clipping works with these, as demonstrated by test/imlib2
The type paramter may be: POLY_OPEN, POLY_CLOSED or POLY_FILLED (last one
not implemented yet).
I was wondering if draw_polygon should genererate updates, like draw_line.
Thoughts?
SVN revision: 3279
2000-08-30 19:52:57 +00:00
Tom Gilbert
cebd7a0c23
Scratch that. Start again.
...
Removed all the _clipped functions.
Added imlib_context_set_cliprect(int x, int y, int w, int h) and a
corresponding _get_cliprect.
Set width to 0 to disable clipping (default).
Just use the normal _draw_ functions and it'll do the Right thing.
SVN revision: 3278
2000-08-30 18:26:49 +00:00
Tom Gilbert
313c889709
The line clipping function is quite useful, so I made it public.
...
Sometimes it's handy to work out where your line was/would be drawn.
int
imlib_clip_line(int x0, int y0, int x1, int y1, int xmin, int xmax, int ymin,
int ymax, int *clip_x0, int *clip_y0, int *clip_x1,
int *clip_y1);
SVN revision: 3277
2000-08-30 16:57:16 +00:00
Tom Gilbert
e423fc372d
Added rectangle clipping, in the form:
...
void
imlib_image_draw_rectangle_clipped(int x, int y, int width, int height,
int clip_xmin, int clip_xmax, int clip_ymin,
int clip_ymax);
Works well. If you make install then cd test, make, ./imlib2, you'll see the
demo/test of the clipping code.
Next up: draw_polygon and draw_polygon_clipped.
Then (eeek) fill_polygon, fill_polygon_clipped, and some clipping for image
blending (fun).
SVN revision: 3276
2000-08-30 16:39:44 +00:00
Carsten Haitzler
ee1b52edaa
noticed there was a set filter but no get.. addded
...
SVN revision: 3275
2000-08-30 01:34:19 +00:00
Carsten Haitzler
38c520c050
api call was silly - changed it :)
...
SVN revision: 3274
2000-08-29 22:29:13 +00:00
Tom Gilbert
4f72d15e1e
Added line drawing with clipping.
...
Same as _draw_line but with extra parameters for the clipping region.
Tested and seems to work well. Will check further tomorrow when I convert
geist to use this instead of doing it internally.
Imlib_Updates
imlib_image_draw_line_clipped(int x1, int y1, int x2, int y2,
int clip_xmin, int clip_xmax, int clip_ymin,
int clip_ymax, char make_updates);
SVN revision: 3273
2000-08-29 21:09:49 +00:00
Michael Jennings
f16c92658f
Miscellaneous fixes I ran across while doing the colormod stuff. One of
...
which fixes a seg fault bug.
SVN revision: 3243
2000-08-23 05:02:03 +00:00
Carsten Haitzler
b99cd06c87
try that
...
SVN revision: 3240
2000-08-23 01:18:52 +00:00
Tom Gilbert
37e6364bd0
Urm. oops. hehe :)
...
Reversed that change, as it caused segfaults in free().
I can't grok this code, so I'll leave it to raster.
Basically, if my code calls imlib_free_image_and_decache(), it doesn't free
the image, and it leaks.
The fix I applied made sure _Imlib_ConsumeImage was called, but this caused
a segfault.
*baffle
SVN revision: 3239
2000-08-23 00:20:24 +00:00
Tom Gilbert
5303cd3cf1
Okay. imlib_free_image_and_decache() was leaking images. I hope I made the
...
right fix here. Basically, the imlib_free_image_and_decache() call in api.c
sets the flag F_INVALID then calls the internal __ImlibFreeImage(), this
checks if the flag F_UNCACHEABLE is set, and only frees it if so.
So the image never got free()d. I have changed the
imlib_free_image_and_decache() to set the F_UNCACHEABLE flag *as well* as
F_INVALID. I hope that's the correct fix. raster?
SVN revision: 3238
2000-08-23 00:11:39 +00:00
Carsten Haitzler
ec7148bb2b
fix static gc for multipel servers
...
SVN revision: 3195
2000-08-20 21:54:21 +00:00
Carsten Haitzler
1896e7b45e
add 1 more font routine for getting geometry - useful. you'll need to
...
update imlib2 too to get evas to compile & work - it uses this routine
SVN revision: 3087
2000-08-10 22:11:40 +00:00
Tom Gilbert
6afed42c4a
Don't show duplicates in imlib_list_fonts().
...
SVN revision: 3079
2000-08-09 19:41:29 +00:00
Tom Gilbert
b257c14d76
Fixed imlib_list_fonts()
...
It was calling stat on filenames without paths, so that was failing.
SVN revision: 3064
2000-08-07 21:39:35 +00:00
Carsten Haitzler
c465599b95
fix mem leak in lisitng fonts
...
SVN revision: 3043
2000-08-06 19:44:05 +00:00
Tom Gilbert
7389e00d31
fix core on imlib_list_fonts()
...
SVN revision: 3042
2000-08-06 19:41:13 +00:00
Michael Jennings
8d141765c0
Wed Jul 12 22:20:53 PDT 2000
...
(KainX)
It's generally a good idea to increment the reference count when you
implement reference counting. This should fix the mysterious problems
people have been having with Imlib2 stealing pixmaps out from under
Eterm.
SVN revision: 2916
2000-07-13 05:04:36 +00:00
Tom Gilbert
ce84557641
Willem's rotation patch.
...
SVN revision: 2889
2000-06-25 18:13:36 +00:00
Carsten Haitzler
cee044cabc
apparently clone doesnt lone EVERYTHING.. now it clones all of it except
...
attached data tags...
SVN revision: 2865
2000-06-23 19:34:11 +00:00
Chris Ross
1315abe956
Be quiet.
...
SVN revision: 2757
2000-06-06 11:00:46 +00:00
Chris Ross
f4eaa25fa7
Start of a filter test app, and applied Willem's patch for imlib2. thanks
...
Willem.
SVN revision: 2731
2000-05-30 22:10:01 +00:00
Chris Ross
28b3445f1a
Ok, some more clean ups to the filter stuff, should have some new filters to
...
play with soon - want to get the stuff correct before I commit some more
stuff. dox is the start of dox2 the document viewer based on imlib2. Designed
so that the style of the docs is seperate from the contents. Will evolve
rapdily over the next week.
SVN revision: 2716
2000-05-28 15:17:38 +00:00
Chris Ross
e67e249949
Clean up of code, all macros for filter_param -> real varaible are put in
...
script.h. Changed filters to reflect this change, and actually plan on writing
some more macors and filters soon.
SVN revision: 2689
2000-05-22 11:41:40 +00:00
Chris Ross
bd5836823e
* rewrite of the script parser, basically you can now parser a filter as a
...
variable to another filter as willem requested the other day.
eg.
filter( var=anotherfilter( var=13,var=30 ), var=blum );
youcan have as manylevels of filters as you want.
* parser should be quicker, no need to add "NULL" to the end of a
imlib_apply_filter() command.
* some more funky filters should be added soon, at 4.45am i decided to leave
that job till t/m.
SVN revision: 2686
2000-05-22 03:23:03 +00:00
Chris Ross
0a32e88438
Gah, turn off debug mode, and comment out necessary blurb...
...
SVN revision: 2678
2000-05-21 00:21:58 +00:00
Chris Ross
c200ced976
* modifed the script engine, instead of three passes i've nobbled it down to
...
one, this means the bump_mapped pr0n will now render a coupla degree's faster
(gilbertt this is for you, and those pictures of pabs' mom)
* Update Imlib2.h and api.c to reflect changes
ps. on the road to the next gen script interpreter
SVN revision: 2677
2000-05-21 00:04:39 +00:00
Chris Ross
2e5728f366
* Changed some of the methods to stop furutre name conflicts
...
* Added Willems patch for bump mapping -very vey cool, check out
test/imllib2
* Died due to excess excitement over bump mapping
SVN revision: 2674
2000-05-20 22:33:14 +00:00
Carsten Haitzler
caa073ee7b
bowis's filter stuff... :)
...
SVN revision: 2673
2000-05-20 17:37:00 +00:00
Carsten Haitzler
589473593b
oops - forgot to commit that :)
...
SVN revision: 2656
2000-05-16 18:17:48 +00:00
Carsten Haitzler
74af24a8ed
OS2 pacthes make imlib2 build on os/2 apparently :)
...
SVN revision: 2653
2000-05-15 23:18:35 +00:00
Carsten Haitzler
9e55f36473
gawwwwwwwwwd - oops th = h not th = w; :)
...
SVN revision: 2649
2000-05-14 19:15:51 +00:00
Carsten Haitzler
00c6064e79
use willems math... :)
...
SVN revision: 2632
2000-05-12 19:15:03 +00:00
Carsten Haitzler
dd38114d7f
up to 0.0.5
...
SVN revision: 2627
2000-05-12 01:19:06 +00:00
Carsten Haitzler
e55dc05d0b
blend.c - RGBA destination works -and its optimized.. just a lookup..
...
SVN revision: 2626
2000-05-12 01:16:42 +00:00
Carsten Haitzler
cce0e519cf
the RIGHT math for RGBA->RGBA ops... :) not optmized at all tho :)
...
SVN revision: 2623
2000-05-11 07:25:18 +00:00
Carsten Haitzler
91416b3c2f
get rid of unused flsuh func, cleanup rects properly for case of 1 rect
...
SVN revision: 2617
2000-05-09 18:30:52 +00:00
Tom Gilbert
ea2371b206
This is weird. I'm sure I added the prototypes for these context_get_*
...
functions to Imlib2.h before... Yet they aren't there.... Hrm...
SVN revision: 2616
2000-05-09 17:26:30 +00:00
Carsten Haitzler
1679cca791
fixzed C code for ALPHA destination.. ok NOW its got it right... havent done
...
asm code though... MAY need to optimize C code math for alpha dest.
SVN revision: 2613
2000-05-08 23:20:11 +00:00
Peter Kjellerstedt
4c35ac5beb
Removed this generated file from CVS (again).
...
SVN revision: 2609
2000-05-08 16:41:43 +00:00
Carsten Haitzler
306060052c
build dither table for masks alwasy... even in depths > 16
...
SVN revision: 2606
2000-05-06 19:37:23 +00:00
Carsten Haitzler
01d14d7867
asm for colormod ops......... :)
...
SVN revision: 2600
2000-05-05 16:28:39 +00:00
Carsten Haitzler
15ff380285
aha! trying to free null pointers? NO NO NO - bad boy!
...
SVN revision: 2596
2000-05-04 16:32:58 +00:00
Carsten Haitzler
2fbc8d2424
allow for flipping whilst scaling and rendering... :)
...
SVN revision: 2589
2000-05-02 17:33:23 +00:00
Carsten Haitzler
2676818732
write text at any angle............... :) patches form willem again :)
...
SVN revision: 2583
2000-04-30 19:15:12 +00:00
Carsten Haitzler
2f077c4835
handle infinite loop for tile if scalign down to 1x1)
...
SVN revision: 2559
2000-04-27 07:51:25 +00:00
Michael Jennings
d869bc8e5b
Hush up on the warning.
...
SVN revision: 2555
2000-04-27 03:30:10 +00:00
Michael Jennings
4853dbe3d7
Don't cache partially-loaded images.
...
SVN revision: 2554
2000-04-27 03:28:45 +00:00
Carsten Haitzler
cc8e9b0183
better asm detection - there's an --enable-mmx now too if you want to
...
force or disable the feature by force... it will try autodetect under linux
but only on the build machine...
SVN revision: 2546
2000-04-27 02:32:28 +00:00
Tom Gilbert
ed923261d4
Thu Apr 27 03:16:59 GMT 2000
...
(gilbertt)
Okay, an ImlibProgressFunction now return int, not void. The idea of this is
so that a progressive load may be aborted midway, simply by returning 0 from
the progress callback. There are a number of reasons for wanting this.
This is a slight breakage to people currently using progressive loading -
you'll have to change your definition to int, and return 1 to get normal
behaviour again. As far as I know, only feh and imlib2_view uses progressive
loading, and I'll sort those two out. To anyone else, sorry, but it's not
released yet, what did you expect? ;-)
Notice. I haven't changed the loaders yet, so returning 0 won't do squat
until tomorrow, when I change them all. What they will do is clean up and
return what they've got so far. If anyone who wrote a loader wants to do
their own, cool, it'll save me learning the api of every damn image lib ;-)
It's just a case of swapping
progress(params, ...);
with
if(!progress(params, ...)
cleanup_some_stuff_and_return_what_there_is();
Otherwise, I'll do it myself tomorrow.
Can anyone tell I've got time off work? ;-)
SVN revision: 2544
2000-04-27 02:14:59 +00:00
Tom Gilbert
ef67431a5b
Consolidate one ChangeLog in the root dir.
...
SVN revision: 2543
2000-04-27 01:51:07 +00:00
Tom Gilbert
eff825c0ee
Thu Apr 27 02:59:57 GMT 2000
...
(gilbertt)
Changed all the loaders to use ImlibProgressFunction instead of defining it
themselves. This is so I can change them all at once tomorrow.
SVN revision: 2542
2000-04-27 01:48:17 +00:00
Carsten Haitzler
bf98465ea4
ok.. mmx asm for routines again.. and this time... they seem to not segv :)
...
SVN revision: 2538
2000-04-26 19:36:20 +00:00
Carsten Haitzler
939419bbf4
slight api changes..... problem was we have a useless paramin the pixmap gen
...
calls - it shoudl have used the context... :)
SVN revision: 2535
2000-04-25 18:17:37 +00:00
Michael Jennings
889d16f8e1
Never mind. I fixed the bugger.
...
SVN revision: 2533
2000-04-25 03:29:48 +00:00
Michael Jennings
bc4976e023
Fixed a possible divide by 0.
...
SVN revision: 2515
2000-04-22 03:45:46 +00:00
Carsten Haitzler
c58aa765c0
sorry - needed to unpatch code for old scaling to work.........
...
SVN revision: 2512
2000-04-20 22:49:12 +00:00
Carsten Haitzler
54b76ea1f7
scalign code back to old scaling... new scalign code has bugs... even the C
...
code has segv's.. somewhere... :(
SVN revision: 2511
2000-04-20 22:29:10 +00:00
Carsten Haitzler
4a09d1fe8a
disable damnit!
...
SVN revision: 2510
2000-04-20 02:39:00 +00:00
Carsten Haitzler
1f4e1b0a9e
mmx scaling back in - but forcibly disabled. new C scalign for scalign down..
...
works now.. :)
SVN revision: 2509
2000-04-20 02:37:29 +00:00
Carsten Haitzler
6f90764a22
add the bugger :)
...
SVN revision: 2503
2000-04-19 17:50:18 +00:00
Carsten Haitzler
aa89de24f8
rgba code for plain 16bpp using mmx... :) and blend rounding asm error fixed
...
thanks willem :)
SVN revision: 2502
2000-04-19 16:53:34 +00:00
Carsten Haitzler
0b5aae9a1a
unpatch scaling down code - there seems to be a segfault in it somewhere :)
...
SVN revision: 2493
2000-04-17 18:20:34 +00:00
Carsten Haitzler
5efd22e723
wow willem.. scalign down mmx code too.. :)
...
SVN revision: 2491
2000-04-17 07:59:06 +00:00
Carsten Haitzler
618cde9552
man.. more mmx asm for scaling.. thanks willem... you love this dont you? :)
...
SVN revision: 2490
2000-04-16 18:26:16 +00:00
Michael Jennings
ffe5df89f3
"Hi. My name is raster, and I smoke crack. I think I'll dereference this
...
pointer I just freed. Sound like a good idea? Yes, I thought so too."
:-P
SVN revision: 2488
2000-04-14 03:11:19 +00:00
Carsten Haitzler
e8c7419bf8
FIX FIX! evil mmx code! missing decls! thanks dragan - mej ::)
...
SVN revision: 2487
2000-04-13 23:27:07 +00:00
Carsten Haitzler
784415ca0a
get rid of printf
...
SVN revision: 2486
2000-04-13 20:31:27 +00:00
Carsten Haitzler
da1d0817cd
no - DONT put dmalloc in!
...
SVN revision: 2485
2000-04-13 20:29:01 +00:00
Carsten Haitzler
2086c062e5
foudn evil mmx code overwriting memeory! thanks mej. back to the C code for
...
you!
SVN revision: 2484
2000-04-13 20:24:58 +00:00
Carsten Haitzler
ea970ca51a
oops =- add
...
SVN revision: 2483
2000-04-13 17:10:50 +00:00
Carsten Haitzler
a8228e774a
changelog..... NOOOOOOOOO cant be! :)
...
SVN revision: 2481
2000-04-13 16:37:42 +00:00
Carsten Haitzler
300307782a
full fix of logic in blending rgb->rgb functions in C NB: the mmx asm needs to
...
be chnaged to reflect this
SVN revision: 2480
2000-04-13 16:31:51 +00:00
Carsten Haitzler
7968e8e119
blum blum blum
...
SVN revision: 2477
2000-04-13 03:02:19 +00:00
Michael Jennings
1759a0c9e4
Several miscellaneous bugfixes I did while converting Eterm to use Imlib2.
...
SVN revision: 2469
2000-04-12 23:40:10 +00:00
Carsten Haitzler
927519352b
fix corner case for clippign where integer math rounds source widht to 0 where
...
it shoudl be 1.
SVN revision: 2465
2000-04-12 18:47:15 +00:00
Michael Jennings
a621fc8a1f
Added a function to retrieve the image filename, if it has one. It returns
...
a pointer to an internal string, so if you want to alter the filename, you
MUST strdup() it.
SVN revision: 2464
2000-04-11 23:34:59 +00:00
Carsten Haitzler
06825b3645
fix some blending cases
...
SVN revision: 2458
2000-04-10 21:50:23 +00:00
Carsten Haitzler
80bd308cd3
include updated comments
...
SVN revision: 2455
2000-04-10 18:26:57 +00:00
Carsten Haitzler
3def8d48d3
optimize mmx blending more.. uswed to do 15 million pixels/sec... now does 25
...
million per sec.. compared to the C (9million per sec) thats pretty good now
SVN revision: 2454
2000-04-10 18:12:40 +00:00
Tom Gilbert
5a8634780e
Thought you could use a ChangeLog. I filtered it from muy cvs-commits-list
...
mbox, so bin it if you don't like =)
SVN revision: 2451
2000-04-09 00:05:20 +00:00
Carsten Haitzler
cde535754f
dont compile mmx data struct in if no mmx asm is used
...
SVN revision: 2449
2000-04-08 19:20:13 +00:00
Carsten Haitzler
60e39b1876
check for i686 artch and only then compile the mmx asm (i586 isnt guaranteed
...
to have mmx - NB libs built for mmx will NOt work on non mmx boxes right now
need to do a runtime chekc for that)
SVN revision: 2448
2000-04-08 19:15:48 +00:00
Carsten Haitzler
381cf576c5
add asm for blending.... this will break imlib2 right now for all platforms that
...
arent xz86 intel 9unless you rmove the asm form the makefile and blend.c
SVN revision: 2447
2000-04-08 18:45:18 +00:00
Carsten Haitzler
62782c973c
now that was bad! fix update appending :)
...
SVN revision: 2446
2000-04-08 04:13:52 +00:00
Carsten Haitzler
c502563a65
dont need that code no more
...
SVN revision: 2427
2000-04-05 03:56:26 +00:00
Carsten Haitzler
9714cd42d4
fix dither mask generation.. works again now.. use for icons to dnd
...
SVN revision: 2426
2000-04-05 01:34:05 +00:00
Carsten Haitzler
a61c7169aa
faster scaling up.......... :)
...
SVN revision: 2422
2000-04-03 22:38:00 +00:00
Carsten Haitzler
c5f7de93db
updates..... actually clip if only 1!
...
SVN revision: 2407
2000-04-02 20:42:41 +00:00
Carsten Haitzler
9d7ebb119d
need new updates call.....
...
SVN revision: 2406
2000-04-02 20:31:40 +00:00
Carsten Haitzler
9caa5471b7
no more of that thanks
...
SVN revision: 2384
2000-03-30 03:28:56 +00:00
Carsten Haitzler
a78ec3ab90
um ooops - how did that happen?
...
SVN revision: 2371
2000-03-29 02:57:28 +00:00
Carsten Haitzler
dd9240debc
optimize scalign down routine for RGBA as well as RGB...
...
SVN revision: 2369
2000-03-28 23:20:37 +00:00
Carsten Haitzler
0780bd87ac
speedup scaling down....... but i cant seem to get any speedup for up scaling
...
SVN revision: 2367
2000-03-28 22:25:45 +00:00
Carsten Haitzler
87146f0a33
damn willem! you love playing with imlib2 don;t you? :-) good show :)
...
SVN revision: 2358
2000-03-28 18:09:46 +00:00