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

1354 Коммитов

Автор SHA1 Сообщение Дата
norris%netscape.com 209ec05bae Fix
10194 Possible security vulnerability in "chrome:" protocol - acce
14979 "chrome" protocol allows accessing arbitrary files on the lo
r=vidur
1999-11-02 23:44:27 +00:00
pollmann%netscape.com f4891ec6b4 Bug 7554: HTML Labels now pass JS events to form element the label is for
r=harishd
1999-11-02 23:38:17 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
warren%netscape.com 2a827fc8c2 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 1999-11-02 06:49:44 +00:00
kipp%netscape.com c4289ca79d Added address information to the dump content diagnostic code 1999-11-01 15:38:05 +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
beard%netscape.com b7336b7219 MLK: fixed nsICSSDeclaration leak, bug=15380, r=kipp 1999-10-30 20:17:40 +00:00
buster%netscape.com c1b8a96276 added DOM notification up to frame system for text control value changes
part of  bug 14727
r=rods
1999-10-30 16:30:33 +00:00
buster%netscape.com 072fe15daf added pseudo-style for single line text controls. bug 14727 1999-10-30 16:29:32 +00:00
vidur%netscape.com fa9b6af7f8 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 1999-10-29 19:07:24 +00:00
braddr%puremagic.com d92727dc68 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com b49b3dbdce Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com b2ea5b4c45 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
vidur%netscape.com 200fbfdedd 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. 1999-10-27 14:03:15 +00:00
norris%netscape.com b019c6ed88 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.
1999-10-26 22:45:32 +00:00
vidur%netscape.com 6b60c967e8 Replaced delete operator calls with Recycle(). R=joki 1999-10-26 14:56:41 +00:00
vidur%netscape.com 318a3694ea Switched HTML content sink to be more incremental in content creation. Fixes bugs 11141, 854, et. al. R=kipp 1999-10-26 14:55:51 +00:00
troy%netscape.com a47e8db44b Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kmcclusk%netscape.com 55f521c7df First time checked in. Used to provide data during form submission. bug 17060. r=karnaze@netscape.com 1999-10-25 21:59:39 +00:00
rickg%netscape.com cb13f11556 fixed infinite-loop bug 17045 by conditioning control loop. r=buster 1999-10-23 03:06:19 +00:00
nisheeth%netscape.com f485a1ad04 Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS. 1999-10-19 22:27:20 +00:00
pollmann%netscape.com 08340e215a Bug 16725: Enable align attribute for iframe; r=harishd 1999-10-19 19:01:49 +00:00
pierre%netscape.com c070ed6434 Fix #12737 "-moz-fixed should be compat mode only". Overwrites the fixed font family with the normal font family in navQuirks mode only. r=pollmann. 1999-10-19 00:31:45 +00:00
rods%netscape.com 64684fc9a3 Links will now scroll into view when they get focus and anchors now respond
to the .focus call from script. r=kmcclusk, Bug #15198
1999-10-18 21:49:38 +00:00
rods%netscape.com 5c139a65a1 Move code to handle focus event into the correct switch statement
r=kmcclusk, bug 7133
1999-10-18 21:47:31 +00:00
peterl%netscape.com 1634c730fd Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
kipp%netscape.com ad778d6889 r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101 1999-10-15 23:36:07 +00:00
kipp%netscape.com df637716d1 Wiped out another warning 1999-10-15 23:29:21 +00:00
peterl%netscape.com dd4552d22a Changed reported namespace of attributes from HTML to None.
r=vidur
Also added namespace ID to the AttributeChanged method
Part of the fix for Bug 15153
r=troy
1999-10-15 23:15:17 +00:00
buster%netscape.com a43629a285 bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:37:06 +00:00
buster%netscape.com cd84903c09 bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:36:23 +00:00
rods%netscape.com f83fa03f9d Fixed focus processing, this new code is very close to version 1.54 but more robust,
this fixes bug #7133. It has been compiled and tested on Win, Mac, and Linux.
r=buster,dcone
1999-10-15 13:20:32 +00:00
pepper%netscape.com 4655f53a5f Changed friend declaration to make HP compilers happy.
aCC requires a decl of friend class ClassName instead of friend ClassName.
r=peterl@netscape.com,mgleeson@netscape.com
1999-10-14 23:31:07 +00:00
karnaze%netscape.com 17bd205286 cells with width=0 become auto, added comments 1999-10-14 04:01:26 +00:00
peterl%netscape.com e9c78ceb0d moved style rule cascading logic into a stand-alone rule processor
the rule processor can now cascade rules from multiple style sheets
fix for bug 12401 & 12106
r=pierre
1999-10-14 00:59:21 +00:00
peterl%netscape.com f479d5d074 factored out parsing of style attribute
deferred parsing of style attribute until content
is connected to a document
Fix for bug 14986
r=vidur
1999-10-14 00:57:37 +00:00
karnaze%netscape.com a97d9c7bca added comments 1999-10-13 14:36:28 +00:00
peterl%netscape.com 62cd20de05 store system colors as int rather than enums
return proper result code when setting system color
r=rods
1999-10-12 01:31:33 +00:00
peterl%netscape.com e47dff5c24 added 'ignore' keyword
r=hyatt
1999-10-12 00:30:19 +00:00
warren%netscape.com 3ddf68af5c Added NS_LOG_RELEASE for bloat stats. r=kmcclusk 1999-10-12 00:28:14 +00:00
nisheeth%netscape.com 7890852e87 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:42:56 +00:00
av%netscape.com 1590a56c74 Bug 15178, r=vidur adding check for return value avoiding crash 1999-10-08 23:47:03 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
peterl%netscape.com d023d57dc3 First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
harishd%netscape.com 6beeada27b Mapping nsDTDMode to eParseMode (in mozilla/htmlparser/src/nsIDTD.h)
R=pollmann
1999-10-07 00:35:16 +00:00
kipp%netscape.com 969a1ccfe3 Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects 1999-10-07 00:35:04 +00:00
kipp%netscape.com f36a6b1cd9 Added some atoms to support SizeOf metrics 1999-10-07 00:31:41 +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
mgleeson1%netscape.com b6d52bb172 r=kipp changed illegal escape \{ to { 1999-10-06 01:41:38 +00:00