3033 Commits

Author SHA1 Message Date
hyatt%netscape.com
abbd31277b Fix for 25883.
git-svn-id: svn://10.0.0.236/trunk@59326 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:20:26 +00:00
sfraser%netscape.com
f5c799d682 Avoid crashing when mousing over links in teh composer window. r=brade
git-svn-id: svn://10.0.0.236/trunk@59318 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:00:17 +00:00
akkana%netscape.com
8df59df731 18033: Emacs XBL key bindings for unix. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59314 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:47:40 +00:00
vidur%netscape.com
1fc69f769b Partial performance fix for bug 25509. Restrict the size of text nodes (the max is settable via a pref-content.maxtextrun). r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@59310 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:39:19 +00:00
beard%netscape.com
c9a6201c38 fix nsIAtom leak. bug=25778, r=waterson
git-svn-id: svn://10.0.0.236/trunk@59305 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:29:08 +00:00
attinasi%netscape.com
010367b83d Removed unused argument statements for elimination of warnings. No functional changes.
git-svn-id: svn://10.0.0.236/trunk@59247 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 13:54:39 +00:00
saari%netscape.com
8b71d64469 Fix for bug 22264. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59150 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 04:05:03 +00:00
vidur%netscape.com
df9d1ddacd Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59135 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:34:07 +00:00
vidur%netscape.com
825e97e024 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
pollmann%netscape.com
9ba6b9f387 Bug 6747: HTML labels now pass events to their assigned element in XUL documents too. r=rods
git-svn-id: svn://10.0.0.236/trunk@59108 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:29:36 +00:00
pierre%netscape.com
9c05019ba2 Bug 24676 ("Need -moz-outline-radius feature"). Fixed the parsing of -moz-outline-radius.
git-svn-id: svn://10.0.0.236/trunk@59055 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 10:03:10 +00:00
warren%netscape.com
94953b11eb Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki
git-svn-id: svn://10.0.0.236/trunk@59032 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 06:55:27 +00:00
jim_nance%yahoo.com
370762744f Implemented idea from shaver for speeding up SelectorMatches().
We wait until we know we are going to need the contentTag before
we create it.
r=shaver


git-svn-id: svn://10.0.0.236/trunk@59021 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:37:13 +00:00
saari%netscape.com
67ec2fc3c1 Something I forgot with yesterday's checkin.
git-svn-id: svn://10.0.0.236/trunk@59015 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:04:26 +00:00
hyatt%netscape.com
cfcce1875f Fix for bug#15946
git-svn-id: svn://10.0.0.236/trunk@59012 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:41:24 +00:00
waterson%netscape.com
73367133db Fix nsXBLBinding leaks. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59009 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:16:08 +00:00
hyatt%netscape.com
2775735cc9 Getting rid of createPopup
git-svn-id: svn://10.0.0.236/trunk@59005 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:04:40 +00:00
karnaze%netscape.com
e8ff8bb21f bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.


git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
sspitzer%netscape.com
8d0295431e fix for crash in bug #25339, r=hyatt. the problem is someone is trying to select a null
element in the tree (from js).  now, on to fix that problem.


git-svn-id: svn://10.0.0.236/trunk@58992 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:30:29 +00:00
hyatt%netscape.com
34e4e10a23 Eliminating another leak.
git-svn-id: svn://10.0.0.236/trunk@58931 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 11:19:09 +00:00
hyatt%netscape.com
567ff178d4 Patching a leak in XBL.
git-svn-id: svn://10.0.0.236/trunk@58930 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 10:37:52 +00:00
hyatt%netscape.com
1f019a4de2 Updating the event handler code for XBL.
git-svn-id: svn://10.0.0.236/trunk@58917 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:44:58 +00:00
hyatt%netscape.com
734aaaaa41 Making the XUL key listener a bubbler. Removing its capability to handle
textareas and inputs.


git-svn-id: svn://10.0.0.236/trunk@58915 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:43:19 +00:00
hyatt%netscape.com
6ab345a11d Making input and text area elements bindable using XBL.
git-svn-id: svn://10.0.0.236/trunk@58911 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:01:49 +00:00
vidur%netscape.com
db8c33a342 Fix for bug 12565. form.encoding returns the value of the ENCTYPE attribute, not ENCODING. r=joki
git-svn-id: svn://10.0.0.236/trunk@58908 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 08:51:54 +00:00
hyatt%netscape.com
2af63bfe40 Adding controller shorthand access.
git-svn-id: svn://10.0.0.236/trunk@58903 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 07:57:29 +00:00
hyatt%netscape.com
8df52203bb Improving XBL event handling.
git-svn-id: svn://10.0.0.236/trunk@58902 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 07:49:50 +00:00
vidur%netscape.com
b0d8cb960b Fixed bug 16609. RemoveNamedItem now returns the correct error code if the attribute doesn't exist. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58887 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:17:11 +00:00
vidur%netscape.com
b012506fc2 Fix for bugs 25082 and 25084. Range::SetStartBefore, etc. need to return an error for a null sibling. Range::createContextualFragment needed to allow for a null document. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58875 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:51:51 +00:00
jim_nance%yahoo.com
723d9997d5 Make SelectorMatches() faster by eleminating a few function calls
r=Shaver
Tree is green enough = waterson


