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
568c1adfff
huge performance work for text controls
...
we now display the content of a single line text control using a child pseudo frame
until the text control first gets focus. at that time, a webshell and editor are created on the fly.
fixed bug bug 14727
r=rods
1999-10-30 16:33:00 +00:00
buster%netscape.com
6d9ca51598
added pseudo style for single line text controls
...
bug 14727
r=rods
1999-10-30 16:31:11 +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
nisheeth%netscape.com
e634256817
Fix for bug 17540. Uncommented the call to nsFrameManager::CantRenderReplacedElement().
1999-10-30 01:31:49 +00:00
mjudge%netscape.com
17c9ff17c4
i cannot find the bug# it is for selecting inside forms. we need to turn off selection in certain frames based on the style. this sets up it to work once we figure out the style rule to set.
1999-10-29 23:07:07 +00:00
evaughan%netscape.com
86fd1321dd
Made tabs us visibility instead of shrinking their children to 0,0.
...
Made it possible to change the look for the selected tab.
1999-10-29 22:13:57 +00:00
karnaze%netscape.com
a641b5aa39
new regression test
1999-10-29 20:47:33 +00:00
karnaze%netscape.com
fb5f1b2e3b
bug 17375 - better checks and casting before calling DidAppendRow
1999-10-29 20:25:13 +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
kipp%netscape.com
f5ee0b886e
Fixed solaris build bustage
1999-10-29 15:20:20 +00:00
troy%netscape.com
732b6f429c
Space reduction. We now save 8 bytes per row frame by eliminating the max
...
top/bottom margin data members which are no longer needed
1999-10-29 14:40:58 +00:00
kipp%netscape.com
6f71ddcd0e
r=troy; bugs 12958 and 12760; reworked the way that first-letter frames are created and updated. We now support incremental content changes even when first-letter style applies.
1999-10-29 14:39:48 +00:00
kipp%netscape.com
87c4e2884c
r=troy; fixed a crash bug in the debug logic found while fixing 12958
1999-10-29 14:36:00 +00:00
kipp%netscape.com
5f3b41ae43
r=troy; api changes for 12958, 12760 and preperations for 17377
1999-10-29 14:35:36 +00:00
kipp%netscape.com
50dc6c6dba
r=troy; cleaned up resize reflow optimization logic and prepared it for fixing bug #17737 (not yet fixed!)
1999-10-29 14:34:53 +00:00
kipp%netscape.com
97e2826bf2
r=troy; fixed letter frame logic to use the line layout to flow frames so that white-space trimming, for example, would work right
1999-10-29 14:34:01 +00:00
kipp%netscape.com
32ee25122e
r=troy; updated api slightly to support fixes to bug 12760, 12958 and some resize-reflow optimization bugs
1999-10-29 14:33:26 +00:00
kipp%netscape.com
c6a4f6f131
r=troy; use new line-layout api to help with some resize-reflow optimization bugs
1999-10-29 14:32:11 +00:00
rods%netscape.com
e6613c94df
Allows radiobuttons to remove themselves from the named radio group
...
when deleted factored the code
r=kmcclusk, bug 17418
1999-10-29 13:56:30 +00:00
rods%netscape.com
388b0dc47d
removes itself from the radio group when it is destructed
...
r=kmcclusk, bug 17418
1999-10-29 13:54:58 +00:00
rods%netscape.com
d7adceba3c
clears the the checked item on removal
...
r=kmcclusk,bug 17418
1999-10-29 13:53:50 +00:00
kin%netscape.com
46b69e20ca
Fix for bug #16176 : [DOGFOOD] need to annotate line frames with whitespace trim
...
layout/base/src/nsCaret.cpp
- Modified DrawCaretWithContext so that we only
adjust the caret position if we are within the
frame's bounds.
layout/html/base/src/nsTextFrame.cpp
- Modified GetPointFromOffset() to add the width
of a space if the offset is after a trailing space
and it was trimmed off the frame.
r=sfraser@netscape.com
1999-10-29 13:43:11 +00:00
troy%netscape.com
9b14cec570
Fix for bug #16649 . Didn't actually change anything. Just restored some
...
code that was clobbered by revision 3.153
1999-10-29 04:57:02 +00:00
kipp%netscape.com
f434122964
r=troy; fixed code to properly remove reflowc ommands when cancelling
1999-10-29 01:53:56 +00:00
kipp%netscape.com
c60d777027
New tests (not part of any build)
1999-10-29 00:59:41 +00:00
rods%netscape.com
022efe1d62
Listboxes now obey CSS specifed sizes
...
r=kmcclusk,related to bug 16317
1999-10-28 20:31:23 +00:00
troy%netscape.com
d606fe7e0e
Added more diagnostic code
1999-10-28 14:38:14 +00:00
kipp%netscape.com
050d1f0711
bug=17320; Fixed a purify warning
1999-10-28 14:33:34 +00:00
waterson%netscape.com
80dd917abc
Unix filenames are case-sensitive.
1999-10-28 04:36:04 +00:00
karnaze%netscape.com
30362f5287
simplified caching of column frames. split out collapsing border processing into nsBorderCollapser (checked in previously). r=troy
1999-10-28 04:09:39 +00:00
karnaze%netscape.com
b9f54b1b82
new class for collapsing borders, extracted from nsTableFrame, r=troy
1999-10-28 03:51:55 +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
c35d1635e7
r=dp. Fix for bug 17411. Commenting out the call to nsFrameManager::CantRenderReplacedElement for now. This should let us open up the tree while dp and pnunn figure out the right fix.
1999-10-28 01:20:34 +00:00
troy%netscape.com
574edf6941
b=6674, r=karnaze@netscape.com
...
Changed Paint() to set the clip rect only when the collapse offset isn't
(0, 0)
1999-10-27 23:01:21 +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
kipp%netscape.com
2305d254f3
Backed out chris's accidental checkin (don't ask)
1999-10-27 15:57:35 +00:00
karnaze%netscape.com
990f5ccf18
hello
1999-10-27 15:55:31 +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
troy%netscape.com
8b70d1eabe
Change to some assertions in debug mode
1999-10-27 00:53:15 +00:00
rods%netscape.com
986d740c9d
At kipp's suggestion I added a EnterReflowLock before and a ExitReflowLock
...
after my AppendReflowCommand. The reflow command gets "kicked off"
and it is now fixed. r=kipp, b=14771
1999-10-26 23:34:46 +00:00
rods%netscape.com
a1997ce8aa
removed an unused variable and an extra decl and call to remove two warnings
...
r=none
1999-10-26 23:28:51 +00:00
rods%netscape.com
31eba9c93d
changed param in the initializer to aContent instead of nsnull
...
r=kmcclusk,b=17015
1999-10-26 23:21:14 +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