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

1136 Коммитов

Автор SHA1 Сообщение Дата
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
danm%netscape.com 63db80c4cc add deathgrip to JSContext to prevent its untimely destruction. fixes bug 20193. r:brendan@mozilla.org 1999-12-07 02:39: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 25862b3ec9 Bug 20785. Clone function object to define as event handler property. Checked in for brendan@mozilla.org 1999-12-06 08:27:03 +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
warren%netscape.com bf4ef9672f Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +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 f40a3d1f06 Fixing the mail bustage. Was accidently using the internal object instead of the one passed in. 1999-12-03 21:41:35 +00:00
tbogard%aol.net 4df561d398 Fixed the merge. 1999-12-03 21:13:50 +00:00
tbogard%aol.net 2afc29ceda Flipped the if. Was not continuing on success. 1999-12-03 21:11:30 +00:00
waterson%netscape.com 11ed52d42d Use more mundane macros to fix backwards logic. 1999-12-03 21:08:56 +00:00
tbogard%aol.net 6f0131f7df Fixed a bug where the first time to try and get the location object was failing. 1999-12-03 19:41:22 +00:00
tbogard%aol.net c381b18ecd Fixes to get rid of relying on webShell implementing nsIScriptContextOwner. It now implements nsIScriptGlobalObjectOwner or can do a GetInterface to nsIScriptGlobalObject. 1999-12-03 19:02:31 +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 2563e3588d Mac doesn't have ctype.h, or something. 1999-12-03 06:11:54 +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
drapeau%eng.sun.com f0789172d2 Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
Build').  Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found.  The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.

r=drapeau@eng.sun.com.  Fix contributed by Jayashri Visvanathan
(visvan@eng.sun.com).
1999-12-03 00:26:09 +00:00
norris%netscape.com f19259af3e Fix bug 18636 java script security problem when accessing my.netscape.com/
r=mstoltz
1999-12-02 23:56:25 +00:00
tbogard%aol.net ca89dc75d3 Adding nsIScriptGlobalObjectOwner.idl to the manifest. 1999-12-02 06:18:32 +00:00
tbogard%aol.net 600371864f added files: mozilla/dom/public/nsIScriptGlobalObjectOwner.idl 1999-12-02 06:17:29 +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
norris%netscape.com afb1f1e1e3 Fix
20257 unable to edit existing images in editor due to JS error
	19933 JavaScript "window.location" core dumps in CAPS
Back out previous changes for enforcing security on listeners and go with a
simple restriction of access to the method for adding listeners.
r=mstoltz
1999-12-01 22:23:22 +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
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +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
dougt%netscape.com 67b387409f Fix for 18078. R=mstoltz,warren 1999-11-30 00:14:55 +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 5b3a50d235 added files: mozilla/dom/public/nsIScriptContextOwner.idl 1999-11-29 23:04:23 +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
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net 750b953527 GlobalWindow now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed the call to GetTitle to properly free the returned pointer as an internal const pointer is no longer returned. 1999-11-27 02:35:54 +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
norris%netscape.com b62c04253e Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.

I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.

Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.

r=joki

There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.

