1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-04-23 00:51:25 +02:00
Commit Graph

98 Commits

Author SHA1 Message Date
id 9b2ca26ce8 using unsigned for height and width cause a lot of confusion. I grab
X's header and see that XImage use int for its width and height so
I change RImage to follow that.
2000-12-03 13:37:30 +00:00
dan 77670119a1 Optimized some of the previous changes related to order of evaluation. 2000-11-06 14:36:22 +00:00
dan e7ce6468fc - fixed code in wrlib dependant on the order of evaluation.
code like
    *ptr++ = *ptr++ = *ptr++ = color;
  is wrong, because there is no guarantee that ptr will be incremented
  _between_ the assignment operations. it can be incremented after all
  assignment operations as well. Because of this both of these are valid
  implementations for a compiler:
    a. assign, increment, assign, increment, assign, increment
    b. assign, assign, assign, increment by 3
  In case b. only the first memory location of the 3 will be modified, being
  assigned 3 times the same value, while the other 2 remain unchanged.
  For example egcs-2.91.66 (and possibly gcc-2.95.x too) implement this in
  the second way (like in case b.)
  Also the order in which the assignement is made is undefined (left to right
  or right to left).

this fixed the problem we had with greyscale jpegs showing up in red,
and possibly other problems related to pseudocolor and greyscale displays.
2000-11-06 04:21:25 +00:00
dan f7b4e85525 - added the wraster lib dependancies at link time, so they will be
written in the libwraster.la file allowing automatic linking against
  all the libs libwraster depends upon without specifing them again when
  linking programs that use libwraster. -lwraster will be enough.
2000-11-06 03:24:30 +00:00
dan 44fd05f1c3 Fixed bug related to incorrect reading of ppm files. 2000-09-28 12:07:38 +00:00
dan ccbb6e8e15 Fixed some bugs, and compilation warnings. 2000-09-24 02:31:58 +00:00
kojima 3be86a5778 fixed bug in RCOmbineAreaWithOpaq 2000-09-15 14:44:19 +00:00
dan 983e154118 - Fixed a bug with #define DEBUG (code didn't compile in that case) 2000-06-05 23:41:26 +00:00
dan 56cacb9336 Fixed the mdgradient code.
P.S. Please, that piece of code is perfectly valid, there's no need to
break it every month. There is nothing wrong with it, still it was
changed (and simultaneously broken) 4 or 5 times already.
That code use a smart trick to draw the multi diagonal gradient using
integer operations, that is perfectly valid and moreover is much faster
than the classical floating point calculation algorithm that was used
before, so there is no need to randomly 'fix' it every now and then.
If you don't understand how it works please ask.
2000-05-24 22:47:54 +00:00
kojima e7771be157 added interwoven gradient 2000-05-21 15:33:27 +00:00
kojima 9aa1d138a6 memory stats in info panel 2000-04-09 23:55:46 +00:00
dan 3e7eb14a22 *** empty log message *** 2000-04-08 03:48:59 +00:00
kojima 47e33ab485 little change in 8bpp code 2000-04-02 20:30:57 +00:00
kojima e7f7030e1b fixed #includes 2000-04-01 02:14:12 +00:00
kojima 7ab059a165 removed // comments 2000-03-31 14:38:53 +00:00
dan 5730c765c3 Fix for non-gcc compilers 2000-03-30 04:52:43 +00:00
kojima 1dc1f56802 fixed problem with filter selection for scaling 2000-03-30 04:03:24 +00:00
dan fb51ee83b7 *** empty log message *** 2000-03-29 04:56:41 +00:00
dan 8219011758 *** empty log message *** 2000-03-29 02:03:47 +00:00
id 2e154a404d *** empty log message *** 2000-03-29 01:49:05 +00:00
kojima d82906b4b7 fixed portability buglet.. 2000-03-28 08:43:09 +00:00
kojima f5177e67d5 updated code to use new bags
arbitrary window levels
2000-03-28 02:48:32 +00:00
dan fb802f2d6e *** empty log message *** 2000-03-24 02:15:35 +00:00
kojima 85ee588aa6 added arbitrary window levels 2000-03-24 01:16:02 +00:00
dan e9cb10749b *** empty log message *** 2000-03-10 22:48:51 +00:00
kojima 150432ff95 added RFillImage 2000-03-09 22:22:41 +00:00
kojima b974bd7e78 fixed image clearing 2000-03-07 01:12:12 +00:00
kojima 34c4040d91 gif update from Graham Whitted <gbw@sgrail.com>
removed cycle_bench() from testgrad
2000-02-29 18:10:27 +00:00
kojima fea35bfc99 resource leak fix 2000-02-27 19:52:58 +00:00
kojima 65f5627d98 rotation test code 2000-02-27 19:52:23 +00:00
kojima 182ecaf0f6 added rotate code 2000-02-27 19:51:57 +00:00
kojima 0efd007607 added rotation 2000-02-27 19:51:30 +00:00
kojima a0ebed9cb2 *** empty log message *** 2000-02-16 18:22:46 +00:00
dan 5d5eaf33e4 Placed cycle_bench(1) at the correct position. 2000-02-09 03:46:55 +00:00
dan 08b0a885d1 Fixed diagonal gradients. 2000-01-22 22:07:44 +00:00
kojima a2ae76e274 small fix 2000-01-21 21:25:41 +00:00
kojima 58ca0c2824 asm optimization for 8bpp (no mmx) 2000-01-21 21:04:20 +00:00
dan 9b10e8d034 A new fix, for some register restoral. 2000-01-20 05:42:07 +00:00
dan 3b374faadc Forgot the 'popal' at the end of asm. 2000-01-20 04:52:42 +00:00
dan a5cc413432 Fixed code for MMX detection to work. 2000-01-20 04:47:03 +00:00
kojima 1e5a1d8c91 fixed bug with RCreateImageFromXImage() with mask and image of != sizes
fixed dgradient rendering
2000-01-19 21:25:03 +00:00
kojima 0780ab82fe ooptimized code for 8bpp/PseudoColor 2000-01-19 17:47:35 +00:00
dan 0d1935e3d8 Fixed a crashing bug in the multi vertical gradient code. 2000-01-17 04:30:52 +00:00
dan 14939535b6 Misc bug fixes 2000-01-17 03:07:18 +00:00
dan 23c0cda243 Fixed bugs in raster.c code. Fixes bad icon image with some images. 2000-01-16 03:56:14 +00:00
dan e18cba4da9 Some fixes from Alban 2000-01-16 02:08:38 +00:00
dan b7296cff16 Fixed a bug in scaling code. 2000-01-15 22:11:18 +00:00
dan 049a69a9bf - Added a test in configure for the version of libPropList that is installed
on the system. Further compilation will be aborted if the version of
  libPropList that is found is older than expected. Hopefully this will make
  go away some annoying messages from people unable to read the release
  notes.
- Implemented periodic synchronization of user defaults in WINGs and
  notification when user defaults gets changed.
- Fixed the color panel to compile (someone in charge with it check if its
  ok, I only changed where the compiler complained, didn't go through the
  code).
- Misc fixes, related to latest changes in wrlib.
2000-01-15 02:00:24 +00:00
kojima f316df83c9 #ifdefe'd #include bench,h 2000-01-14 23:48:13 +00:00
kojima 18cbed4750 benchmark on pentium stuff 2000-01-14 23:37:20 +00:00