Commit Graph

2086 Commits

Author SHA1 Message Date
attinasi%netscape.com
07d48e660b Removed the bogus file-extension-as-image-type text from the title. b=47891 r=dcone sr=buster
git-svn-id: svn://10.0.0.236/trunk@84312 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:37:28 +00:00
jst%netscape.com
ffe4f795a3 Fixing bug 57534. document.open() is defined to not return anything in the DOM spec but for backwards compatibility it needs to return the document itself. r=blakeross@telocity.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84254 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 20:54:38 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
blakeross%telocity.com
619ef3ec56 Fix 63721: removing extraneous code from nsHTMLButtonElement.cpp. It's Dead Code Removal week, so I'm just doing my part. r=jst sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84093 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 08:41:29 +00:00
jst%netscape.com
6a30c53238 Removing unnecessary include files and forward declarations.
git-svn-id: svn://10.0.0.236/trunk@84063 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:21:25 +00:00
jst%netscape.com
f5874fe4bc Removing unused CID and doing some whitespace cleanup.
git-svn-id: svn://10.0.0.236/trunk@84062 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:01:41 +00:00
jst%netscape.com
66de3dc038 Removing dead code and unused member variables from nsHTMLDocument, r=timeless@mac.com. Oh, and wrap nsHTMLDocument::MatchLayers() in #ifdef NS_IMPLEMENT_DOCUMENT_LAYERS
git-svn-id: svn://10.0.0.236/trunk@84061 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 00:39:42 +00:00
jst%netscape.com
1433395ab5 Fixing a change I overlooked in my last big checkin that caused a crash in some cases where forms were accessed from JS. r=jag
git-svn-id: svn://10.0.0.236/trunk@84053 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 01:52:05 +00:00
jst%netscape.com
2c48463883 More mac bustage fixes...
git-svn-id: svn://10.0.0.236/trunk@84041 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 13:32:28 +00:00
jst%netscape.com
4f9d57512a One more attempt at fixing the mac redness.
git-svn-id: svn://10.0.0.236/trunk@84040 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 12:57:59 +00:00
jst%netscape.com
9dffc0950b Attempting to fix mac bustage.
git-svn-id: svn://10.0.0.236/trunk@84038 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 11:59:05 +00:00
jst%netscape.com
e59263f7ec Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@84036 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 10:56:31 +00:00
jst%netscape.com
80b96c36c3 Fix a refcounting screwup I caused in my last checkin. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@83773 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 23:38:56 +00:00
jst%netscape.com
74dd2e29a1 Fixing bug 62160, accessing ins or del elements from JS didn't work and caused a crash in the JS GC later on. sr=scc@mozilla.org, r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83708 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 05:48:19 +00:00
jst%netscape.com
a077967be8 Adding protection for the casae where there's no root element in a document, bug 58477. r=blakeross@telocity.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83661 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:37:22 +00:00
vidur%netscape.com
33d6574ffe Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83552 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:13 +00:00
rods%netscape.com
fc0a5b36d7 smoketest blocker,
an event is cancelled when it is equal to nsEventStatus_eConsumeNoDefault
a=joki


git-svn-id: svn://10.0.0.236/trunk@83488 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 20:07:50 +00:00
rods%netscape.com
3a1a98af2f removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460


