Commit Graph

1521 Commits

Author SHA1 Message Date
dcone%netscape.com
0430d592c6 draw only the part of the image that has been read in. This limits the size of the blitting.. which can be quite a few blits depending on the image and the incremental loading and drawing. r=kmclusk a=rickg.
git-svn-id: svn://10.0.0.236/trunk@62072 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 21:00:59 +00:00
cls%seawood.org
b545155678 More fixes for motif build. Bug 22266
git-svn-id: svn://10.0.0.236/trunk@62053 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 12:33:06 +00:00
jbetak%netscape.com
98d259c039 a=bobj, r=troy, erik, bug 21127 font prefs do not list fonts
git-svn-id: svn://10.0.0.236/trunk@61921 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 00:12:13 +00:00
cls%seawood.org
ca325fb6b4 More fixes for the motif toolkit. Bug #22266
git-svn-id: svn://10.0.0.236/trunk@61775 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 01:13:43 +00:00
cls%seawood.org
d93adfc343 Implement nsFontMetric gfx changes for motif. Vain attempt to fix bug #22266.
git-svn-id: svn://10.0.0.236/trunk@61687 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 23:06:40 +00:00
dcone%netscape.com
b8b317d942 Make the Descent positive.. thats how we use the descent for our fonts. r=buster a=rgessner b=22009
git-svn-id: svn://10.0.0.236/trunk@61669 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 14:34:01 +00:00
Jerry.Kirk%Nexwarecorp.com
4aff7fd41a Intermediate fix for drawing large images. This was really slow on test4
and the disney page.


git-svn-id: svn://10.0.0.236/trunk@61667 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 13:51:01 +00:00
bryner%uiuc.edu
fb74001790 Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.


git-svn-id: svn://10.0.0.236/trunk@61647 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 04:12:40 +00:00
pierre%netscape.com
1d2c2e416f Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61601 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 12:51:28 +00:00
gagan%netscape.com
570f14d71b r=valeski,rjc a=jar. Fixes for the following bugs-
bug 1582 - HTTP Referer header problem.
This is now resolved with a preference (network.sendRefererHeader)
If set to 0 no referrer header is sent (ever) If set to 1 the
referrer header is sent only in cases of user link-clicks and if
set to 2 is sent from image requests as well.

bug 17158 - No Proxies For wasn't implemented.
This was not being read correctly and I also moved and cleaned up
the parsing function to nsProtocolProxyService (thereby also
killing bug 27728)

bug 24642 - http://www.win98central.com/#437 was crashing.
bug 26686 - crash in nsHTTPRequest destructor.
Both of these crashes were because of the nsHTTPRequest being
unconditionally released in the destructor of nsHTTPChannel. Although the main problem remains, I have made it a non-crasher now.

bug 27844 - HTTP breaks when only using FTP proxy.
This was happening because we were not resetting values of the
proxy when they are removed from the preference pane.


git-svn-id: svn://10.0.0.236/trunk@61512 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 21:17:17 +00:00
alecf%netscape.com
6bcf9f93a3 fix xlib build (does not affect default seamonkey build!)
git-svn-id: svn://10.0.0.236/trunk@61369 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-20 02:49:34 +00:00
troy%netscape.com
035d8da279 b=27056 a=rickg@netscape.com r=erik@netscape.com r=vidur@netscape.com
Performance improvements. Reduce the number of ::SelectObject() calls
when measuring text and displaying text


git-svn-id: svn://10.0.0.236/trunk@61343 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 01:59:18 +00:00
alecf%netscape.com
5f7198b17d fix for #28275, r=erik, a=chofmann,phil
properly unregister for pref callbacks


git-svn-id: svn://10.0.0.236/trunk@61242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:38:23 +00:00
Jerry.Kirk%Nexwarecorp.com
1d67070222 Increase the draw buffer size for PHOTON only. This was causing us
to be unable to render pages that had images in which a single
line was more than 4096 bytes. PHOTON ONLY.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@61154 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 00:44:50 +00:00
cls%seawood.org
246547ceed BeOS specific tweaks to allow the browser to compile.
Fixed configure.in to properly set developer specific debug flag under BeOS.
Added UNIX_CRASH_ON_ASSERT ifdef to stop BeOS from bring up debugger on non-abort assertions.


