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
karnaze%netscape.com
ca5804764b
bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser.
...
git-svn-id: svn://10.0.0.236/trunk@134696 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 16:02:42 +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
peterv%netscape.com
496da7acfd
Fix for bug 165532 (Disable cross-site loading of XSLT stylesheets by default). r=sicking, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@134676 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 09:20:43 +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
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
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
alecf%netscape.com
506ef8ddc6
stupid mac / linux compilers were accepting "const const" - but the mac does not.
...
fixing bustage
git-svn-id: svn://10.0.0.236/trunk@134660 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 02:24:50 +00:00
sicking%bigfoot.com
60b76c0448
Bug 169124: Make the XSLT contentsink create generic xml-elements for all elements to get around limitations with xhtml elements. Also do some cleaning in the XML contentsink.
...
r=harishd sr=peterv
git-svn-id: svn://10.0.0.236/trunk@134640 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-02 23:24:57 +00:00
alecf%netscape.com
736bd2c76d
oops, forgot to add that my last checkin was bug 177545
...
git-svn-id: svn://10.0.0.236/trunk@134632 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-02 22:32:04 +00:00
alecf%netscape.com
87822e9a61
switch nsBindingManager over to pldhash and nsDoubleHashtable - this greatly reduces the number of allocations from XBL, the single worst consumer of nsHashtable!
...
sr=brendan, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@134631 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-02 22:30:26 +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
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
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
shanjian%netscape.com
7beea85904
#181117 Non-ASCII(plane 1 surrogate) link not correctly parsed in UTF-16
...
if the doc charset is utf-16 or utf-32,use utf8 for url encoding.
r=nhotta, sr=darin
git-svn-id: svn://10.0.0.236/trunk@134442 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 04:42:30 +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
caillon%returnzero.com
6bb41262ac
Bug 181600, Updating for reviewer comments (removing an if). still r=sicking,sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@134419 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 23:27:29 +00:00
caillon%returnzero.com
bd7eb45cc3
Bug 181600 - Use the new pref APIs. r=sicking, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@134418 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 23:26:06 +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
de4e9a5e64
fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@134396 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 09:33:11 +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
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
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
bryner%netscape.com
f28891cc8f
Fixing bug 180285 (hang in mail compose), regression from bug 124990. Don't throw an exception if dispatchEvent is called on an element that's not in a document. r=saari, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@134228 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 01:27:34 +00:00
bryner%netscape.com
bfbda85da1
Removing an unused variable. r=mozbot.
...
git-svn-id: svn://10.0.0.236/trunk@134219 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 23:37:52 +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
cmanske%netscape.com
7831919700
Start controller IDs at 1 for InsertController. b=180814, r=brade, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@134188 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 11:36:05 +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
timeless%mozdev.org
886c145069
Bug 180893 nsXULTemplateBuilder::Retract wastes cycles in an XXX writeme loop
...
r=varga sr=bz
git-svn-id: svn://10.0.0.236/trunk@134170 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 06:15:54 +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
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
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