1448 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
jst%netscape.com
2e5e8c3344 Fixing bug 86191. Don't return nsnull as a nsresult, return NS_OK in stead. r=sicking@bigfoot.com, sr=nobody, trivial change.
git-svn-id: svn://10.0.0.236/trunk@111439 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 02:39:13 +00:00
hyatt%netscape.com
2e88971c9c Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@111336 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 00:28:01 +00:00
mkaply%us.ibm.com
4eb4e379df #117919
r=rods,mkaply sr=blizzard
OS/2 only - implement AvailablePrinters


git-svn-id: svn://10.0.0.236/trunk@111321 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 22:08:04 +00:00
jst%netscape.com
a3160b1622 Fixing bug 116551. DeCOMtaminating nsINodeInfo, inlining most of the trivial methods and leaving some as virtuals, move some of the members from nsNodeInfo to nsINodeInfo. r=sicking@bigfoot.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111285 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 04:51:02 +00:00
jst%netscape.com
c0e067e7da Removing unused variable to quiet down a compiler warning.
git-svn-id: svn://10.0.0.236/trunk@111273 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 00:34:07 +00:00
rods%netscape.com
9b1beb6492 Fix AIX bustage
git-svn-id: svn://10.0.0.236/trunk@111219 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 15:56:36 +00:00
rods%netscape.com
ee8a5e4640 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 12:58:53 +00:00
shanjian%netscape.com
3356940ad2 #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson


