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

735 Коммитов

Автор SHA1 Сообщение Дата
cls%seawood.org bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
alecf%netscape.com 4033a6f681 fix for #12703 - don't hold onto XULElements after they have been removed from the tree - don't bother checking mDocument because it will be null when the content has been removed from the document
r=hyatt
1999-11-02 23:30:33 +00:00
warren%netscape.com 332749d6fa 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
waterson%netscape.com 050ad45bf2 remove CTOR and DTOR counters, because the descendant classes will all
account for this space. r=warren
1999-11-02 06:21:07 +00:00
warren%netscape.com e78a953005 Fix for bad refcount tracing. r=buster,nisheeth 1999-11-02 05:37:04 +00:00
waterson%netscape.com 22be6e4c41 Fix manky nsCOMPtr asserts. 1999-11-02 02:02:27 +00:00
pinkerton%netscape.com b235ede1ff fix for bug 17381 where leaving the frame before a drag gesture was began caused the event target to be set incorrectly. (r=saari). 1999-11-02 01:34:16 +00:00
waterson%netscape.com 676716c335 Bug 15146. Brutal sharing, Phase III. Turn on protoype, script, and style sheet caching. r=hyatt 1999-11-02 01:14:07 +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
troy%netscape.com a12c3d6c5d 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
waterson%netscape.com b672b00381 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
waterson%netscape.com daab7b6c46 Fix SizeOf() operation. 1999-10-29 03:07:38 +00:00
waterson%netscape.com ada7441247 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 b5b2656f52 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
hyatt%netscape.com e092fcee6b making the chrome registry work with dynamic overlays r=pavlov 1999-10-27 02:21:05 +00:00
dp%netscape.com b17616fba6 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
waterson%netscape.com 15b4a60c84 Bug 15146. Factor nsXULElement's members into prototype and optional 'slots' for heavyweight elements. r=hyatt. 1999-10-20 18:55:32 +00:00
tbogard%aol.net 6bf524bc9e Removed the last of gimpy's warnings. r=gimpy. 1999-10-19 08:03:11 +00:00
waterson%netscape.com 8acf9b578c Obsolete. 1999-10-19 03:05:25 +00:00
waterson%netscape.com e6f547bf07 Move nsXULElement declaration into the header file. 1999-10-18 23:05:35 +00:00
waterson%netscape.com fc23fb1269 Remove nsRDFElement.cpp 1999-10-18 22:08:39 +00:00
waterson%netscape.com 5d36702c83 Rename nsRDFElement to nsXULElement; rename nsXULElement to nsXULAggregateElement. 1999-10-18 22:08:15 +00:00
warren%netscape.com 26fb3f9eba Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:21:53 +00:00
warren%netscape.com 3f9dc8b6a7 Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:06:21 +00:00
peterl%netscape.com 4a9e5d719e Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:06:04 +00:00
peterl%netscape.com d168caadef Added namespace ID to the AttributeChanged notification
Part of the fix for Bug 15153
r=troy
1999-10-15 23:17:53 +00:00
tbogard%aol.net f863808cf7 Adding support for retrieving the EditorShell from editor element. r=hyatt 1999-10-15 21:21:10 +00:00
tbogard%aol.net 124f772cd1 Adding support for retrieving the EditorShell from editor element. r=hyatt 1999-10-15 21:07:27 +00:00
waterson%netscape.com 3d04c11522 Darnit. Didn't mean to FORCE_PR_LOG. Removing that #define. 1999-10-15 20:55:54 +00:00
waterson%netscape.com 6a8ada8d6c Bug 9764. Fix HTML templates to ensure that attribute adding is namespace-agnostic. Add local variable for isUnique so that BuildContentFromTemplate will work if resource- and non-resource elements are siblings in a template. Add logging capability for debug. r=rjc. 1999-10-15 20:47:19 +00:00
rjc%netscape.com ae28cd2568 Fix leak in nsXULSortService (found by Boehm GC). Also, remove CTOR_COUNT stuff. Review: waterson@netscape.com 1999-10-15 06:27:02 +00:00
waterson%netscape.com a3b121502f Unclutter stuff by using nsCOMPtr in the nsElementMap::ContentListItem. Add leakenmacros to ContentListItem. Fix a leak in the the internal enumerator routine. Comment the internal enumerator routine since it's kinda funky. Add 'tag name' to the log messages. 1999-10-15 04:45:43 +00:00
bienvenu%netscape.com cca5e191f9 fix memory leak of nsIURI in Set and GetAttribute r=waterson 1999-10-15 02:59:37 +00:00
ftang%netscape.com 850606d07a landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +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
waterson%netscape.com 01b01edb29 Add check-for-null-pointer to FireOnSelectHandler() to avoid crashing in the case where a select handler fires on an 'orphaned' node with no document. This can happen if a document is being destroyed and random scripts and events are still filtering through the system. 1999-10-13 08:02:02 +00:00
waterson%netscape.com 3ddd2b7390 Add PR_LOG() calls to aid debugging. 1999-10-13 08:00:45 +00:00
waterson%netscape.com c076e2aac8 Fix 'commandupdater' nodes; make sure that they are hooked up correctly from the XUL content sink; factor code to appropriately deal with being called from two places. r=hyatt. 1999-10-13 00:43:46 +00:00
waterson%netscape.com 8241422540 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 02:10:08 +00:00
waterson%netscape.com 9d26c76a5e Misc cleanup, r=hyatt 1999-10-08 07:26:39 +00:00
waterson%netscape.com e66ef0e374 Add elements to element map by 'ref', as well. 1999-10-08 07:26:14 +00:00
waterson%netscape.com c33474f2dd Bug 15687. Make sure to test whether CreateTemplateBuilder() succeeded before dereferencing the builder we get back. r=rjc 1999-10-07 23:07:00 +00:00
waterson%netscape.com c1b28ef30e Bug 15683. Hack to get the tree open. Don't SetParent(nsnull), <option> elements do funky stuff when the <option> is inside a <xul:template>. r=kmcclusk 1999-10-07 19:32:39 +00:00
waterson%netscape.com 7324012292 Bug 13910. Make sure to update element map for XUL (as well as HTML) elements when changing 'id' or 'ref' attributes. 1999-10-07 10:09:17 +00:00
waterson%netscape.com b296404b6a Bug 13910. Make sure to add elements to the map by 'ref' attribute, as well. 1999-10-07 10:08:14 +00:00
rjc%netscape.com bb45ef1bde Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com 1999-10-07 01:51:30 +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
mgleeson1%netscape.com 2e5a2e52e1 r=waterson enums used in structs must be public members for HPUX 1999-10-06 18:56:03 +00:00
waterson%netscape.com 92d627b5e0 Fix incorrect use of CBufDescriptor that was causing persistence to flake. 1999-10-06 06:42:27 +00:00
waterson%netscape.com cd0fab49cb Suppress assertions with context menus for now. 1999-10-06 06:40:06 +00:00