dbaron%fas.harvard.edu
0cc4ea2497
Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +00:00
jst%netscape.com
c9abd37b7e
Fixing bug 48031. Adding missing nullpointer checks to fix crashes in AppendChild(), RemoveChild(), ReplaceChild(), ... in nsDocument. r=nisheeth, sr=vidur
...
git-svn-id: svn://10.0.0.236/trunk@82463 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 06:38:00 +00:00
waterson%netscape.com
1e7a248bab
Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
jst%netscape.com
17e33bbc26
Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
...
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).
Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
jst%netscape.com
b45fd7a390
Redoing how 'replaceable' properties on DOM objects are resolved to be compatible with 4.x, with this change named frames in framesets override 'replaceable' properties so that window.toolbar (or any replaceable property) in a frameset document with a frame named 'toolbar' actually resolves to the frame, and not the native toolbar. r/a=brendan, r=rpotts&scc
...
git-svn-id: svn://10.0.0.236/trunk@79874 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:18:07 +00:00
mjudge%netscape.com
2fc6190bef
small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
...
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
jst%netscape.com
dc5efe66e1
Fixing nsbeta3+ bug 52572. Updating the DOM intefaces in mozilla to match the current DOM Level 2 PR. r=kandrot@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@79073 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:19:00 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
scc%mozilla.org
b11557a256
if you want a pointer to the characters, your going to have to |.get()| it
...
git-svn-id: svn://10.0.0.236/trunk@78967 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 04:47:36 +00:00
scc%mozilla.org
e5e006543d
if you want a pointer to the characters, you're going to have to |.get()| it
...
git-svn-id: svn://10.0.0.236/trunk@78957 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:48:08 +00:00
hyatt%netscape.com
637c5c6075
loadBindingdoc, r=ben
...
git-svn-id: svn://10.0.0.236/trunk@78134 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 07:29:01 +00:00
vidur%netscape.com
b10d4adc57
Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
jst%netscape.com
0b04376254
Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77692 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:36:31 +00:00
bryner%uiuc.edu
188fb97dc5
Fixing 50628 - crash attaching a file to bugzilla on Linux. Need to cast
...
to the right type in QueryInterface! r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@77610 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 08:07:12 +00:00
akkana%netscape.com
0b64c9d85f
Fix memory leak introduced yesterday. r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@77499 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:27:09 +00:00
vidur%netscape.com
cabe6c06b8
Fix for bug 43902. The DOM glue now streamlines the Get/SetProperty methods for the window class. Window.location and title and document.title are now part of the idlc interfaces, rather than special-cased. r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77423 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:14:23 +00:00
akkana%netscape.com
87b7e7419c
41868 and 45994: Add GetDTD. r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@77412 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:46:11 +00:00
jst%netscape.com
7e0575bfee
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
gagan%netscape.com
bc90969808
Fix for bug 48200. We were incorrectly setting mDocumentURI to the OriginalURI which completely broke redirects (which are conveyed thru URI and not OriginalURI) r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@76802 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:37:02 +00:00
hyatt%netscape.com
bdfc2977d4
49012 fix, r=danm
...
git-svn-id: svn://10.0.0.236/trunk@76801 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:30:36 +00:00
dbaron%fas.harvard.edu
6fcb2971f9
Fix double-addref leak of stylesheets. b=49648 r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@76787 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 19:46:18 +00:00
dbaron%fas.harvard.edu
7270634490
Fix leak of stylesheets. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@76776 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 13:05:53 +00:00
scc%mozilla.org
a0a2b1b7fe
fixing code that relied on implicit string construction
...
git-svn-id: svn://10.0.0.236/trunk@76727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:23:46 +00:00
hyatt%netscape.com
84a22f9437
First-stage fix for dogfood bug 49012. r=ben
...
git-svn-id: svn://10.0.0.236/trunk@76550 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 08:11:11 +00:00
waterson%netscape.com
e029e1cca8
Bug 44480. Demote 'width' and 'height' attributes from NSDocument to NSHTMLDocument and XULDocument; make nsHTMLDocument's implementation use the <body> element's frame (instead of the <html> element's frame) to determine metrics. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@76375 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:04:52 +00:00
dbaron%fas.harvard.edu
3b9c9e465a
Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+)
...
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +00:00
dbaron%fas.harvard.edu
74cf8b8464
Make nsDocument unroot script objects in the prolog and epilog correctly. Fix nsDocument::RemoveChild so it doesn't crash when removing the root element. Prevent nsDocument::ChildAt from incorrectly returning null when root is removed. Clean up nsDocument::RemoveChild and nsDocument::ReplaceChild a bit, including adding some notifications for prolog/epilog content. Make nsDocument::ReplaceChild return the correct thing (the old child, not the new one). r=vidur b=17390 (nsbeta3+), 46212
...
git-svn-id: svn://10.0.0.236/trunk@75697 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 03:03:55 +00:00
hyatt%netscape.com
87f101ee64
more of 42320. r=danm
...
git-svn-id: svn://10.0.0.236/trunk@75669 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 05:39:36 +00:00
mjudge%netscape.com
080354124d
awful regression of not copypasting from textareas! fixed.r=akkana,anthonyd
...
git-svn-id: svn://10.0.0.236/trunk@74622 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:11:49 +00:00
mkaply%us.ibm.com
89b244e2bc
#42637
...
r=pinkerton, a=brendan
OS/2 bringup - Change from waterson and vidur - don't modify members in a const function
git-svn-id: svn://10.0.0.236/trunk@73342 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 22:31:43 +00:00
jst%netscape.com
52bb73928e
Fixing nsbeta2+ bug 33477, completing (more or less) the DOM Level 2 NamedNodeMap implementation, this includes modifying the XML content sink to properly pass attribute prefixes to the content objects. r=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@73000 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:21:32 +00:00
vidur%netscape.com
756dc76c80
Fix for bug 38349. Implemented nsIDOMNode::CloneNode() and ImportNode() for XML and HTML documents as part of finishing out our DOM1 and DOM2 implementations. Cleanup of DOMImplementation::createDocument. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@72844 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:56:52 +00:00
vidur%netscape.com
a86b544c90
Fix for bug 9392. document.plugins now aliases to window.navigator.plugins. r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@72709 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:53:26 +00:00
vidur%netscape.com
42dd385f64
Work for bug 33475 - completion of Document-related DOM Level 2 support. Null-checks for the empty document case. The documentElement can now be replaced. Load() no longer takes extra unused argument. r=jst,nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@72468 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:46:58 +00:00
jst%netscape.com
3e8ddbd2cb
Fixing nsbeta2+ bug 41588, accessing document.documentElement on an empty document in JS threw a NS_ERROR_FAILURE exception in stead of just returning null. r=heikki@citec.fi
...
git-svn-id: svn://10.0.0.236/trunk@72376 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 13:37:46 +00:00
scc%mozilla.org
fd1efd70c8
fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms
...
git-svn-id: svn://10.0.0.236/trunk@72073 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:52:31 +00:00
mjudge%netscape.com
c26bc4c2b6
adding in null check since we dont ALWAYS use selection to output xif. this gets rid of an assertion that i found while fixing a regression 41814 r=donm a=donm ect
...
git-svn-id: svn://10.0.0.236/trunk@71727 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 22:46:11 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
hyatt%netscape.com
f3981f6181
Tree/grid foundation work.
...
git-svn-id: svn://10.0.0.236/trunk@71354 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 08:13:29 +00:00
jst%netscape.com
a6ba38337a
Fixing nsbeta2+ bug 40197, a typo caused the doctype in a document to be found only found if it was the first child in the document. r=vidur, a=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@71304 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:40:26 +00:00
erik%netscape.com
98cb599fde
bug 32206; add notifiers for charset changes; r=buster; a=ftang
...
git-svn-id: svn://10.0.0.236/trunk@71298 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:10:44 +00:00
hyatt%netscape.com
3790cee907
Fix mac bustage.
...
git-svn-id: svn://10.0.0.236/trunk@71008 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 22:40:40 +00:00
hyatt%netscape.com
bce78a9b6f
Fixing bugs in skin switching.
...
git-svn-id: svn://10.0.0.236/trunk@71005 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 20:03:14 +00:00
hyatt%netscape.com
1b0165a577
Adding anonymous content getter. r=waterson, a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@70957 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:45:26 +00:00
hyatt%netscape.com
e469c92e38
fix for making skins script-safe. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
joki%netscape.com
7fe66ffb76
fix for resize event support, bug 960, and additional support for DOM 2 events.
...
git-svn-id: svn://10.0.0.236/trunk@70314 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:27:22 +00:00
mjudge%netscape.com
2cbc1dcd1a
missing {} around a block
...
git-svn-id: svn://10.0.0.236/trunk@70240 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:02:20 +00:00
joki%netscape.com
ec91adc761
Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
...
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +00:00
jst%netscape.com
a4819fdc9d
Implementing getElementsByTagNameNS() for XML and HTML documents.
...
git-svn-id: svn://10.0.0.236/trunk@69931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:55:05 +00:00
mjudge%netscape.com
6a5229782e
fixing output from selection piece
...
git-svn-id: svn://10.0.0.236/trunk@69793 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:18:30 +00:00