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

556 Коммитов

Автор SHA1 Сообщение Дата
hyatt%netscape.com 0f660e6f84 Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody. 2000-01-25 06:35:27 +00:00
waterson%netscape.com 903106b34d Bugs 18127, 20677, 23905. Partial fix. Give the nsXULPrototypeDocument it's own JSContext to use for compiling scripts and event handlers. Modify script and event handler code to compile shared scripts using this context, if appropriate. r=brendan 2000-01-22 22:00:35 +00:00
vidur%netscape.com c18e98ecea Cleanup - dealing with people modifying the idl generator and not checking in the generated file or vice-versa. r=pollmann. 2000-01-18 23:41:27 +00:00
vidur%netscape.com 9679502c54 Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann 2000-01-18 23:35:47 +00:00
vidur%netscape.com e0f519fdef Fix for bug 22594. Implemented window.escape() and unescape(). R=ftang 2000-01-15 02:26:10 +00:00
tao%netscape.com 36794ca76e bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur. 2000-01-15 02:01:05 +00:00
pollmann%netscape.com 97e95d0b11 Bug 14419 (3 of 4): Make option text read/write (glue header) r=harishd 2000-01-15 01:49:39 +00:00
pollmann%netscape.com 33e0bf4fce Bug 14419 (2 of 4): Make option text read/write (idl) r=harishd 2000-01-15 01:45:02 +00:00
alecf%netscape.com 8d94f68ba7 expose the form controls in a XUL document in the "controls" DOM attribute
this will make prefs and wizards much faster
r=hyatt
2000-01-13 02:59:08 +00:00
hyatt%netscape.com 3d186ddce8 adding behavior property to CSS. r=brendan 2000-01-11 03:40:41 +00:00
norris%netscape.com 18d9ee89da Fix
858  [Feature] JavaScript auto-disable per-domain RFE
    13023 Users must be able to disable Java and JavaScript (for JS in mail)
    21923 Executing functions in "chrome:" protocol - #2.
    r=mstoltz

    (Checked in with red on Mac; Wan-Teh says his changes are localized so
     it shouldn't interfere with his fixing bustage.)
2000-01-08 16:51:54 +00:00
brendan%mozilla.org bd00bf675b (bug 22795, r=vidur@netscape.com)
- Add "aShared" flag to nsIScriptContext::CompileEventHandler, telling it to clear the compiled event handler's scope chain if true, in order to
  (a) avoid entraining garbage
      (i.e., a shared compile-time-only parent object); and
  (b) cause later BindCompiledEventHandler calls to ensure that the event handler has the particular scope chain needed for the binding
      (to the target object that's receiving the event).
- Use :: consistently (and all over the place) before calls to JS_ functions in nsJSEnvironment.cpp.
- Eliminate tabs and barbarians-at-the-gate-of-Rome style, in favor of when-in-Rome style (hail Waterson Maximus!)
2000-01-08 00:24:24 +00:00
vidur%netscape.com bc3cf76724 Fix for bug 23074. Implemented image.complete. r=pollmann 2000-01-06 23:41:14 +00:00
norris%netscape.com 336a9a916a Fix assertion failure at startup caused by failure to run genPropNames.pl.
r=mstoltz@netscape.com
2000-01-06 22:04:18 +00:00
alecf%netscape.com 4a01d2ad5a add new method to ensure that tree content is visible: go through all the presentation shells, and call EnsureRowIsVisible for each tree.
also expose a method to get the visible row for a tree - I needed it anyway, figured I might as well expose it from JS.
other half of fix for #12895
r=bryner
2000-01-06 07:54:43 +00:00
vidur%netscape.com 6a8920958f Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann 2000-01-06 01:15:55 +00:00
norris%netscape.com 8343c4ead7 Fix 22909 previousSibling vulnerability
r=mstoltz
2000-01-06 00:59:18 +00:00
vidur%netscape.com 949d52cd68 Fix for bug 16787. Added navigator.cookieEnabled. Removed warnings. a=don r=waqar 1999-12-22 22:42:06 +00:00
vidur%netscape.com 996381c8eb Fix for bug 18840. Radio button groups are now reflected as collections in a form's namespace. Added nsIDOMHTMLFormControlList interface and special handling for namedItem method that return a jsval. a=dagley r=pollmann 1999-12-22 01:48:47 +00:00
jband%netscape.com 7d0cb0f4bb Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
syd%netscape.com 76d39e5500 Change calls to Flash(void) in nsIWidget, nsWindow to GetAttention().
r=sdagley a=chofmann. Add support for GetAttention API to nsIDOMWindow.
r=vidur, a=chofmann. To do, make call to WebShell from nsIDOMWindow,
this will come once travis lands some webshell code.
1999-12-17 06:11:45 +00:00
syd%netscape.com 02e36a6d94 Window.idl was not being built if you did this on Linux (Makefile.in
rot). r=vidur, a=brendan (related to but does not fix PDT+ 18518).
1999-12-14 23:48:08 +00:00
vidur%netscape.com 1b616e7c2d Fix for bug 9787. Implemented a stub version of document.clear. Fix necessary for getting in 20737. a=chofmann r=pollmann. 1999-12-14 23:32:26 +00:00
akkana%netscape.com c4db584578 Fixing build bustage on Linux 1999-12-14 00:55:37 +00:00
davidm%netscape.com c70ce7fd5a #ifdef out code for controller. Checkin to unblock mjudge and other r= mjudge 1999-12-13 23:13:33 +00:00
hyatt%netscape.com 2f25a4ed69 Modifications to support the command dispatcher. r=saari 1999-12-08 04:58:05 +00:00
hyatt%netscape.com 540fd03206 Massive rewrite of the key binding system and the command dispatcher. Key
bindings are now fully hierarchical.  In addition, DOM windows, input fields
and textareas can pull their key bindings from a separate XUL file.  This
allows configurable key bindings.

Massive rewrite of the command dispatcher system.  The command dispatcher now
deals with DOM windows in addition to DOM elements.  It now tracks both
successfully and works in conjunction with the new focus/blur architecture.

r=saari
1999-12-08 04:56:56 +00:00
vidur%netscape.com 1eb3d4e793 Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth. 1999-12-08 03:52:01 +00:00
brendan%mozilla.org c939085774 - Rename "FunctionObject" or shorthands to "EventHandler" to make nsIScriptContext more scripting-language-neutral.
- Allow nsIScriptContext::BindEventHandler to take a null void* handler argument, to remove the binding by nullifying it (for hyatt's XML-driven-key-mapping work). 
- Try to GetCompiledEventHandler (and if we don't, and compile it, Put too) for the load event and other non-deferred (XUL window-level) event listeners. 
- Improve doc comments and whitespace.
1999-12-07 22:14:17 +00:00
ftang%netscape.com 723af171cd add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550 1999-12-07 01:29:00 +00:00
waterson%netscape.com 72e0d22417 Bug 20786. Use function object, rather than function, as the thing which is executed, ensuring that the correct bindings are used when the function is shared across several contexts. This checkin is really brendan@mozilla.org; I'm just landing the code. 1999-12-05 07:29:25 +00:00
vidur%netscape.com 7cbc73af50 Changed IID to remove conflict in IIDs.h 1999-12-04 01:29:54 +00:00
tbogard%aol.net 648ace3e23 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
brendan%mozilla.org f3855ca6b0 - Doc-comments for nsIScriptContext methods I added or modified.
- Rename nsIScriptContext::CompileFunction to CompileEventHandler, and add BindCompiledEventHandler, to reflect function name restrictions and help brutal sharing.
- Add adjunct-interface nsIScriptEventHandlerOwner to nsIScriptObjectOwner.h; this interface is queried for by nsEventListenerManger.cpp to test and fill the XUL prototype event handler "cache".
- PR_LOG JS warnings, and look in javascript.options.{strict,werror} for those options.  
- Implement nsIScriptEventHandlerOwner in nsXULElement, keeping pointers to pre-compiled event handlers in nsXULPrototypeAttribute.
 
(bug 13218, r=waterson@netscape.com,vidur@netscape.com)
1999-12-03 03:40:30 +00:00
tbogard%aol.net ca89dc75d3 Adding nsIScriptGlobalObjectOwner.idl to the manifest. 1999-12-02 06:18:32 +00:00
tbogard%aol.net abcaa9eac8 Connecting nsIScriptGlobalObjectOwner.idl to be compiled. Not yet used anywhere. 1999-12-02 06:16:08 +00:00
tbogard%aol.net 09447ba051 Adding new interface for people who can supply an nsIScriptGlobalObject. Not yet connected to the build. 1999-12-02 06:14:49 +00:00
danm%netscape.com a9db94dfe7 adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com 1999-12-01 22:35:33 +00:00
rods%netscape.com 3978a5d81b removing all lower case version of this file 1999-12-01 16:10:00 +00:00
rods%netscape.com bfff20d48a bug 2253 1999-12-01 15:54:59 +00:00
buster%netscape.com aa753bbcf7 bug 2253. added controller to html text input
r = kmcclusk, norris
1999-12-01 15:11:33 +00:00
hyatt%netscape.com ce7a5655c1 More skin goodness. r=gimpy 1999-11-30 09:29:43 +00:00
tbogard%aol.net 451a2d9ba9 Removing now that the interface definition can be found in the IDL file. 1999-11-30 04:09:16 +00:00
tbogard%aol.net daf9aae013 Would help if I removed nsIScriptContextOwner.h instead of nsIScriptObjectOwner.h 1999-11-30 00:28:40 +00:00
tbogard%aol.net a53e75b252 Connected nsIScriptContextOwner.idl to the build and removed the copy of the header file. 1999-11-29 23:05:19 +00:00
tbogard%aol.net 983c95f3e6 Added nsIScriptContextOwner.idl to the list of IDL files to build. Removed nsIScriptContextOwner.h from the list of export header files. 1999-11-29 22:51:42 +00:00
tbogard%aol.net cbe8a786f9 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 0acfc03931 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 f7594c869d 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 506027739d 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 caac65472e Added nsIJSEventListener.h 1999-11-24 23:59:08 +00:00
vidur%netscape.com d4602715d7 Added window.scroll(). Reverted back to NPL 1.1. R=joki 1999-11-24 23:58:43 +00:00
vidur%netscape.com 9f18003595 Added window.scroll() 1999-11-24 23:56:39 +00:00
tbogard%aol.net a0640b60c4 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 1c4dac85f3 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 04cfddc50d DOM extension for exposing text areas to XUL
bug 12022, r=rickg
1999-11-19 07:18:25 +00:00
brendan%mozilla.org 61969913a1 XULDOMJS_19991106_BRANCH landing (15146, r=vidur@netscape.com) 1999-11-12 06:08:14 +00:00
vidur%netscape.com d2808ba000 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 8535dda53e 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 42fc94a6ec 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 c4b152d3ea 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 1e6e741087 Reverting key set to previous version. Fixes 17887. a:chofmann r:brade. 1999-11-03 20:40:35 +00:00
joki%netscape.com d5c05ea133 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 fe51b61664 (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 79161b6191 fix bustage. 1999-10-28 22:38:58 +00:00
ftang%netscape.com 0df9b27457 remove nsIDOMTextRange.h nsIDOMTextRangeList.h. fix bug 12756. r=tague 1999-10-28 22:05:42 +00:00
vidur%netscape.com 67327a2a7c 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 b2564031fe Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++) 1999-10-14 10:58:25 +00:00
vidur%netscape.com c043ed0abd Added window.scrollBy/scrollTo/scrollX/scrollY. Scopus bug 361046. R=troy 1999-10-06 22:07:42 +00:00
vidur%netscape.com 5886af2ed2 Added document.width/document.height to nsIDOMNSDocument. Bug 961. R: troy 1999-10-06 20:33:58 +00:00
norris%netscape.com 3c14af2f14 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 be924c200c 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 de1d4abc32 Adding support for event.clickCount, obsoleting old dblclick event. 1999-09-22 02:29:33 +00:00
saari%netscape.com 6df67e6af3 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 70f5a105ba 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 b7862591d9 Corrected signature of History::Go() 1999-09-21 05:48:45 +00:00
vidur%netscape.com 582844bca0 Corrected signature of History::Go() 1999-09-21 05:11:55 +00:00
cmanske%netscape.com f58aeef452 Adding CollapseToStart and CollapseToEnd methods to selection 1999-09-21 01:27:59 +00:00
akkana%netscape.com 7af5b4431e Add ToString API to nsIDOMSelection 1999-09-20 21:05:01 +00:00
norris%netscape.com d1e37156bd Add ability to disable JS. Fix 13978 shopping at webvan.com crashes 1999-09-17 20:13:52 +00:00
waterson%netscape.com 2e319c75dd 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 f919d0cc91 Bug 12350: selected read/write 1999-09-16 20:13:41 +00:00
norris%netscape.com ae296a06da Add security support for javascript: uris. 1999-09-15 20:58:41 +00:00
briano%netscape.com 7603ba96d1 General cleanup. 1999-09-11 00:59:11 +00:00
sfraser%netscape.com fff3c0f283 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 39be66f41f Backout autogenerate changes. This file has been hand modified. 1999-09-09 19:54:54 +00:00
slamm%netscape.com c8ad76c49b Fix build warnings. 1999-09-09 19:16:12 +00:00
vidur%netscape.com 601ecbec81 Added JS exceptions to DOM glue. Added implementation for nsIDOMDOMException. Added nsIScriptContextOwner::ReportScriptError. 1999-09-08 23:14:30 +00:00
danm%netscape.com fe1d16cc98 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
waterson%netscape.com cdc5abdb40 Persistence, again. 1999-09-03 07:02:25 +00:00
law%netscape.com c06e116a1d Add forward decls to resolve references in generated .h files 1999-09-02 01:07:55 +00:00
vidur%netscape.com fc165774c5 Removed as per DOM Level 1 errata 1999-09-02 00:31:55 +00:00
kipp%netscape.com ba5267e7a6 new 1999-09-01 01:14:01 +00:00
cyeh%netscape.com 26effbde96 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
kipp%netscape.com 35c1d2f782 Get copy to directory name right (ick) 1999-09-01 00:59:02 +00:00
kipp%netscape.com 0b2ce0deff updated from idlc 1999-09-01 00:57:28 +00:00
kipp%netscape.com c3f860f3af obsolete 1999-09-01 00:57:01 +00:00
kipp%netscape.com f705f5d68f Added unix build rules 1999-09-01 00:54:37 +00:00
kipp%netscape.com 947dac0fa9 Removed rc field 1999-09-01 00:54:18 +00:00
norris%netscape.com 59b4dc8374 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
vidur%netscape.com 37cc42f075 jsval can now be a parameter or return type. Got rid of unused variable warnings. Fixed secMan leak. Removed nsIDOMHTMLBlockQuote.h 1999-08-27 06:11:39 +00:00
hyatt%netscape.com 05440effd3 Changing focus tracker to be the command dispatcher. 1999-08-25 01:49:24 +00:00
nisheeth%netscape.com a864c7330c Checking in patch from Johnny Stenback (jst@citec.fi) that exposes notation and entity creation DOM interfaces. 1999-08-24 22:15:45 +00:00
hyatt%netscape.com 7513b7afc1 More selection work. 1999-08-22 06:53:01 +00:00
hyatt%netscape.com a8d6a9115c Checking in the selection implementation (with more functions added). 1999-08-22 06:31:00 +00:00
hyatt%netscape.com c28227eb81 Defining the selection API for the tree widget. Stubbed all of the functions.
Now I just have to implement them all.
1999-08-22 06:01:52 +00:00
hyatt%netscape.com 7f859a0884 Adding more to the tree's idl. 1999-08-21 20:23:56 +00:00
hyatt%netscape.com 7a65851a9f Checking in changes that teach the tree element how to have its own
array of selected items and cells.
1999-08-21 19:53:39 +00:00
pollmann%netscape.com f4dbc5a3bf Bug 3285: Update header files to add item method to proprietary interface. 1999-08-21 02:56:03 +00:00
pollmann%netscape.com 2c8577286b Bug 3285: Update idl files to add item method to proprietary interface. 1999-08-21 02:55:06 +00:00
arielb%netscape.com bb8560101c includes updates to codbase matching security checks currently turned off
but in place.  redefined the script security manager in caps and it is
now generating codebase principals.
1999-08-20 09:51:02 +00:00
ducarroz%netscape.com b9a6e77625 Add attribute "autocomplete" 1999-08-19 22:10:52 +00:00
vidur%netscape.com 5daa6435c2 Changed method signature of EvaluateScript to return nsresult. Added nsJSThreadContextStack pushing and popping around script evaluation. 1999-08-19 20:36:31 +00:00
pinkerton%netscape.com 4616264a3d add drag gesture event. 1999-08-19 19:48:58 +00:00
waterson%netscape.com a5f6d1fab1 Re-add nsIDOMXULTreeElement.h to the build, pending selection API work. 1999-08-18 02:15:29 +00:00
waterson%netscape.com aaf5b43654 Re-add XULTreeElement for selection tracking API. 1999-08-18 02:12:53 +00:00
brendan%mozilla.org 17411df5fe Regenerate to eliminate degenerate unsigned comparisons and dead code. 1999-08-10 07:30:11 +00:00
vidur%netscape.com 2c483b63f2 Changed attribute getter glue to use NS_SUCCESS macro instead of comparing to NS_OK 1999-08-09 19:19:49 +00:00
vidur%netscape.com 4876025852 changed name of NS_CreateContext to NS_CreateScriptContext 1999-08-09 19:14:49 +00:00
joki%netscape.com da36d40b61 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
hoa.nguyen%intel.com b247f341df Added nsIDOMHTMLEmbedElement.h to exports. 1999-08-07 21:54:55 +00:00
hoa.nguyen%intel.com 1de0b995c5 DOM interface for embed tag. 1999-08-07 21:53:28 +00:00
tague%netscape.com 01517d6781 Missed adding a generated file. 1999-08-06 03:45:59 +00:00
tague%netscape.com c2184740ba Added replies from DOM private text events 1999-08-06 02:39:48 +00:00
hoa.nguyen%intel.com 86c9ff7fcf Added HTMLEmbedElement.idl. 1999-08-03 23:52:13 +00:00
hoa.nguyen%intel.com 18ec7209f8 DOM element for embed tags. 1999-08-03 23:50:07 +00:00
vidur%netscape.com 73720c9bf9 Relative URLs specified for window.location.href are now resolved relative to the calling location. 1999-08-03 23:16:48 +00:00
waterson%netscape.com f6b84db71a Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism. 1999-07-27 17:20:28 +00:00
waterson%netscape.com 914b2cade7 Re-add. Wasn't meant to be deleted yet. 1999-07-27 03:03:25 +00:00
waterson%netscape.com 70d9500cde XULTreeElement.idl 1999-07-27 02:58:39 +00:00
waterson%netscape.com cc5179bcc8 Native builder exorcism. Long live templates. 1999-07-27 02:40:40 +00:00
hyatt%netscape.com 08b76993d0 Adding a menu listener to the DOM for XUL menus and popups. 1999-07-26 09:18:00 +00:00
mjudge%netscape.com 92aee1ba7e fixing bad idl on my part. adding method until idlizing can be completed 1999-07-21 01:14:05 +00:00
akkana%netscape.com fcc5b35d37 Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h 1999-07-21 00:12:23 +00:00
akkana%netscape.com 2407350fbb Argh, there's stuff in here that doesn't come from the idl! Fix build bustage 1999-07-20 23:29:02 +00:00
akkana%netscape.com 1b40874d73 Add new ContainsNode method to nsIDOMSelection 1999-07-20 23:08:22 +00:00
joki%netscape.com 0af283b8e2 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
mjudge%netscape.com 7ddf8fee55 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
norris%netscape.com 768ceb228b Remove cvs removed file from MANIFEST. 1999-07-15 23:54:21 +00:00
norris%netscape.com 7562aefe4a Move several security files into idl. (Create idl directory in caps module.)
Implement methods of nsIXPCSecurityManager.
Fix random errors in DOM JS security.
1999-07-15 23:23:16 +00:00
mjudge%netscape.com 795cc26dd3 checkin for carpool for multiple seleciton/ime selection and api changes 1999-07-15 18:19:20 +00:00
norris%netscape.com fc9729ccd2 Tom Pixley's code for the beginnings of DOM security, with a fix for the previous Mac link failure. 1999-07-07 07:50:03 +00:00
tague%netscape.com 15ac33c0d7 Added TEXTRANGE_CARETPOSITION support for Input Methods to nsIDOMTextRange and nsGUIEvents 1999-07-02 22:21:03 +00:00
rods%netscape.com b946e20616 Add or changed GetIID to use NS_DEFINE_STATIC_IID_ACCESSOR macro 1999-07-02 19:27:36 +00:00
joki%netscape.com cc8b77b488 Backing out js security changes. 1999-07-01 13:03:35 +00:00
joki%netscape.com 5056a89212 New JavaScript/DOM security stuff. 1999-07-01 10:38:26 +00:00
pinkerton%netscape.com 3a463448b6 Changing CreatePopup to return the popup. Adding a bunch of stuff for tooltips to the popup code. Fixing some bugs in webshell with loading malformed popups. Renamed "popup" to "popupElement" in the document and added "tooltipElement" as well. 1999-07-01 00:07:41 +00:00
vidur%netscape.com bcfaa5d81e Added static GetIID accessor to DOM interfaces 1999-06-29 23:42:51 +00:00
tague%netscape.com b40147fcc6 Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
tague%netscape.com 3456598afe Added clause range and selection support for Input Methods. 1999-06-29 20:30:42 +00:00
scc%netscape.com d049be3c31 Added |GetIID()| 1999-06-29 20:28:56 +00:00
danm%netscape.com 18e69811ef added 'content' property to JS window 1999-06-26 21:48:29 +00:00
pollmann%netscape.com a89cb73a95 Bug 2195: select[n] == select.options[n], new nonstandard DOM interface 1999-06-16 05:15:30 +00:00
pollmann%netscape.com 13d7ea974e Bug 2195: select[n] == select.options[n], new header for nonstandard DOM interface 1999-06-16 05:02:21 +00:00
waterson%netscape.com 333904edb8 Remove Window.Equals() hack. 1999-06-16 02:06:48 +00:00
vidur%netscape.com 1d2d335d54 Added confirm and prompt to window object. 1999-06-11 23:57:25 +00:00
sfraser%netscape.com 1f90d70b37 Add stubs for range and selection interfaces 1999-06-11 18:57:54 +00:00
danm%netscape.com 219d5cf489 add Bar properties to DOMWindow 1999-06-09 19:04:18 +00:00
danm%netscape.com 1b1223c1ee adding domwindow barproperty object 1999-06-09 18:59:04 +00:00
hyatt%netscape.com b84d2f62d5 Altering the args for createPopup. 1999-06-09 08:36:06 +00:00
hyatt%netscape.com d282c34319 Altering the idl for createPopup. 1999-06-09 08:25:07 +00:00
hyatt%netscape.com f0a8287f24 More content model tweaks. 1999-06-09 05:45:15 +00:00
hyatt%netscape.com c66a64c8ab Woo woo. Focus implementation. 1999-06-08 21:58:55 +00:00
joki%netscape.com 6f1a265019 Adding new method to nsIDOMNSUIEvent to give event pos as range offset. 1999-06-08 02:19:26 +00:00
waterson%netscape.com 260cb728dc Add Equals() method to Window class to support comparison of XPConnect-wrapped nsIDOMWindow and idlc Window. 1999-06-07 07:16:01 +00:00
danm%netscape.com 7d51772224 removing nsIDOMSelection.h and nsIDOMSelectionListener.h: these have been moved to ../range 1999-06-04 03:50:48 +00:00
akkana%netscape.com 8b73938c4d Vidur's initial implementation of Insert HTML Fragment 1999-06-03 22:38:38 +00:00
alecf%netscape.com 36d2fed721 export DOM XPIDL stubs on windows 1999-06-03 22:16:57 +00:00
ducarroz%netscape.com 14e57d36f1 First Checked In. 1999-06-03 20:57:17 +00:00
waterson%netscape.com 6e164aee0e Remove dependency from clobber rule. 1999-06-03 20:48:13 +00:00
waterson%netscape.com cabd0d3e30 Single public include directory on Win32. 1999-06-03 18:34:27 +00:00
alecf%netscape.com b11a7db1cb add DOM XPIDL stubs so that we can pass these DOM objects through XPConnect
(the stubs are needed to associate interface names with IIDs)
1999-06-03 04:36:19 +00:00
hyatt%netscape.com ef9e57ca33 Adding the focus tracker to the XUL document. 1999-05-28 20:24:58 +00:00
vidur%netscape.com b8ecc55881 Added noscript qualifier to HTMLDocument::Open, Write and Writeln and moved the JS-specific versions over to NSHTMLDocument. 1999-05-28 00:18:48 +00:00
sfraser%netscape.com 7f0d90de6f Add GetIID() methods. 1999-05-27 21:47:38 +00:00
sfraser%netscape.com 3e0b4238d5 Add GetIID() method. 1999-05-27 21:16:03 +00:00
joki%netscape.com 17aee0e0ec Beginnings of JavaScript security bits. 1999-05-26 21:43:28 +00:00
joki%netscape.com 022a0e65af Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent. 1999-05-18 23:51:04 +00:00
joki%netscape.com 27aae4ccac Breaking nsIDOMEvent interface into nsIDOMEvent and nsIDOMUIEvent to be up to spec with DOM Lvl2 1999-05-18 23:41:49 +00:00
hyatt%netscape.com fe08c0b090 GetIID. ARGH! 1999-05-18 08:37:54 +00:00
vidur%netscape.com 8addb8a33c Added layers interface. 1999-05-17 21:15:06 +00:00
hyatt%netscape.com e79a5b7f9e Added support for document.popup, so that event handlers in popup content
can refer to the popup's originating element.
1999-05-15 08:46:14 +00:00
hyatt%netscape.com 941b650532 Added another createPopup method to handle anchoring. 1999-05-14 21:16:51 +00:00
hyatt%netscape.com f430cd265f Added a createPopup method to the window object. 1999-05-14 18:54:25 +00:00
hyatt%netscape.com 26a96c091e Adding a GetIID method so I can actually use an nsCOMPtr with this
interface.
1999-05-14 05:35:56 +00:00
danm%netscape.com 695c394a79 added window.openDialog. a:brendan 1999-05-14 03:10:51 +00:00
vidur%netscape.com 5dbbb06562 Added IsValidFragment to nsIDOMNSRange interface and CreateRange to nsIDOMNSDocument. 1999-05-11 20:20:40 +00:00
vidur%netscape.com 2be79562d0 Added Option constructor and resultant nsIDOMOption interface 1999-05-04 20:47:00 +00:00
tague%netscape.com b23c932029 Fixed bug #5527 (Editor is not able to accumulate successive Japanese input) 1999-05-03 22:57:48 +00:00
vidur%netscape.com 348d5a1014 Added nsIDOMNSRange method with InsertFragment method. 1999-04-27 22:15:32 +00:00
waterson%netscape.com e545139879 The Great Cursor Excorcism. Removed cursors in favor of enumerators. Misc updates to purge the xpidl stubs stuff in preparation for XPConnect. Details on RDF_19990422_BRANCH. 1999-04-24 02:41:02 +00:00
waterson%netscape.com f2cedbe2ab Bug 5182. Use whitespace instead of ## in NS_FORWARD macros. 1999-04-16 18:08:43 +00:00
waterson%netscape.com 433fe1e489 Bug 5182. Use whitespace instead of ## in NS_FORWARD macros. a=vidur. 1999-04-16 18:08:20 +00:00
waterson%netscape.com d3effcf651 Removed extra newline in makefile. 1999-04-16 17:37:16 +00:00
sfraser%netscape.com a439a1df04 Fix the output directories for the range and selection files. 1999-04-15 23:46:48 +00:00
beard%netscape.com 3079c36471 regenerated from Navigator.idl 1999-04-15 21:54:14 +00:00
beard%netscape.com b5d92a50e2 added generated includes nsIDOMMimeType.h, nsIDOMMimeTypeArray.h, nsIDOMPlugin.h, nsIDOMPluginArray.h 1999-04-15 21:42:54 +00:00
sfraser%netscape.com 7fc2609983 Add range getter methods (regenerated from IDL file). 1999-04-15 20:18:15 +00:00
sfraser%netscape.com 4f56057f83 Formatting change 1999-04-15 20:15:04 +00:00
sfraser%netscape.com f4a5d3db7d Comment out troublesome routine with multiple out params 1999-04-15 20:14:54 +00:00
beard%netscape.com 83c253cf50 First Checked In. 1999-04-15 01:31:54 +00:00
beard%netscape.com deb05ba938 wstring -> DOMString, added attributes mimeTypes, plugins. 1999-04-15 01:28:31 +00:00
beard%netscape.com 3601900d88 added PluginArray.idl MimeTypeArray.idl Plugin.idl MimeType.idl 1999-04-15 01:27:03 +00:00
beard%netscape.com 3f732ad32d First Checked In. 1999-04-15 01:25:36 +00:00
sspitzer%netscape.com 97900943b4 added cvsignore files 1999-04-15 01:04:42 +00:00
sfraser%netscape.com 3acb74809c File Removed. 1999-04-13 01:28:49 +00:00
sfraser%netscape.com e5a1059918 nsIDOMRange.h has moved to dom/public/range/ 1999-04-13 01:27:33 +00:00
sfraser%netscape.com 3b867c2e96 Added selection.idl and selectionlistener.idl. 1999-04-13 01:24:23 +00:00
sfraser%netscape.com feec75882b First Checked In. 1999-04-13 01:24:09 +00:00
sfraser%netscape.com 3321c8fe1e Add the range directory to the makefiles. 1999-04-13 01:23:48 +00:00
sfraser%netscape.com c4e1ecf9cf First Checked In. 1999-04-13 00:33:58 +00:00
rods%netscape.com 1a766565fd Added additional methods to interface 1999-04-06 20:23:51 +00:00
waterson%netscape.com 87859e9081 Added static GetIID() method. 1999-04-06 02:37:08 +00:00
waterson%netscape.com 6a9f55ba2d Added code to initialize XPIDL JS stubs, added nsJSXULDocument into the build, temporarily added the rdf service as an attribute on the XUL document. 1999-03-30 00:38:16 +00:00
joki%netscape.com eb2dcca8dc Adding new DOM public interface for event listener registration 1999-03-28 22:29:32 +00:00
joki%netscape.com 54eeda012e New DOM2 event api's. 1999-03-28 22:19:42 +00:00
tague%netscape.com 35cf28e882 Added nsIDOMTextListener.h to Mac build 1999-03-20 00:28:07 +00:00
tague%netscape.com 77aedc85f6 Fixed error in checkin 1999-03-19 23:54:49 +00:00
tague%netscape.com 87412ad4c0 Added nsIDOMTextListener.h to Linux build 1999-03-19 23:46:23 +00:00
tague%netscape.com 21fe067546 Added support for basic Japanese input on Win32 1999-03-19 23:36:20 +00:00
michaelp%netscape.com b6ff23fd4b added memory cleanup tripwire. 1999-03-12 22:24:30 +00:00
waterson%netscape.com f0745144ef Added GetResource() to XULElement. 1999-03-10 20:20:52 +00:00
waterson%netscape.com 1a72986d9a Landed on tip. 1999-03-10 05:37:31 +00:00
waterson%netscape.com 28e7b1b92e Initial revision. 1999-03-10 04:49:54 +00:00
vidur%netscape.com bb1650ee77 Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem 1999-03-10 01:17:49 +00:00
warren%netscape.com c50687b845 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
hyatt%netscape.com c6912beac6 Changing the broadcaster methods to take DOM elements instead of DOM
nodes.
1999-03-05 22:37:24 +00:00
hyatt%netscape.com 2ef50c0187 Regenerated the IDL for the XUlDocument. Changed getElementById to return
an element (and to have a lowercase d) for consistency with the HTML document
method of the same name.
1999-03-05 00:02:00 +00:00
scc%netscape.com 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
alecf%netscape.com d0cc12e497 add IID() method 1999-02-27 03:16:56 +00:00
alecf%netscape.com dd392ba2d7 add static IID() method 1999-02-26 17:50:59 +00:00
hyatt%netscape.com 69bed5464f Touched the headers that are auto-generated from the IDL. 1999-02-23 02:40:26 +00:00
hyatt%netscape.com 3ec0b0e2a8 Adding a getElementsByAttribute method. 1999-02-23 02:40:06 +00:00
waterson%netscape.com 23bc3c70c5 Modified generated files so that NS_InitFooClass() is accessable outside of JSDOM.DLL. a=vidur%netscape.com. 1999-02-17 08:33:27 +00:00
waterson%netscape.com 6dbd4926ba Create RDF_19990217_BRANCH from RDF_DOM_19990216_BRANCH to pick up nsCOMPtr changes before doing major whackage. 1999-02-17 08:17:50 +00:00
rods%netscape.com f0c8c34866 Added GetWebShell 1999-02-10 16:25:49 +00:00
pinkerton%netscape.com e1b73fed6e add IID 1999-02-04 18:29:36 +00:00
joki%netscape.com f3b2aeaeb6 Adding changes to DOM window object to allow window.screen and window.history 1999-01-28 23:12:54 +00:00
joki%netscape.com 82a7382711 Adding new header files for window.history and window.screen 1999-01-28 22:21:46 +00:00
joki%netscape.com 63ccddb0ef Updated DOM idl files including new idl for window.screen and window.history 1999-01-28 22:20:01 +00:00
rods%netscape.com 0040126f4f Implemented the window.print() method 1999-01-27 04:15:19 +00:00
vidur%netscape.com b9e4d31fab Fix to get default namespaces to work. Cleanup of DOM handling of character data. 1999-01-21 19:33:03 +00:00
vidur%netscape.com 0fe7ca5e0e Fixed Get/SetAttribute naming problem 1999-01-12 16:35:14 +00:00
vidur%netscape.com 5bb0afa1e0 Fix for bug 1823. Added a toString method to the location object 1999-01-06 17:22:34 +00:00
vidur%netscape.com 70f9d6e96d Separated class intialization from name registration in namespace management code 1998-12-30 21:35:35 +00:00
vidur%netscape.com c5bcb7ded7 Fixed early initialization problem in script namespace management 1998-12-30 02:46:36 +00:00
vidur%netscape.com 8e4b6bd3d1 Added script namespace management mechanism. This allows external native code to add symbols and constructors to the script global namespace. Added IID() static method generation to IDL generator. 1998-12-22 22:03:20 +00:00
vidur%netscape.com e30512c816 Ongoing work on mechanism for introducing global names into a script namespace 1998-12-21 16:51:10 +00:00
vidur%netscape.com 1254cc9687 Script global namespace management. 1998-12-19 02:11:17 +00:00
vidur%netscape.com ef3b4047d5 Enabled asynchronous loading of SCRIPT SRC=, STYLE SRC= and LINK elements for style sheets. Changed nsIScriptContext to not be dependent on JavaScript. 1998-12-15 06:10:59 +00:00