warren%netscape.com
d8627fe912
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
...
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +00:00
norris%netscape.com
331cf153db
* 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
git-svn-id: svn://10.0.0.236/trunk@53631 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 05:07:31 +00:00
tbogard%aol.net
67a365111c
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
...
git-svn-id: svn://10.0.0.236/trunk@53553 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 22:17:54 +00:00
rods%netscape.com
8de7b8fef1
Added notification to the select in CreateElemenet to tell it it is complete.
...
r=vidur(sort iof, we talked about this change on friday) bug 18784
git-svn-id: svn://10.0.0.236/trunk@53439 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 00:34:15 +00:00
vidur%netscape.com
8244e5ee1a
Fix for bug 18040. Removed spurious UMR. Added macro for turning off incremental notification. R=buster, pollmann.
...
git-svn-id: svn://10.0.0.236/trunk@53299 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 02:07:54 +00:00
vidur%netscape.com
b4112523b1
Fix for bug 18186. document.lastModified now returns the correct value for FileChannels as well. R=pollmann.
...
git-svn-id: svn://10.0.0.236/trunk@53298 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 02:06:54 +00:00
rods%netscape.com
f999911691
notifies the select content when all the children content is there
...
r=vidur, bug 17965
git-svn-id: svn://10.0.0.236/trunk@53259 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:15:02 +00:00
jdunn%netscape.com
68a5a4a034
removing ';' from the end of the macros, since the macro in nsTimer.h
...
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
git-svn-id: svn://10.0.0.236/trunk@53239 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 21:35:34 +00:00
nisheeth%netscape.com
2bfa653735
a=sdagley. Move over to new timing macros...
...
git-svn-id: svn://10.0.0.236/trunk@53064 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 03:41:09 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
norris%netscape.com
2323d5792a
Fix
...
10194 Possible security vulnerability in "chrome:" protocol - acce
14979 "chrome" protocol allows accessing arbitrary files on the lo
r=vidur
git-svn-id: svn://10.0.0.236/trunk@52615 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:44:27 +00:00
cls%seawood.org
3e1a9ca95a
Removed unused NECKO ifdefs.
...
a=leaf
git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
warren%netscape.com
1d1448afe5
Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre
...
git-svn-id: svn://10.0.0.236/trunk@52529 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 06:49:44 +00:00
brendan%mozilla.org
f980be0221
(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.
git-svn-id: svn://10.0.0.236/trunk@52347 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-31 00:43:30 +00:00
vidur%netscape.com
a595e9b30a
Fix for double frame creation for scripts that document.write content that causes sink context creation. Fix that allows the last children of a body to be flushed. R=harishd
...
git-svn-id: svn://10.0.0.236/trunk@52232 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 19:07:24 +00:00
vidur%netscape.com
48577bac14
Update mNumFlushed counts when we do a synchronous notification (in scripts, for example). This is so that a call to FlushTags while we're executing a script sees the context stack in an updated state. Fixes bug 14042. R=joki.
...
git-svn-id: svn://10.0.0.236/trunk@51971 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 14:03:15 +00:00
norris%netscape.com
0949cbb8b9
Fix 16836 "Security error accessing DOM elements inside an IFrame"
...
r=vidur@netscape.com
Also, bug 16536 "Security disallows opening resource URL" no longer occurs after this fix.
git-svn-id: svn://10.0.0.236/trunk@51893 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 22:45:32 +00:00
vidur%netscape.com
1291c59ad4
Replaced delete operator calls with Recycle(). R=joki
...
git-svn-id: svn://10.0.0.236/trunk@51849 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 14:56:41 +00:00
vidur%netscape.com
252d9255a6
Switched HTML content sink to be more incremental in content creation. Fixes bugs 11141, 854, et. al. R=kipp
...
git-svn-id: svn://10.0.0.236/trunk@51848 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 14:55:51 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
nisheeth%netscape.com
b7fab4e31c
Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
...
git-svn-id: svn://10.0.0.236/trunk@51196 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:27:20 +00:00
nisheeth%netscape.com
d65bc1efa0
We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers.
...
git-svn-id: svn://10.0.0.236/trunk@50372 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:42:56 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
harishd%netscape.com
b84b2685ff
Mapping nsDTDMode to eParseMode (in mozilla/htmlparser/src/nsIDTD.h)
...
R=pollmann
git-svn-id: svn://10.0.0.236/trunk@50067 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:35:16 +00:00
norris%netscape.com
cedec739aa
Fix another portion of 13192 Mozilla is "oversecured" and does not allow access to documents in the same domain
...
Reviewed by vidur.
git-svn-id: svn://10.0.0.236/trunk@50021 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 21:13:37 +00:00
kipp%netscape.com
59997b00eb
r=vidur; fixed a memory of a script content object
...
git-svn-id: svn://10.0.0.236/trunk@49755 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 00:05:38 +00:00
norris%netscape.com
c3494a9ffb
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.
git-svn-id: svn://10.0.0.236/trunk@49647 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 03:41:37 +00:00
beard%netscape.com
f624d901aa
fixed non-debug breakage. r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@49520 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 01:11:40 +00:00
vidur%netscape.com
529603023b
Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG.
...
git-svn-id: svn://10.0.0.236/trunk@49502 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:07:04 +00:00
kipp%netscape.com
aa5496085d
Removed atom table hacks
...
git-svn-id: svn://10.0.0.236/trunk@49466 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:17:28 +00:00
warren%netscape.com
857e46c783
Fixed uninitialized variables
...
git-svn-id: svn://10.0.0.236/trunk@49095 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 10:07:16 +00:00
ftang%netscape.com
f76321309a
fix bug 14802. reviewed by harishd.
...
git-svn-id: svn://10.0.0.236/trunk@49009 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 21:50:49 +00:00
nisheeth%netscape.com
351d8f1643
Use NSPR logging rather than printf's for stopwatch output.
...
git-svn-id: svn://10.0.0.236/trunk@48975 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
b6b8bf59c1
Move the message that announces that time is being measured for layout processes from the content sink to the webshell.
...
git-svn-id: svn://10.0.0.236/trunk@48973 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 07:19:44 +00:00
ftang%netscape.com
10bfc149b3
fix crash when the pref callback get call. Part of bug 14219
...
git-svn-id: svn://10.0.0.236/trunk@48888 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 02:10:15 +00:00
ftang%netscape.com
7c68543645
add pref callback for charset detectors
...
git-svn-id: svn://10.0.0.236/trunk@48856 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 08:49:28 +00:00
joki%netscape.com
62ad116aae
Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_*
...
git-svn-id: svn://10.0.0.236/trunk@48572 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:18:52 +00:00
rpotts%netscape.com
2ea714e45c
The document LoadGroup is now a nsWeakPtr...
...
git-svn-id: svn://10.0.0.236/trunk@48532 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 06:44:56 +00:00
nisheeth%netscape.com
04e852e516
Add prefix string to content creation timer output.
...
git-svn-id: svn://10.0.0.236/trunk@48525 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 06:24:58 +00:00
pollmann%netscape.com
0b4308ad81
Bug 14223: Typo, I'm sure.
...
git-svn-id: svn://10.0.0.236/trunk@48443 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:18:49 +00:00
nisheeth%netscape.com
41854a8edd
Stop the content creation stopwatch before it is printed.
...
git-svn-id: svn://10.0.0.236/trunk@48328 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 06:48:33 +00:00
rpotts%netscape.com
5fd55c1f5c
Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs.
...
git-svn-id: svn://10.0.0.236/trunk@48176 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 06:20:49 +00:00
vidur%netscape.com
ce8c1d0658
Implemented nsIDOMHTMLDocument::GetReferrer. The referrer is obtained from the request header of the document channel
...
git-svn-id: svn://10.0.0.236/trunk@47940 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 06:56:39 +00:00
kipp%netscape.com
020018865f
Don't evaluate script tags inside an IFRAME tag since we support IFRAME's (partial fix for bug #5847 )
...
git-svn-id: svn://10.0.0.236/trunk@47863 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 23:30:51 +00:00
vidur%netscape.com
d18ef52707
Memory leak fix and #ifdef NECKO removals from shaver. Thanks to bruce@cybersight.com for the MLK identification.
...
git-svn-id: svn://10.0.0.236/trunk@47686 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 00:10:54 +00:00
harishd%netscape.com
ba9cc1acb4
Added support for setting DOCTYPE and DTD mode.
...
git-svn-id: svn://10.0.0.236/trunk@47597 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 17:57:16 +00:00
nisheeth%netscape.com
23059be727
The stopwatch macros got converted to macros that accept an argument. Changed all macro calls in the content sink to play with that change.
...
git-svn-id: svn://10.0.0.236/trunk@47483 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:39:41 +00:00
briano%netscape.com
562e42b131
Fixed the stopwatch macro definitions and usage that was breaking some of the Unix native compiler builds.
...
git-svn-id: svn://10.0.0.236/trunk@47413 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 22:10:13 +00:00
nisheeth%netscape.com
960dd35b33
Added start/stop calls for the stopwatch in the nsIContentSink and nsIHTMLContentSink method implementations. Added printing of content creation time in DidBuildModel().
...
git-svn-id: svn://10.0.0.236/trunk@47360 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:24:42 +00:00
bienvenu%netscape.com
825460b285
fix release mode build bustage
...
git-svn-id: svn://10.0.0.236/trunk@47351 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 16:25:59 +00:00