git-svn-id: svn://10.0.0.236/trunk@61120 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 08:06:00 +00:00
pnunn%netscape.com
bd6e085996 Bug#27691: fixes printing by changing reload policy for image lib. r:mcafee
git-svn-id: svn://10.0.0.236/trunk@61080 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 05:57:52 +00:00
pnunn%netscape.com
79188303ec bug#27691. fixes printing by changing default img reload policy. r:mcafee
git-svn-id: svn://10.0.0.236/trunk@61079 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 05:56:56 +00:00
Jerry.Kirk%Nexwarecorp.com
7c42f411a9 Overwrite the checked in version to get rid of a binary character
that somehow got checked in.


git-svn-id: svn://10.0.0.236/trunk@60922 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 21:25:45 +00:00
mscott%netscape.com
df3dddf528 This is one of those do the right thing bugs even though I don't have a PDT+ bug for it. Travis and I noticed
today that image urls weren't properly getting added to the doc loader of the containing document. So the top
level document would report a document done notification before the document may really be done.

The fix is to pass the load cookie nsISupports object which originates from the docshell that is opening the
url down into the gfx image code instead of passing the load group down.

r=travis.


git-svn-id: svn://10.0.0.236/trunk@60802 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 04:49:32 +00:00
mkaply%us.ibm.com
f6a75be6c1 # 25555
r= jdunn@netscape.com
OS/2 changes for Mozilla


git-svn-id: svn://10.0.0.236/trunk@60739 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 15:57:53 +00:00
Jerry.Kirk%Nexwarecorp.com
f74ce2f4d8 Fixing Combo-Boxes and other things that use GetSystemAttributes
began work on getting fonts to work "correctly" whatever that is...
PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@60738 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 15:30:18 +00:00
Jerry.Kirk%Nexwarecorp.com
951a872d26 Update nsImagePh class and bring it more in line with the GTK version.
PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@60732 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 13:22:07 +00:00
syd%netscape.com
43a00aa8f6 Added prefs support for margins, complete support for printer preferences in
Unix postscript printing. r=ben. Fixes bugs 4637 and 4638.


git-svn-id: svn://10.0.0.236/trunk@60728 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 10:15:17 +00:00
syd%netscape.com
ede0f006e0 Take netscape out of the dialog name, this is used by mozilla also.
Save printer dialog settings to preferences. Still have to hook up
margins. r=dveditz


git-svn-id: svn://10.0.0.236/trunk@60720 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 09:09:43 +00:00
erik%netscape.com
c919dd1a84 bug 27543 and bug 27566; crashing in profile manager; need to unregister
pref callback when destroying device context; r=none


git-svn-id: svn://10.0.0.236/trunk@60651 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 18:05:36 +00:00
erik%netscape.com
b3d4482050 bug 13072; we now take the smaller font when the desired font size is
precisely half-way between 2 available fonts; this avoids the 18-pixel
times font on systems with only the "75dpi" (sic) fonts installed;
the 18-pixel font is too large and bold-looking; r=tao


git-svn-id: svn://10.0.0.236/trunk@60612 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 22:17:15 +00:00
erik%netscape.com
64439cd911 bug 24005; wrap a pref around the font size rounding code, as discussed
by rickg, Eric Krock, buster, pierre and I; r=pierre


git-svn-id: svn://10.0.0.236/trunk@60601 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 17:28:41 +00:00
pnunn%netscape.com
17cf0ba325 bug# 21036: Change imglib reload policies to work with necko load attributes. pnunn, r:neeti,dp.
git-svn-id: svn://10.0.0.236/trunk@60563 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 01:51:57 +00:00
Jerry.Kirk%Nexwarecorp.com
44ccfffd88 Add support for the GetSpaceWidth() method in nsFontMetrics and added
the call to it in nsRenderingContextPh::GetWidth. This is PHOTON ONLY.


git-svn-id: svn://10.0.0.236/trunk@60488 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 14:44:50 +00:00
bryner%uiuc.edu
239b3b2b49 We don't need to build xlibrgb except when compiling the motif or xlib
toolkits. r=pavlov@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@60416 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 03:07:32 +00:00
attinasi%netscape.com
3a7bb6ed9a case-insensitive check for font-name in LoadFont. r=eric b=27005
git-svn-id: svn://10.0.0.236/trunk@60391 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:22:20 +00:00
erik%netscape.com
bcd82a3e6a bug 24005; putting the font size rounding code back in, since removing it
caused problems; part of ongoing discussion between rickg, pierre, etc.


