waterson%netscape.com
833fe7f7f8
Fix event listener leak in idlc-generated code. r=joki
1999-11-18 20:39:58 +00:00
waterson%netscape.com
c38842c56b
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
59ef7fadbf
Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
1999-11-18 07:36:41 +00:00
tbogard%aol.net
ceb3dd7a02
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
e69a8417da
fix for #19117 , crash. add check before dereferencing null.
1999-11-17 23:05:29 +00:00
warren%netscape.com
34ecf73507
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
1999-11-17 08:14:52 +00:00
tbogard%aol.net
81036c2c73
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
81513dba8a
errr, Unix compilers don't understand the right value nsCOMPtr thing... Fixed.
1999-11-17 01:54:04 +00:00
tbogard%aol.net
50ecb4c11b
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
d34feb8eb0
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
3caae87616
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
e871be6de2
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
5b4b0169aa
* 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
caf7e19ede
Fix stupid logic bug (13163, r=sfraser@netscape.com).
1999-11-16 01:15:05 +00:00
saari%netscape.com
1cfbe7d9a6
Landing focus changes. R: joki
1999-11-13 05:16:33 +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
f322a94e4d
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
2684b62f9c
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
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
joki%netscape.com
0aa1e7650e
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
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
0ac3221281
Fixing dom event key set errors. bug 17887, a:chofmann
1999-11-03 20:53:13 +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
3e6360bc14
added files: mozilla/dom/src/events/nsJSKeyEvent.cpp
1999-11-03 07:12:13 +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
warren%netscape.com
d3b9c9c3cc
Structural changes for MakeAbsolute performance. bug#10736 r=valeski
1999-11-03 05:13:44 +00:00
cls%seawood.org
bee74e223b
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
brendan%mozilla.org
8de8c07a8f
Gross workaround for VC5 bug.
1999-10-31 03:04:02 +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
dougt%netscape.com
ace72de20f
adding license.
1999-10-29 01:10:00 +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
warren%netscape.com
f50d3df7c0
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
16746df73e
Fix 11963 Need security controls on javascript: urls
...
r=mstoltz@netscape.com
1999-10-25 22:23:25 +00:00
dp%netscape.com
c2b8308891
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
a48119b77a
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
bc2cea9398
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
5c5ce76bfd
Work on 1646 [DOGFOOD] javascript: URLs aren't working
...
r=mstoltz
1999-10-20 00:12:04 +00:00
danm%netscape.com
a448bf8e64
synching with nsWebShellWindow 1.219 (nsIModalWindowSupport removed). r:hyatt@netscape.com
1999-10-18 15:06:38 +00:00
norris%netscape.com
22eea127aa
Fix 16166 setTimeout() security problem
...
r=mstoltz
1999-10-15 21:52:37 +00:00
pepper%netscape.com
f36cb40cc5
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
b2a4325241
Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++)
1999-10-14 10:58:25 +00:00
dougt%netscape.com
64aa8f7753
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
46114d99cf
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
25cec9ae57
First Checked In.
1999-10-13 07:14:12 +00:00
waterson%netscape.com
bdfcaec321
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
ff01d5e8f4
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
8c71c45537
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
1999-10-08 01:49:06 +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
norris%netscape.com
93538eafc8
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
0e75a67fe1
Added document.width/document.height to nsIDOMNSDocument. Bug 961. R: troy
1999-10-06 20:33:58 +00:00
warren%netscape.com
8603974025
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
9eae33066d
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
fd169cb193
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
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
sfraser%netscape.com
50971ff0c1
Bug 14877 -- lib/xp removal; removed unneeded files. r sdagley, a chofmann.
1999-09-26 00:41:31 +00:00
kipp%netscape.com
5a484d9125
Removed NECKO ifdefs
1999-09-25 20:04:12 +00:00
mscott%netscape.com
c2cda1cb06
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
2d11e55f3c
remove references to cmd/macfe in the access paths.
1999-09-24 05:56:50 +00:00
vidur%netscape.com
395670b5ed
global object no longer has an unused constructor.
1999-09-23 23:52:09 +00:00
vidur%netscape.com
019876d613
Fixed setTimeout bustage with the introduction of nsIScriptContext::CallFunction
1999-09-23 23:51:38 +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
5099c9e9a9
Corrected prototype for History::Go()
1999-09-21 05:12:46 +00:00
vidur%netscape.com
72600c0c5a
Corrected signature of History::Go()
1999-09-21 05:11:55 +00:00
kipp%netscape.com
6669f27710
Eliminate a warning
1999-09-21 02:09:46 +00:00
cmanske%netscape.com
45ee8d45da
Adding CollapseToStart and CollapseToEnd methods to selection
1999-09-21 01:27:59 +00:00
hyatt%netscape.com
b332efdf9e
Chrome event stuff.
1999-09-21 01:05:01 +00:00
vidur%netscape.com
d0b8911644
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
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
norris%netscape.com
ab7d233891
Remove obsolete jsurl.cpp and jsurl.h
1999-09-16 23:04:45 +00:00
norris%netscape.com
fa0f574ad3
removed files: mozilla/dom/src/jsurl/jsurl.cpp
1999-09-16 23:03:45 +00:00
pollmann%netscape.com
0e7916f242
Bug 12350: selected read/write
1999-09-16 20:13:41 +00:00
warren%netscape.com
c16371cf34
Changed signature of NewInputStreamChannel to pass load group.
1999-09-16 09:00:12 +00:00
norris%netscape.com
cea0d14277
Remove use of nsCOMPtr to fix Mac bustage.
1999-09-15 23:27:34 +00:00
norris%netscape.com
9acf604770
Add security support for javascript: uris.
1999-09-15 20:58:41 +00:00
waterson%netscape.com
1ec11e3732
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
0865f1cdaa
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
e8ba593918
Cleanup the neckutil linking thing.
1999-09-15 02:15:11 +00:00
sfraser%netscape.com
158f1044d3
Remove old unused files.
1999-09-14 00:48:12 +00:00
colin%theblakes.com
0b912d4466
Add MOZ_TIMER_LIBS to EXTRA_DSO_LDOPTS
1999-09-12 12:43:19 +00:00
briano%netscape.com
58f4f0bdb7
General cleanup.
1999-09-11 02:35:09 +00:00
briano%netscape.com
1d66d27e7a
General cleanup.
1999-09-11 00:59:11 +00:00
kipp%netscape.com
b450a10c7a
Manually eliminate a warning for now until vidur fixes the tool
1999-09-10 18:56:17 +00:00
kipp%netscape.com
fc22fc06b6
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
87e4a9d3c8
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
7ea22097c2
Remove the base DLL
1999-09-10 00:52:24 +00:00
warren%netscape.com
40ed9d6ad2
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
72379dc89f
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
1fb62ba53f
Get string malloc/free out of event pathway
1999-09-09 20:51:10 +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