Граф коммитов

945 Коммитов

Автор SHA1 Сообщение Дата
ftang%netscape.com 8e21a09223 change the fake lang string to null to improve performance 1999-06-08 21:13:06 +00:00
ftang%netscape.com 063b816ac8 do bit compar before do string compare to imporve performance 1999-06-08 21:12:20 +00:00
blizzard%redhat.com d46a7df85f port performance enhancements from gtk fonts 1999-06-08 02:40:24 +00:00
kmcclusk%netscape.com 31bee26128 Added code to nsFontMetricsGTK to cache the width of a single space.
Modifed nsRenderingContextGTK::GetWidth to detect when a single space
is passed in and pass back the cached value, rather than re-measuring
a space.
1999-06-07 22:48:19 +00:00
kmcclusk%netscape.com b827241cfb Added method and member variable to Cache the width of a space in nsFontMetricsWin.cpp.
Added code to nsRenderingContextWin::GetWidth to use the cached width to optimize the
common case of measuring the width of a single character.
1999-06-04 23:09:27 +00:00
erik%netscape.com 96f002fcd8 Bug 7427. Need to convert enumerated font names from system code page to
Unicode, and then convert Unicode font names back to system code page when
loading font.
1999-06-04 00:08:56 +00:00
ramiro%netscape.com 4e3def4157 Comment out debug code that is making it impossible to have timeouts
greater than 10 seconds.
1999-06-03 21:31:38 +00:00
kmcclusk%netscape.com 3e59519814 Fix for bug #1177. Added a new method ConditionRect which is used to fix coordinate
overflow problems under WIN95. Condition rect converts nsRect to a RECT with cooordinates
modified to acceptable ranges for WIN95.
1999-06-03 20:19:32 +00:00
pinkerton%netscape.com f42f9d66d5 More changes for Carbon, submitted by Eoin Norris at Apple (e.norris@apple.com). 1999-06-03 18:55:40 +00:00
dcone%netscape.com 0f168a2a88 Put braces in to get rid of many compiler warnings. 1999-06-03 13:48:20 +00:00
Jerry.Kirk%Nexwarecorp.com e41f620a62 - These files update the GFX portion of the Photon UI
- They still include lots of debug and not implemented functions.
1999-06-03 01:15:23 +00:00
beard%netscape.com 1137aa10de added more pre-flight checks, added more coordinate range checks to rectangle based primitives. 1999-06-03 00:57:34 +00:00
beard%netscape.com 89eeafa6c2 fixed potential memory problems. 1999-06-03 00:56:32 +00:00
blizzard%redhat.com 075f74d4c4 consistent debugging output 1999-06-02 02:55:23 +00:00
blizzard%redhat.com f7aa287462 more work in initialization code 1999-06-02 01:48:21 +00:00
blizzard%redhat.com 6fcfcb1150 fix implementation of the creation of DrawingSurfaces 1999-06-02 01:18:05 +00:00
blizzard%redhat.com 6f132b7fd3 fix call signature for XCopyArea() 1999-06-02 01:16:56 +00:00
blizzard%redhat.com 233c1e1374 more drawing work 1999-05-31 23:34:13 +00:00
blizzard%redhat.com 6538e03be8 set up the offscreen surface correctly 1999-05-31 22:48:01 +00:00
blizzard%redhat.com 5d76f4f061 more work to complete the rendering context code 1999-05-31 21:52:16 +00:00
blizzard%redhat.com f728de5880 the beginnings of popstate()/pushstate() 1999-05-31 21:01:51 +00:00
blizzard%redhat.com b5ee3526e7 fix bugs in region code 1999-05-31 03:01:39 +00:00
beard%netscape.com 4fc583d196 workaround for bug #6529, don't read the first buffer until at least 4 bytes are available, otherwise the image decoder library can't tell what kind of image it is. this is a blatant hack. 1999-05-31 02:33:31 +00:00
beard%netscape.com 45ee39f9a4 nsGraphicState->mTMatrix is now an object rather than a pointer. added #include "nsFontMetricsMac.h", and "nsGraphicState.h". 1999-05-31 01:31:08 +00:00
beard%netscape.com c4b98608e5 added kClippingChanged bit, and kEverythingChanged to GraphicStateChanges enum. Increased mChanges field to from 8-bit to 32-bit mask. added additional "aChanges" argument to SelectDrawingSurface() to indicate what graphics states have to be reset. 1999-05-31 01:31:06 +00:00
beard%netscape.com 7cb713cf31 SelectDrawingSurface() now selectively restores color, clipping, and font metrics, according to the bitmask passed in the "aChanges" parameter. PushState() saves the current changes in the pushed nsGraphicState, and PopState() restores it. 1999-05-31 01:31:02 +00:00
beard%netscape.com e908055bc0 added mChanges, bitmask indicating differences between graphics states, made mTMatrix a member object to reduce allocations, added mNext link field to support recycling. Changed nsGraphicsStatePool to just keep a free list of nsGraphicState objects rather than an array. 1999-05-31 01:30:59 +00:00
beard%netscape.com 8b189adb4a nsGraphicStatePool now just keeps a free list of nsGraphicState objects. nsGraphicState::Clear() sets the matrix to the identify matrix rather than deallocating it. nsGraphicState::Duplicate() no longer calls Clear(), instead it just copies all fields. DuplicateRgn() now takes an optional region to copy into, to avoid redundant allocate/recycle steps. 1999-05-31 01:30:58 +00:00
beard%netscape.com 5ee86859b1 forward declare nsGraphicState rather than #include "nsGraphicState.h". #include "nsFontMetricsMac.h" also unnecessary. 1999-05-31 01:30:56 +00:00
blizzard%redhat.com 0cea408abb Apply build patches from Tim Rowley <tor@cs.brown.edu> to get working
with native solaris compiler
1999-05-30 16:58:31 +00:00
beard%netscape.com 0ffc2cc2af changed region pool to use 2 linked lists of slots instead of an array, for constant time allocation and recycling. no longer allocates a fixed size pool, and regions are truly owned by the caller until recycled. 1999-05-30 00:48:01 +00:00
blizzard%redhat.com 9e9bb45ea1 make sure that globals are defined here for display properties. also, make sure that the gfx module for xlib is linked explicitly with the xlib libraries so that the tests link 1999-05-28 15:11:21 +00:00
dcone%netscape.com 76a0a344b2 Fixed RealizeFont() to use a screen DC when printing for a few windows calls 1999-05-28 14:13:53 +00:00
bruce%cybersight.com 1091145a3a Fix a shadowed variable. 1999-05-28 06:13:00 +00:00
pierre%netscape.com 5ef37ba3c0 #7143 "Subscript element not properly supported" 1999-05-28 00:32:12 +00:00
dcone%netscape.com 3280f2c2e9 Fixed bug 4904 -- converted to DIB, then printed.. 1999-05-27 14:48:15 +00:00
blizzard%redhat.com 357d68f2d4 more xlib work 1999-05-26 21:52:58 +00:00
dp%netscape.com a597f8f5b6 Adding gfxMOZ_TOOLKIT and gfxps to get NS_NewTimer() 1999-05-26 07:30:34 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com f6958ce67a Added timer stuff from base. 1999-05-24 09:17:05 +00:00
blizzard%redhat.com 80bdd72934 remove these files 1999-05-22 06:16:21 +00:00
pierre%netscape.com 97450f230f #6246 "Styled text is offset leftwards, only on Mac OS", a=cyeh, r=sfraser 1999-05-21 00:58:27 +00:00
blizzard%redhat.com 4ffc153de7 bpp stands for bytes per pixel, not bits per pixel in certian circumstances. make sure that the image data buffer is allocated properly. 1999-05-19 03:04:03 +00:00
blizzard%redhat.com dffdeec978 catch up with changes to GTK font code 1999-05-18 15:39:41 +00:00
blizzard%redhat.com ce51c10e2d squelch warnings 1999-05-18 15:28:36 +00:00
pierre%netscape.com e404475eb5 #5949 "Frequent resizing of window causes apprunner to stop drawing" 1999-05-18 13:14:46 +00:00
blizzard%redhat.com f88e5467c3 add xlibrgb to the build 1999-05-17 03:42:30 +00:00
blizzard%redhat.com b8f91d6f89 add gdkrgb port to straight xlib 1999-05-17 03:32:22 +00:00
erik%netscape.com da7b92a375 Fixed a compiler warning. Added a few new font charset names, and a weight
name.
1999-05-16 20:32:51 +00:00
sspitzer%netscape.com b6ae38dae6 cvs ignorage 1999-05-13 03:53:42 +00:00