1445 Commits

Author SHA1 Message Date
syd%netscape.com
1162858027 Minor changes for PostScript printing. r=dcone.
git-svn-id: svn://10.0.0.236/trunk@59267 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 21:24:19 +00:00
mscott%netscape.com
d76c83c89d API sync with nsIURIContentListener r=travis
git-svn-id: svn://10.0.0.236/trunk@59170 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:09:45 +00:00
pavlov%netscape.com
f2c584e597 fix the caret blinking bug on linux and remove an extra call to things that don't need to be called r=mcafee
git-svn-id: svn://10.0.0.236/trunk@59127 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:52:28 +00:00
sfraser%netscape.com
4d969302b8 Fix for 25366 -- check for color grafport before getting the GrafVars. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59115 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:39:24 +00:00
dcone%netscape.com
e80bb68ecf Took out ifdef for the Mac. Loading Icon will now display. r=rods
git-svn-id: svn://10.0.0.236/trunk@59069 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 14:56:07 +00:00
pavlov%netscape.com
deb433b190 make hpux happier.
git-svn-id: svn://10.0.0.236/trunk@59040 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 08:08:30 +00:00
tor%cs.brown.edu
363e92b4fb Shuffle #includes to get proper definition of NULL for picky C++ compilers.
r=pepper


git-svn-id: svn://10.0.0.236/trunk@59007 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:08:02 +00:00
pavlov%netscape.com
474c9f5ca9 this wasn't supposed to go in yet
git-svn-id: svn://10.0.0.236/trunk@58990 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:28:54 +00:00
pavlov%netscape.com
de6f490436 add a GC cache so that we talk to the X server less r=blizzard
git-svn-id: svn://10.0.0.236/trunk@58981 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:05:49 +00:00
pavlov%netscape.com
a9df0be5ae remove round trips to the X server when we create rendering contexts. only set font and color info on the GC when a draw is going to happen.
git-svn-id: svn://10.0.0.236/trunk@58778 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 11:37:58 +00:00
pavlov%netscape.com
4f40916074 make things better(tm) r=blizzard
git-svn-id: svn://10.0.0.236/trunk@58710 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 02:42:34 +00:00
dcone%netscape.com
252e4708b6 Added flags so selection button does not come up and print to file is hidden. Put in support for quiet
printing (no dialog) r=rods


git-svn-id: svn://10.0.0.236/trunk@58608 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:45:09 +00:00
Jerry.Kirk%Nexwarecorp.com
c746891a27 Fix up the font picking stuff for Photon 1
git-svn-id: svn://10.0.0.236/trunk@58585 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 13:49:49 +00:00
Jerry.Kirk%Nexwarecorp.com
afa44532b0 Adding in new code by Derek that better matches Photon Fonts for the font
that Mozilla requested.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@58552 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:38:02 +00:00
Jerry.Kirk%Nexwarecorp.com
0db9c40159 Fixing compiler warning/errors caused by -pedantic
Changing method used to extent fonts and adding our version of wctombs
r=kedl


git-svn-id: svn://10.0.0.236/trunk@58549 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:26:00 +00:00
sfraser%netscape.com
6ef5ac154a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@58538 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:18:22 +00:00
Jerry.Kirk%Nexwarecorp.com
2aa26699fe Fix the destructor, it leaks less this way.
r=kedl


git-svn-id: svn://10.0.0.236/trunk@58530 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:00:41 +00:00
dcone%netscape.com
1bc04186ee Added the canonical pixels scale calculation. r = rods. b = 24405
git-svn-id: svn://10.0.0.236/trunk@58473 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 14:58:49 +00:00
dcone%netscape.com
537e58460c implemented a method to return the canonical pixel scale. r = rods b = 24405
git-svn-id: svn://10.0.0.236/trunk@58472 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 14:58:00 +00:00
dcone%netscape.com
99fa2a2ddb Added a member for the Canonical pixel scale - cross platform. r=rods b=24405
git-svn-id: svn://10.0.0.236/trunk@58471 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 14:52:12 +00:00
tor%cs.brown.edu
77f617c5fd Merge gtk font changes, fix font handling in PopState().
Not in standard build.  r=blizzard, a=choffman


git-svn-id: svn://10.0.0.236/trunk@58326 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 22:43:29 +00:00
neeti%netscape.com
b7dfb6455e fix for memory leak bug# 21301. MLK: ImageNetContextSyncImpl leaks. r=pnunn
git-svn-id: svn://10.0.0.236/trunk@58090 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 13:10:47 +00:00
rbs%maths.uq.edu.au
d6330a20ba [#ifdef MOZ_MATHML] Left-over when changing the character coordinate system of the bounding metrics.
git-svn-id: svn://10.0.0.236/trunk@58074 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 03:54:28 +00:00
sford3%swbell.net
09c9265da7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi
git-svn-id: svn://10.0.0.236/trunk@58041 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 22:32:13 +00:00
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