joki%netscape.com
bd3ab57a91
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
50ad3f2022
Bug 18058. Remove 'commandDispatcher' from interface; obsolete, and leaky. r=hyatt, a=chofmann
1999-11-05 05:31:15 +00:00
waterson%netscape.com
5a74bdd9ff
Bug 18058. Remove 'commandDispatcher' from interface; obsolete. r=hyatt, a=chofmann
1999-11-05 05:30:56 +00:00
waterson%netscape.com
1d630564b4
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
1604985632
Bug 17847. Fix 'commandupdater' hookup for master document. r=hyatt, a=chofmann
1999-11-04 18:37:58 +00:00
beard%netscape.com
ba1a567cb2
bug #17847 , fix clobbering of mSlots->mAttributes in GetAttributes(). r=waterson, a=chofmann
1999-11-04 02:56:54 +00:00
hyatt%netscape.com
0eea38f731
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
52ce5fde68
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
6cb382251f
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
d5c05ea133
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
a68d61b330
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
2274aa9a8f
Part of bratell@lysator.liu.se's fix to the nsHTMLToTXTSinkStream. r=akkana
1999-11-03 03:08:04 +00:00
nisheeth%netscape.com
0db470912b
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
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
kipp%netscape.com
9d26ed588b
r=troy; Added a new frame property atom
1999-11-02 23:42:13 +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
alecf%netscape.com
b0da944f95
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
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
waterson%netscape.com
6552d7ba4d
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
9ae0c53b5f
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
21c3c164cd
Fix for bad refcount tracing. r=buster,nisheeth
1999-11-02 05:37:04 +00:00
pinkerton%netscape.com
8e90a3e9c2
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
4d46f38039
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
cc4295c551
Fix manky nsCOMPtr asserts.
1999-11-02 02:02:27 +00:00
pinkerton%netscape.com
54193af6af
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
5beb600570
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
981af88aa4
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
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
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
warren%netscape.com
2dceb727af
Took out redundant MOZ_COUNT_CTOR/DTOR calls.
1999-10-18 19:21:53 +00:00
warren%netscape.com
edf3235d43
Took out redundant MOZ_COUNT_CTOR/DTOR calls.
1999-10-18 19:06:21 +00:00
akkana%netscape.com
f4660ce231
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
c94fbefb6e
Made style rules work against nsIMutableStyleContext
...
r=troy
1999-10-16 04:06:04 +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
527516876e
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
757c0b5f01
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
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
waqar%netscape.com
6f1456a88d
#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
c8335260db
Adding support for retrieving the EditorShell from editor element. r=hyatt
1999-10-15 21:21:10 +00:00
waterson%netscape.com
583670b716
Darnit. Didn't mean to FORCE_PR_LOG. Removing that #define.
1999-10-15 20:55:54 +00:00
waterson%netscape.com
47b4f27357
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
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
buster%netscape.com
27c06f0a19
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
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
hyatt%netscape.com
91b6e1598b
Fix for 16479. r=waterson
1999-10-15 07:54:43 +00:00
rjc%netscape.com
63f18c6cb3
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
8457e8ceee
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
97a4d06a76
fix memory leak of nsIURI in Set and GetAttribute r=waterson
1999-10-15 02:59:37 +00:00
peterl%netscape.com
31e48e3bdc
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
f9c3c010dc
Removed two more warnings
1999-10-15 00:29:28 +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
kipp%netscape.com
540d7bc136
r=Tomi.Leppikangas@oulu.fi; landed his patch for solaris build issues
1999-10-14 23:11:44 +00:00
kipp%netscape.com
11fc60f14d
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
bd9000ea54
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
b2564031fe
Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++)
1999-10-14 10:58:25 +00:00
tbogard%aol.net
9839174e85
Adding new XUL tags, "iframe", "browser", "editor". r=hyatt.
1999-10-14 10:54:32 +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
waterson%netscape.com
fa01dc07d1
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
a793e85d4b
Add PR_LOG() calls to aid debugging.
1999-10-13 08:00:45 +00:00
vidur%netscape.com
8b5a3290c2
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
21ba41e280
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
24bc946a88
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
12f1321db1
Removed silly NS_IMETHOD decls
1999-10-12 23:22:53 +00:00
kipp%netscape.com
2b4c0a8c97
Added two new atoms to help meter large vs. small line boxes
1999-10-12 23:22:34 +00:00
waterson%netscape.com
c7347c6be0
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
ab20f5e245
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
55214258fb
[MathML] removing registration hooks. They are now handled by nsLayoutModule.
1999-10-12 01:48:05 +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
bcce57c3d1
added ignore value to user-focus
...
r=hyatt
1999-10-12 00:30:54 +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
jfrancis%netscape.com
918d5493a1
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
b0dcc883f8
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
waterson%netscape.com
776523083a
Misc cleanup, r=hyatt
1999-10-08 07:26:39 +00:00
waterson%netscape.com
181da7c5c9
Add elements to element map by 'ref', as well.
1999-10-08 07:26:14 +00:00
troy%netscape.com
a5add6d414
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
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
waterson%netscape.com
cf46eeb0d6
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
d9be66d476
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
aeb760ef42
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
77c0ea78ed
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
3fc9b096de
Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com
1999-10-07 01:51:30 +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
ef137fcd90
Tweaked call of log_release
1999-10-07 00:32:25 +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
vidur%netscape.com
5886af2ed2
Added document.width/document.height to nsIDOMNSDocument. Bug 961. R: troy
1999-10-06 20:33:58 +00:00
vidur%netscape.com
a6f094da8e
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
4bab7f6ed0
r=waterson enums used in structs must be public members for HPUX
1999-10-06 18:56:03 +00:00
waterson%netscape.com
c2e1281888
Fix incorrect use of CBufDescriptor that was causing persistence to flake.
1999-10-06 06:42:27 +00:00
waterson%netscape.com
c68f1d3348
Suppress assertions with context menus for now.
1999-10-06 06:40:06 +00:00
mgleeson1%netscape.com
b6d52bb172
r=kipp changed illegal escape \{ to {
1999-10-06 01:41:38 +00:00
waterson%netscape.com
90a7941440
Fix dumb leak.
1999-10-06 01:02:11 +00:00
waqar%netscape.com
36d4e3a464
# 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
2738c38f7f
Support SizeOf methods
1999-10-05 23:47:46 +00:00
waterson%netscape.com
24d0a86133
Fix crasher when loading XUL in viewer and no localstore is present.
1999-10-05 22:22:40 +00:00
waterson%netscape.com
119e47a761
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
0efe46b221
Added in ctor/dtor counting
1999-10-05 14:53:40 +00:00
kipp%netscape.com
7446ec5ab8
r=peterl; Added in ctor/dtor counting
1999-10-05 14:52:20 +00:00
kipp%netscape.com
dcd28dc59f
Removed static ctors
1999-10-05 14:51:56 +00:00
kipp%netscape.com
c044218606
r=troy; Added some atoms to help eliminate global ctors
1999-10-05 14:51:02 +00:00
norris%netscape.com
9c950a3a20
Fix 15458 "onLoadHandler does not work"
...
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
waterson%netscape.com
a36df2ea1f
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
24e09d82e2
Bug 15460. Expose XML element creation via nsIXMLElementFactory interface. r=kipp.
1999-10-05 00:12:21 +00:00
kipp%netscape.com
775258d6be
r=vidur; fixed a memory of a script content object
1999-10-05 00:05:38 +00:00
rbs%maths.uq.edu.au
cb8c74aba9
Adding remaining MathML hooks. r:peterl.
1999-10-02 11:05:49 +00:00
peterl%netscape.com
e55f2572bc
fixed fix to bug 15373. Now it won't crash on EOF conditions
1999-10-02 04:23:00 +00:00
norris%netscape.com
3c14af2f14
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
d219ef5e29
Added SizeOf() handler for floater information maintained by the
...
line box
1999-10-02 02:51:03 +00:00
troy%netscape.com
6f0d3813a7
Added SizeOf() handler for space manager
1999-10-02 00:52:01 +00:00
troy%netscape.com
e2ac00fe47
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
ea74d6b3c4
r=peterl; bug=15373; Fixed atom memory leaky
1999-10-01 20:13:39 +00:00
law%netscape.com
828349b59c
Context menu updates
1999-10-01 04:43:45 +00:00
rjc%netscape.com
5fea9b5df9
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
3f8b996770
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
5fe7965076
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
7b9c53b997
fixed non-debug breakage. r=vidur
1999-10-01 01:11:40 +00:00
vidur%netscape.com
abef968cec
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
90b60c0e80
Removed atom table hacks
1999-09-30 21:17:28 +00:00
kipp%netscape.com
6fb692f3d0
Fixed atom memory leaks and HTMLAttribute memory leaks (for unmapped attrs only)
1999-09-30 21:17:06 +00:00
rods%netscape.com
bba7ebd312
Backed out 1.54, this is 1.53
1999-09-30 16:43:11 +00:00
rods%netscape.com
ebeae50357
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
b286201231
Turned on the system colors
1999-09-30 11:55:15 +00:00
rods%netscape.com
6eeeaff2b0
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
031302a480
Bug 13908. Add code to hook up 'forward observer declarations'. r=hyatt.
1999-09-30 02:32:34 +00:00
peterl%netscape.com
3ab567c217
made child sheet loads of agent sheets be optionally synchronous
1999-09-30 01:39:57 +00:00
cmanske%netscape.com
fa36f1fe66
Changed ifdef so we can use ToString for non-debug purposes. r=akkana
1999-09-29 21:52:10 +00:00
akkana%netscape.com
770ed40a0a
Add OutputWrap flag, and add comments for the other flags
1999-09-29 20:17:51 +00:00
peterl%netscape.com
870b54137e
make remap style optionally not go recursive
1999-09-29 03:30:47 +00:00
warren%netscape.com
18d426d338
Fixed uninitialized variables
1999-09-26 10:07:16 +00:00
warren%netscape.com
3b7cb74794
Fixed mismatched free problem.
1999-09-26 07:05:02 +00:00
waterson%netscape.com
7cf756f47e
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
2561109d7f
fix bug 14802. reviewed by harishd.
1999-09-24 21:50:49 +00:00
waterson%netscape.com
1ffd4337ba
Fix mac build bustage.
1999-09-24 20:39:26 +00:00
waterson%netscape.com
0f1bc3914b
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
5636df21fa
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
0c537f8bad
Use NSPR logging rather than printf's for stopwatch output.
1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
7594dce35d
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
d4a69386fa
a=chofmann. Include time spent in ProbePseudoStyleFor() in time measurement of style resolution.
1999-09-24 07:16:20 +00:00
mscott%netscape.com
06e3be3316
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
e7cbff5298
fix for UNIX ports r=kipp, a=hofmann,kipp
1999-09-23 19:02:23 +00:00
peterl%netscape.com
6512bae35c
Remember: always remove mapped attributes from hashtable before modifying them.
...
Fix bug 13589
1999-09-23 03:54:12 +00:00
saari%netscape.com
113c961c8f
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
eab8cbead0
fix crash when the pref callback get call. Part of bug 14219
1999-09-23 02:10:15 +00:00
saari%netscape.com
990e5367a8
Fix for blocker bug #14464 . Reviewed by Hyatt, checkin permission by leaf.
1999-09-23 01:55:41 +00:00
ftang%netscape.com
4456c05d46
add pref callback for charset detectors
1999-09-22 08:49:28 +00:00
rpotts%netscape.com
6fc5c2e45e
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
3f574efaed
Various fixes to prevent casting events to the wrong struct subtypes when queried
1999-09-22 06:30:01 +00:00
joki%netscape.com
e9e44594ea
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
be924c200c
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
de1d4abc32
Adding support for event.clickCount, obsoleting old dblclick event.
1999-09-22 02:29:33 +00:00
peterl%netscape.com
aa659a7ec6
reset pushback buffer when creating a new scanner
...
factored scanner creation code
1999-09-22 01:19:29 +00:00
waterson%netscape.com
fae395b32c
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
f49c28ef15
Work around purify nonsense with bitfields
1999-09-22 00:38:57 +00:00
vidur%netscape.com
e8db523d27
Fix for bug 14109. Corrected dir getter.
1999-09-21 23:23:53 +00:00
saari%netscape.com
6df67e6af3
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
4bb8f6be0e
Fix for bug 14105 - correct processing of area tabindex
1999-09-21 22:19:29 +00:00
buster%netscape.com
866f935ecf
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
c681d323f9
Fix bug 6258, release of null content pointer due to reentrant event
1999-09-21 19:00:55 +00:00
dcone%netscape.com
6a77a6e288
added debugging for printing
1999-09-21 14:34:28 +00:00
joki%netscape.com
70f5a105ba
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
33ccf7c1c9
stop sharing contexts with parents
1999-09-21 07:50:16 +00:00
rpotts%netscape.com
83ade485d7
The document LoadGroup is now a nsWeakPtr...
1999-09-21 06:44:56 +00:00
nisheeth%netscape.com
ba679e1b06
Add prefix string to content creation timer output.
1999-09-21 06:24:58 +00:00
waterson%netscape.com
4312c7deef
Fix bugs with computing containment.
1999-09-21 05:57:47 +00:00
pollmann%netscape.com
038991dcf3
Bug 14223: Typo, I'm sure.
1999-09-21 00:18:49 +00:00
kipp%netscape.com
c3f602b0cf
Fixed up argument parsing issue with table align=left/right (bug 7352)
1999-09-21 00:12:09 +00:00
rods%netscape.com
08772dcc17
nailed again by nsCOMPtr
1999-09-20 22:56:32 +00:00
rods%netscape.com
0617191a4b
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
c456489505
Fixed build warning and removed NS_TIMER_STYLE_RESOLUTION define.
1999-09-20 21:36:53 +00:00
warren%netscape.com
9dd3182d39
freed gNameSpaceManager n nsXULAtoms
1999-09-20 20:52:42 +00:00
nisheeth%netscape.com
f0640e8063
Move implementation of nsITimeRecorder from the pres context to the style set.
1999-09-20 06:53:40 +00:00
nisheeth%netscape.com
4ba847ea22
Stop the content creation stopwatch before it is printed.
1999-09-20 06:48:33 +00:00
waterson%netscape.com
3a0a7fb408
Comment out 'element already in map' warning for now.
1999-09-19 22:42:55 +00:00
waterson%netscape.com
84b3af503f
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
dd7e4f99f6
Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs.
1999-09-18 06:34:24 +00:00
rpotts%netscape.com
93d54d8076
Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs.
1999-09-18 06:20:49 +00:00
slamm%netscape.com
46a00d3389
Fix build warnings (rename 'tm' to 'value).
1999-09-18 02:15:00 +00:00
kipp%netscape.com
ef095efd3a
Squish a warning or two
1999-09-17 20:16:37 +00:00
waterson%netscape.com
c35f0fdac7
Bug 12649. Add support for 'parent' on <rule> tags.
1999-09-17 20:15:29 +00:00
kipp%netscape.com
f070557a7b
Squish a warning
1999-09-17 20:15:09 +00:00
pollmann%netscape.com
67e58f7300
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
d7364ecc30
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
a20a31c3c2
fix scrollbar crash
1999-09-17 05:15:00 +00:00
karnaze%netscape.com
b5de6afed5
bug 13526 - allowed cellpadding, cellspacing to be percent value
1999-09-17 04:38:06 +00:00
waterson%netscape.com
0b2f0dfe51
Bug 13790. Okay, let's try that again, this time without the frills.
1999-09-17 04:29:53 +00:00
waterson%netscape.com
ca364c4a84
Fix nsCOMPtr sloppiness.
1999-09-17 04:13:19 +00:00
waterson%netscape.com
18082a7be6
Back out changes that will cause bustage on some compilers.
1999-09-17 04:12:08 +00:00
waterson%netscape.com
2e319c75dd
Bug 13970. Implement 'commandupdater=' attribute to hook up command udpater nodes to the XUL document's command dispatcher. Make API modifications to support command filtering. Some improvements to XUL document to factor out iteration code.
1999-09-17 04:01:46 +00:00
kipp%netscape.com
b9d4f1196a
Zapped mCompatFloatMargin hack
1999-09-17 00:57:06 +00:00