git-svn-id: svn://10.0.0.236/trunk@83473 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 16:05:29 +00:00
hyatt%netscape.com
e0273d9feb Added Pref control for XBL forms.
r=jst@netscape.com, a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83464 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:20:40 +00:00
blakeross%telocity.com
1314532a92 Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. patch by lordpixel@mac.com. r=ben sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@83279 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:49:42 +00:00
dbaron%fas.harvard.edu
da3a72cf6f Fix leak of atom and fix return value propagation from SetMedia. b=58697 r=pierre@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83215 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 15:53:42 +00:00
jst%netscape.com
ee57d41453 Fixing bug 49597. Setting the 'checked' state on a dynamically created radio button that wasn't yet part of the document in JS was throwing an exception since our internal pres state code was generating a failure code when the input element didn't have a document. sr=vidur, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@82959 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 03:41:50 +00:00
nhotta%netscape.com
7402e71af4 Changed to convert anchor name as UTF-8 instead of Latin1 if that fails then convert it as document charset, bug 58819, r=erik, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@82918 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 21:43:28 +00:00
hyatt%netscape.com
132d0db472 Patch for 55595. r=joki, a=brendan
git-svn-id: svn://10.0.0.236/trunk@82895 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 07:55:20 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
brade%netscape.com
0cc12f404a use inline methods rather than typecasting directly to floats to prevent rounding errors (bug #56022); r=jst; sr=buster
git-svn-id: svn://10.0.0.236/trunk@82634 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 10:54:41 +00:00
heikki%netscape.com
41b020b9c1 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@82397 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 00:42:42 +00:00
jst%netscape.com
bba246348c Fixing bug 58888. The content sink was incorrectly releasing the stream loader in its OnStreamComplete() method, this caused a crash when mozilla was running in off-line mode since OnStreamComplete() was called without the sink having a string reference to the stream loader so the incorrect release call in the sink caused a crash later on in necko. sr=rpotts, r=gagan,heikki
git-svn-id: svn://10.0.0.236/trunk@82357 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 23:22:44 +00:00
hyatt%netscape.com
62796a2cd1 Putting back 54150 on the trunk. ben,waterson. Finally found the reason it needs to be this way.
git-svn-id: svn://10.0.0.236/trunk@82314 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 09:10:48 +00:00
harishd%netscape.com
859b7a2217 27006 - Don't reload documents with POST form data.
r=rpotts,pollmann
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@82157 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:25:33 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
blakeross%telocity.com
2df8fbea78 Fix for 12056: ctrl+click on a link should open in new window, alt+click should save it. r=jst sr=brendan, alecf
git-svn-id: svn://10.0.0.236/trunk@81962 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 14:30:48 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
jst%netscape.com
c5d98e9df1 Fixing rtm+ bug 57495. Making element.getElementsByTagName() case insensitive if called on an HTML element. r=pollmann, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@81862 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 09:01:33 +00:00
attinasi%netscape.com
297910f252 Fix was already approved for checkin on the branch, now updating trunk as well. b=56194, r=karnaze a=buster (for RTM bug 40340)
git-svn-id: svn://10.0.0.236/trunk@81773 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 00:34:08 +00:00
jst%netscape.com
e087aead9d Fixing rtm++ bug 56529. Necko was unescaping the content of URL's if a segment of the URL is requested (but not if the whole URL is requested), the DOM code used this unescaped string as is and that caused backwards compatibility problems. a=gagan&brendan, r=andreas.otte@primus-online.de
git-svn-id: svn://10.0.0.236/trunk@81660 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 04:56:10 +00:00
pollmann%netscape.com
f75f6c4d49 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@81659 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 04:35:25 +00:00
pollmann%netscape.com
051455613e Bugscape 2369: Don't hold onto frame reference / type across mInner::HandleDOMEvent, fixes crashes. r=rods,jst sr=vidur
git-svn-id: svn://10.0.0.236/trunk@81638 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 01:41:07 +00:00
locka%iol.ie
86c58a0fe4 Removed unused variables made obselete by previous checkin. b=56285
git-svn-id: svn://10.0.0.236/trunk@81457 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 18:56:56 +00:00
pollmann%netscape.com
c08a906df3 Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts
git-svn-id: svn://10.0.0.236/trunk@81449 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 10:25:49 +00:00
locka%iol.ie
5188d8cbb1 Fix to content sink's handling of anchors. Flushes reflows before scrolling and uses the pres shell's scrolling code. b=56285, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81399 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:37:54 +00:00
hyatt%netscape.com
95ecbf5101 Fix for 56353. r=buster, r=waterson, a=brendan. Also reverting a style
change to a prop list for moz-binding to the state it was on the branch (just to
be compatible).


git-svn-id: svn://10.0.0.236/trunk@81372 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 08:03:24 +00:00
jst%netscape.com
e3e374742f Fixing rtm++ bug 54121. Make sure to unroot the JS object before setting the script object to null to avoid referencing deleted memory later on in the GC. Thanks to sean@beatnik.com for testing and helping with the patch. a=waterson, r=brendan
git-svn-id: svn://10.0.0.236/trunk@81312 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 21:20:30 +00:00
kmcclusk%netscape.com
e864dbfd62 Prevent flushing of pending events if painting or reflowing bug 56335 a=buster@netscape.com r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81283 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 05:07:39 +00:00
hyatt%netscape.com
e403302c75 Fix for 56167. r=joki, a=waterson
git-svn-id: svn://10.0.0.236/trunk@81257 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 21:52:22 +00:00
harishd%netscape.com
213c0b36dc 56501 - Serializer changes in dealing with NOSCRIPT ( checkin for jst )
r=me
sr=scc


git-svn-id: svn://10.0.0.236/trunk@81236 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 17:33:11 +00:00
harishd%netscape.com
91787aebed 56501 - Sink changes in dealing with NOSCRIPT content
r=jst
sr=scc,vidur


git-svn-id: svn://10.0.0.236/trunk@81235 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 17:31:09 +00:00
mstoltz%netscape.com
9351f77d32 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc
git-svn-id: svn://10.0.0.236/trunk@81158 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:59:47 +00:00
jst%netscape.com
36aa358806 Fixing rtm++ bug 54825. The form element cleanup code in the HTML sink was incorrectly adding the form element itself to it's parent event if it had already been added, this caused the content iterator to lock up when doing 'Find on this page'. sr=vidur, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@81065 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 22:59:29 +00:00
buster%netscape.com
af23531792 bug 55250 (crash when align attribute is changed)
r=karanze
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81041 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 20:43:18 +00:00