r=jband
1999-11-25 05:28:18 +00:00
vidur%netscape.com 5c7f1aa95b Reverted to NPL 1.1. R=joki 1999-11-25 00:02:47 +00:00
vidur%netscape.com fee8b4cf95 Fix for 19650 and 15133. Added nsIJSEventListener. JS event listener now stores script context and script object owner for late compilation of script event handlers. 1999-11-25 00:01:30 +00:00
vidur%netscape.com 8c349c93ff Added window.scroll(). Changed signature of RegisterScriptEventListener. R=joki 1999-11-25 00:00:21 +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
tbogard%aol.net 82bc6d307b Changed the concept of the webshell holding an mChromeElement object to it holding a nsIChromeEventHandler interface. This is more generic and allows other apps to plugin nicer into the API.r=hyatt 1999-11-23 09:57:47 +00:00
joki%netscape.com be6c6b1b12 Add initialization of named Event class to script. part of fix for 9544. r:vidur 1999-11-22 19:39:55 +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 5e269fcf05 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
buster%netscape.com 5d47f6d907 DOM extension for exposing text areas to XUL
bug 12022, r=rickg and vidur
1999-11-19 07:19:10 +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
waterson%netscape.com a36e71d42e Fix event listener leak in idlc-generated code. r=joki 1999-11-18 20:39:58 +00:00
waterson%netscape.com 28474b593f Fix event listener leak in code that is generated to take functions. Fix to generate new NPL 1.1 license. r=joki 1999-11-18 20:38:43 +00:00
warren%netscape.com d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
tbogard%aol.net f8a659b2b6 Fixed some calls on GetTopLevelWindow() and the assumptions made on the return value with the returned pointer. Added some pseudo code that is commented out for prompter stuff. r=seth (This is a cleanup of the checkin made in an effort to get the tree open.) 1999-11-18 00:33:54 +00:00
sspitzer%netscape.com b99b1dd9cf fix for #19117, crash. add check before dereferencing null. 1999-11-17 23:05:29 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
tbogard%aol.net 248a36c6bb Seems Solaris' compiler is on the bus... Doesn't understand what nsISupports to grab or something. Anway adding the .get() fixes it. 1999-11-17 03:55:35 +00:00
tbogard%aol.net 63a5a794a4 errr, Unix compilers don't understand the right value nsCOMPtr thing... Fixed. 1999-11-17 01:54:04 +00:00
tbogard%aol.net c0b25a288d Changed nsPIDOMWindow::GetPrivateParent() to be implemented using it's own mChromeElement so it doesn't have to rely on the nsIWebShell::GetParentEvenIfChrome(). r=hyatt. 1999-11-17 00:43:19 +00:00
vidur%netscape.com 8d278efa61 Fix for bug 18301. window.closed returns true for all windows that have been closed. R=troy. Fix for typo from earlier checkin from Travis that caused window.open to fail. R=travis 1999-11-16 23:11:50 +00:00
tbogard%aol.net 65790643ab Changed calls to nsIWebShell::GetRootWebShellEvenIfChrome() and further QI's to use the new nsIWebShell::GetTopLevelWindow(). 1999-11-16 20:05:21 +00:00
jdunn%netscape.com d70d78c6bf Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
norris%netscape.com 411aade911 * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
brendan%mozilla.org 90174055e4 Fix stupid logic bug (13163, r=sfraser@netscape.com). 1999-11-16 01:15:05 +00:00
saari%netscape.com 80a7ab6371 Landing focus changes. R: joki 1999-11-13 05:16:33 +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 36a784a735 Fix for bug 13144. Check that private of JSObject is an nsISupports before trying to convert. R=pollmann. 1999-11-12 02:17:12 +00:00
vidur%netscape.com 0e4411d67e Added error string for NS_ERROR_DOM_RETVAL_UNDEFINED since Nisheeth forgot to do it. R=pollmann. 1999-11-12 02:09:32 +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
joki%netscape.com bd3ab57a91 Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur 1999-11-05 23:37:40 +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 bb9f99b9ed Fixing dom event key set errors. bug 17887, a:chofmann 1999-11-03 20:53:13 +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 4ea6b39321 added files: mozilla/dom/src/events/nsJSKeyEvent.cpp 1999-11-03 07:12:13 +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
warren%netscape.com 813f9f7c13 Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
brendan%mozilla.org 9354e1a54e Gross workaround for VC5 bug. 1999-10-31 03:04:02 +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
dougt%netscape.com dda537c7c1 adding license. 1999-10-29 01:10:00 +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
warren%netscape.com 00dfd9d907 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
norris%netscape.com 7871809bfe Fix 11963 Need security controls on javascript: urls
r=mstoltz@netscape.com
1999-10-25 22:23:25 +00:00
dp%netscape.com e1ac244dcc bug#16762 Removing delete on a nsISupports. Thanks to
<heikki@citec.fi> Plus changes to use DECL_ and IMPL_ macros and not
hand define mrefcnt. r=dp
1999-10-23 05:31:46 +00:00
braddr%puremagic.com 1e43291cd0 Change NS_COMFALSE to NS_ERROR_INVALID_ARG. Every caller of LookupName
tests explicitly for NS_OK currently.
r=sleestack
1999-10-22 08:03:15 +00:00
law%netscape.com ce4a270d99 Fixes for bug #16789; permit OpenDialog to work on hidden window even if document load has not completed yet; r=norris@netscape.com, r=danm@netscape.com 1999-10-20 01:25:41 +00:00
norris%netscape.com 1e593adc14 Work on 1646 [DOGFOOD] javascript: URLs aren't working
r=mstoltz
1999-10-20 00:12:04 +00:00
danm%netscape.com 3ce1a8d157 synching with nsWebShellWindow 1.219 (nsIModalWindowSupport removed). r:hyatt@netscape.com 1999-10-18 15:06:38 +00:00
norris%netscape.com 6af8e51362 Fix 16166 setTimeout() security problem
r=mstoltz
1999-10-15 21:52:37 +00:00
pepper%netscape.com 0c9f664ac5 Added missing newline at end of file to make the HP compilers happy.
r=mgleeson@netscape.com
1999-10-14 23:28:17 +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
dougt%netscape.com 2ab5823b4f 1) Now evaluting the script during channel creation rather than read() to
avoid a deadlock between the UI/JS thread and the FileTransport thread.

