1693 Commits

Author SHA1 Message Date
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
sfraser%netscape.com
a0c101bff7 Fix for bug 115151 -- shrink RuleProcessorData by converting PRBool to PRPackedBool. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110493 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:07:43 +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
roc+%cs.cmu.edu
35e1d479ea Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
peterv%netscape.com
1528f1d062 Fix for 106586 (Inappropriate source into the plaintext copy.) r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@109355 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 09:50:25 +00:00
peterv%netscape.com
022734969c Fix for 106586 (Inappropriate source into the plaintext copy.) r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@109354 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 09:19:33 +00:00
peterv%netscape.com
d1911c6d0a Fix for bug 108024 (missing carriage returns when copying PRE tag content to clipboard). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@109213 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:19:30 +00:00
rods%netscape.com
ae067511a4 Hookup the setting of scaling for Print Preview and Printing
Bug 110529 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109198 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:59:16 +00:00
jst%netscape.com
07fce6e351 Fixing bug 109760. Make mozilla fire a DOMContentLoaded event when the HTML on a page is done loading (i.e. the HTML only, not images, frames, nor anything like that). r=peterv@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109121 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:32:57 +00:00
jst%netscape.com
e9bd9a6f04 Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. r=harishd@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109117 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:13:11 +00:00
dbaron%fas.harvard.edu
397b3fb021 Consider the result of |mStyleRuleSupplier->UseDocumentRules| in FileRules to prevent incorrect application of document rules to scrollbars and some form controls. Patch from <fantasai@escape.com>. r=dbaron sr=hyatt b=109808
git-svn-id: svn://10.0.0.236/trunk@109107 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 04:54:05 +00:00
dbaron%fas.harvard.edu
d3232628b5 Fix crash and incorrect calculation of percentage line-height by computing relative to self's font-size rather than parent's font size. r=pierre sr=hyatt b=111405
git-svn-id: svn://10.0.0.236/trunk@109104 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 04:35:52 +00:00
jst%netscape.com
6950e2ad6c Fixing the second part of bug 11213. Don't call nsIScriptGlobalObject::SetNewDocument() after leaving print-preview since that well clear the JS scope and cancel all timers that might have queued up while in print-preview mode. Patch by rods@netscape.com, r=peterv@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108995 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 09:30:15 +00:00
dp%netscape.com
ff4143ac63 Marking window visible time on startup. Only for MOZ_TIMELINE. r/sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@108936 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 23:13:36 +00:00
roc+%cs.cmu.edu
fce7355cf6 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
5d13b4f0c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
jst%netscape.com
6cef83e2c7 Removing dead code.
git-svn-id: svn://10.0.0.236/trunk@108695 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 13:06:18 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
jst%netscape.com
7f9f34333a Checking in Fabian's <hidday@geocities.com> patch for bug 6052. Make element.nodeValue return null in stead of empty string. sr=jst@netscape.com, no reviewer, trivial change
git-svn-id: svn://10.0.0.236/trunk@108683 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:20:52 +00:00
timeless%mac.com
7b921259da Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
pchen%netscape.com
59b79a3115 bug 20943, r=rods, sr=ben, remove ifdef XP_WIN || XP_UNIX in PrintPreview() since I'm turning it on for mac
git-svn-id: svn://10.0.0.236/trunk@108434 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-18 07:59:55 +00:00
danm%netscape.com
a9c1ca532f stop extraneous reallocation and leak of namespace manager in Reset. r=dbaron,jst
git-svn-id: svn://10.0.0.236/trunk@108352 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 05:20:35 +00:00
bzbarsky%mit.edu
c59df8124b Make SetInnerHTML use the right parser mode (ie strict for strict
documents instead of always quirks).  Bug 106565, r=harishd, sr=jst


git-svn-id: svn://10.0.0.236/trunk@108271 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 04:48:30 +00:00
jst%netscape.com
70829fcf48 Fixing bug 110242. Huge unsigned interger + another huge unsigned integer will wrap, and that caused a crash in this code. r=rayw@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108259 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 03:01:29 +00:00