Commit Graph

2798 Commits

Author SHA1 Message Date
waterson%netscape.com
1d36d9329e Bug 18102. Consolidate element map, command dispatcher, and broadcaster hookup into AddSubtreeToDocument(). Fixes over-eager hookup of broadcast listeners into unresolved overlay elements, which left a dangling pointer. r=saari, a=chofmann 1999-11-08 19:07:13 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
joki%netscape.com
0aa1e7650e Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur 1999-11-05 23:37:40 +00:00
waterson%netscape.com
87b8e4a574 Bug 18058. Remove 'commandDispatcher' from interface; obsolete, and leaky. r=hyatt, a=chofmann 1999-11-05 05:31:15 +00:00
waterson%netscape.com
dfd9dd6eaa Bug 18058. Remove 'commandDispatcher' from interface; obsolete. r=hyatt, a=chofmann 1999-11-05 05:30:56 +00:00
waterson%netscape.com
f9b4723956 Bug 17955. Don't unnecessarily add script event listeners to temporary nodes used for overlay hookup. r=hyatt, a=chofmann 1999-11-04 19:43:43 +00:00
waterson%netscape.com
2728cb5577 Bug 17847. Fix 'commandupdater' hookup for master document. r=hyatt, a=chofmann 1999-11-04 18:37:58 +00:00
beard%netscape.com
932ec344f4 bug #17847, fix clobbering of mSlots->mAttributes in GetAttributes(). r=waterson, a=chofmann 1999-11-04 02:56:54 +00:00
hyatt%netscape.com
2da1dc5d17 Partial fix for 17848. Part 1 of 2. 2nd part will be checked in by hangas. r=hangas, a=brendan 1999-11-04 01:59:04 +00:00
waterson%netscape.com
a2dfa5b9b1 Bug 17024. Fix mClassList leak; add bloaty stats for nsClassList. r=hyatt a=chofmann 1999-11-04 01:50:47 +00:00
waterson%netscape.com
55489d1b93 Bug 15146. Don't eagerly create a <xul:menu>'s contents. r=hyatt a=brendan 1999-11-04 01:49:34 +00:00
joki%netscape.com
1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
waterson%netscape.com
d2c5bedf2e Bug 13252. Build content for current template before recursing to build content for children. r=alecf. 1999-11-03 06:59:49 +00:00
akkana%netscape.com
e3cc1232e1 Part of bratell@lysator.liu.se's fix to the nsHTMLToTXTSinkStream. r=akkana 1999-11-03 03:08:04 +00:00
nisheeth%netscape.com
83c519bf89 r=vidur. Fix for bug 9075. Return NS_OK instead of NS_ERROR_NOT_IMPLEMENTED from nsXMLDocument::GetDocType(). This allows script parsing to continue after a document.doctype JS statement is encountered. 1999-11-03 01:48:54 +00:00
norris%netscape.com
0871585c3d 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
kipp%netscape.com
8d5f3c2d2d r=troy; Added a new frame property atom 1999-11-02 23:42:13 +00:00
pollmann%netscape.com
056ef7fb35 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
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
nisheeth%netscape.com
9d79a81d45 r=nisheeth. Fix for bug 12323. Thanks to Ian Hickson (py8ieh=bugzilla@bath.ac.uk) for the patch. Only lowercase chars are accepted in the stylesheet PI. 1999-11-02 05:49:57 +00:00
warren%netscape.com
e78a953005 Fix for bad refcount tracing. r=buster,nisheeth 1999-11-02 05:37:04 +00:00
pinkerton%netscape.com
fa65c1d6e2 fix for #16463 (crash when frames involved in a drag went away) and nsCOMPtrizing a lot of things (r=saari). 1999-11-02 03:55:14 +00:00
pinkerton%netscape.com
ae1c574569 add new drop area attribute for identifying subframes of a toolbar where the real content is. 1999-11-02 03:53:58 +00:00
waterson%netscape.com
22be6e4c41 Fix manky nsCOMPtr asserts. 1999-11-02 02:02:27 +00:00
pinkerton%netscape.com
1dc332f58b allow mouse event coordinates to be accessed with d&d events in addition to mouse events, since d&d events have the same structure as mouse events. (r=joki). 1999-11-02 01:38:01 +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
kipp%netscape.com
2ac80aba87 Added address information to the dump content diagnostic code 1999-11-01 15:38:05 +00:00
kipp%netscape.com
1fe14ebeaa Added address information to the dump content diagnostic code 1999-11-01 15:23:06 +00:00
kipp%netscape.com
be3c86d804 Added another frame property 1999-11-01 15:22:25 +00:00
jfrancis%netscape.com
fa661ac6d1 fix for bugs: 16724, 16855; r=sfraser 1999-11-01 15:15:56 +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
beard%netscape.com
6b91420f5a MLK: fixed nsICSSDeclaration leak, bug=15380, r=kipp 1999-10-30 20:17:40 +00:00
buster%netscape.com
01db582cb9 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
3dc0567e83 added pseudo-style for single line text controls. bug 14727 1999-10-30 16:29:32 +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
mjudge%netscape.com
f503e16496 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
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
vidur%netscape.com
da899667a9 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
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
braddr%puremagic.com
ea13be0a26 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
ff14b7a0cf 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
6ca5b769c8 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
341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com
55276cc3c4 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
49f38b3cca 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
2ea886f3be 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
e092fcee6b making the chrome registry work with dynamic overlays r=pavlov 1999-10-27 02:21:05 +00:00
norris%netscape.com
cc328d32e6 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
1d327f48d2 Replaced delete operator calls with Recycle(). R=joki 1999-10-26 14:56:41 +00:00
vidur%netscape.com
94bd218ec3 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
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
waqar%netscape.com
27e98297ea # 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
23414862b3 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
0e64506603 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
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
rickg%netscape.com
ff94ca16ce fixed infinite-loop bug 17045 by conditioning control loop. r=buster 1999-10-23 03:06:19 +00:00
troy%netscape.com
5d86678e7b 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
7d0e807931 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
96830556e2 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
681dfe2f66 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
12081072dc new file for text reflow optimiziation 1999-10-21 20:40:25 +00:00
kipp%netscape.com
d6d696ef93 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
b573d95fee r=troy; Added nsITextContetChangeData to help optimize modifications of large text elements 1999-10-21 20:22:02 +00:00
troy%netscape.com
0959b411de 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
5096c0459f 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
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
nisheeth%netscape.com
ef75c33b3c 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
a915909a72 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
312e7468d9 Bug 16725: Enable align attribute for iframe; r=harishd 1999-10-19 19:01:49 +00:00
tbogard%aol.net
6bf524bc9e Removed the last of gimpy's warnings. r=gimpy. 1999-10-19 08:03:11 +00:00
pierre%netscape.com
bfe52a8e4e 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
e6f547bf07 Move nsXULElement declaration into the header file. 1999-10-18 23:05:35 +00:00
waterson%netscape.com
5d36702c83 Rename nsRDFElement to nsXULElement; rename nsXULElement to nsXULAggregateElement. 1999-10-18 22:08:15 +00:00
rods%netscape.com
297e3bd9c3 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
6ff5998968 Move code to handle focus event into the correct switch statement
r=kmcclusk, bug 7133
1999-10-18 21:47:31 +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
akkana%netscape.com
acf13df96b Remove two ifdef DEBUG_akkana lines that were left in when someone
changed the implementation of ConvertContentToXIF, so that I can
compile again.  This won't affect anyone but me.  r=kipp
1999-10-18 19:01:56 +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
ed18a01643 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
15a0ec26fa 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
bf91cebfba Wiped out another warning 1999-10-15 23:29:21 +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
peterl%netscape.com
a6adfea707 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
peterl%netscape.com
27d06db43a 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
waqar%netscape.com
46cc304d11 #9777
r vidur@netscape.com
d The issue was resolved by DOM commitie to allow SplitText to give an error
only on if the start of split is larger than the length. If it is same lenght
it is allowed.
1999-10-15 22:18:23 +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
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
buster%netscape.com
9c89a6b52d 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
102c1fb55e 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
buster%netscape.com
a13fc42067 no bug number, part of webshell cleanup. nsIWebShell.h was needlessly included, so I removed it
trivial change, no reviewer.
1999-10-15 13:34:45 +00:00
rods%netscape.com
7130df81ee 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
hyatt%netscape.com
80d4dd9246 Fix for 16479. r=waterson 1999-10-15 07:54:43 +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
peterl%netscape.com
670703db1c moved toggle and tri-state from user-modify to user-select to stay in sync with CSS3
no bug #
r=pierre
1999-10-15 02:11:09 +00:00
kipp%netscape.com
bb62374419 Removed two more warnings 1999-10-15 00:29:28 +00:00
pepper%netscape.com
2e9499e739 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
kipp%netscape.com
7d45a10d09 r=Tomi.Leppikangas@oulu.fi; landed his patch for solaris build issues 1999-10-14 23:11:44 +00:00
kipp%netscape.com
ff3faa1ce6 r=troy; Added some more atoms so that Dframe sizing data is more particular for line boxes 1999-10-14 23:08:31 +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
tbogard%aol.net
3d64ba83de Adding new XUL tags, "iframe", "browser", "editor". r=hyatt. 1999-10-14 10:54:32 +00:00
karnaze%netscape.com
97bc7cdc28 cells with width=0 become auto, added comments 1999-10-14 04:01:26 +00:00
peterl%netscape.com
5cf3f40b06 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
9005fd85a5 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
91b4aeefdd added comments 1999-10-13 14:36:28 +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
vidur%netscape.com
a636b7dacd Fix for bug 15772. Check that a content node is part of the document tree before dispatching a blur event to it. R=joki 1999-10-13 04:19:26 +00:00
mjudge%netscape.com
3a065e373b bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h 1999-10-13 01:16:09 +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
kipp%netscape.com
2c4293a104 Removed silly NS_IMETHOD decls 1999-10-12 23:22:53 +00:00
kipp%netscape.com
9059f09ba2 Added two new atoms to help meter large vs. small line boxes 1999-10-12 23:22:34 +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
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
rbs%maths.uq.edu.au
7900952c3a [MathML] removing registration hooks. They are now handled by nsLayoutModule. 1999-10-12 01:48:05 +00:00
peterl%netscape.com
cc76d235e4 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
04a12df544 added ignore value to user-focus
r=hyatt
1999-10-12 00:30:54 +00:00
peterl%netscape.com
ca5306ed74 added 'ignore' keyword
r=hyatt
1999-10-12 00:30:19 +00:00
warren%netscape.com
48b4a9d06e Added NS_LOG_RELEASE for bloat stats. r=kmcclusk 1999-10-12 00:28:14 +00:00
nisheeth%netscape.com
b052eec318 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
9e949e98fe Bug 15178, r=vidur adding check for return value avoiding crash 1999-10-08 23:47:03 +00:00
jfrancis%netscape.com
14f246e247 applying same fix as rev 1.28 (initializing mIsDone) to the rest of the Init() methods. 1999-10-08 23:34:07 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +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
troy%netscape.com
f8ffb47533 Change to SizeOf() code (diagnostic code only). Changed table frame
code to split the column cache size out into a separate listing
1999-10-08 05:12:55 +00:00
peterl%netscape.com
a3aede8c1c 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
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +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
harishd%netscape.com
43f91fa145 Mapping nsDTDMode to eParseMode (in mozilla/htmlparser/src/nsIDTD.h)
R=pollmann
1999-10-07 00:35:16 +00:00
kipp%netscape.com
cfa92fd85e 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
26fb1296d8 Tweaked call of log_release 1999-10-07 00:32:25 +00:00
kipp%netscape.com
790ccf8ff7 Added some atoms to support SizeOf metrics 1999-10-07 00:31:41 +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
vidur%netscape.com
5427f58b01 Implemented document.width/document.height by looking at the dimensions of the view of the frame of the document element. Bug 961. R: troy 1999-10-06 20:32:49 +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
mgleeson1%netscape.com
675530c17a r=kipp changed illegal escape \{ to { 1999-10-06 01:41:38 +00:00
waterson%netscape.com
806774dd9d Fix dumb leak. 1999-10-06 01:02:11 +00:00
waqar%netscape.com
0b9d4f8f8f # 9777
r vidur
d When splitText has an index error, it used to send NS_ERROR not it sends
  the proper DOM index size error.
1999-10-06 00:06:53 +00:00
kipp%netscape.com
3eaba4f422 Support SizeOf methods 1999-10-05 23:47:46 +00:00
waterson%netscape.com
de8f3449d5 Fix crasher when loading XUL in viewer and no localstore is present. 1999-10-05 22:22:40 +00:00
waterson%netscape.com
14d8b9492e Bug 15301. Remove RDF graph from XUL content model construction. Landed XUL_19991005_BRANCH; see branch comments for detailed checkin information. r=shaver,hyatt. 1999-10-05 21:13:55 +00:00
kipp%netscape.com
de44833a85 Added in ctor/dtor counting 1999-10-05 14:53:40 +00:00
kipp%netscape.com
8274ae09b1 r=peterl; Added in ctor/dtor counting 1999-10-05 14:52:20 +00:00
kipp%netscape.com
e62c3edf52 Removed static ctors 1999-10-05 14:51:56 +00:00
kipp%netscape.com
9996b80dd5 r=troy; Added some atoms to help eliminate global ctors 1999-10-05 14:51:02 +00:00
norris%netscape.com
716e97dd9c Fix 15458 "onLoadHandler does not work"
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
waterson%netscape.com
fd05a45cc4 Bug 15511. Make sure container element sets 'parent' backpointer to null before releasing child; prevents dangling references if child is still referenced from elsewhere. r=vidur 1999-10-05 03:20:57 +00:00
waterson%netscape.com
b9528fb7bc Bug 15460. Expose XML element creation via nsIXMLElementFactory interface. r=kipp. 1999-10-05 00:12:21 +00:00
kipp%netscape.com
a3d7e7cf09 r=vidur; fixed a memory of a script content object 1999-10-05 00:05:38 +00:00
rbs%maths.uq.edu.au
93ac1da9b5 Adding remaining MathML hooks. r:peterl. 1999-10-02 11:05:49 +00:00
peterl%netscape.com
2fb6714797 fixed fix to bug 15373. Now it won't crash on EOF conditions 1999-10-02 04:23:00 +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
troy%netscape.com
6b808204e8 Added SizeOf() handler for floater information maintained by the
line box
1999-10-02 02:51:03 +00:00
troy%netscape.com
5dfb641a58 Added SizeOf() handler for space manager 1999-10-02 00:52:01 +00:00
troy%netscape.com
1be0909b54 Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed
1999-10-02 00:02:54 +00:00
kipp%netscape.com
d26d687ef6 r=peterl; bug=15373; Fixed atom memory leaky 1999-10-01 20:13:39 +00:00
law%netscape.com
b6d2de1cb0 Context menu updates 1999-10-01 04:43:45 +00:00
rjc%netscape.com
a8401f2c5c Fix bug # 15222: The composite datasource has a few operations which are somewhat "expensive". Have these behaviors on by default, but expose a method on the composite datasources so that they can be selectively turned off [for Mail/News, for example] if the capability is not needed/used (such as negative assertions). Review: waterson@netscape.com. Additional Mail/News Testing: putterman@netscape.com 1999-10-01 04:07:55 +00:00
waterson%netscape.com
f002a3fe71 Fuck. These went in onto the tip and were supposed to be on the branch. Backing out. 1999-10-01 03:04:08 +00:00
waterson%netscape.com
61408ff762 Initial checkin on XUL_19990930_BRANCH, the RDF-ectomy. Single XUL documents hobbling along. 1999-10-01 03:01:22 +00:00
beard%netscape.com
6a85f40725 fixed non-debug breakage. r=vidur 1999-10-01 01:11:40 +00:00
vidur%netscape.com
140612e133 Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG. 1999-09-30 22:07:04 +00:00
kipp%netscape.com
c37ecb974c Removed atom table hacks 1999-09-30 21:17:28 +00:00
kipp%netscape.com
da75f9061f Fixed atom memory leaks and HTMLAttribute memory leaks (for unmapped attrs only) 1999-09-30 21:17:06 +00:00
rods%netscape.com
441488d899 Backed out 1.54, this is 1.53 1999-09-30 16:43:11 +00:00
rods%netscape.com
3ff1376604 Completely changed the way focus is handled, both from JS and from the events mgr notifications.
These changes do not help the problems we have with gfxtextfields because they have an embbeded wehshell with a native window
1999-09-30 11:57:45 +00:00
rods%netscape.com
2036813036 Turned on the system colors 1999-09-30 11:55:15 +00:00
rods%netscape.com
b65978b79a Added ConsumeFocusEvents method to consume all focus event and make sure they don't get dispatched 1999-09-30 11:40:42 +00:00
waterson%netscape.com
7d31268f14 Bug 13908. Add code to hook up 'forward observer declarations'. r=hyatt. 1999-09-30 02:32:34 +00:00
peterl%netscape.com
efe3761c38 made child sheet loads of agent sheets be optionally synchronous 1999-09-30 01:39:57 +00:00
cmanske%netscape.com
1cbdd57614 Changed ifdef so we can use ToString for non-debug purposes. r=akkana 1999-09-29 21:52:10 +00:00
akkana%netscape.com
de16d09cda Add OutputWrap flag, and add comments for the other flags 1999-09-29 20:17:51 +00:00
peterl%netscape.com
f3c1120baa make remap style optionally not go recursive 1999-09-29 03:30:47 +00:00
warren%netscape.com
70c80e647e Fixed uninitialized variables 1999-09-26 10:07:16 +00:00
warren%netscape.com
867ac7d1f0 Fixed mismatched free problem. 1999-09-26 07:05:02 +00:00
waterson%netscape.com
e0218beabb Bug 14911. Revert sloppy checkin. The 'DocumentWillBeDestroyed' stuff was never meant to get checked in. It piggy-backed onto another bug fix; I wasn't careful. 1999-09-25 16:29:22 +00:00
ftang%netscape.com
d24411b9af fix bug 14802. reviewed by harishd. 1999-09-24 21:50:49 +00:00
waterson%netscape.com
c3bd3a1e15 Fix mac build bustage. 1999-09-24 20:39:26 +00:00
waterson%netscape.com
8cda3dfecc Bug 14754. Support '.database' attribute on HTML elements. Fix ref='...' support for HTML templates. r=rjc, a=chofmann 1999-09-24 19:49:15 +00:00
waterson%netscape.com
4cc8eb6bfe Bug 14752. Support '.database' attribute on HTML elements. Fix ref='...' support for HTML templates. r=rjc, a=chofmann 1999-09-24 19:49:12 +00:00
nisheeth%netscape.com
38d524ab94 Use NSPR logging rather than printf's for stopwatch output. 1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
8c1a201503 Move the message that announces that time is being measured for layout processes from the content sink to the webshell. 1999-09-24 07:19:44 +00:00
nisheeth%netscape.com
bebdebac72 a=chofmann. Include time spent in ProbePseudoStyleFor() in time measurement of style resolution. 1999-09-24 07:16:20 +00:00
mscott%netscape.com
d755e21e91 Bug #14816 --> we were leaking a nsIPrincipal object in AddScriptEventListener which could be remedied using a nsCOMPtr.
Also clean up for insufficient rv useage, un-commoned JSPRINCIPALS_DROP and improving the control flow for readability.

These changes are actually Brendan's...i'm checking this in on his behalf.
r=mscott. a=brendan
1999-09-24 06:49:33 +00:00
mgleeson1%netscape.com
1e66807868 fix for UNIX ports r=kipp, a=hofmann,kipp 1999-09-23 19:02:23 +00:00
peterl%netscape.com
7b9a8f64d4 Remember: always remove mapped attributes from hashtable before modifying them.
Fix bug 13589
1999-09-23 03:54:12 +00:00
saari%netscape.com
d891a7b1ef A better fix for blocker #14464. Reviewed by Hyatt w. permission from leaf/choffman 1999-09-23 02:31:37 +00:00
ftang%netscape.com
2b923e10df fix crash when the pref callback get call. Part of bug 14219 1999-09-23 02:10:15 +00:00
saari%netscape.com
83ab100d9c Fix for blocker bug #14464. Reviewed by Hyatt, checkin permission by leaf. 1999-09-23 01:55:41 +00:00
ftang%netscape.com
ec30802e8f add pref callback for charset detectors 1999-09-22 08:49:28 +00:00
rpotts%netscape.com
547771542f Changed the printing to use the ImageGroup notifications rather than the document loader because a document is *not* being loaded... This fixes printing after the changes to the document loader notifications. 1999-09-22 07:34:31 +00:00
joki%netscape.com
b114e2a582 Various fixes to prevent casting events to the wrong struct subtypes when queried 1999-09-22 06:30:01 +00:00
joki%netscape.com
b2f254f766 Fix scrolling via home/end keys to scroll to beginning and end of doc 1999-09-22 06:28:57 +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
peterl%netscape.com
341ec82a84 reset pushback buffer when creating a new scanner
factored scanner creation code
1999-09-22 01:19:29 +00:00
waterson%netscape.com
fabf00233c Bug 14273. We weren't recursively creating 'container' contents for HTML elements. Fixed that. 1999-09-22 00:54:05 +00:00
kipp%netscape.com
6c23f4f233 Work around purify nonsense with bitfields 1999-09-22 00:38:57 +00:00
vidur%netscape.com
0420636fbc Fix for bug 14109. Corrected dir getter. 1999-09-21 23:23:53 +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
vidur%netscape.com
324706ee56 Fix for bug 14105 - correct processing of area tabindex 1999-09-21 22:19:29 +00:00
buster%netscape.com
0bb4192dde fixed link handling in editor by making links only grab focus when
the pres context has a link handler.  bug 14455
1999-09-21 21:10:34 +00:00
joki%netscape.com
95bc014f1b Fix bug 6258, release of null content pointer due to reentrant event 1999-09-21 19:00:55 +00:00
dcone%netscape.com
604b036704 added debugging for printing 1999-09-21 14:34:28 +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
peterl%netscape.com
1b16a07213 stop sharing contexts with parents 1999-09-21 07:50:16 +00:00
rpotts%netscape.com
452584594d The document LoadGroup is now a nsWeakPtr... 1999-09-21 06:44:56 +00:00
nisheeth%netscape.com
f097b55cdb Add prefix string to content creation timer output. 1999-09-21 06:24:58 +00:00
waterson%netscape.com
25694dc329 Fix bugs with computing containment. 1999-09-21 05:57:47 +00:00
pollmann%netscape.com
7cb9686716 Bug 14223: Typo, I'm sure. 1999-09-21 00:18:49 +00:00
kipp%netscape.com
e1df6bb1f5 Fixed up argument parsing issue with table align=left/right (bug 7352) 1999-09-21 00:12:09 +00:00
rods%netscape.com
df31376942 nailed again by nsCOMPtr 1999-09-20 22:56:32 +00:00
rods%netscape.com
e528a0d539 Added code to make sure that focus gets set on the window for mouse down 1999-09-20 22:18:57 +00:00
nisheeth%netscape.com
979e91b1da Fixed build warning and removed NS_TIMER_STYLE_RESOLUTION define. 1999-09-20 21:36:53 +00:00
warren%netscape.com
0f2332d7b3 freed gNameSpaceManager n nsXULAtoms 1999-09-20 20:52:42 +00:00
nisheeth%netscape.com
3685df8b69 Move implementation of nsITimeRecorder from the pres context to the style set. 1999-09-20 06:53:40 +00:00
nisheeth%netscape.com
660585d0d8 Stop the content creation stopwatch before it is printed. 1999-09-20 06:48:33 +00:00
waterson%netscape.com
49cd3cea4d Comment out 'element already in map' warning for now. 1999-09-19 22:42:55 +00:00
waterson%netscape.com
dce22b1ef1 Fix GetContentSink() to addref pointer on the way out thru XPCOM boundary. Hyatt: that's 20 XPCOM Hail Mary's for you. 1999-09-19 19:58:04 +00:00
rpotts%netscape.com
f7a23e30ca Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:34:24 +00:00
rpotts%netscape.com
69eebbead3 Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:20:49 +00:00
slamm%netscape.com
35951bb528 Fix build warnings (rename 'tm' to 'value). 1999-09-18 02:15:00 +00:00
kipp%netscape.com
d63ca4aef1 Squish a warning or two 1999-09-17 20:16:37 +00:00
waterson%netscape.com
9ed3206e50 Bug 12649. Add support for 'parent' on <rule> tags. 1999-09-17 20:15:29 +00:00
kipp%netscape.com
fa963373a6 Squish a warning 1999-09-17 20:15:09 +00:00
pollmann%netscape.com
a759a5df4e Bug 9136: Combobox selectedIndex now defaults to 0 instead of -1, even before widget created. 1999-09-17 07:24:02 +00:00
vidur%netscape.com
0b96c440d1 Implemented nsIDOMHTMLDocument::GetReferrer. The referrer is obtained from the request header of the document channel 1999-09-17 06:56:39 +00:00
alecf%netscape.com
0afadf8524 fix scrollbar crash 1999-09-17 05:15:00 +00:00
karnaze%netscape.com
9557749da7 bug 13526 - allowed cellpadding, cellspacing to be percent value 1999-09-17 04:38:06 +00:00
waterson%netscape.com
d7bc730b0d Bug 13790. Okay, let's try that again, this time without the frills. 1999-09-17 04:29:53 +00:00
waterson%netscape.com
fe8d3ee23e Fix nsCOMPtr sloppiness. 1999-09-17 04:13:19 +00:00