393 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
8f3f7baf78 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110582 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 13:18:45 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
roc+%cs.cmu.edu
35e1d479ea Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
jst%netscape.com
e9bd9a6f04 Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. r=harishd@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109117 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 06:13:11 +00:00
timeless%mac.com
535b6f20f2 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 08:05:05 +00:00
roc+%cs.cmu.edu
fce7355cf6 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
5d13b4f0c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
yokoyama%netscape.com
90696cffcf Bug 110512
Remove the hard-coded charset
Read a default charset from Pref
/r=jbetak; /sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108742 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 23:28:19 +00:00
danm%netscape.com
c748829484 more changes to make xmldoc.createElementNS() create the correct type of element (and fix tinderbox mac bustage)
git-svn-id: svn://10.0.0.236/trunk@108358 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 06:18:04 +00:00
morse%netscape.com
d82e69afa8 bug 104894, parsing p3p compact policies, r=harishd, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108304 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 15:05:53 +00:00
danm%netscape.com
a5c5cddf01 adding nsIDocument::ResetToURI. bug 88229 r=jst,rpotts
git-svn-id: svn://10.0.0.236/trunk@108225 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:03:19 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
jst%netscape.com
ad66f47ab5 Checking in Fabian's <hidday@geocities.com> patch for bug 105640. Add support for IE's document.compatMode property. r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107824 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 07:36:19 +00:00
hyatt%netscape.com
3646e122c1 Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107033 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 01:53:13 +00:00
jst%netscape.com
639d748f26 Fixing bustage, this was lost in a patch...
git-svn-id: svn://10.0.0.236/trunk@106906 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:58:28 +00:00
pete%alphanumerica.com
3c4492f3e0 b=107823, r=ccarlen, sr=brendan
--pete


git-svn-id: svn://10.0.0.236/trunk@106886 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:11:15 +00:00
jst%netscape.com
8d2569a64b Fixing topembed bug 106105. Clear our document.body cache when resetting a document, and make sure the right things are flushed when position and size related properties are accessed. r=heikki@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106875 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:52:52 +00:00
jst%netscape.com
4aad4d442d Make the signature of nsHTMLDocument::FlushPendingNotifications() match nsIDocument::FlushPendingNotifications() so that callers of the interface method actually call the correct method. No bug. r=peterv@netscape.com, sr=rpotts@netscape.com. Problem found by jkeiser@iname.com
git-svn-id: svn://10.0.0.236/trunk@106680 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 09:58:07 +00:00
dougt%netscape.com
1f7520e927 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
git-svn-id: svn://10.0.0.236/trunk@105810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:33 +00:00
jaggernaut%netscape.com
9c98fae369 Fix ports bustage, linux runtime problems.
git-svn-id: svn://10.0.0.236/trunk@105461 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 04:07:30 +00:00
jst%netscape.com
a76d9ab54f Fixing bug 104031. Bad string code in nsHTMLDocument::WriteCommon(). r=bzbarsky@mit.edu, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105453 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 01:31:49 +00:00
shanjian%netscape.com
3881b34635 #88363 Site with duplicate Content-Type loads with incorrect encoding
r=yokoyama sr=waterson


git-svn-id: svn://10.0.0.236/trunk@105116 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 23:37:18 +00:00
mstoltz%netscape.com
44c4e93b04 Bug 18553, better fix which should cause fewer problems. Clear event listeners
before every document load, including the first, except when setNewDocument
is called from document.open. r=heikki, sr=jst


git-svn-id: svn://10.0.0.236/trunk@104371 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:54:44 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
harishd%netscape.com
1c4e4c74ec 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.


git-svn-id: svn://10.0.0.236/trunk@104152 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:08:17 +00:00
gerv%gerv.net
ed9b258739 License changes, take 2. Bug 98089. mozilla/content/.
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu
f21726b0d5 Add a document.contentType attribute to allow getting the MIME type of
the current document from JS.  The rest is moving around stuff to deal
with nsIDocument already declaring GetContentType.  bug 73847, r=peterv,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@103646 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:43:23 +00:00
vidur%netscape.com
10d80cd1e9 Fix for bug 98815. Implement DOM Level 3 namespace methods for prefix and URI lookup. The implementation of these may be changed later if we get rid of the nsINameSpace interface. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102732 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 03:04:49 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
rpotts%netscape.com
92ac833e09 bug #94205. Adding flags to nsIWebNavigation::Stop().
git-svn-id: svn://10.0.0.236/trunk@101001 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 04:46:20 +00:00
jst%netscape.com
e00d456156 Fixing bug 72613, crash in nsIDOMHTMLDocument::Write() when called from C++ w/o any JS on the stack. sr=vidur@netscape.com, r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@100856 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-11 00:37:27 +00:00
jst%netscape.com
24ceee5611 Fixing bogus assert code that I introduced when fixing 92433.
git-svn-id: svn://10.0.0.236/trunk@100706 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 01:22:07 +00:00
jst%netscape.com
5e9b7ed9ed Fixing topembed crash bug 92433. Calling element.replaceChild(aChild, sameChild) caused a crash in the content modified notification code due to a bug in the replaceChild code. r=pollmann@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@100479 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 06:09:17 +00:00
glazman%netscape.com
ea8347db88 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@100205 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 14:34:55 +00:00
glazman%netscape.com
88bfc464bc backing out fix for 88681 due to merge conflicts
git-svn-id: svn://10.0.0.236/trunk@100104 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 14:53:15 +00:00
glazman%netscape.com
77425d8395 BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@100101 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 14:38:30 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jst%netscape.com
f3ba54d344 Fixing bugzilla bug 91368 and doing some additional code cleanup. r=ftang@netscape.com, sr=blizzard@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99890 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 05:26:37 +00:00
jst%netscape.com
21ce7f8ced Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99476 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 07:48:12 +00:00
pete%alphanumerica.com
a1351a5797 Fix for DOM crasher b=89536, r=pollmann, sr=jst.
--pete


git-svn-id: svn://10.0.0.236/trunk@99406 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 13:53:15 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
vidur%netscape.com
599c0d0fe9 Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@98320 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:56:58 +00:00
morse%netscape.com
89cb681ffa bug 86885 crash if cookie service not available, c=waterson, r=morse, sr=scc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@97905 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 00:11:04 +00:00
bzbarsky%mit.edu
24e0e94e6f Fixing a bogus class name in a comment. Bug 86939, rs=jst
git-svn-id: svn://10.0.0.236/trunk@97627 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 22:49:10 +00:00
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
pollmann%netscape.com
161f586d22 Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
pollmann%netscape.com
23709a8e76 Bug 79565: Fix a crash where elements in the mImageMaps array were released but not removed from the array, and a stale pointer was dereferenced. r=jst@netscape.com, sr=vidur@netscape.com, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@95955 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 06:43:20 +00:00
nisheeth%netscape.com
a63df7b032 Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content.
git-svn-id: svn://10.0.0.236/trunk@95903 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 08:49:03 +00:00
jst%netscape.com
d795e51bad Fixing typo
git-svn-id: svn://10.0.0.236/trunk@95633 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:29:14 +00:00