3219 Commits

Author SHA1 Message Date
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
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
2dfbc5fd7d Backing out alecf for now, since this change makes mailcompose crash
(and we don't want smoketest blockers, now do we?)


git-svn-id: svn://10.0.0.236/trunk@133971 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 12:07:13 +00:00
alecf%netscape.com
7ecfcf2dd0 prep work for fixing bug 180379 - stop creating extra nsCSSSelectors - instead of creating them on the stack then copying them to the heap, start with them newly on the heap.
r=bzbarsky, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@133956 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 05:37:24 +00:00
brade%netscape.com
9dbd0fc41a implement queryCommandEnabled (bug 179730, r=akkana, sr=peterv)
git-svn-id: svn://10.0.0.236/trunk@133750 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 15:23:03 +00:00
cmanske%netscape.com
d6cc98279b Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@133703 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 23:03:27 +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
brade%netscape.com
8bff2e0558 check origin, disable paste and some other commands until security review, cmd mgr api changes, remove forced focus (bug 157117, r=mkaply, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@133584 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-11 20:19:37 +00:00
bzbarsky%mit.edu
54f34022d8 Allow list labels to be negative. Bug 56088, r=caillon, smontagu, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@133497 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 18:33:37 +00:00
jkeiser%netscape.com
87616393a6 Fix virtual destructor warning, bug 165647, r=dmose, sr=bz
git-svn-id: svn://10.0.0.236/trunk@133458 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 05:11:26 +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
750265183b fix leak of charset string. bug 176989, patch by keeda@hotpop.com,
r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@133393 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 10:52:06 +00:00
mkaply%us.ibm.com
150ae82091 Need PR_FALSE here - OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@133334 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 23:03:05 +00:00
brade%netscape.com
205b1f301d extend the api for Midas functionality (bug 177700, r=akkana, sr=jst)
git-svn-id: svn://10.0.0.236/trunk@133301 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 15:38:35 +00:00
brade%netscape.com
79ef0005b1 add Midas functionality (bug 177700, r=akkana, sr=jst)
git-svn-id: svn://10.0.0.236/trunk@133300 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 15:36:25 +00:00
jdunn%netscape.com
03715b66dd set initial w/h of Image() as "pixel" units
r=peterv@netscape.com
sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@133296 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 14:02:21 +00:00
bzbarsky%mit.edu
2ca1fd4009 <form> with no action should submit to document uri, not base uri. Bug
171924, r=jkeiser, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@133294 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 13:29:34 +00:00
glazman%netscape.com
a42d9d93a2 fixing OS2VACPP bustage
git-svn-id: svn://10.0.0.236/trunk@133292 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 13:03:52 +00:00
glazman%netscape.com
074bb889eb fixing rpotts's seamonkey-ports bustage
git-svn-id: svn://10.0.0.236/trunk@133287 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 10:56:40 +00:00