2) Isolating the proxy of the eval to a single interface

3) Change makefiles for windows and unix.

Brendan asked me to look at this.  I am not sure if there is a bug number.

reviewer=brendan@meer.net
1999-10-13 07:17:36 +00:00
sfraser%netscape.com e15d631923 Part of dougt jsurl changes. Fixing the project to use the _debug prefix file when building debug. r=dougt 1999-10-13 07:16:12 +00:00
sfraser%netscape.com f28a0ace14 First Checked In. 1999-10-13 07:14:12 +00:00
waterson%netscape.com c7347c6be0 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 03:05:10 +00:00
dveditz%netscape.com 2b60c91417 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +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
norris%netscape.com 4e4a099dd2 Fix another portion of 13192 Mozilla is "oversecured" and does not allow access to documents in the same domain
Reviewed by vidur.
1999-10-06 21:13:37 +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
warren%netscape.com d4f45caf5a Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
beard%netscape.com b547c2ffb0 changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
beard%netscape.com f4db9ed86e changed from directly using "MSL DropInRuntime.Lib" to using "NSLibraryStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:13:50 +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
sfraser%netscape.com 41e3079295 Bug 14877 -- lib/xp removal; removed unneeded files. r sdagley, a chofmann. 1999-09-26 00:41:31 +00:00
kipp%netscape.com 75f2c0b82d Removed NECKO ifdefs 1999-09-25 20:04:12 +00:00
mscott%netscape.com fecb4cc502 Bug #14813 --> we are leaking nsIURIs that went through SetNewDocument and GetPrincipal. I also took out a few
necko #ifdefs' while I was here.
r=vidur, a=leaf.
1999-09-24 21:06:01 +00:00
pinkerton%netscape.com 6db65d4f6e remove references to cmd/macfe in the access paths. 1999-09-24 05:56:50 +00:00
vidur%netscape.com b9b49ebfe5 global object no longer has an unused constructor. 1999-09-23 23:52:09 +00:00
vidur%netscape.com e2135cd12d Fixed setTimeout bustage with the introduction of nsIScriptContext::CallFunction 1999-09-23 23:51:38 +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 29421d3b71 Corrected prototype for History::Go() 1999-09-21 05:12:46 +00:00
vidur%netscape.com 582844bca0 Corrected signature of History::Go() 1999-09-21 05:11:55 +00:00
kipp%netscape.com f095535665 Eliminate a warning 1999-09-21 02:09:46 +00:00
cmanske%netscape.com f58aeef452 Adding CollapseToStart and CollapseToEnd methods to selection 1999-09-21 01:27:59 +00:00
hyatt%netscape.com 64eaffca29 Chrome event stuff. 1999-09-21 01:05:01 +00:00
vidur%netscape.com 89a7b643ef Fixed Confirm() to get the nsIPrompt reference from the webshell container and not the webshell itself. Fixed leak in Prompt(). 1999-09-21 00:05: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
norris%netscape.com 38c57806bd Remove obsolete jsurl.cpp and jsurl.h 1999-09-16 23:04:45 +00:00
norris%netscape.com 10a33520e2 removed files: mozilla/dom/src/jsurl/jsurl.cpp 1999-09-16 23:03:45 +00:00
pollmann%netscape.com f919d0cc91 Bug 12350: selected read/write 1999-09-16 20:13:41 +00:00
warren%netscape.com 9bdc1b0280 Changed signature of NewInputStreamChannel to pass load group. 1999-09-16 09:00:12 +00:00
norris%netscape.com 83f762e014 Remove use of nsCOMPtr to fix Mac bustage. 1999-09-15 23:27:34 +00:00
norris%netscape.com ae296a06da Add security support for javascript: uris. 1999-09-15 20:58:41 +00:00
waterson%netscape.com 43e54dc3d4 Handle case where JS object is really _just_ a JS object, not an XPConnect-wrapped native. 1999-09-15 18:05:09 +00:00
norris%netscape.com 1dec7e80f7 Create preferences for security checks.
Add new methods on nsIScriptSecurityManager for capabilities.
Fix 13739 MLK: nsScriptSecurityManager::CreateCodebasePrincipal
Fix 11666 Eliminate plvector (was: [infinite loop] bugs - plvector.c)
1999-09-15 04:05:43 +00:00
ramiro%netscape.com 26dd94b010 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
sfraser%netscape.com 960c0a2733 Remove old unused files. 1999-09-14 00:48:12 +00:00
colin%theblakes.com 688052a886 Add MOZ_TIMER_LIBS to EXTRA_DSO_LDOPTS 1999-09-12 12:43:19 +00:00
briano%netscape.com 46e7b6ea1d General cleanup. 1999-09-11 02:35:09 +00:00
briano%netscape.com 7603ba96d1 General cleanup. 1999-09-11 00:59:11 +00:00
kipp%netscape.com f1b08aa8e9 Manually eliminate a warning for now until vidur fixes the tool 1999-09-10 18:56:17 +00:00
kipp%netscape.com 67cd871d1d Updated to use property object to find implementor of nsIPrompt...(bug 5418 sort of) 1999-09-10 18:55:06 +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
sfraser%netscape.com a910975296 Remove the base DLL 1999-09-10 00:52:24 +00:00
warren%netscape.com e6619b2ad6 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
Jerry.Kirk%Nexwarecorp.com 43561d1ace nsJSCSS2Properties.cpp has problems compiling under Neutrino gcc 2.8.1
with the optimize flag turned on so this makes sure its turned off for
the "nto" target   sorry for this hack...
1999-09-09 20:58:40 +00:00
kipp%netscape.com 3de772cbbb Get string malloc/free out of event pathway 1999-09-09 20:51:10 +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
colin%theblakes.com 524f7f0188 Back out last change 1999-09-09 14:30:25 +00:00
colin%theblakes.com 00b16de7cd Define MOZ_TIMER_LIBS in EXTRA_DSO_LDOPTS 1999-09-09 12:56:30 +00:00
vidur%netscape.com 2c8807b0ae added files: mozilla/dom/src/base/nsJSDOMException.cpp, mozilla/dom/src/base/nsDOMException.cpp 1999-09-08 23:19:48 +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
briano%netscape.com eff1b0f0cc Removed the obsolete non-NECKO leftovers. 1999-09-08 23:12:13 +00:00
shaver%netscape.com d4d1bbf600 JSRuntime svc now controls lifetime 1999-09-07 19:44:15 +00:00
norris%netscape.com 72e3153d3a * Add checks on urls formed from web scripts
* Make nsScriptSecurityManager implement nsXPCSecurityManager
* Fix unix warnings
1999-09-07 02:54:19 +00:00
brendan%mozilla.org 7258eb5ac3 Use NS_GET_IID instead of longer nsCOMTypeInfo template call. 1999-09-06 23:01:40 +00:00
bruce%cybersight.com 67cdca3fac Use nsCRT::free() instead of delete[] on char* data. 1999-09-06 05:21:29 +00:00
davidm%netscape.com 442a20d338 1877 [FEATURE] Javascript window.screen implementation use new routines to get avail* data. 1999-09-05 02:51:25 +00:00
shaver%netscape.com 54ce6cd46f work with service to manage JSRuntimes 1999-09-05 00:43:39 +00:00
danm%netscape.com fe1d16cc98 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
hoa.nguyen%intel.com b2c2899f62 Handle case for embed tag. 1999-09-03 22:07:36 +00:00
bruce%cybersight.com 6018f42da1 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:42:41 +00:00
waterson%netscape.com cdc5abdb40 Persistence, again. 1999-09-03 07:02:25 +00:00
bruce%cybersight.com 6cfd335149 Replace delete[] of char* data with nsCRT::free(). Cleaning up a lot of purify noise. 1999-09-03 06:48:27 +00:00
kipp%netscape.com a99f5ec06a Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +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
sfraser%netscape.com 4203e1faab Removed jsurl.cpp, which is now built in the JSUrl.mcp project. 1999-09-01 22:24:02 +00:00
sfraser%netscape.com 637dbffa53 First Checked In. 1999-09-01 22:06:42 +00:00
sfraser%netscape.com a627556448 First Checked In. 1999-09-01 21:55:16 +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 1824560798 Make it build on linux at least 1999-09-01 00:54:53 +00:00
kipp%netscape.com f705f5d68f Added unix build rules 1999-09-01 00:54:37 +00:00
norris%netscape.com bff57397e0 Add all-powerful system principals. Remove some dead code from the build. 1999-09-01 00:54:35 +00:00
kipp%netscape.com 947dac0fa9 Removed rc field 1999-09-01 00:54:18 +00:00
joki%netscape.com 6397eaf9f8 Adding new flag to the security check calls out of the DOM generated JS files. 1999-08-31 14:23:54 +00:00
danm%netscape.com e2a2f6785a SetInnerWidth/Height check for subshells, like GetInner 1999-08-31 00:18:48 +00:00
hoa.nguyen%intel.com bba0d7a587 Backed out build bustage. 1999-08-30 22:56:11 +00:00
hoa.nguyen%intel.com 3d7a9b94c4 Added case to handle embed tag. 1999-08-30 22:09:53 +00:00
waterson%netscape.com b5d72a52b3 Content model whackage. Remove all code that tried to keep the graph in sync with DOM changes. Regenerate JS from newer idlc compiler. Fix bug 12177. Fix miscellaneous breakage with templates. 1999-08-30 02:45:54 +00:00
norris%netscape.com 9443eb4403 removed files: mozilla/dom/src/base/nsJSSecurityManager.cpp 1999-08-29 22:01:26 +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
beard%netscape.com 8050e5d307 fixing an unused variable warning. 1999-08-28 03:00:59 +00:00
jdunn%netscape.com 5e67071881 each of these modules/apps require that libnechoutil_s.a be linked in
because they access NS_MakeAbsoluteURI and NS_OpenURI.  Ramiro and Andreas
have both looked this over
1999-08-27 20:55:45 +00:00
brendan%mozilla.org 563ea5fbbf Don't ignore Eval error under GetLength; do control error from EvaluateString (and reuse rv!). 1999-08-27 10:17:03 +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
vidur%netscape.com f390af3dbb jsval can now be a parameter or return type. Got rid of unused variable warnings. Fixed secMan leak. 1999-08-27 06:06:24 +00:00
vidur%netscape.com ce576055c6 Implemented navigator.preference() and navigator.taintEnabled(). 1999-08-27 06:05:42 +00:00
vidur%netscape.com 5754ef98a1 removed files: mozilla/dom/src/html/nsJSHTMLBlockquoteElement.cpp 1999-08-27 06:05:23 +00:00
blizzard%redhat.com e0eda14747 remove -ljsurl from the link line. a=leaf 1999-08-27 01:27:58 +00:00
rpotts%netscape.com 3ed5c99db2 M9 BRANCH landing... 1999-08-26 22:45:55 +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
mccabe%netscape.com 3d4917b628 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
ramiro%netscape.com 1d23cab69b Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05: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
ramiro%netscape.com 16bbd09726 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
pollmann%netscape.com 5cf7c7ff36 Bug 3285: Update impl files to add item method to proprietary interface. 1999-08-21 02:56:43 +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
jdunn%netscape.com 52e551ef2f HP requires a newline at the end of the file 1999-08-20 22:43:24 +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 f73c4f67c5 Regenerated with updated idlc compiler. 1999-08-18 04:26:12 +00:00
waterson%netscape.com f8108e0596 Re-added to support tree selection. Not yet in the build. 1999-08-18 03:21:26 +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
radha%netscape.com 36c4afadc4 Fix for 11577. No need to go thro' session history to obtain the current
document's url. Verified in windows and linux. Code review =vidur
approved=scc
1999-08-15 00:20:58 +00:00
warren%netscape.com 8439e8f8ec Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
danm%netscape.com 1d4d71b2ca Landing modal dialogs from JS. More like a feature than stabilization. Apologies. approved: chofmann,don 1999-08-12 22:08:17 +00:00
brendan%mozilla.org 17411df5fe Regenerate to eliminate degenerate unsigned comparisons and dead code. 1999-08-10 07:30:11 +00:00
brendan%mozilla.org 560f68159f - Avoid generating "if (argc >= 0)" dead code and incurring warnings on some
platforms.  Those warnings were degrading slamm's tinderbox warning page's
  S/N ratio.
