Carsten Haitzler
714e25d1d5
add -help patch and also fill in some options
...
SVN revision: 2572
2000-04-28 17:42:49 +00:00
Laurence J. Lane
776e40a31d
added patch by David N. Welton to cleanup configure handling
...
Thanks, David.
SVN revision: 2562
2000-04-27 16:14:21 +00:00
Tom Gilbert
1f9025dd97
Thu Apr 27 13:43:49 GMT 2000
...
(gilbertt)
Actually, made the gif loader give back what it's got without changing im->h
to reflect, or reallocing the image data. The reason for this is that it
already told apps what the image size was in the first progressive loader
callback, and changing it afterwards can cause confusion. Also, an app can
still handle/display a half-loaded image, as the rest is just filled black,
and the programmer knows how much of the image he got, 'cos he interrupted
it from the callback. If the programmer wants to trim the image, he knows
where to trim it, but if he/she wants to display a part-loaded image,
that'll work sanely.
I think this is more sane behaviour, having tested it in feh and
imlib2_view, but feel free to disagree ;-)
SVN revision: 2561
2000-04-27 12:37:20 +00:00
Tom Gilbert
be906e1416
Thu Apr 27 13:41:11 GMT 2000
...
(gilbertt)
Free up some RAM and close the filehandle when interrupted.
SVN revision: 2560
2000-04-27 12:27:51 +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
e5f09a8b21
Hush CVS.
...
SVN revision: 2557
2000-04-27 03:37:05 +00:00
Michael Jennings
a1dd08515d
Nuked some autogenerated files and added acconfig.h.
...
SVN revision: 2556
2000-04-27 03:35:29 +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
6ef109c228
beter freetype_h stuff back
...
SVN revision: 2553
2000-04-27 03:11:56 +00:00
Tom Gilbert
2aa32f702e
Thu Apr 27 04:22:06 GMT 2000
...
(gilbertt)
Return 2 from interrupted loaders.
SVN revision: 2552
2000-04-27 03:09:22 +00:00
Carsten Haitzler
d0356b162f
cleaner......
...
SVN revision: 2551
2000-04-27 03:04:46 +00:00
Carsten Haitzler
63aade9e18
better configure check for freetype- hopefulyl people wont keep askign dumb
...
questions anymroe about freetype.h
SVN revision: 2550
2000-04-27 03:01:46 +00:00
Tom Gilbert
0a7de7daf5
Thu Apr 27 04:00:28 GMT 2000
...
(gilbertt)
All done except the tiff loader. (Although I may be giving back incomplete
rows on a couple, I have to test more).
The tiff loader is gonna be hard, libtiff is quite broken in many ways ;-)
SVN revision: 2549
2000-04-27 02:53:20 +00:00
Michael Jennings
ceec186cb7
Wed Apr 26 19:58:05 PDT 2000
...
(KainX)
If progress() returns 0, clip the last row and
return 2.
SVN revision: 2548
2000-04-27 02:46:26 +00:00
Carsten Haitzler
eb2cbfaef0
nicer help message
...
SVN revision: 2547
2000-04-27 02:34:14 +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
27c6f2ee02
add
...
SVN revision: 2541
2000-04-27 01:48:14 +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
Mandrake
7c3d60e75b
hmm
...
SVN revision: 2537
2000-04-26 00:29:33 +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