git-svn-id: svn://10.0.0.236/trunk@60364 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:05:55 +00:00
pnunn%netscape.com
be8772f614 fix for bug#25021. r:neeti, rpotts. fix needed for pdt bugs. pnunn.
git-svn-id: svn://10.0.0.236/trunk@60352 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:55:37 +00:00
Jerry.Kirk%Nexwarecorp.com
d0a267f09c Check in updated version of nsGfxFactory that manages the ImageManager
class. This was crashing us. PHOTON ONLY
Also added un-finished nsFontEnumerator class to nsFontMetricsPh


git-svn-id: svn://10.0.0.236/trunk@60320 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 13:13:29 +00:00
kmcclusk%netscape.com
31beeacc3d Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@60242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:48:01 +00:00
Jerry.Kirk%Nexwarecorp.com
7469c30bf3 Finish initial conversion from Photon 1 to Photon 2.
Force all off-screen drawing to be done in video card RAM instead of main
system RAM using Pd functions instead of Pm functions. PHOTON ONLY
r=kedl


git-svn-id: svn://10.0.0.236/trunk@60236 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 14:07:54 +00:00
dcone%netscape.com
50c36d0e07 Fixed some flags and mask's in 16 bit blend. r=rods
git-svn-id: svn://10.0.0.236/trunk@60207 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 06:09:43 +00:00
dcone%netscape.com
12a3f78e9c Took out a bogus call to ::LockPixels().. r=rods
git-svn-id: svn://10.0.0.236/trunk@60197 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 04:16:42 +00:00
alecf%netscape.com
5021fb723d add callback to browser.screen_resolution so that the screen resolution is maintained when a profile is loaded
r=erik


git-svn-id: svn://10.0.0.236/trunk@60073 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 05:52:41 +00:00
erik%netscape.com
bafccfbe23 bug 13072; Shyjan and Roger (MathML) guys came up with this fix to base
the font size on the normal "design" size (em square) of the font;
r=erik; a=pavlov


git-svn-id: svn://10.0.0.236/trunk@60056 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 03:20:40 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
scc%netscape.com
686f08183e Pro5 update
git-svn-id: svn://10.0.0.236/trunk@59998 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 22:29:52 +00:00
dcone%netscape.com
59640db8cb Converted decent into a negative value. r=rods
git-svn-id: svn://10.0.0.236/trunk@59991 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 14:02:01 +00:00
pavlov%netscape.com
181eb991e6 add GetNumRects() to nsIRegion to return the number of rects making up the region. make two XChangeGC calls in to 1 to reduce X server traffic. inline a few methods that are used internally in the gtk implimentations. remove some code cruft. r=bryner@uiuc.edu
git-svn-id: svn://10.0.0.236/trunk@59977 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 03:39:21 +00:00
troy%netscape.com
1b800c63fd b=26692 r=erik@netscape.com Eliminated two places where nsAutoString objects
were being allocated on the heap


git-svn-id: svn://10.0.0.236/trunk@59968 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 01:07:16 +00:00
pavlov%netscape.com
a18b01da9f put include guards around nsGCCache.h and inlined a few function sr=smfr
git-svn-id: svn://10.0.0.236/trunk@59910 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 01:03:16 +00:00
beard%netscape.com
f576ca0b1d forgot to forward declare nsIGraphics here. fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@59907 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 00:23:59 +00:00
beard%netscape.com
c253bbfd73 removed unsafe StartDraw/EndDraw methods, using StPortSetter instead, added GetGraphics(). r=smfr
git-svn-id: svn://10.0.0.236/trunk@59903 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 23:02:37 +00:00
beard%netscape.com
1af25e3b1c added nsGraphicsImpl.cpp. r=smfr
git-svn-id: svn://10.0.0.236/trunk@59902 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 22:52:13 +00:00
beard%netscape.com
8269d2fd4c added nsIGraphics.idl. r=smfr
git-svn-id: svn://10.0.0.236/trunk@59901 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 22:49:34 +00:00