Commit Graph

966 Commits

Author SHA1 Message Date
blizzard%redhat.com
d069fe11e4 fix backwards colors 1999-06-19 20:25:06 +00:00
valeski%netscape.com
e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
erik%netscape.com
5accb2e576 Fix for bug 7841. Some fonts return bad glyph IDs. Now checking for these.
It turns out that GulimChe is one of those bad fonts.
1999-06-16 03:57:55 +00:00
pierre%netscape.com
849596767d #8264 "[PP] Mac GFX draws lines one pixel too long" 1999-06-16 01:18:15 +00:00
blizzard%redhat.com
491cc36d07 use PR_LOG for debugging 1999-06-16 00:37:57 +00:00
blizzard%redhat.com
47a4c1cc91 use PR_LOG for debugging messages 1999-06-16 00:25:10 +00:00
blizzard%redhat.com
7754d8da97 more gfx work 1999-06-15 04:19:11 +00:00
blizzard%redhat.com
b66da08ef0 merge erik's changes 1999-06-14 23:20:51 +00:00
erik%netscape.com
a0c4a683fe Added support for CP 1251 and KOI8-R fonts (Cyrillic). 1999-06-14 22:55:39 +00:00
bruce%cybersight.com
1e47eb8696 Interface classes really do need to define |GetIID()|. 5 of these files are just being switched over to the macro. The others were all lacking |GetIID()| implementations. 1999-06-14 06:16:08 +00:00
blizzard%redhat.com
66bc260f9c a slightly more sane nsDrawingSurface 1999-06-14 00:47:37 +00:00
blizzard%redhat.com
988e27bab4 merge in Erik's changes to gtk fonts 1999-06-13 20:34:56 +00:00
erik%netscape.com
3391461f38 Started using Frank's 64K bit array code and the Unicode converters.
The euro now displays on Linux.
1999-06-13 18:33:37 +00:00
Dale.Stansberry%Nexwarecorp.com
10e699ffeb - Put in buffer "zeroing" code 1999-06-11 19:56:14 +00:00
Jerry.Kirk%Nexwarecorp.com
58b5675cf2 - Fixes for test12.html 1999-06-10 21:07:11 +00:00
dcone%netscape.com
e20ee57836 Fixed a solaris bug, took out a URL call until I can find the real cause
of the problem
1999-06-10 13:53:14 +00:00
ramiro%netscape.com
c4c2d1d42d Add #ifdef use of graphics state pool. 1999-06-10 13:11:22 +00:00
ramiro%netscape.com
b4d5277467 Factor out the graphics state struct into its own header and implementation
files.
1999-06-10 12:45:14 +00:00
Jerry.Kirk%Nexwarecorp.com
3c09a31379 - Set an uninitialized variable that was breaking test08 + other rips 1999-06-09 19:24:25 +00:00
ramiro%netscape.com
d330f1ae61 Motif Ressurection. Thanks to Daniel Roberts <zuperdee@yahoo.com> for
doing the painful job of identifying everything that is missing and
stubbing it out.
1999-06-09 11:35:26 +00:00
ramiro%netscape.com
1b4d1715e2 Port to KCC. 1999-06-09 10:09:47 +00:00
ftang%netscape.com
3cae9693d3 change the fake lang string to null to improve performance 1999-06-08 21:13:06 +00:00
ftang%netscape.com
3a0135d848 do bit compar before do string compare to imporve performance 1999-06-08 21:12:20 +00:00
blizzard%redhat.com
2e58ba7bae port performance enhancements from gtk fonts 1999-06-08 02:40:24 +00:00
kmcclusk%netscape.com
3fd7b914d3 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
1ea246a1a1 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
fd4ed60abc 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
6784919f78 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
8be1cd6761 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
c35d3c5907 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
3a09e85b99 Put braces in to get rid of many compiler warnings. 1999-06-03 13:48:20 +00:00
Jerry.Kirk%Nexwarecorp.com
f82d11285f - 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
062c4626ab 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
fa957816e2 fixed potential memory problems. 1999-06-03 00:56:32 +00:00
blizzard%redhat.com
b99fba6098 consistent debugging output 1999-06-02 02:55:23 +00:00
blizzard%redhat.com
9e860bf8cb more work in initialization code 1999-06-02 01:48:21 +00:00
blizzard%redhat.com
88a9c86123 fix implementation of the creation of DrawingSurfaces 1999-06-02 01:18:05 +00:00
blizzard%redhat.com
e7e05cc9fa fix call signature for XCopyArea() 1999-06-02 01:16:56 +00:00
blizzard%redhat.com
c7e50c22d9 more drawing work 1999-05-31 23:34:13 +00:00
blizzard%redhat.com
88abd6195f set up the offscreen surface correctly 1999-05-31 22:48:01 +00:00
blizzard%redhat.com
85a6b16337 more work to complete the rendering context code 1999-05-31 21:52:16 +00:00
blizzard%redhat.com
ad9060c9ac the beginnings of popstate()/pushstate() 1999-05-31 21:01:51 +00:00
blizzard%redhat.com
912e80f4a7 fix bugs in region code 1999-05-31 03:01:39 +00:00
beard%netscape.com
28c1747a2f 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
649fc7265e 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
224d268517 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
c80ce47928 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
512fff1d90 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
f4dd292891 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
37f837b575 forward declare nsGraphicState rather than #include "nsGraphicState.h". #include "nsFontMetricsMac.h" also unnecessary. 1999-05-31 01:30:56 +00:00