blizzard%redhat.com
89a91692cb
more work to complete the rendering context code
...
git-svn-id: svn://10.0.0.236/trunk@33316 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 21:52:16 +00:00
blizzard%redhat.com
d66bc43084
the beginnings of popstate()/pushstate()
...
git-svn-id: svn://10.0.0.236/trunk@33315 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 21:01:51 +00:00
blizzard%redhat.com
95d84178be
fix bugs in region code
...
git-svn-id: svn://10.0.0.236/trunk@33288 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 03:01:39 +00:00
beard%netscape.com
908c53ae23
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.
...
git-svn-id: svn://10.0.0.236/trunk@33287 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 02:33:31 +00:00
beard%netscape.com
70252d17f7
nsGraphicState->mTMatrix is now an object rather than a pointer. added #include "nsFontMetricsMac.h", and "nsGraphicState.h".
...
git-svn-id: svn://10.0.0.236/trunk@33282 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:31:08 +00:00
beard%netscape.com
6204b883ee
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.
...
git-svn-id: svn://10.0.0.236/trunk@33281 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:31:06 +00:00
beard%netscape.com
ce202a44a2
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.
...
git-svn-id: svn://10.0.0.236/trunk@33280 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:31:02 +00:00
beard%netscape.com
7541270009
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.
...
git-svn-id: svn://10.0.0.236/trunk@33279 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:30:59 +00:00
beard%netscape.com
1698ba99b2
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.
...
git-svn-id: svn://10.0.0.236/trunk@33278 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:30:58 +00:00
beard%netscape.com
6e1f5688d3
forward declare nsGraphicState rather than #include "nsGraphicState.h". #include "nsFontMetricsMac.h" also unnecessary.
...
git-svn-id: svn://10.0.0.236/trunk@33277 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:30:56 +00:00
blizzard%redhat.com
e2b27f1c3d
Apply build patches from Tim Rowley <tor@cs.brown.edu> to get working
...
with native solaris compiler
git-svn-id: svn://10.0.0.236/trunk@33267 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 16:58:31 +00:00
beard%netscape.com
6c321c01eb
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.
...
git-svn-id: svn://10.0.0.236/trunk@33259 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 00:48:01 +00:00
blizzard%redhat.com
33764d7917
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
...
git-svn-id: svn://10.0.0.236/trunk@33129 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 15:11:21 +00:00
dcone%netscape.com
d528aba0b3
Fixed RealizeFont() to use a screen DC when printing for a few windows calls
...
git-svn-id: svn://10.0.0.236/trunk@33128 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 14:13:53 +00:00
bruce%cybersight.com
cde17134e5
Fix a shadowed variable.
...
git-svn-id: svn://10.0.0.236/trunk@33111 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 06:13:00 +00:00
pierre%netscape.com
c521aaf211
#7143 "Subscript element not properly supported"
...
git-svn-id: svn://10.0.0.236/trunk@33056 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:32:12 +00:00
dcone%netscape.com
10a88b0aec
Fixed bug 4904 -- converted to DIB, then printed..
...
git-svn-id: svn://10.0.0.236/trunk@32937 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 14:48:15 +00:00
blizzard%redhat.com
b1c6f06c80
more xlib work
...
git-svn-id: svn://10.0.0.236/trunk@32738 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:52:58 +00:00
dp%netscape.com
c148345c5d
Adding gfxMOZ_TOOLKIT and gfxps to get NS_NewTimer()
...
git-svn-id: svn://10.0.0.236/trunk@32667 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 07:30:34 +00:00
dp%netscape.com
befa259a88
Landing xpcom20/21 branch.
...
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
warren%netscape.com
ca81a76eee
Added timer stuff from base.
...
git-svn-id: svn://10.0.0.236/trunk@32511 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 09:17:05 +00:00
blizzard%redhat.com
3e47ad9913
remove these files
...
git-svn-id: svn://10.0.0.236/trunk@32497 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 06:16:21 +00:00
pierre%netscape.com
0fe41ffe46
#6246 "Styled text is offset leftwards, only on Mac OS", a=cyeh, r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@32438 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 00:58:27 +00:00
blizzard%redhat.com
2b320c95a5
bpp stands for bytes per pixel, not bits per pixel in certian circumstances. make sure that the image data buffer is allocated properly.
...
git-svn-id: svn://10.0.0.236/trunk@32239 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:04:03 +00:00
blizzard%redhat.com
1b6077d184
catch up with changes to GTK font code
...
git-svn-id: svn://10.0.0.236/trunk@32076 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 15:39:41 +00:00
blizzard%redhat.com
cf68f7d7ab
squelch warnings
...
git-svn-id: svn://10.0.0.236/trunk@32075 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 15:28:36 +00:00
pierre%netscape.com
f46fadfca9
#5949 "Frequent resizing of window causes apprunner to stop drawing"
...
git-svn-id: svn://10.0.0.236/trunk@32070 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 13:14:46 +00:00
blizzard%redhat.com
d5879d694b
add xlibrgb to the build
...
git-svn-id: svn://10.0.0.236/trunk@31880 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 03:42:30 +00:00
blizzard%redhat.com
568d9c7c7f
add gdkrgb port to straight xlib
...
git-svn-id: svn://10.0.0.236/trunk@31878 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 03:32:22 +00:00
erik%netscape.com
d7158a86ce
Fixed a compiler warning. Added a few new font charset names, and a weight
...
name.
git-svn-id: svn://10.0.0.236/trunk@31858 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 20:32:51 +00:00
ftang%netscape.com
61ebb4e614
add unicode
...
git-svn-id: svn://10.0.0.236/trunk@31313 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:19:12 +00:00
pnunn%netscape.com
62adbe4ab7
Pass reload policy through to netlib. This may help the
...
various bugs related to animations (#2148,#1865,#5030,#3958,#4350).
-pnunn
git-svn-id: svn://10.0.0.236/trunk@31303 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:30:52 +00:00
ftang%netscape.com
ba007ad522
check in performance improved unicode rendering for mac. Use TEC convert to script code before calling ATSUI to improve peroformance
...
git-svn-id: svn://10.0.0.236/trunk@31302 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:30:10 +00:00
briano%netscape.com
9abd96a0d2
Fix for Motif builds.
...
git-svn-id: svn://10.0.0.236/trunk@31296 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:23:04 +00:00
pierre%netscape.com
3c8fb85f29
renamed GraphicState "nsGraphicState", put it in a sepate file, added memory pools for GraphicStates and native regions.
...
git-svn-id: svn://10.0.0.236/trunk@31264 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:27:31 +00:00
pierre%netscape.com
9038bf2a40
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@31256 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 06:57:52 +00:00
pinkerton%netscape.com
309c84268a
using accessor functions for opaque data structs where necessary for carbon.
...
git-svn-id: svn://10.0.0.236/trunk@31150 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:47:03 +00:00
pinkerton%netscape.com
42c1e35453
FetchFontInfo not yet in Carbon. This will be fixed, but is hacked around for now.
...
git-svn-id: svn://10.0.0.236/trunk@31148 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:43:54 +00:00
pinkerton%netscape.com
a3afd945fb
ask for the grafPort, not the window, since they are different in Carbon.
...
git-svn-id: svn://10.0.0.236/trunk@31147 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:41:03 +00:00
pinkerton%netscape.com
6619489e1a
moved the ifdefs around the printing code to be more correct.
...
git-svn-id: svn://10.0.0.236/trunk@31146 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:40:25 +00:00
pinkerton%netscape.com
0f78f06b5d
old printing api's obsoleted in carbon.
...
git-svn-id: svn://10.0.0.236/trunk@31145 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:40:01 +00:00
pinkerton%netscape.com
2f2c657552
comment out printing under Carbon. api's have been obsoleted and need to be redone.
...
git-svn-id: svn://10.0.0.236/trunk@31142 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:36:39 +00:00
pinkerton%netscape.com
28ef714de5
comment out printing code under carbon. The api's have all been obsoleted and we need to rework them. Also font/encoding stuff is messed up in WWDC builds so some hacks are in here to work around. That code should all go away when Carbon is fixed.
...
git-svn-id: svn://10.0.0.236/trunk@31141 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:36:19 +00:00
pinkerton%netscape.com
5e2ed3373b
using accessors for Regions when building under Carbon.
...
git-svn-id: svn://10.0.0.236/trunk@31044 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:41:03 +00:00
pinkerton%netscape.com
946ad5d0cf
under Carbon, use the accessors.
...
git-svn-id: svn://10.0.0.236/trunk@31026 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:11:50 +00:00
mcafee%netscape.com
a3948e9888
Renaming nsQuickSort to NS_QuickSort so it doesn't look like a class name. r=brendan@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@30913 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 06:47:04 +00:00
blizzard%redhat.com
bbd5f8df3c
port of gtk's font code to xlib
...
git-svn-id: svn://10.0.0.236/trunk@30901 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 21:56:46 +00:00
blizzard%redhat.com
b297cf4aa9
make sure to return NS_OK from Init()
...
git-svn-id: svn://10.0.0.236/trunk@30899 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 19:52:11 +00:00
blizzard%redhat.com
7fad38d2cb
more debugging output, start of some renderingcontext functions
...
git-svn-id: svn://10.0.0.236/trunk@30855 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 22:54:03 +00:00
blizzard%redhat.com
f945bc345d
enough debugging output to make a dozen squid omlets
...
git-svn-id: svn://10.0.0.236/trunk@30852 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 21:42:39 +00:00