peterv%netscape.com
d713ab9563
Back out part of patch for bug 183999, which caused bug 185153.
...
git-svn-id: svn://10.0.0.236/trunk@135233 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 08:41:42 +00:00
peterv%netscape.com
3a3c75b9f7
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
3cfea6bce3
Remove some nsISupportsArray usage in nsSelection in favor of nsCOMArray. Bug
...
184022, r=timeless, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135077 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 00:02:49 +00:00
caillon%returnzero.com
8eb8abf86c
182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
...
r=sicking sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135071 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:44:03 +00:00
dbaron%fas.harvard.edu
628288dc8a
Fix build bustage inside |#ifdef DEBUG_dbaron|. (Not part of build.)
...
git-svn-id: svn://10.0.0.236/trunk@134884 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 04:42:49 +00:00
bzbarsky%mit.edu
f40558f6ae
Um.. spell PRUint16 right
...
git-svn-id: svn://10.0.0.236/trunk@134782 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 06:15:43 +00:00
bzbarsky%mit.edu
5c33473c49
Fix mac bustage
...
git-svn-id: svn://10.0.0.236/trunk@134781 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 06:13:56 +00:00
caillon%returnzero.com
3519a9924e
Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
...
r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@134777 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 05:18:39 +00:00
caillon%returnzero.com
f85ae2c8ba
182702: Convert printing code to use nsIPrefBranch and nsIPrefService
...
r=rods sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@134753 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 02:03:17 +00:00
karnaze%netscape.com
205710a252
bug 161644 - don't allow a first letter to be a block unless it is floating. sr=bzbarsky, r=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@134694 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 15:48:26 +00:00
bzbarsky%mit.edu
5e5a29e7af
Fixing compiler warning. r=timeless.
...
git-svn-id: svn://10.0.0.236/trunk@134689 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 15:14:00 +00:00
bzbarsky%mit.edu
6ab8d32bdc
get rid of build warning for unused var.
...
git-svn-id: svn://10.0.0.236/trunk@134674 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 06:53:22 +00:00
bzbarsky%mit.edu
c3731640d3
Make the CSSLoader correctly order stylesheets as they are dynamically added
...
and removed via the DOM. Clean up the nsIDocument stylesheet accessors. Clean
up nsIDocumentObserver stylesheet stuff a bit. Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off. Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:48:14 +00:00
peterv%netscape.com
06bfcaa734
Fix OS/2 bustage.
...
git-svn-id: svn://10.0.0.236/trunk@134595 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-30 09:45:19 +00:00
peterv%netscape.com
7501d0a65d
Bustage fix.
...
git-svn-id: svn://10.0.0.236/trunk@134589 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-30 00:27:09 +00:00
peterv%netscape.com
d103a96ada
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
bzbarsky%mit.edu
00957e589b
Handle null namespaces in getElementsByTagNameNS. Bug 181791, r=sicking, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@134435 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 01:13:27 +00:00
sicking%bigfoot.com
6f8753e832
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
sicking%bigfoot.com
db4678c2f2
Bug 181808: Use macros to declare and implement nsIDocumentObserver
...
r=caillon sr=bz
git-svn-id: svn://10.0.0.236/trunk@134395 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 08:33:30 +00:00
rods%netscape.com
337ea6f743
Instead of at the end of of the PO it needs to be in the middel of reflow
...
where we bail out earlier, basically same fix different location
Bug 149710 r=dcone sr=jst
git-svn-id: svn://10.0.0.236/trunk@134329 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 13:06:58 +00:00
rods%netscape.com
52fac3b22e
The search for the selected frames was not looking in all the child lisst for each frame
...
Bug 181228 r=dcone sr=jst
git-svn-id: svn://10.0.0.236/trunk@134328 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 13:02:05 +00:00
bratell%lysator.liu.se
d8c86a7ceb
Bug 165893 - use cached nsParserService pointer instead of looking up the service everywhere. r=jst, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@134326 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 12:20:05 +00:00
darin%netscape.com
b59017f198
fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@134319 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 07:40:16 +00:00
jst%netscape.com
0e103fad90
Fixing bug 181351. Making NS_NewTextNode() return an nsITextContent pointer in stead of reaturning an nsIContent pointer to avoid having to QI the new text node to set it's value. r=caillon@returnzero.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@134298 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 01:11:33 +00:00
jst%netscape.com
0fcfc0bc39
Fixing bug 181351. Making NS_NewTextNode() return an nsITextContent pointer in stead of reaturning an nsIContent pointer to avoid having to QI the new text node to set it's value. r=caillon@returnzero.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@134285 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 23:53:06 +00:00
kin%netscape.com
e3b69667f5
Fix for bug #176251 (Problems with nsContentIterator PRE traversal)
...
content/base/public/nsIContentIterator.h
content/base/src/nsContentIterator.cpp
content/base/src/nsGeneratedIterator.cpp
content/build/nsContentCID.h
content/build/nsContentModule.cpp
embedding/components/find/src/nsFind.cpp
layout/html/style/src/nsFrameContentIterator.cpp
- Removed MakePre() and MakePost() from the nsIContentIterator interface.
- Traversal must now be specified at time of creation.
- Fixed nsContentIterator Init() methods so that they correctly calculate
mFirst and mLast.
- Modified PositionAt() to check if the node is in the traversal range.
r=jfrancis@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@134263 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 15:07:49 +00:00
rbs%maths.uq.edu.au
7b0bce519f
.innerHTML wasn't recovering and this was causing consumers such as View Selection Source to lose it, b=165686, r=jst, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@134151 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 01:47:06 +00:00
bzbarsky%mit.edu
f6b3b3afb9
Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +00:00
harishd%netscape.com
037680aa61
Temp. patch to fix DOM TO TEXT CONVERSION. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@134125 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 21:47:13 +00:00
harishd%netscape.com
1eb8cce6ae
Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@134114 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 18:29:35 +00:00
glazman%netscape.com
6726bfd196
'larger' and 'smaller' CSS values for 'font-size' were not working outside of range xx-small to xx-large and that prevented users to use very big and very small fonts in both Composer and mail composition; b=63987, r=dbaron, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@134100 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 15:16:31 +00:00
bratell%lysator.liu.se
d252fe621f
Bug 165893 - avoid refetching the parser service all the time. r=jst@netscape.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@134097 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 13:39:20 +00:00
rods%netscape.com
4215ce8014
Make it so SetDocument doesn't get set when returning from PP
...
Bug 176201 r=dcone sr=jst
git-svn-id: svn://10.0.0.236/trunk@134041 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 14:34:09 +00:00
dbaron%fas.harvard.edu
307f43b5a1
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
...
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
timeless%mozdev.org
99731b5e88
Bug 58221 don't use strlen to check if a string is of length 0
...
patch by aaronl@vitelus.com r=timeless sr=bz
git-svn-id: svn://10.0.0.236/trunk@133999 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 05:16:49 +00:00
bzbarsky%mit.edu
4ebebea365
Don't drop the principal, because we need it later on in destruction.
...
Let it die a peaceful death on its own. Bug 180441, patch by
keeda@hotpop.com (Harshal), r=jst, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@133984 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 22:49:14 +00:00
bzbarsky%mit.edu
e9b4c6da2c
Need to sanity-check the index to avoid out-of-bounds array access. Bug
...
180043, r=jkeiser, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@133960 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 06:08:37 +00:00
dbaron%fas.harvard.edu
e8f31961d7
Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@133655 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 15:17:07 +00:00
bryner%netscape.com
b345c67a0c
Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@133439 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 00:25:25 +00:00
bzbarsky%mit.edu
cd2b67ecb7
This addref needs removing too. Part of bug 177543, r=rjesup, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@133299 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 15:21:08 +00:00
bzbarsky%mit.edu
0748e6efda
that addref should not have landed... thanks to rpotts for catching it
...
git-svn-id: svn://10.0.0.236/trunk@133281 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 08:04:04 +00:00
rpotts%netscape.com
dad38a973d
bug #174404 (r=adam, sr=jst) Support the optional FOR and EVENT attributes on the SCRIPT tag
...
git-svn-id: svn://10.0.0.236/trunk@133264 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 05:17:21 +00:00
bzbarsky%mit.edu
5cce5589b3
clean up some array stuff in nsDocument. Bug 177543, r=peterv, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@133245 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 02:36:24 +00:00
bzbarsky%mit.edu
22537f1fd2
Notify properly when calling AppendChild on a documentfragment. Bug
...
175843, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@133060 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 01:46:03 +00:00
bzbarsky%mit.edu
47c119bdef
CheckLoadURI should use document uri, not base uri. Bug 177237,
...
r=mstoltz, sr=jst, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@132995 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 03:45:28 +00:00
jaggernaut%netscape.com
3961099bb6
Bug 171274: check parent shell type for primary content frames. r=dbaron, sr=jst, a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@132475 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 00:00:54 +00:00
akkana%netscape.com
2557fc84c3
176505: Fix composer/mail compose regression, back out jag. a=blizzard & #mozilla
...
git-svn-id: svn://10.0.0.236/trunk@132467 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 19:58:36 +00:00
rods%netscape.com
db61201a30
change STF threshold to 60%
...
Bug 175316 r=dcone sr=alecf a=dbaron
git-svn-id: svn://10.0.0.236/trunk@132457 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 09:31:52 +00:00
jaggernaut%netscape.com
c046c00f8d
Forgot to add comment.
...
git-svn-id: svn://10.0.0.236/trunk@132444 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 04:37:33 +00:00
jaggernaut%netscape.com
5bc0accd00
Bug 171274: check shell type for primary content frames. r=/sr=jst,hyatt, a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@132443 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 04:32:20 +00:00