- Use const char arrays initialized by string constants, rather than const
  pointers to unnamed arrays created by string constants.
- Chop out some extra leading newlines that sometimes tripled up when emitted
  after a double trailing newline.
1999-08-10 06:59:03 +00:00
danm%netscape.com 66b83212db allow close from JS to close non-JS windows. bug 9703. 1999-08-09 22:28:09 +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 66c02e9c81 Added nsJSHTMLEmbedElement.cpp. 1999-08-07 22:37:17 +00:00
hoa.nguyen%intel.com 120e53c373 Add nsJSHTMLEmbedElement.cpp. 1999-08-07 22:35:55 +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
beard%netscape.com 8f33793c75 removed unnecessary tests of unsigned indices against >= 0 (a tautology, unsigned values are always >= 0). 1999-08-07 20:49:45 +00:00
danm%netscape.com f221b4e5c7 corrected chrome behaviour in window.open. removed warnings in nsWebShellWindow. 1999-08-07 02:51:03 +00:00
tague%netscape.com 8b93a166be Fix build bustage 1999-08-06 03:54:54 +00:00
tague%netscape.com 01517d6781 Missed adding a generated file. 1999-08-06 03:45:59 +00:00
tague%netscape.com 7080841878 Added replies from DOM text events 1999-08-06 02:40:45 +00:00
tague%netscape.com c2184740ba Added replies from DOM private text events 1999-08-06 02:39:48 +00:00
tague%netscape.com 6518c2f859 Added support for replies from DOM private text events. 1999-08-06 02:31:13 +00:00
joki%netscape.com 0d23edf4ac Adding new Location interface into QueryInterface method. 1999-08-05 22:18:28 +00:00
briano%netscape.com d167ca42ed Deleted all the trailing ^M (carriage return) characters from every single line, to fix the non-gcc Unix builds (almost _all_ of the port builds broke because of this collection of Windoze droppings). 1999-08-05 00:15:42 +00:00
hoa.nguyen%intel.com daab979848 Build bustage. 1999-08-04 22:10:54 +00:00
hoa.nguyen%intel.com 3b2bc0b413 Added nsJSHTMLEmbedElement.cpp. 1999-08-04 21:33:30 +00:00
hoa.nguyen%intel.com 1aedc68df0 DOM Element for JavaScript access of embed tags. 1999-08-04 21:31:34 +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
briano%netscape.com f1ffca414c Cleaned it up and got rid of the redundant HP-specific SHARED_LIBRARY_LIBS stuff. 1999-08-03 21:40:56 +00:00
dp%netscape.com 64b7893600 Fixed extra release of IOService happening for ifdef NECKO. 1999-08-03 19:00:51 +00:00
jfrancis%netscape.com bea858790e workaround for mac console code wierdness w.r.t. newlines and carraige returns 1999-08-03 12:43:06 +00:00
arielb%netscape.com 89e7fef930 add a principal manager to caps api. everything is now xpidled so
i removed the public directory from the module.
1999-08-01 21:26:02 +00:00
valeski%netscape.com e8728c2ed4 cyeh approved - stability repairs 1999-07-29 21:16:27 +00:00
mscott%netscape.com 0c4eca82a6 fix build breakage..include config.mak 1999-07-29 03:46:59 +00:00
mscott%netscape.com 0b58d22b18 fix build breakage....include config.mak 1999-07-29 03:42:19 +00:00
nisheeth%netscape.com 4bcb36a368 Fixing bug 6886. window.outerWidth and window.outerHeight for (i)frames now return the dimensions of the browser window. This is the way 4.x handles these properties. 1999-07-28 07:03:29 +00:00
joki%netscape.com f6d802c7e4 fixing window.open flags so as not to default to all chrome on incorrectly. 1999-07-28 03:05:35 +00:00
briano%netscape.com d99daeea9b Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
danm%netscape.com 9ff13525b3 straighten out OS chrome flags and synchronize in Windows source 1999-07-27 22:42:34 +00:00
joki%netscape.com f5579a4cec Stop calling JS_ClearScope (and related methods) when leaving about:blank page. 1999-07-27 20:51:39 +00:00
waterson%netscape.com f6b84db71a Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism. 1999-07-27 17:20:28 +00:00
danm%netscape.com 743f1947e6 hooking up window OS border control from JS/C++ 1999-07-27 06:34:24 +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
arielb%netscape.com 561d1d2996 removed some enums and migrated them into nsPrivilege, nsIPrivilege and
nsPrivilegemanager. cleaning up some old code from the security module
and refining their api's and such like.
1999-07-27 00:50:59 +00:00
joki%netscape.com deb676cd44 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +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
arielb%netscape.com 76ffc06aa5 Fix to the caps security module. I removed the nsPrincipal struct, from now
on you can access principals by their xpcomed interface nsIPrincipal.
1999-07-24 03:58:23 +00:00
gordon%netscape.com c24e52e3bf Added nsJSProtocolHandler.h 1999-07-23 05:26:03 +00:00
gordon%netscape.com 4957603d36 If XP_MAC and NECKO are defined, we include nsJSProtocolHandler.cpp instead of using the rest of this file. This is to work around the fact we can't conditionally link against files without creating addition targets in the project. Once NECKO has landed, I'll change the project file and jsurl.cpp will go away. 1999-07-23 05:23:00 +00:00
briano%netscape.com 069e3808f5 Cleanup, in the vain hope that this might clear up the freaky Sol/x86 .L_T7158 undefined symbol problem. 1999-07-23 00:22:57 +00:00
briano%netscape.com ae0fedcc08 Cleaned it up in the vague hope that this might help Solaris/x86 builds overcome their mysterious relocation problem. 1999-07-22 23:58:51 +00:00
danm%netscape.com 2e39eab67d removing IsMenuBarVisible -- it was a mistake, and unused 1999-07-22 23:41:50 +00:00
waterson%netscape.com fc9d558a71 Fix missing cast in XPC case. 1999-07-22 21:57:29 +00:00
gagan%netscape.com e546a70149 Necko only changes for the setting relative path. 1999-07-22 21:17:11 +00:00
nisheeth%netscape.com 8f9d2d255e Fix for bug 6886. The innerwidth/innerheight and outerwidth/outerheight properties on a window object now return correct values for (i)frames. Earlier, they were returning the values of the window even when queried on an (i)frame. 1999-07-22 07:07:50 +00:00
danm%netscape.com 6c4769c9d9 make window.open windows visible 1999-07-21 06:37:58 +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 09874c3529 Hand-edit to make one parameter to ContainsNode an address -- apparently there's a bug in idlc 1999-07-21 00:10:11 +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
ramiro%netscape.com fecd737d22 Landing timer move on windows. 1999-07-17 15:52:01 +00:00
ramiro%netscape.com 342b5083f1 Landing timer move on unix. 1999-07-17 14:22:51 +00:00
ramiro%netscape.com 3ac418f15b Fixing mismatched deallocator errors. 1999-07-17 13:08:45 +00:00
slamm%netscape.com 27b8289eff Fix build warnings. 1999-07-16 20:06:37 +00:00
hyatt%netscape.com 03c957ce4a Added support for window.title (setting and getting). 1999-07-16 01:14:59 +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
warren%netscape.com b380dd36ab Changed back to a warning since I now know this is non-critical for necko. 1999-07-14 20:50:02 +00:00
andreas.otte%primus-online.de d4fa1117ce NECKO only: fix build bustage when doing a clobber build 1999-07-14 20:47:55 +00:00
mcafee%netscape.com 95f9f9879a Fixing Linux bustage, NECKO build only. 1999-07-13 07:33:19 +00:00
warren%netscape.com b8a5a07e9a Added start of javascript: protocol handler for necko. 1999-07-12 23:46:40 +00:00
brendan%mozilla.org 47a6b135a3 Support Unicode strings in setTimeout/setInterval exprs (8155, vidur). 1999-07-12 23:40:01 +00:00
andreas.otte%primus-online.de b6031c6f4b NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
warren%netscape.com c8bfc4ccbb Changed warning to assertion because this is the next thing we need to fix. 1999-07-10 11:08:09 +00:00
vidur%netscape.com d63a6a94db A window can now be closed from a timeout. A reference to the script context is temporarily held until the timeout completes. Approved by chofmann, reviewed by nisheeth. 1999-07-08 23:02:07 +00:00
hyatt%netscape.com f23159f787 Fix for the disappearing menu bar problem. 1999-07-08 02:04:32 +00:00
warren%netscape.com 9aa858c196 Fixed ToString for necko. 1999-07-07 10:05:59 +00:00
mcafee%netscape.com bb5b89931b Fixing linux bustage 1999-07-07 08:04:11 +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
danm%netscape.com da514d089c delay showing intrinsically sized windows 1999-07-07 00:29:05 +00:00
slamm%netscape.com e0b06a2b32 Remove unused variable, rBool, and its compiler warnings 1999-07-06 23:42:00 +00:00
slamm%netscape.com cd4a9550c5 Remove unused variable (and compiler warning) 1999-07-06 23:38:33 +00:00
danm%netscape.com 4efbe0fc12 don't resize or move while 'opening' an extant window 1999-07-06 23:13:10 +00:00
andreas.otte%primus-online.de d968fa955b NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
sspitzer%netscape.com 3649abeee9 fix warning 1999-07-06 22:40:54 +00:00
sspitzer%netscape.com 2cb3f72b7e add debugging printf 1999-07-06 22:40:20 +00:00
hyatt%netscape.com a5b81247f8 Making sure dialogs really look like dialogs. 1999-07-05 19:38:43 +00:00
hyatt%netscape.com 2af7a6b407 Checking in support for intrinsic sizing of chrome. 1999-07-04 04:09:54 +00:00
vidur%netscape.com df69e69ae1 fixed prototype/method return type mismatch. Thanks to Glen Nakamura for the patch. 1999-07-02 22:49:29 +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
joki%netscape.com 5c985ef2fe New focus stuff for getting focus to the content area of the apprunner window. 1999-07-02 19:43:26 +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
dveditz%netscape.com ac92b86ba4 makeile cleanups 1999-07-02 13:38:47 +00:00
ramiro%netscape.com b86c78a296 Separate the widget and gfx toolkits into two variables.
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.
1999-07-02 13:06:48 +00:00
dveditz%netscape.com 5dd9cff22d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
warren%netscape.com 59400b94ed necko changes 1999-07-01 19:38:49 +00:00
joki%netscape.com cc8b77b488 Backing out js security changes. 1999-07-01 13:03:35 +00:00
joki%netscape.com 92f61aa84f chaning module name again. 1999-07-01 12:37:43 +00:00
joki%netscape.com f389cb4137 hacking in temp fix for mac build. 1999-07-01 12:31:59 +00:00
joki%netscape.com 91b96a0a01 Fixing module name. 1999-07-01 11:46:08 +00:00
joki%netscape.com 1b9878c11a Typo in makefile. 1999-07-01 10:57:48 +00:00
joki%netscape.com 5056a89212 New JavaScript/DOM security stuff. 1999-07-01 10:38:26 +00:00
sspitzer%netscape.com 16f8402e7f fix warning. remove unused variable 1999-07-01 07:49:09 +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
valeski%netscape.com 1b1b6d308c NECKO build fix. added proper args to nsIWebShell::Reload(). 1999-06-28 12:31:56 +00:00
warren%netscape.com f5e1196f42 Last of the necko ifdefs. Now we link with necko. 1999-06-28 10:35:57 +00:00
mcafee%netscape.com d4976b85d5 BeOS changes 1999-06-27 09:34:52 +00:00
mcafee%netscape.com 91a575038a BeOS changes 1999-06-27 09:28:16 +00:00
danm%netscape.com 18e69811ef added 'content' property to JS window 1999-06-26 21:48:29 +00:00
warren%netscape.com 5e8dccf3fe More necko changes. Changed nsIPluginTagInfo2::GetDocumentBase to copy string. 1999-06-23 19:55:21 +00:00
warren%netscape.com 8b8c036b1d Necko changes. 1999-06-23 06:12:02 +00:00
warren%netscape.com 23864df5e3 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
davidm%netscape.com 8c991ad866 Bring window to the front before giving it focus 1999-06-22 03:11:15 +00:00
sfraser%netscape.com c2bfec60d3 Preliminary fix for 8555; JS contexts not properly cleaned up on window close. 1999-06-19 22:18:52 +00:00