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
jst%netscape.com
535c86019d
scc checking in from jst's account. bug #75220 : sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
...
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
peterv%netscape.com
f74c7ea12a
Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@95505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:59:15 +00:00
ftang%netscape.com
201b62d65e
fix bug 81266 for simon@softel.co.il
...
r=ftang sr=jst
fix UMR
git-svn-id: svn://10.0.0.236/trunk@95354 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 01:10:54 +00:00
shanjian%netscape.com
4c4c552ae0
#72299 User could not override charset from http server
...
r=nhotta, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94931 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 03:42:33 +00:00
jst%netscape.com
5bceb08149
Making document.write and document.writeln callable with no arguments, this is needed for backwards compatibility. This is a regression from the XPCDOM landing. r=bryner, sr=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@94798 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-13 00:27:58 +00:00
nisheeth%netscape.com
eeb70ed5a9
Fix OS/2 build bustage from fix to bug 29171.
...
git-svn-id: svn://10.0.0.236/trunk@94762 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 07:12:33 +00:00
darin%netscape.com
81e317535f
Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@94682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:05:08 +00:00
jst%netscape.com
9d299d36ce
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
heikki%netscape.com
d518fc19d5
Bug 78455, regression with link target. My attempt to override GetbaseTarget was foiled by extraneous 'const'. r=harishd, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@93684 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 22:31:02 +00:00
heikki%netscape.com
7788ebd4ed
Bugs 67887, 67893, 67882, 68185, 73160, 77923. Added support for XHTML base href and target attributes, meta http-equiv and link href. Fixed the blank page bug when xml-stylesheet PI did not contain href attribute. Fixed getElementById() to not match XHTML name attribute. This fix also includes some minor cleanup. r=nisheeth, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@93488 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 23:35:09 +00:00
darin%netscape.com
cbdc9480c4
Fixes bug 77269 "ibench test performance regression" r=gordon, sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@93217 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 02:26:32 +00:00
heikki%netscape.com
75dc2e58dc
Bug 76641, back out baseURI property in the Node interface to fix binary compatibility. baseURI property is implemented in a different way on the DOM conversion branch, so baseURI will get back when the branch lands. This fix by jst, r=heikki, sr=brendan, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@92962 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 00:04:11 +00:00
heikki%netscape.com
f76611d359
Bug 51339, XHTML map elements did not work, r=harishd, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@92615 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 00:14:34 +00:00
gordon%netscape.com
91ac06c23a
bug 72528, removing old cache from build. sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@92548 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 10:40:13 +00:00
erik%netscape.com
a3a70da91b
bug 75066; author=simon@softel.co.il; r=jst; sr=erik; diffs from IBM bidi
...
project (e.g. Arabic, Hebrew)
git-svn-id: svn://10.0.0.236/trunk@92118 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 23:35:24 +00:00
jst%netscape.com
7f1013281e
Checking in a workaround for scrollbar code bug 55334, this bug causes scrollbars to not show up in pages that are completely generated with document.write(). r=brendan@mozilla.org/nisheeth@netscape.com, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@92086 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 09:50:55 +00:00
darin%netscape.com
9d03c579d0
Necko API changes, bug 74221. r=valeski, sr=rpotts.
...
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
bratell%lysator.liu.se
7259124fe2
The right fix for bug 74328. This was the one that was reviewed and I have no idea where the old one came from. r=waterson sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@91417 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 03:38:20 +00:00
bratell%lysator.liu.se
f1239e3f79
Fix for bug 74328, removing O(n^2) algorithm from ContentAppended. This saves time on big pages. r=waterson sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@91408 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 03:14:57 +00:00
jst%netscape.com
2fb55fe1f8
Fixing crasher/regression bug 74431 that I caused a few weeks ago.
...
git-svn-id: svn://10.0.0.236/trunk@91109 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 07:14:12 +00:00
heikki%netscape.com
6c69c694fd
Bug 72522, implemented DOM Level 3 baseURI property (node interface). r=harishd, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@90803 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:15:21 +00:00
morse%netscape.com
8d277c87e5
bug 46783, reorg cookies module for embedding, r=valeski, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@90729 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 02:11:48 +00:00