Граф коммитов

310 Коммитов

Автор SHA1 Сообщение Дата
tbogard%aol.net dbb4e575f9 Added nsIScriptContextOwner.idl to the list of IDL files to build. Removed nsIScriptContextOwner.h from the list of export header files. r=vidur. 1999-11-29 22:44:28 +00:00
tbogard%aol.net c54b48ce20 Changed the UUID back to the one that nsIScriptContextOwner had in the .h file. 1999-11-29 22:42:07 +00:00
tbogard%aol.net ec36c2ff05 First cut at putting nsIScriptContextOwner interface into idl. (Not connected to the build yet.) 1999-11-29 22:32:58 +00:00
shaver%netscape.com 89607b7de2 Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00
vidur%netscape.com 6d1174d90c Added nsIJSEventListener.h 1999-11-24 23:59:08 +00:00
vidur%netscape.com 0d4cde9c06 Added window.scroll(). Reverted back to NPL 1.1. R=joki 1999-11-24 23:58:43 +00:00
vidur%netscape.com bf26e759a4 Added window.scroll() 1999-11-24 23:56:39 +00:00
tbogard%aol.net af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
norris%netscape.com 24778bda71 Modify generated dom code to use a enum rather than a string for codesize
and efficiency.
Tighten checks on document properties and node properties. Should resolve
several bugs:
18965 document.firstChild vulnerability
19043 document.childNodes vulnerability
19044 document.lastChild vulnerability
r=mstoltz
1999-11-20 07:28:34 +00:00
buster%netscape.com 57e8b347a2 DOM extension for exposing text areas to XUL
bug 12022, r=rickg
1999-11-19 07:18:25 +00:00
brendan%mozilla.org 90c5c9c53e XULDOMJS_19991106_BRANCH landing (15146, r=vidur@netscape.com) 1999-11-12 06:08:14 +00:00
vidur%netscape.com 97fc1836cd Added comment to remind people modifying nsDOMError.h to also add an error string. 1999-11-12 02:08:45 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
nisheeth%netscape.com 5283884a87 r=norris,warren,radha. a=chofmann. Fix for 1646. Javascript: urls return NS_ERROR_DOM_RETVAL_UNDEFINED when the javascript: url evaluates into an undefined value. This error is propagated back up to nsWebShell::DoLoadURL(). 1999-11-04 22:02:19 +00:00
joki%netscape.com b4883ed406 Reverting key set to previous version. Fixes 17887. a:chofmann r:brade. 1999-11-03 20:40:35 +00:00
joki%netscape.com 1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
brendan%mozilla.org f81d5969c6 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
ftang%netscape.com c725008fc0 fix bustage. 1999-10-28 22:38:58 +00:00
ftang%netscape.com 5af11fe3e9 remove nsIDOMTextRange.h nsIDOMTextRangeList.h. fix bug 12756. r=tague 1999-10-28 22:05:42 +00:00
vidur%netscape.com 8cd8f396d0 Added a version of window.close, which when alled from script that defers actual closure if it is invoked from the script context of the window itself. Fixes bug 15261. R=joki. 1999-10-28 14:12:56 +00:00
hyatt%netscape.com b2a4325241 Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++) 1999-10-14 10:58:25 +00:00
vidur%netscape.com a7de12ea66 Added window.scrollBy/scrollTo/scrollX/scrollY. Scopus bug 361046. R=troy 1999-10-06 22:07:42 +00:00
vidur%netscape.com 0e75a67fe1 Added document.width/document.height to nsIDOMNSDocument. Bug 961. R: troy 1999-10-06 20:33:58 +00:00
norris%netscape.com d21c5596fd Fix the following bugs:
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.
1999-10-02 03:41:37 +00:00
law%netscape.com 3880a61e9a Fixes for context menus; a=hyatt (I just pressed the keys he told me to :-) 1999-09-22 06:27:28 +00:00
joki%netscape.com 4016178c5d Adding support for event.clickCount, obsoleting old dblclick event. 1999-09-22 02:29:33 +00:00
saari%netscape.com cb935f51c7 Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange. 1999-09-21 23:02:35 +00:00
joki%netscape.com 7304187269 Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_* 1999-09-21 14:18:52 +00:00
vidur%netscape.com e0f91ac778 Corrected signature of History::Go() 1999-09-21 05:48:45 +00:00
vidur%netscape.com 72600c0c5a Corrected signature of History::Go() 1999-09-21 05:11:55 +00:00
cmanske%netscape.com 45ee8d45da Adding CollapseToStart and CollapseToEnd methods to selection 1999-09-21 01:27:59 +00:00
akkana%netscape.com 119db8b30e Add ToString API to nsIDOMSelection 1999-09-20 21:05:01 +00:00
norris%netscape.com c99b609910 Add ability to disable JS. Fix 13978 shopping at webvan.com crashes 1999-09-17 20:13:52 +00:00
waterson%netscape.com bd4a3e6792 Bug 13970. Implement 'commandupdater=' attribute to hook up command udpater nodes to the XUL document's command dispatcher. Make API modifications to support command filtering. Some improvements to XUL document to factor out iteration code. 1999-09-17 04:01:46 +00:00
pollmann%netscape.com 0e7916f242 Bug 12350: selected read/write 1999-09-16 20:13:41 +00:00
norris%netscape.com 9acf604770 Add security support for javascript: uris. 1999-09-15 20:58:41 +00:00
briano%netscape.com 1d66d27e7a General cleanup. 1999-09-11 00:59:11 +00:00
sfraser%netscape.com 87e4a9d3c8 Fix the autogeneration of nsIDOMSelection so that the header is in synch with the IDL 1999-09-10 00:53:04 +00:00
slamm%netscape.com ec1413bb5e Backout autogenerate changes. This file has been hand modified. 1999-09-09 19:54:54 +00:00
slamm%netscape.com 735d033b94 Fix build warnings. 1999-09-09 19:16:12 +00:00
vidur%netscape.com cb561f35bc Added JS exceptions to DOM glue. Added implementation for nsIDOMDOMException. Added nsIScriptContextOwner::ReportScriptError. 1999-09-08 23:14:30 +00:00
danm%netscape.com e68f60f671 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
waterson%netscape.com 2239643aca Persistence, again. 1999-09-03 07:02:25 +00:00
law%netscape.com 5d33b80fa7 Add forward decls to resolve references in generated .h files 1999-09-02 01:07:55 +00:00
vidur%netscape.com f26d4e7dd9 Removed as per DOM Level 1 errata 1999-09-02 00:31:55 +00:00
kipp%netscape.com dfa012228f new 1999-09-01 01:14:01 +00:00
cyeh%netscape.com 34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
kipp%netscape.com 654d4c6bf8 Get copy to directory name right (ick) 1999-09-01 00:59:02 +00:00
kipp%netscape.com cd62d0233c updated from idlc 1999-09-01 00:57:28 +00:00