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

2567 Коммитов

Автор SHA1 Сообщение Дата
kipp%netscape.com c4289ca79d Added address information to the dump content diagnostic code 1999-11-01 15:38:05 +00:00
kipp%netscape.com 7c3c6240fe Added address information to the dump content diagnostic code 1999-11-01 15:23:06 +00:00
kipp%netscape.com 42d72e139f Added another frame property 1999-11-01 15:22:25 +00:00
jfrancis%netscape.com 307ac216f2 fix for bugs: 16724, 16855; r=sfraser 1999-11-01 15:15:56 +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
troy%netscape.com effb3aefb7 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
mjudge%netscape.com 3aec561aba reviewed by hyatt bug of someone elses but in my code. dont know number. simple check for null 1999-10-29 23:12:44 +00:00
waterson%netscape.com 389d9233e7 Pull script object and event listener list out of slots and into delegate to avoid faulting a heavyweight element. Fix EnsureSlots() to _not_ do a bunch of extra work that is already being done when we create an element from its prototype. Use nsCOMPtr's in nsXULAttributes to avoid leak of nsIStyleRule. r=hyatt 1999-10-29 22:09:20 +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
waterson%netscape.com 05904342f7 Fix SizeOf() operation. 1999-10-29 03:07:38 +00:00
waterson%netscape.com 59a9169ad9 Bug 15146. Brutal content model sharing, Phase II. XUL content sink now constructs prototype documents; 'real' content model constructed from walking prototype. Landed XUL_SHARING_19991027_BRANCH (derived from XUL_SHARING_19991022_BRANCH). See branch comments for details. r=hyatt. 1999-10-29 01:21:15 +00:00
pepper%netscape.com eb9c85f96d Added a newline to the end of file so that AIX and HP compilers are happy.
r=mgleeson
1999-10-28 22:17:43 +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
nisheeth%netscape.com 9a3cd99292 r=nisheeth. Fix for bug 9781 submitted by Johnny Stenbeck (jst@citec.fi). Thanks Johnny. 1999-10-28 01:50:37 +00:00
kipp%netscape.com 0c6d8445a7 r=troy; fixed bug #17346 - the nsTextFormatter self test code found a bug in the nsTextFragment ctor code... 1999-10-27 23:01:16 +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
troy%netscape.com e2dfeedb8d Changed view to be stored as a frame property instead of a member data
of nsFrame
1999-10-27 03:56:14 +00:00
hyatt%netscape.com deace1a2e2 making the chrome registry work with dynamic overlays r=pavlov 1999-10-27 02:21:05 +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
waqar%netscape.com e9ff1627d1 # 15904
r vidur
d fixes a problem where first character of the comment was being destroyed.
1999-10-26 01:30:55 +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
kin%netscape.com bb3caa6434 Fix for bug #16701: Editor API Log playback of Insert HRule crashes in DOM code
and     bug #16848: DOM Crash
  - Removed extra NS_RELEASE(attrPrivate) call that was releasing
    attrPrivate one too many times, and causing nsDOMAttributeMap::SetNamedItem() to crash.
r=vidur@netscape.com
1999-10-25 14:15:34 +00:00
dp%netscape.com 94d79e100e bug#16742 Fixing delete on nsISupports. Thanks for patch from <heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing operating on refcnt directly. r=dp 1999-10-24 04:41:17 +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
troy%netscape.com d0190a7f34 r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
mjudge%netscape.com 3d3eb16f9a massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me 1999-10-22 00:19:18 +00:00
jst%citec.fi fc1c8f3ca2 Make printing use only enabled stylesheets. No bug, r=kipp@netscape.com and dcone@netscape.com. 1999-10-21 22:20:37 +00:00
kipp%netscape.com 8ea39cafa7 Use nsTextContentChangeData to pass down to the reflow logic the effect on the text 1999-10-21 20:40:51 +00:00
kipp%netscape.com 70376de659 new file for text reflow optimiziation 1999-10-21 20:40:25 +00:00
kipp%netscape.com dadfeff627 r=troy; Added a property for max-element-size storage for fixing bug 13196 1999-10-21 20:23:05 +00:00
kipp%netscape.com 6485ca4fb3 r=troy; Added nsITextContetChangeData to help optimize modifications of large text elements 1999-10-21 20:22:02 +00:00
troy%netscape.com 01cf059769 r=kipp@netscape.com
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
akkana%netscape.com c17c0e1ed8 15777: Don't declare the same function-static symbol twice in the same file, because some versions of gcc can't deal with it. r=mcafee 1999-10-20 20:20:38 +00:00
waterson%netscape.com a20e5bc21b Bug 15146. Factor nsXULElement's members into prototype and optional 'slots' for heavyweight elements. r=hyatt. 1999-10-20 18:55:32 +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
rods%netscape.com 9903fdab4a The code that checked to see whether it should explicitly set focus on the gfx's containing widget
now uget the new focused content's frame instead of using the mCurrentTarget. The mCurrentTarget
is correct for a mouse down but incorrect for a "tab". This is because the mCurrentTarget points at
the currently focused content for a tab event, instead of the new content.
r=joki, bug 11162
1999-10-19 21:57:43 +00:00
pollmann%netscape.com 08340e215a Bug 16725: Enable align attribute for iframe; r=harishd 1999-10-19 19:01:49 +00:00
tbogard%aol.net 7c498dda21 Removed the last of gimpy's warnings. r=gimpy. 1999-10-19 08:03:11 +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
waterson%netscape.com 3a7da7d02f Move nsXULElement declaration into the header file. 1999-10-18 23:05:35 +00:00
waterson%netscape.com b668580ada Rename nsRDFElement to nsXULElement; rename nsXULElement to nsXULAggregateElement. 1999-10-18 22:08:15 +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