3237 Commits

Author SHA1 Message Date
jkeiser%netscape.com
32a833e9ca Select not reframing when size changes (bug 170446), r=rods@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@135189 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 22:58:48 +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
9f1c84eb30 And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
the problem?


git-svn-id: svn://10.0.0.236/trunk@135121 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu
9bee87fcca relanding bug 182124 since it looks like comet was just noise and the other Ts
boxes that cycled with this show no problems...


git-svn-id: svn://10.0.0.236/trunk@135112 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:40:14 +00:00
bzbarsky%mit.edu
e69b0ba88c Backing out bug 182124 because I think it caused Ts to go up...
git-svn-id: svn://10.0.0.236/trunk@135109 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu
d1a0c8d1d1 Chrome protocol handler should not munge URIs on channel open (and remove some
workarounds around that behavior).  Bug 182124, r=rjc, sr=darin


git-svn-id: svn://10.0.0.236/trunk@135096 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 03:29:27 +00:00
bzbarsky%mit.edu
499000aebc Resolve possible problem in the unlikely event that we kick off an async load
for a sheet and then kick off a sync load for the same sheet before the async
load completes...  Bug 183299, r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135083 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 00:28:47 +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
alexsavulov%netscape.com
8e8d6de386 d'oh, missed this in previous checkin for bug 183890 (mea culpa)
git-svn-id: svn://10.0.0.236/trunk@134990 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 19:15:52 +00:00
alexsavulov%netscape.com
c8c4343751 fix for bug 183890: this bug was introduced by the fix for bug 147878 that
is an addition to fix for bug 138957 (the form submission deferral in JS
handlers to wait for the return value.)
the current patch fixes the bug so that it resets mDeferSubmission false only
if we are in the NS_FORM_SUBMIT event preventig reseting in a bubling phase
of a possible onclick of a submit button/image.

r= jkeiser sr= jst a= brendan


