Commit Graph

952 Commits

Author SHA1 Message Date
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
colin%theblakes.com
b89380dd5e Back out last change 1999-09-09 14:30:25 +00:00
colin%theblakes.com
530d75050c Define MOZ_TIMER_LIBS in EXTRA_DSO_LDOPTS 1999-09-09 12:56:30 +00:00
vidur%netscape.com
93b36c3ebe 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
cb561f35bc Added JS exceptions to DOM glue. Added implementation for nsIDOMDOMException. Added nsIScriptContextOwner::ReportScriptError. 1999-09-08 23:14:30 +00:00
briano%netscape.com
817ba95486 Removed the obsolete non-NECKO leftovers. 1999-09-08 23:12:13 +00:00
shaver%netscape.com
46973057fb JSRuntime svc now controls lifetime 1999-09-07 19:44:15 +00:00
norris%netscape.com
2d8e12375f * 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
345de56bbf Use NS_GET_IID instead of longer nsCOMTypeInfo template call. 1999-09-06 23:01:40 +00:00
bruce%cybersight.com
af8245b6b1 Use nsCRT::free() instead of delete[] on char* data. 1999-09-06 05:21:29 +00:00
davidm%netscape.com
f6a1ee8672 1877 [FEATURE] Javascript window.screen implementation use new routines to get avail* data. 1999-09-05 02:51:25 +00:00
shaver%netscape.com
97cca12af5 work with service to manage JSRuntimes 1999-09-05 00:43:39 +00:00
danm%netscape.com
e68f60f671 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
hoa.nguyen%intel.com
31b3911ffb Handle case for embed tag. 1999-09-03 22:07:36 +00:00
bruce%cybersight.com
443ae40b6e Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:42:41 +00:00
waterson%netscape.com
2239643aca Persistence, again. 1999-09-03 07:02:25 +00:00
bruce%cybersight.com
ff96bfbc48 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
78bace2449 Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
law%netscape.com
5d33b80fa7 Add forward decls to resolve references in generated .h files 1999-09-02 01:07:55 +00:00
vidur%netscape.com
f26d4e7dd9 Removed as per DOM Level 1 errata 1999-09-02 00:31:55 +00:00
sfraser%netscape.com
0e39384d26 Removed jsurl.cpp, which is now built in the JSUrl.mcp project. 1999-09-01 22:24:02 +00:00
sfraser%netscape.com
b0ad2c93b8 First Checked In. 1999-09-01 22:06:42 +00:00
sfraser%netscape.com
a03a71ee7d First Checked In. 1999-09-01 21:55:16 +00:00
kipp%netscape.com
dfa012228f new 1999-09-01 01:14:01 +00:00
cyeh%netscape.com
34cd2ddae1 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
kipp%netscape.com
654d4c6bf8 Get copy to directory name right (ick) 1999-09-01 00:59:02 +00:00
kipp%netscape.com
cd62d0233c updated from idlc 1999-09-01 00:57:28 +00:00
kipp%netscape.com
4d22c4992e obsolete 1999-09-01 00:57:01 +00:00
kipp%netscape.com
7b70f78268 Make it build on linux at least 1999-09-01 00:54:53 +00:00
kipp%netscape.com
1f30988da7 Added unix build rules 1999-09-01 00:54:37 +00:00
norris%netscape.com
ec9d253f50 Add all-powerful system principals. Remove some dead code from the build. 1999-09-01 00:54:35 +00:00
kipp%netscape.com
005b61f4ca Removed rc field 1999-09-01 00:54:18 +00:00
joki%netscape.com
155255be20 Adding new flag to the security check calls out of the DOM generated JS files. 1999-08-31 14:23:55 +00:00
danm%netscape.com
9021156fad SetInnerWidth/Height check for subshells, like GetInner 1999-08-31 00:18:48 +00:00
hoa.nguyen%intel.com
d011cbc1eb Backed out build bustage. 1999-08-30 22:56:11 +00:00
hoa.nguyen%intel.com
f7eb095b42 Added case to handle embed tag. 1999-08-30 22:09:53 +00:00
waterson%netscape.com
6e2ab0076d 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
b0466c1290 removed files: mozilla/dom/src/base/nsJSSecurityManager.cpp 1999-08-29 22:01:26 +00:00
norris%netscape.com
d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
beard%netscape.com
25d38750c6 fixing an unused variable warning. 1999-08-28 03:00:59 +00:00
jdunn%netscape.com
54560aa3f9 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
139654cb38 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
e1502c33a7 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
379ded57ab 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
052759e560 Implemented navigator.preference() and navigator.taintEnabled(). 1999-08-27 06:05:42 +00:00
vidur%netscape.com
b14fc24415 removed files: mozilla/dom/src/html/nsJSHTMLBlockquoteElement.cpp 1999-08-27 06:05:23 +00:00
blizzard%redhat.com
4a51fac7b4 remove -ljsurl from the link line. a=leaf 1999-08-27 01:27:58 +00:00
rpotts%netscape.com
0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
hyatt%netscape.com
49d00452b7 Changing focus tracker to be the command dispatcher. 1999-08-25 01:49:24 +00:00
nisheeth%netscape.com
5b03148478 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
a900e17559 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
56b62f3790 Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
hyatt%netscape.com
576659f909 More selection work. 1999-08-22 06:53:01 +00:00
hyatt%netscape.com
46340eebe5 Checking in the selection implementation (with more functions added). 1999-08-22 06:31:00 +00:00
hyatt%netscape.com
850b37e110 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
0c1ba81710 Adding more to the tree's idl. 1999-08-21 20:23:56 +00:00
hyatt%netscape.com
7e7ed03bb4 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
2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
pollmann%netscape.com
b9e4b494f1 Bug 3285: Update impl files to add item method to proprietary interface. 1999-08-21 02:56:43 +00:00
pollmann%netscape.com
1507cec248 Bug 3285: Update header files to add item method to proprietary interface. 1999-08-21 02:56:03 +00:00
pollmann%netscape.com
73076dece0 Bug 3285: Update idl files to add item method to proprietary interface. 1999-08-21 02:55:06 +00:00
jdunn%netscape.com
ea25734271 HP requires a newline at the end of the file 1999-08-20 22:43:24 +00:00
arielb%netscape.com
1b252b2e3b 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
687d50d4e3 Add attribute "autocomplete" 1999-08-19 22:10:52 +00:00
vidur%netscape.com
43c7cb9748 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
d1206fe5a3 add drag gesture event. 1999-08-19 19:48:58 +00:00
waterson%netscape.com
ee21d249eb Regenerated with updated idlc compiler. 1999-08-18 04:26:12 +00:00
waterson%netscape.com
8c885f534e Re-added to support tree selection. Not yet in the build. 1999-08-18 03:21:26 +00:00
waterson%netscape.com
dbd526ddac Re-add nsIDOMXULTreeElement.h to the build, pending selection API work. 1999-08-18 02:15:29 +00:00
waterson%netscape.com
9c6ce2ffe8 Re-add XULTreeElement for selection tracking API. 1999-08-18 02:12:53 +00:00
radha%netscape.com
3b90e2a4a8 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
d944d70a84 Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
danm%netscape.com
3da241e524 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
6ae312488c Regenerate to eliminate degenerate unsigned comparisons and dead code. 1999-08-10 07:30:12 +00:00
brendan%mozilla.org
6ae1ed6087 - 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
ed2017307f allow close from JS to close non-JS windows. bug 9703. 1999-08-09 22:28:09 +00:00
vidur%netscape.com
ff5ce3e079 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
e6f812551a changed name of NS_CreateContext to NS_CreateScriptContext 1999-08-09 19:14:49 +00:00
joki%netscape.com
11585608e8 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
c39a58435a Added nsJSHTMLEmbedElement.cpp. 1999-08-07 22:37:17 +00:00
hoa.nguyen%intel.com
1347ab70bf Add nsJSHTMLEmbedElement.cpp. 1999-08-07 22:35:55 +00:00
hoa.nguyen%intel.com
91b7fb8f81 Added nsIDOMHTMLEmbedElement.h to exports. 1999-08-07 21:54:55 +00:00
hoa.nguyen%intel.com
8e76f3abd7 DOM interface for embed tag. 1999-08-07 21:53:28 +00:00
beard%netscape.com
a81127f0a6 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
36cefdc1d3 corrected chrome behaviour in window.open. removed warnings in nsWebShellWindow. 1999-08-07 02:51:03 +00:00
tague%netscape.com
58fc2e72a5 Fix build bustage 1999-08-06 03:54:54 +00:00
tague%netscape.com
6046987286 Missed adding a generated file. 1999-08-06 03:45:59 +00:00
tague%netscape.com
6706d1630d Added replies from DOM text events 1999-08-06 02:40:45 +00:00
tague%netscape.com
62c9723bdb Added replies from DOM private text events 1999-08-06 02:39:48 +00:00
tague%netscape.com
8991bb9e57 Added support for replies from DOM private text events. 1999-08-06 02:31:13 +00:00
joki%netscape.com
032ddd5d4b Adding new Location interface into QueryInterface method. 1999-08-05 22:18:28 +00:00
briano%netscape.com
20ea8a76ad 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
87b7b8acc8 Build bustage. 1999-08-04 22:10:54 +00:00
hoa.nguyen%intel.com
4ef7778e4c Added nsJSHTMLEmbedElement.cpp. 1999-08-04 21:33:30 +00:00
hoa.nguyen%intel.com
c0df54bbb8 DOM Element for JavaScript access of embed tags. 1999-08-04 21:31:34 +00:00
hoa.nguyen%intel.com
01301957c5 Added HTMLEmbedElement.idl. 1999-08-03 23:52:13 +00:00
hoa.nguyen%intel.com
40dffb7112 DOM element for embed tags. 1999-08-03 23:50:07 +00:00
vidur%netscape.com
5104a33513 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
e2cc541f86 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
18934942bc Fixed extra release of IOService happening for ifdef NECKO. 1999-08-03 19:00:51 +00:00
jfrancis%netscape.com
9e300771a9 workaround for mac console code wierdness w.r.t. newlines and carraige returns 1999-08-03 12:43:06 +00:00
arielb%netscape.com
0d16b83058 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
db0a61eb53 cyeh approved - stability repairs 1999-07-29 21:16:27 +00:00
mscott%netscape.com
32d4038c24 fix build breakage..include config.mak 1999-07-29 03:46:59 +00:00
mscott%netscape.com
e32e4c5878 fix build breakage....include config.mak 1999-07-29 03:42:19 +00:00
nisheeth%netscape.com
c17e1630e8 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
01b3c0c420 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
007ea62765 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
a5bfeab9c4 straighten out OS chrome flags and synchronize in Windows source 1999-07-27 22:42:34 +00:00
joki%netscape.com
6ef64e1f35 Stop calling JS_ClearScope (and related methods) when leaving about:blank page. 1999-07-27 20:51:39 +00:00
waterson%netscape.com
91a8ac09e7 Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism. 1999-07-27 17:20:28 +00:00
danm%netscape.com
25c2d9c6ad hooking up window OS border control from JS/C++ 1999-07-27 06:34:25 +00:00
waterson%netscape.com
b30b439a4c Re-add. Wasn't meant to be deleted yet. 1999-07-27 03:03:25 +00:00
waterson%netscape.com
5b63567221 XULTreeElement.idl 1999-07-27 02:58:39 +00:00
waterson%netscape.com
3e44429c51 Native builder exorcism. Long live templates. 1999-07-27 02:40:40 +00:00
arielb%netscape.com
d00edf950d 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
f1c8421c61 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
e421c746a4 Adding a menu listener to the DOM for XUL menus and popups. 1999-07-26 09:18:00 +00:00
arielb%netscape.com
8dad60d09d 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
07f7e5f6a2 Added nsJSProtocolHandler.h 1999-07-23 05:26:03 +00:00
gordon%netscape.com
892efccd4f 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
1aa9b24b4f 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
2fc1cb5617 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
b4e60f5b6c removing IsMenuBarVisible -- it was a mistake, and unused 1999-07-22 23:41:50 +00:00
waterson%netscape.com
911c81f859 Fix missing cast in XPC case. 1999-07-22 21:57:29 +00:00
gagan%netscape.com
e37d05ffaa Necko only changes for the setting relative path. 1999-07-22 21:17:11 +00:00
nisheeth%netscape.com
280fbabbc4 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
5b90e50be0 make window.open windows visible 1999-07-21 06:37:58 +00:00
mjudge%netscape.com
c6b01f14a4 fixing bad idl on my part. adding method until idlizing can be completed 1999-07-21 01:14:05 +00:00
akkana%netscape.com
b6a67a9c1c Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h 1999-07-21 00:12:23 +00:00
akkana%netscape.com
27f2d89ea5 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
37cbc4d66a 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
d45c51b9af Add new ContainsNode method to nsIDOMSelection 1999-07-20 23:08:22 +00:00
joki%netscape.com
d752334449 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
c0b1525970 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
ba8ba82cc6 Landing timer move on windows. 1999-07-17 15:52:01 +00:00
ramiro%netscape.com
a09ea8b7ca Landing timer move on unix. 1999-07-17 14:22:51 +00:00
ramiro%netscape.com
9bd19ea821 Fixing mismatched deallocator errors. 1999-07-17 13:08:45 +00:00
slamm%netscape.com
e33e65a165 Fix build warnings. 1999-07-16 20:06:37 +00:00
hyatt%netscape.com
472c4051c6 Added support for window.title (setting and getting). 1999-07-16 01:14:59 +00:00
norris%netscape.com
9e63f9ce7e Remove cvs removed file from MANIFEST. 1999-07-15 23:54:21 +00:00
norris%netscape.com
f64740e501 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
21700e5d88 checkin for carpool for multiple seleciton/ime selection and api changes 1999-07-15 18:19:20 +00:00
warren%netscape.com
4c6bea8a70 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
a6747fa713 NECKO only: fix build bustage when doing a clobber build 1999-07-14 20:47:55 +00:00
mcafee%netscape.com
b7fb6b3ce3 Fixing Linux bustage, NECKO build only. 1999-07-13 07:33:19 +00:00
warren%netscape.com
4ef7533a6e Added start of javascript: protocol handler for necko. 1999-07-12 23:46:40 +00:00
brendan%mozilla.org
46037e4fbc Support Unicode strings in setTimeout/setInterval exprs (8155, vidur). 1999-07-12 23:40:01 +00:00
andreas.otte%primus-online.de
838f5a972b NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
warren%netscape.com
5fe24074f1 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
6b9a068304 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
57180ac859 Fix for the disappearing menu bar problem. 1999-07-08 02:04:32 +00:00
warren%netscape.com
dbf21d5d9e Fixed ToString for necko. 1999-07-07 10:05:59 +00:00
mcafee%netscape.com
9fd93518a9 Fixing linux bustage 1999-07-07 08:04:11 +00:00
norris%netscape.com
06317a54b3 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
025f4c708c delay showing intrinsically sized windows 1999-07-07 00:29:05 +00:00
slamm%netscape.com
452b0e1ce7 Remove unused variable, rBool, and its compiler warnings 1999-07-06 23:42:00 +00:00
slamm%netscape.com
19579def51 Remove unused variable (and compiler warning) 1999-07-06 23:38:33 +00:00
danm%netscape.com
89545a8ee9 don't resize or move while 'opening' an extant window 1999-07-06 23:13:10 +00:00
andreas.otte%primus-online.de
001ff1afea NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
sspitzer%netscape.com
ca20b32c35 fix warning 1999-07-06 22:40:54 +00:00
sspitzer%netscape.com
5da2cb9d67 add debugging printf 1999-07-06 22:40:20 +00:00
hyatt%netscape.com
2336371f60 Making sure dialogs really look like dialogs. 1999-07-05 19:38:43 +00:00
hyatt%netscape.com
73b08a974d Checking in support for intrinsic sizing of chrome. 1999-07-04 04:09:54 +00:00
vidur%netscape.com
f84be079ba fixed prototype/method return type mismatch. Thanks to Glen Nakamura for the patch. 1999-07-02 22:49:29 +00:00
tague%netscape.com
0b7a782118 Added TEXTRANGE_CARETPOSITION support for Input Methods to nsIDOMTextRange and nsGUIEvents 1999-07-02 22:21:03 +00:00
joki%netscape.com
f550a8be68 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
85a74becef Add or changed GetIID to use NS_DEFINE_STATIC_IID_ACCESSOR macro 1999-07-02 19:27:36 +00:00
dveditz%netscape.com
9bc612bf52 makeile cleanups 1999-07-02 13:38:47 +00:00
ramiro%netscape.com
f41e67c622 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
17864a291d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
warren%netscape.com
b6a160abc6 necko changes 1999-07-01 19:38:49 +00:00
joki%netscape.com
37a6739ec1 Backing out js security changes. 1999-07-01 13:03:35 +00:00
joki%netscape.com
b77831bb90 chaning module name again. 1999-07-01 12:37:43 +00:00
joki%netscape.com
914987210b hacking in temp fix for mac build. 1999-07-01 12:31:59 +00:00
joki%netscape.com
19148a1d22 Fixing module name. 1999-07-01 11:46:08 +00:00
joki%netscape.com
00cb8b346d Typo in makefile. 1999-07-01 10:57:48 +00:00
joki%netscape.com
ccd5375141 New JavaScript/DOM security stuff. 1999-07-01 10:38:26 +00:00