393 Commits

Author SHA1 Message Date
hyatt%netscape.com
17c7769c81 Adding support for box objects to XML and HTML. Fixed focus bug with Generic Elements
r=jst@netscape.com, a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83463 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:19:59 +00:00
jst%netscape.com
ead0ef8a33 Getting rid of some static nsIID's in favor of using the NS_GET_IID() macro. sr=rpotts, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@82960 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 04:11:37 +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
dbaron%fas.harvard.edu
a3645fac5c Fix leak of nsDOMScriptObjectFactory by freeing in layout module destructor. r=jst@netscape.com sr=brendan@mozilla.org b=43576
git-svn-id: svn://10.0.0.236/trunk@82418 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:17:18 +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
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
waterson%netscape.com
0407eb4866 Bug 50999. Make nsBindingManager keep track of nsIAnonymousContentCreator-generated content; simplify anonymous content cleanup dance by making nsIBindingManager::ChangeDocumentFor() method. r=dbaron,hyatt a=hyatt
git-svn-id: svn://10.0.0.236/trunk@79584 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:14:04 +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
jst%netscape.com
5c4f0fcaeb Fixing nsbeta3+ bug 51034. element.getElementsByTagName() was throwing a NS_NOINTERFACE exception to the wrong IID passed to QI. r=kandrot&pollmann
git-svn-id: svn://10.0.0.236/trunk@79061 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:53:03 +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
hyatt%netscape.com
fe277982e2 Tweak loadBindings call, provide hint to optimize possible style re-resolve in XBL, fix spot dbaron forgot. All 3 are r=ben
git-svn-id: svn://10.0.0.236/trunk@78512 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 10:01:18 +00:00
hyatt%netscape.com
1d946724a1 C++ fixes for 51263, r=joki
git-svn-id: svn://10.0.0.236/trunk@78361 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 08:18:11 +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
hyatt%netscape.com
d80cd0cc17 XBL fix for walling off style (46505). r=ben
git-svn-id: svn://10.0.0.236/trunk@77444 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:08:35 +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
jst%netscape.com
ce9e38761e Fixing nsbeta3+ bug 30534. Don't lie about what DOM features we support, be honest./paralellCheckout | & less r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76543 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 07:09:05 +00:00
mkaply%us.ibm.com
bfbf7b1559 OS/2 and AIX Tinderbox break
Short answer: Be consistent about NS_IF_ADDREFing const and non const of the same type in the same file.
Long answer: Send me email


git-svn-id: svn://10.0.0.236/trunk@76221 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 15:03:24 +00:00
hyatt%netscape.com
5b7b5430bb Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@76211 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 07:13:52 +00:00
hyatt%netscape.com
a729ae916b Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan
git-svn-id: svn://10.0.0.236/trunk@76207 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 06:28:02 +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
saari%netscape.com
e1a79e8500 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner


git-svn-id: svn://10.0.0.236/trunk@75805 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:31:05 +00:00
hyatt%netscape.com
16169e4319 Fix for 41145. r=waterson
git-svn-id: svn://10.0.0.236/trunk@74979 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:35:02 +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
hyatt%netscape.com
80d84154b7 Fix for #41281, r=brendan
git-svn-id: svn://10.0.0.236/trunk@72206 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 08:19:07 +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
hyatt%netscape.com
76f5ac4ebb Brutal sharing of XBL classes implemented.
git-svn-id: svn://10.0.0.236/trunk@71000 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 08:20:04 +00:00
harishd%netscape.com
18fea65aca Added DumpContent() for parser regression test.
Triggered only under debug mode & when PARSER_DUMP_CONTENT flag is set.

r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70919 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:37 +00:00
jst%netscape.com
6472af28e8 Checking in temporary code that lets a user turn on the new DOM Level 2 behavior by setting the 'temp.DOMLevel2update.enabled' preference to true, this is to help with the general DOM update, and it's part of the fix needed for bug 33474. r=vidur@netscape.com, a=pdt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70878 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:48:45 +00:00
hyatt%netscape.com
4fe7279acf XBL Fixes r=ben
git-svn-id: svn://10.0.0.236/trunk@70725 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:19:10 +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
32e51cfc6e More support for onresize and onscroll, bug 960
git-svn-id: svn://10.0.0.236/trunk@70364 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:53:58 +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
jst%netscape.com
2f3f5c1350 Store attribute names in XML elements as nsINodeInfos plus some general DOM cleanup.
git-svn-id: svn://10.0.0.236/trunk@70282 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:52:09 +00:00
jst%netscape.com
e4d9d527e8 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
git-svn-id: svn://10.0.0.236/trunk@70202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:21:53 +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
5510b53036 Pass the name without the prefix to the DOM script object factory...
git-svn-id: svn://10.0.0.236/trunk@69898 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:48:38 +00:00
jst%netscape.com
912f82de3a Checking in DOM Level 2 version of the DOM interface Element.
git-svn-id: svn://10.0.0.236/trunk@69837 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:31:55 +00:00
jst%netscape.com
4c2e2d1d03 Implementing DOM hasFeature() and supports().
git-svn-id: svn://10.0.0.236/trunk@69664 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 13:08:00 +00:00
mjudge%netscape.com
a7aed95683 (ender-lite) forcing use of nsixifconverter rather than nsxifconverter. making tostring method take output type parameters.
git-svn-id: svn://10.0.0.236/trunk@69541 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:07:34 +00:00
jst%netscape.com
655ba83b6c Add GetNodeInfo() to nsIContent.
git-svn-id: svn://10.0.0.236/trunk@69416 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 14:09:28 +00:00
jst%netscape.com
45c41da01c Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter.
git-svn-id: svn://10.0.0.236/trunk@69414 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 13:46:59 +00:00
jst%netscape.com
0f0b4d6367 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
hyatt%netscape.com
0c036a1b14 Making XML, MathML, SVG, and HTML elements support passing attribute changes into XBL bindings.
git-svn-id: svn://10.0.0.236/trunk@68970 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:15:47 +00:00
hyatt%netscape.com
e21033e3c4 Fix leak.
git-svn-id: svn://10.0.0.236/trunk@68952 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:09:45 +00:00
waterson%netscape.com
134b68dc77 Must use string literal for named references.
git-svn-id: svn://10.0.0.236/trunk@68177 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:42:20 +00:00
waterson%netscape.com
1fc2b711d9 Must use string literal for named references.
git-svn-id: svn://10.0.0.236/trunk@68172 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:34:10 +00:00
scc%netscape.com
b5432ec86e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
hyatt%netscape.com
c1aeb69e54 Elimination of nsIFocusableContent and improvements to tabbing r=saari
git-svn-id: svn://10.0.0.236/trunk@65217 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:55:31 +00:00