git-svn-id: svn://10.0.0.236/trunk@58871 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:28:52 +00:00
attinasi%netscape.com
a4a9391a2f Title is now set in the Title Bar. b=24478 r=rickg
git-svn-id: svn://10.0.0.236/trunk@58863 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:15:19 +00:00
hyatt%netscape.com
bfba670129 More popup work.
git-svn-id: svn://10.0.0.236/trunk@58844 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:30:10 +00:00
kmcclusk%netscape.com
5f7ac3effb Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +00:00
harishd%netscape.com
6575e1e56b Fix for Bug 24738 - Restricting DOCTYPE to html document only.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@58836 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:57:18 +00:00
sspitzer%netscape.com
a4b8da9ccc change PR_ASSERT to NS_ASSERTION. on linux, PR_ASSERT calls abort, and
I was getting getting to the PR_ASSERT when copying text in a quoted mail message.  r=akkana, a=leaf


git-svn-id: svn://10.0.0.236/trunk@58803 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 20:39:28 +00:00
vidur%netscape.com
d762cfe609 Fix for bug 19212. HTMLTableElement::InsertRow was creating a TR instead of a TBODY if one was necessary. r=joki
git-svn-id: svn://10.0.0.236/trunk@58790 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:52:41 +00:00
norris%netscape.com
0dd1063455 Fix 23227 Document object vulnerability
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@58789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:33:57 +00:00
dcone%netscape.com
78a3fc3824 support for regression testing. r=rods
git-svn-id: svn://10.0.0.236/trunk@58785 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:14:41 +00:00
hyatt%netscape.com
1b8b62e933 More event handler fun.
git-svn-id: svn://10.0.0.236/trunk@58779 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 11:43:31 +00:00
hyatt%netscape.com
e8fd78602f In theory events can be executed now.
git-svn-id: svn://10.0.0.236/trunk@58774 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 11:05:44 +00:00
hyatt%netscape.com
b6031f51e4 More goodness.
git-svn-id: svn://10.0.0.236/trunk@58773 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 10:37:13 +00:00
hyatt%netscape.com
a09e6a72b1 More.
git-svn-id: svn://10.0.0.236/trunk@58772 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 10:25:55 +00:00
hyatt%netscape.com
d628593659 More tweaks
git-svn-id: svn://10.0.0.236/trunk@58770 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 10:08:49 +00:00
hyatt%netscape.com
39e129bf1e Landing initial XBL event handling code.
git-svn-id: svn://10.0.0.236/trunk@58768 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 10:06:30 +00:00
jband%netscape.com
7ac1267323 Lots of xpconnect bug fixes...
- fix bug 12954 "should throw when setting non-settable props".

- fix bug 13418 "xpconnect needs to be threadsafe".
I think I filled in the cracks. Tests would be nice :)

- fix bug 22802 "[MLK] XPConnect Leaks".

- fix bug 24119 "[MLK] Reminder about cleaning up maps".

- fix bug 24453 "xpconnect needs default security manager".
I also changed the code in DOM and caps to just install a default secman and
not install a secman for each JSContext.

- fix bug 24687 "xpconect should avoid resolve performance suckage".
Added (modified) patch from shaver to create my JSObjects with the
global object as the temporary proto to avoid losing lookup.

- hack for bug 24688 "runtime errors in wrapped JS are not made obvious"
Added a debug only printf. We still need a JSErrorConsole service for this.

- fix bug 16130 "createInstanace and getService can create wrappers around wrappers"
Fixing this one really entailed changing the semantics of nsIXPConnect::wrapNative
and nsIXPConnect::wrapJS to use common code in xpcconvert that deals with existing
wrappers and DOM objects (with their own schemes for wrapping and unwrapping).
So, I changed the callers because the params changed slightly and some callers
were doing more work than necessary given the new semantics.

- Continued in the crusade to replace manaual refcounting with nsCOMPtrs whenever
touching old code.

- Added myself as first contributor to xpconnect files (vanity prevails!)

- Added new copyright header on some files that were missing it.

- Added some API comments.

- Converted nsXPCWrappedJS to implement nsIXPConnectWrappedJS via MI rather than
the old loser scheme of the nsIXPConnectWrappedJSMethods tearoff object.

- added DumpJSStack as globals to xpconnect and DOM dlls to be callable from
debuggers. I have ideas on how to improve and expand this support soon.

r=mccabe


git-svn-id: svn://10.0.0.236/trunk@58762 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 08:38:10 +00:00
waterson%netscape.com
0637dff898 Minor code cleanup from review with brendan: use shared finalizer in nsJSUtils.
git-svn-id: svn://10.0.0.236/trunk@58697 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:56:56 +00:00
waterson%netscape.com
500389c80a Use NS_REINTERPRET_CAST instead of including private header files.
git-svn-id: svn://10.0.0.236/trunk@58696 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:55:59 +00:00
danm%netscape.com
612df1ea60 notify parent form when a form element is removed. bugs 23493, 24452, and probably a lot of undiagnosed instabilities. r:vidur,pollman,waterson and a cast of thousands
git-svn-id: svn://10.0.0.236/trunk@58685 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:24:41 +00:00
rods%netscape.com
0fc1688c1d changed align to work and reworked event process for click click hold and move off
b=14353 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@58605 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:38:49 +00:00
hyatt%netscape.com
752cb64c39 Multiple selection capability configurable in trees now.
git-svn-id: svn://10.0.0.236/trunk@58582 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 10:30:51 +00:00