3006 Commits

Author SHA1 Message Date
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
hyatt%netscape.com
9055bcbb0f Fixing Linux bustage.
git-svn-id: svn://10.0.0.236/trunk@58579 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 08:39:53 +00:00
hyatt%netscape.com
d58696d355 Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
git-svn-id: svn://10.0.0.236/trunk@58568 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 06:35:27 +00:00
putterman%netscape.com
c4e02dec7e r=waterson. Necessary for 24768. Put nsIDOMXULDocument into this.
git-svn-id: svn://10.0.0.236/trunk@58564 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 05:09:23 +00:00
norris%netscape.com
153ee04b50 Fix
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan


git-svn-id: svn://10.0.0.236/trunk@58561 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 04:42:01 +00:00
waterson%netscape.com
4f5a5431ee Clean up shared structures between nsRDFGenericBuilder.cpp and nsXULSortService.cpp; r=rjc
git-svn-id: svn://10.0.0.236/trunk@58557 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 04:07:41 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
pierre%netscape.com
a0876134ef Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'.
git-svn-id: svn://10.0.0.236/trunk@58467 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 11:19:55 +00:00
pierre%netscape.com
2a14b9586a 9809 "Dynamic changes of outline properties aren't repainted". Generate a reflow when the outline changes.
git-svn-id: svn://10.0.0.236/trunk@58466 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 08:16:54 +00:00
nisheeth%netscape.com
26ad5f5255 Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
norris%netscape.com
e4653042f2 Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki


git-svn-id: svn://10.0.0.236/trunk@58429 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 04:23:14 +00:00
jfrancis%netscape.com
f912255c5d fixing rdf build bustage
git-svn-id: svn://10.0.0.236/trunk@58420 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 00:25:21 +00:00
waterson%netscape.com
e7fe781360 Bugs 18127, 20677, 23905. Partial fix. Give the nsXULPrototypeDocument it's own JSContext to use for compiling scripts and event handlers. Modify script and event handler code to compile shared scripts using this context, if appropriate. r=brendan
git-svn-id: svn://10.0.0.236/trunk@58414 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 22:00:35 +00:00
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com
6856aa06f0 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
jst%citec.fi
d592dbb12a Fixing build bustage on linux, added a missing .get() on a nsCOMPtr. a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@58345 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 02:30:02 +00:00
vidur%netscape.com
e66d7c18a4 a=chofmann. r=nisheeth, hyatt. Revised fix for bug 24442 and 24524. Switched
reference count handling for the content stack to use nsISupports. The previous
check introduced a leak.


git-svn-id: svn://10.0.0.236/trunk@58340 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 01:32:32 +00:00
vidur%netscape.com
80a6fe785d a=chofmann. r=vidur, troy. This is Nisheeth checking in on Vidur's machine. This fixes
bug 24442 and bug 24524.  The content stack wasn't addref'ing the content objects pushed
onto it while the content sink destructor was releasing the content objects.  This caused
a crash because the root content object would get freed one too many times.  Now,
PushContent() addrefs the content object before inserting it into the content stack.


git-svn-id: svn://10.0.0.236/trunk@58332 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 00:05:36 +00:00
scc%netscape.com
b981dc83f5 Must use |GetEnumerator|; can't QI a selection to get the enumerator. Fixes bug #24354. Also fixes a leak in the same routine. r=buster, a={chofmann, brendan}
git-svn-id: svn://10.0.0.236/trunk@58268 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:56:25 +00:00
hyatt%netscape.com
000188b782 Fix for a minor little bug I introduced into GetChecked (that only happened with
trees).  Thanks to jdunn for spotting it.  r=matejka, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@58260 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:18:57 +00:00
mcafee%netscape.com
d6b7933dcd Need newline at end of file for some unixes. a=leaf
git-svn-id: svn://10.0.0.236/trunk@58247 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 19:17:22 +00:00
waterson%netscape.com
5b71fc2554 Gak. Forgot to comment the oddity that may occur...
git-svn-id: svn://10.0.0.236/trunk@58228 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 06:00:25 +00:00
waterson%netscape.com
be7902c0e7 Remove bogobotch that is breaking cloneNode(). r=brendan
git-svn-id: svn://10.0.0.236/trunk@58227 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 05:51:30 +00:00
hyatt%netscape.com
9d796b9f81 Fixing refcounting bugs in the XML content sink, and adding support for
content extensibility.  Scrollbars now really use XUL elements. r=waterson


git-svn-id: svn://10.0.0.236/trunk@58224 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 04:44:10 +00:00
hyatt%netscape.com
f6d9a3bef9 Adding a XUL element factory so that the XML content sink over in layout will
be able to make XUL elements. r=waterson


git-svn-id: svn://10.0.0.236/trunk@58216 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:28:06 +00:00
hyatt%netscape.com
4ea3d4d3d5 Patching XUL documents so that they support extensibility of content creation.
Patching the RDF generic builder so that it can build any type of content
element (using the generic factory building interface). r=waterson


git-svn-id: svn://10.0.0.236/trunk@58215 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:11:39 +00:00
hyatt%netscape.com
1d8657b21f Adding a generic element creation interface. Converting the XML factory over
to using this interface.  r=waterson


git-svn-id: svn://10.0.0.236/trunk@58214 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:10:45 +00:00
hyatt%netscape.com
bb4cf88bdc Adding an interface for the creation of elements. Converting the HTML
element factory so that it implements this generic interface. r=waterson


git-svn-id: svn://10.0.0.236/trunk@58213 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:10:06 +00:00