Commit Graph

1521 Commits

Author SHA1 Message Date
mscott%netscape.com
30c9c2ebf9 loading a uri takes the channel instead of the uri. The caller
must create the channel before call openuri.
r=rpotts.


git-svn-id: svn://10.0.0.236/trunk@58024 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 19:56:31 +00:00
alecf%netscape.com
513e8a6f93 fix xlib bit rottage
git-svn-id: svn://10.0.0.236/trunk@58001 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 08:29:52 +00:00
rbs%maths.uq.edu.au
934468cdbb [#ifdef MOZ_MATHML] Get the real x-height for precise MathML positioning. Bug 18814 can feed on this.
git-svn-id: svn://10.0.0.236/trunk@57983 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 00:54:01 +00:00
Jerry.Kirk%Nexwarecorp.com
47b121e670 bug 8001; add font name prefs code for Photon. This is initial
and only meant to get things compiling again until I can review and
understand this bug. PHOTON ONLY


git-svn-id: svn://10.0.0.236/trunk@57972 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 18:25:37 +00:00
Jerry.Kirk%Nexwarecorp.com
c948631123 Work around a Photon bug when trying to Invert Text in the InvertRect
function by forcing a flush after the draw.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@57960 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 01:55:27 +00:00
Jerry.Kirk%Nexwarecorp.com
6f36f12e2e Multiplying the Screen Width and Height by three to take into account
the default 3x3 virtual console. This may not be the "right" way
but I am going with it for the moment.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@57959 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 01:53:47 +00:00
erik%netscape.com
0b3372a828 bug 24005; was rounding font size down to be compatible with Nav4; this
turns out to have disastrous effects on pages with font-size 9px; removed
the rounding code after testing effects on various "Top Sites"; r=none
(but discussed with Troy)


git-svn-id: svn://10.0.0.236/trunk@57950 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 18:50:18 +00:00
erik%netscape.com
f8d35c10ea bug 17861; set minimum default logical resolution to 96, using OS's
reported value if higher than 96; coded by David Baron; r=erik


git-svn-id: svn://10.0.0.236/trunk@57949 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 18:20:54 +00:00
erik%netscape.com
8cefd522ce bug 8801; add font name prefs code for Unix; r=ftang
git-svn-id: svn://10.0.0.236/trunk@57941 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 16:37:53 +00:00
Jerry.Kirk%Nexwarecorp.com
c9186f6aa0 Photon UI Only
Changing some debug output to silence the RenderingContext a bit so I can
work on other problems...
r=kedl


git-svn-id: svn://10.0.0.236/trunk@57826 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 13:17:25 +00:00
Jerry.Kirk%Nexwarecorp.com
97368c8d7b Add code to work around Photon bug. If any part of "text" is rendered
slightly off the drawing surface then the entire chunk of text is clipped.
This is an awful hack that just increases the draw surface by 100.
(A magic number) I am filing a bug with Photon to get a fix.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@57825 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 13:15:33 +00:00
rbs%maths.uq.edu.au
0816b9384c [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics()
git-svn-id: svn://10.0.0.236/trunk@57793 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 08:02:12 +00:00
rbs%maths.uq.edu.au
164f90cf22 [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics()
git-svn-id: svn://10.0.0.236/trunk@57789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 06:15:37 +00:00
neeti%netscape.com
6868b909e1 fix for memory leak of ImageSystemServicesImpl, bug 21298, r=pnunn
git-svn-id: svn://10.0.0.236/trunk@57725 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:34:19 +00:00
pnunn%netscape.com
5773ab35a3 bug#12722: timer interacting with image groups. pnunn. rev: neeti@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57699 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:01:11 +00:00
pinkerton%netscape.com
0593ad4505 Replacing TARGET_CARBON ifdefs with inline functions in nsCarbonHelpers.h to make code more readable.
git-svn-id: svn://10.0.0.236/trunk@57516 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 07:14:09 +00:00
pinkerton%netscape.com
060246fe9f Replacing TARGET_CARBON ifdefs with inline functions in nsCarbonHelpers.h to make code more readable.
git-svn-id: svn://10.0.0.236/trunk@57515 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 07:02:17 +00:00
dbaron%fas.harvard.edu
8b25beeb95 Fix bug 11168. Underline position metrics are returned as positive
numbers by X, but Mozilla wants them to be negative.  This caused
problems only for certain font servers (those that returned underline
position metrics).

r=pavlov


git-svn-id: svn://10.0.0.236/trunk@57499 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 02:24:46 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
pinkerton%netscape.com
d4d5ba22c6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@57359 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:18:43 +00:00
cls%seawood.org
c94cbe27ba Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.


git-svn-id: svn://10.0.0.236/trunk@57356 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:13:01 +00:00
cls%seawood.org
f637dff386 Add MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs around the timer libs and other static libraries to be linked into the shared library.
git-svn-id: svn://10.0.0.236/trunk@57353 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:06:24 +00:00
dcone%netscape.com
c34d9dbdae Fixed some transform errors. r=rickg. bugs = 14385,19601
git-svn-id: svn://10.0.0.236/trunk@57279 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 14:52:49 +00:00
rbs%maths.uq.edu.au
e44db66cac [MATHML] Coded GetItalicSlope() and updated GetBoundingMetrics(). Added code to catch up with recent changes in gfx/src/windows that broke the MathML build on Win32
git-svn-id: svn://10.0.0.236/trunk@57104 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 14:22:07 +00:00
rbs%maths.uq.edu.au
37f568343e [#ifdef MOZ_MATHML] Added GetItalicSlope() in nsIFontMetrics.h to get the tagent of the italic angle needed for the italic correction. Added leftItalicCorrection in nsBoundingMetrics and updated documentation
git-svn-id: svn://10.0.0.236/trunk@57103 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 14:16:02 +00:00
rbs%maths.uq.edu.au
73c3d454fd [#ifdef MOZ_MATHML] Patch of Shyjan Mahamud to set mActualSize to the designed size of the font, when the font requested is not a scalable font
git-svn-id: svn://10.0.0.236/trunk@57102 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 14:07:56 +00:00
briano%netscape.com
f83dfc638d Backed out the Solaris fix, because Linux doesn't like it. It may be that -z allextract and -Wl,--whole-archive behave differently.
git-svn-id: svn://10.0.0.236/trunk@56931 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 03:06:22 +00:00
briano%netscape.com
9c98b167c9 Fix for _optimized_ nightly Solaris 2.6 builds.
git-svn-id: svn://10.0.0.236/trunk@56928 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 02:06:56 +00:00
Jerry.Kirk%Nexwarecorp.com
96e7bd2c32 Photon UI Only
This checkin adds some methods to deal with native Regions needed by Widget
code.  It also cleans up the CopyOffScrenBits and clears out the GC in the
Init method of nsDrawingSurfacePh.


git-svn-id: svn://10.0.0.236/trunk@56732 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 15:23:28 +00:00
dougt%netscape.com
1dc692d51c Including nsCRT.h directly. It is included indirectly by nsFileSpec. This
prep work for the nsIFile landing.


git-svn-id: svn://10.0.0.236/trunk@56664 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:01:37 +00:00
ftang%netscape.com
619e9d9e68 partial fix for 19589. use ATSUI fallback to draw glyph available in MacRoman font and Symbol font. It will cover Latin extened A. r=nhotta a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56416 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 20:56:49 +00:00
ftang%netscape.com
b8ee320a9c fix bug 7521. make the default font face listen to pref. r=erik. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56415 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 20:54:54 +00:00
tor%cs.brown.edu
65b2c1c507 Fix for bug 19024 (strechy symbols in MATHML) in xlib code.
r=rbs@maths.uq.edu.au


git-svn-id: svn://10.0.0.236/trunk@56359 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 04:47:32 +00:00
briano%netscape.com
4a558a4d58 Fix for the mysterious breakage when using the Workshop compiler on Solaris builds.
git-svn-id: svn://10.0.0.236/trunk@56324 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:42:19 +00:00
sspitzer%netscape.com
9811a371d0 fix FMM and UMR from purify, add some null sanity checks to fix various
crashers that I've seen.


git-svn-id: svn://10.0.0.236/trunk@56309 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 23:11:17 +00:00
dcone%netscape.com
ba9d33ca36 CopyDeepMask Will not be called when printing, this will crash the printer. Checkin ok'd by Hoffman. r=karnaze.
Bug=21759 (dogfood)


git-svn-id: svn://10.0.0.236/trunk@56284 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 18:19:52 +00:00
dcone%netscape.com
8ebaf9a96c Added an IsPrinter() call. Checkin ok'd by Hoffman. r=karnaze.
Bug=21759 (dogfood)


git-svn-id: svn://10.0.0.236/trunk@56283 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 18:19:05 +00:00
dcone%netscape.com
55c6b6e2bd Fixed a problem with the calculation of the resolution constants for the creation of a printer DeviceContext.. and return the correct page size in the GetGetDeviceSurfaceDimension call. r=kmclusk
git-svn-id: svn://10.0.0.236/trunk@56091 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 15:18:36 +00:00
erik%netscape.com
3d4f49733c bug 21352; was crashing on Japanese Win95 since we didn't keep our
subclass for that platform in sync with the base class; r=ftang a=chofmann


git-svn-id: svn://10.0.0.236/trunk@56012 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 01:15:36 +00:00
syd%netscape.com
a90bf72a3b Partial fix for 18083. Grab page size preference from user and use it to
compute page size for layout. Previously, it was assumed that page was
8x10, ignoring user choice made in the printer dialog. r=dcone, a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@55965 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 02:16:17 +00:00
sspitzer%netscape.com
c7deef58ae fix #21178, crashing when printing on linux.
r=syd,erik a=chofmann


git-svn-id: svn://10.0.0.236/trunk@55961 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 01:54:48 +00:00
rbs%maths.uq.edu.au
3ba6bb1158 [NOT PART OF THE DEFAULT BUILD]. Applied a patch of Shyjan Mahamud to return the bounding metrics in a uniform XP manner (bug 19024).
git-svn-id: svn://10.0.0.236/trunk@55850 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 13:17:03 +00:00
kmcclusk%netscape.com
dfefa3f9af Reduced image cache size from 2Mb to 1Mb. bug 19114. r=buster@netscape.com. approved by chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55822 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:59:57 +00:00
ftang%netscape.com
6cccc8adfc implement Mac GFX w/ langGroup. From now we will use the correct CJK font depend on the document charset. Howerver, it have not listen to the pref yet. r=erik. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55819 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:44:34 +00:00
erik%netscape.com
5c304f97bf bug 7586; need to convert font name from prefs file from UTF-8 to Unicode
so that non-ASCII font names will work on Windows; r=ftang; a=chofmann


git-svn-id: svn://10.0.0.236/trunk@55800 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 19:20:06 +00:00
sspitzer%netscape.com
b8e383026e check in a comment that let's us non-mac guru's know which project builds this project. pretty annoying that a file under mozilla:gfx:src:mac gets built by mozilla:netwerk:util:macbuild:netwerkUtil.mcp, if you ask me.
git-svn-id: svn://10.0.0.236/trunk@55793 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 03:40:22 +00:00
pavlov%netscape.com
03c20d1e01 fix for 20496 r=mcafee a=leaf
git-svn-id: svn://10.0.0.236/trunk@55780 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 00:54:55 +00:00
dougt%netscape.com
c9f292ae14 fix for 20964. r=sfraser a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55769 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 22:50:15 +00:00
Jerry.Kirk%Nexwarecorp.com
5d87289302 Fixing drawing problems of toolbars under Photon ONLY.
The toolbars were not drawing properly, and were being clipped out by
incorrect clip rects that were part of the graphic context. I cleared
the Multiclip part of the GC when the a drawing surface is selected.
Fixing Photon, r=kedl a=leaf


git-svn-id: svn://10.0.0.236/trunk@55766 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 22:28:15 +00:00
erik%netscape.com
ac4eb59b78 bug 8801; adding font prefs implementation for Windows initially; r=ftang
git-svn-id: svn://10.0.0.236/trunk@55641 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:27:17 +00:00