git-svn-id: svn://10.0.0.236/trunk@111062 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 03:17:59 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
rbs%maths.uq.edu.au
20e46cd092 Whitespace to correct the bug number in my earlier checkin comments: should be 105297 (instead of 105219)
git-svn-id: svn://10.0.0.236/trunk@111002 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 22:42:46 +00:00
rbs%maths.uq.edu.au
a5608ba13b Make unchecking `Allow documents to use other fonts' to work in a simpler way, b=105219, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@110996 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 22:25:58 +00:00
rods%netscape.com
3e17ec7de0 enabling print progress
Bug 113917 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110942 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:25:16 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
heikki%netscape.com
fe47c2e82a Fixing bad whitespace.
git-svn-id: svn://10.0.0.236/trunk@110868 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 06:12:52 +00:00
heikki%netscape.com
647802449c Bug 74800, implemented FIXptr. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@110858 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 05:15:52 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
mjudge%netscape.com
bc78c917f2 wrong name for module name. needed webbrwsr not webBrowser_core
git-svn-id: svn://10.0.0.236/trunk@110681 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 02:06:04 +00:00
mjudge%netscape.com
7038c22536 7868 api change for selection SetDisplayFlags in nsISelectionDisplay idl. r=saari bug bs=7868
git-svn-id: svn://10.0.0.236/trunk@110675 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:12:02 +00:00
hyatt%netscape.com
f9a19ba7cd Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
d1529aed21 Remove timer from REQUIRES, the makefile.win edition
git-svn-id: svn://10.0.0.236/trunk@110586 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com
1140db62f4 Remove timer from REQUIRES. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@110585 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com
6a02e28805 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110580 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 12:04:47 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
jst%netscape.com
fb81748382 Make that NS_ENSURE_SUCCESS() so we know if this fails...
git-svn-id: svn://10.0.0.236/trunk@110578 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:38:31 +00:00
jaggernaut%netscape.com
bbad2f3c44 Fix small bug: NS_ENSURE_TRUE(rv, rv) -> if (NS_FAILED(rv)) return rv;
git-svn-id: svn://10.0.0.236/trunk@110577 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:22:34 +00:00
jst%netscape.com
1309e966c8 Remving unnecessary nsCOMPtr. r=sicking@bigfoot.com, sr=me, no bug #
git-svn-id: svn://10.0.0.236/trunk@110567 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 07:10:49 +00:00
jst%netscape.com
f5c74277cf Fixing bug 114539. Getting rid of mInner in all our 'data' nodes and making those classes inherit nsGenericDOMDataNode in stead. Also remove mContentID from nsTextNode and push mRangeList and mListenerManager into hashtables since they are used so rarely. This results in a size reduction of nsTextNode from 44 bytes to 28 bytes (~36%). r=peterv@netscape.com, sr=hyatt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@110566 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 07:04:44 +00:00
jst%netscape.com
a2a2c99ca8 Fixing bug 114539. Getting rid of mInner in all our 'data' nodes and making those classes inherit nsGenericDOMDataNode in stead. Also remove mContentID from nsTextNode and push mRangeList and mListenerManager into hashtables since they are used so rarely. This results in a size reduction of nsTextNode from 44 bytes to 28 bytes (~36%). r=peterv@netscape.com, sr=hyatt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@110565 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 06:59:31 +00:00
sfraser%netscape.com
ff5c1dcc81 Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110494 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:10:42 +00:00
rods%netscape.com
60d1622764 Initial check in for BUg 113917 (not in the build yet)
git-svn-id: svn://10.0.0.236/trunk@110487 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 22:40:12 +00:00
peterlubczynski%netscape.com
c0882ccfc5 Adding TextReset case to GetUniqueStyleData, bug 36997 r=dbaron sr=attinasi a=brendan
git-svn-id: svn://10.0.0.236/trunk@110451 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 03:47:02 +00:00
bbaetz%cs.mcgill.ca
478af40f6f Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT


git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
smontagu%netscape.com
dd8d2d3172 Fix for bug 84130, Mail Message subjects don't get Bidi applied, r=mkaply, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@110359 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 04:28:25 +00:00
hewitt%netscape.com
e950ac1c5c 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110251 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:13:16 +00:00
jst%netscape.com
c5768c0dba We don't pass references to 'interfaces' in general, so let's not do it here either. r=bryner@netscape.com. sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@110248 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 09:03:38 +00:00
shanjian%netscape.com
db6a4146a5 #105199 glyph search order is NOT lang dependent
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110219 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 04:12:34 +00:00
hewitt%netscape.com
c5ba8bd720 113562 - nsIContent needs HasAttr method, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110204 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 02:57:52 +00:00
jdunn%netscape.com
bdc0e82f18 fixing hpux bustage. unnamed unions can't access structs which are protected.
making FragmentBits a public struct, but the variable of this type is still
private.  The other solution would be to "name" the union and delcare
FragmentBits a friend of the union (the union has to be named to declare
friendship).


git-svn-id: svn://10.0.0.236/trunk@110159 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 15:43:18 +00:00
seawood%netscape.com
37b2da8bf3 Fix HP-UX/Forte bustage by getting rid of useless & ambigious intermediate FragmentBits struct and declaring mState as a struct inside the union.
r/sr=jag


git-svn-id: svn://10.0.0.236/trunk@110155 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 12:28:10 +00:00
jst%netscape.com
8703a59c51 Fixing bug 114274. Don't allocate storage for newline fragments, this cuts down the number of string buffer allocations we do while running the pageload tests by ~22%. r=bbaetz@cs.mcgill.ca, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@110153 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 09:46:33 +00:00
jst%netscape.com
41195a492c Formatting changes, no code changes.
git-svn-id: svn://10.0.0.236/trunk@110116 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 08:02:41 +00:00
dbaron%fas.harvard.edu
b602d311d7 Fix crash due to accessing destroyed data previously owned by a rule node but cached on a style context that inherited it by clearing style data from style contexts before reresolution due to an inline style change. b=105619 sr=hyatt r=shaver
git-svn-id: svn://10.0.0.236/trunk@110096 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 22:46:21 +00:00
attinasi%netscape.com
1a34462861 Adding parent to StyleContext listing for help in debugging. b= 113518 r=dbaron sr=kin
git-svn-id: svn://10.0.0.236/trunk@109917 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:38:27 +00:00
bzbarsky%mit.edu
8855009f3b Set the |inherited| bool in all cases when we inherit. Bug 113533,
r=dbaron, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@109737 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 14:06:34 +00:00
hyatt%netscape.com
6c6f01e32e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988
git-svn-id: svn://10.0.0.236/trunk@109734 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 08:35:05 +00:00
leaf%mozilla.org
516776e606 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron
git-svn-id: svn://10.0.0.236/trunk@109714 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:43:29 +00:00
dbaron%fas.harvard.edu
d43ae7083a Fix leak (and other) regression from previous checkin. b=111815
git-svn-id: svn://10.0.0.236/trunk@109477 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 04:07:17 +00:00
dbaron%fas.harvard.edu
7a15a72b48 Various cleanup and commenting in nsRuleNode and nsStyleContext. A few minor performance tweaks to nsRuleNode::WalkRuleTree. Fix correctness / crash errors that were caused by not setting the parent struct in the Compute*Data functions for inherited structs. b=111815 r=hewitt sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109475 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:44:45 +00:00