git-svn-id: svn://10.0.0.236/trunk@134989 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 19:11:12 +00:00
jkeiser%netscape.com
10e27ad14e Oog. Green and open not enough. jkeiser back self out, keep drivers from hitting with big rock.
git-svn-id: svn://10.0.0.236/trunk@134970 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 06:15:33 +00:00
jkeiser%netscape.com
7c0e5f36ce Make select redisplay correctly when size changes between 1 and not-1 (bug 170446), r=rods@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@134969 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 06:02:00 +00:00
jkeiser%netscape.com
4749233be8 fix behavior (and crasher) when changing type during event handler (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@134968 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 05:56:58 +00:00
sicking%bigfoot.com
0e96a0184e Bug 178601: Fix recursion-crash by makeing sure to not reevaluate a script if the script moves its container element. Patch by Harshal (keeda@hotpop.com)
r=sicking sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@134890 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 08:16:34 +00:00
bzbarsky%mit.edu
7b2de6a1f3 Fix crash in some icky document.write() cases.. We gotta stop blocking the
parser.  Bug 183784, r=sicking, sr=peterv, a=asa


git-svn-id: svn://10.0.0.236/trunk@134869 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 01:27:37 +00:00
bzbarsky%mit.edu
669a5e13af I meant 8192 and typed 8092. r/sr/a=brendan
git-svn-id: svn://10.0.0.236/trunk@134831 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 06:36:18 +00:00
bzbarsky%mit.edu
c54400e68f UTFInputStream does not do very good error-recovery, so always
use nsConverterInputStream instead.  Bug 183165, r=timeless, sr=sspitzer,
general approval=dbaron


git-svn-id: svn://10.0.0.236/trunk@134779 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 06:07:50 +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
alexsavulov%netscape.com
a2d6b2fcc9 Fix for bug 147878 - defer submission until onSubmit returns so we can
chose to submit name/value or the triggering element if the return is true.
r= jkeiser sr= jst


git-svn-id: svn://10.0.0.236/trunk@134731 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 23:06:34 +00:00
bzbarsky%mit.edu
efa23d95ee Take out the hack added in bug 47846 to deal with the fact that Equals() did
not work on mailnews urls.  It works fine now (see bug 98626).

Bug 182248, r=bienvenu. sr=darin


git-svn-id: svn://10.0.0.236/trunk@134712 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 20:19:18 +00:00
bzbarsky%mit.edu
e47b242a89 ugh. Forgot this one line...
git-svn-id: svn://10.0.0.236/trunk@134675 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 08:29:35 +00:00
bzbarsky%mit.edu
fbeccbf189 Change nsICSSLoader to nsAString instead of nsString (build bustage).
git-svn-id: svn://10.0.0.236/trunk@134673 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 06:46:46 +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
cbiesinger%web.de
f754767d3e bug 84756 patch by Harshal <keeda@hotpop.com> r=caillon sr=peterv
JS menu is destroyed during use


git-svn-id: svn://10.0.0.236/trunk@134604 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-01 13:54:39 +00:00
alexsavulov%netscape.com
7c522c57b3 Fix for bug 138957 - Submission triggering element must submit nam/value pair
if the submission is performed from onlcick and the handler retunrs true.
Introduced submission deferal to wait for the handler's return value.
r= jkeiser sr=jst


git-svn-id: svn://10.0.0.236/trunk@134588 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-30 00:01:21 +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
a7df7dd1ed Remove fishy logic with the advisory type. Bug 155421, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@134526 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-27 03:42:37 +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
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
jfrancis%netscape.com
1c37131272 pay no attention to the man behind the curtain.
git-svn-id: svn://10.0.0.236/trunk@134311 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 05:40:10 +00:00
jfrancis%netscape.com
2d5b4e2164 more work on build bustage.
git-svn-id: svn://10.0.0.236/trunk@134310 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 04:45:25 +00:00
jfrancis%netscape.com
6ee2992315 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@134309 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 04:29:15 +00:00
jfrancis%netscape.com
8247e85525 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin
git-svn-id: svn://10.0.0.236/trunk@134304 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 03:30:59 +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
jst%netscape.com
b8dd45ae9c Checking in keeda@hotpop.com's fix for bug 179461. Partially implement IE's select.options.add() method. No support for the optional second argument yet. r=caillon@returnzero.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@134207 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 22:36:36 +00:00
jst%netscape.com
2911d76fc4 Fixing bug 180816. Avoid construction of an nsAutoString every time we open a container in the sink when the nsAutoString is only needed when dealing with textarea tags.
git-svn-id: svn://10.0.0.236/trunk@134206 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 22:30:53 +00:00
caillon%returnzero.com
8030ffe804 Fixing an NS_PRECONDITION to reference the correct variable. Followup to last night's checkin for bug 147189. r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134173 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 06:35:33 +00:00
rbs%maths.uq.edu.au
7b0bce519f .innerHTML wasn't recovering &nbsp; 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
brade%netscape.com
06be2f800f bug 157111; add some new commands, remove unneeded Init call for editSession; r=cmanske, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@134147 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 01:22:17 +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
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
bernd.mielke%snafu.de
ee30bc57a4 limit the number of columns spanned, as a protection against suspicous html code, bug 86293, r=karnaze, sr=bzbarksy
git-svn-id: svn://10.0.0.236/trunk@134107 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 15:43:22 +00:00
bzbarsky%mit.edu
0c8594d486 Report the unknown namespace when we have an unknown namespace error.
Bug 180852, r=dbaron, rs=roc+moz


git-svn-id: svn://10.0.0.236/trunk@134098 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 15:12:02 +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
caillon%returnzero.com
8a84ae4c09 Attempt to fix nebiros bustage by moving style struct access into nsIInspectorCSSUtils
r/a=timeless,jkeiser,#mozilla
bug 147189


git-svn-id: svn://10.0.0.236/trunk@134093 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 07:41:07 +00:00
timeless%mozdev.org
97bc540937 Bug 96229 keyboard (and right mouse in context menu) doesn't autocheck menuitem type="checkbox" and type="radio"
patch by neil@parkwaycc.co.uk r=aaronl sr=bz


git-svn-id: svn://10.0.0.236/trunk@134040 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 14:01:20 +00:00
peterlubczynski%netscape.com
9979a08e6e Fixing bug 173938 with a hack for full-page plugins to be destroyed before the frame. r=av sr=jst
git-svn-id: svn://10.0.0.236/trunk@134037 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 07:48:10 +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