sspitzer@netscape.com
373f2dd219
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
2000-01-26 20:39:28 +00:00
vidur@netscape.com
f4382cd99d
Fix for bug 19212. HTMLTableElement::InsertRow was creating a TR instead of a TBODY if one was necessary. r=joki
2000-01-26 15:52:41 +00:00
norris@netscape.com
9dc8a8f31d
Fix 23227 Document object vulnerability
...
r=mstoltz
2000-01-26 15:33:57 +00:00
dcone@netscape.com
fb837a9f39
support for regression testing. r=rods
2000-01-26 15:14:41 +00:00
hyatt@netscape.com
838203d121
More event handler fun.
2000-01-26 11:43:31 +00:00
hyatt@netscape.com
e62fc8e2a4
In theory events can be executed now.
2000-01-26 11:05:44 +00:00
hyatt@netscape.com
b19c05f314
More goodness.
2000-01-26 10:37:13 +00:00
hyatt@netscape.com
018f622e44
More.
2000-01-26 10:25:55 +00:00
hyatt@netscape.com
93f22ec4b5
More tweaks
2000-01-26 10:08:49 +00:00
hyatt@netscape.com
4a5e46a388
Landing initial XBL event handling code.
2000-01-26 10:06:30 +00:00
jband@netscape.com
83af0a10ba
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
2000-01-26 08:38:10 +00:00
waterson@netscape.com
7d8cc5f8d7
Minor code cleanup from review with brendan: use shared finalizer in nsJSUtils.
2000-01-26 01:56:56 +00:00
waterson@netscape.com
ed63f1e6b2
Use NS_REINTERPRET_CAST instead of including private header files.
2000-01-26 01:55:59 +00:00
danm@netscape.com
e7cf065ec2
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
2000-01-26 01:24:41 +00:00
rods@netscape.com
5945f48bb4
changed align to work and reworked event process for click click hold and move off
...
b=14353 r=kmcclusk
2000-01-25 15:38:49 +00:00
hyatt@netscape.com
cee4992e39
Multiple selection capability configurable in trees now.
2000-01-25 10:30:51 +00:00
hyatt@netscape.com
b1bb68f627
Fixing Linux bustage.
2000-01-25 08:39:53 +00:00
hyatt@netscape.com
4b375cad90
Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
2000-01-25 06:35:27 +00:00
putterman@netscape.com
843e23c36c
r=waterson. Necessary for 24768. Put nsIDOMXULDocument into this.
2000-01-25 05:09:23 +00:00
norris@netscape.com
85b291ecb7
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
2000-01-25 04:42:01 +00:00
waterson@netscape.com
1b2f5e5a57
Clean up shared structures between nsRDFGenericBuilder.cpp and nsXULSortService.cpp; r=rjc
2000-01-25 04:07:41 +00:00
dougt@netscape.com
d48ec37751
Landing nsIFile.
2000-01-24 21:28:28 +00:00
pierre@netscape.com
5cb4b4ee81
Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'.
2000-01-24 11:19:55 +00:00
pierre@netscape.com
8ce808bca9
9809 "Dynamic changes of outline properties aren't repainted". Generate a reflow when the outline changes.
2000-01-24 08:16:54 +00:00
nisheeth@netscape.com
13630ef92f
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.
2000-01-24 06:43:15 +00:00
norris@netscape.com
aff32ff13b
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
2000-01-23 04:23:14 +00:00
jfrancis@netscape.com
b3f4b8afd0
fixing rdf build bustage
2000-01-23 00:25:21 +00:00
waterson@netscape.com
c36f75112f
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
2000-01-22 22:00:35 +00:00
troy@netscape.com
67f034175a
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
michael.lowe@bigfoot.com
9875af405d
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
2000-01-21 21:56:09 +00:00
jst@citec.fi
78bf530749
Fixing build bustage on linux, added a missing .get() on a nsCOMPtr. a=leaf@mozilla.org
2000-01-21 02:30:02 +00:00
vidur@netscape.com
c95028df74
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.
2000-01-21 01:32:32 +00:00
vidur@netscape.com
60606ed252
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.
2000-01-21 00:05:36 +00:00
scc@netscape.com
91a4440c8d
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}
2000-01-19 22:56:25 +00:00
hyatt@netscape.com
f653bd1282
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
2000-01-19 22:18:57 +00:00
mcafee@netscape.com
120ed7eb14
Need newline at end of file for some unixes. a=leaf
2000-01-19 19:17:22 +00:00
waterson@netscape.com
e60362adfb
Gak. Forgot to comment the oddity that may occur...
2000-01-19 06:00:25 +00:00
waterson@netscape.com
af5a37b976
Remove bogobotch that is breaking cloneNode(). r=brendan
2000-01-19 05:51:30 +00:00
hyatt@netscape.com
a618ab6661
Fixing refcounting bugs in the XML content sink, and adding support for
...
content extensibility. Scrollbars now really use XUL elements. r=waterson
2000-01-19 04:44:10 +00:00
hyatt@netscape.com
41cbd4ea62
Adding a XUL element factory so that the XML content sink over in layout will
...
be able to make XUL elements. r=waterson
2000-01-19 03:28:06 +00:00
hyatt@netscape.com
dd4e4a4eff
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
2000-01-19 03:11:39 +00:00
hyatt@netscape.com
09c081c4c6
Adding a generic element creation interface. Converting the XML factory over
...
to using this interface. r=waterson
2000-01-19 03:10:45 +00:00
hyatt@netscape.com
3ada6d5cfc
Adding an interface for the creation of elements. Converting the HTML
...
element factory so that it implements this generic interface. r=waterson
2000-01-19 03:10:06 +00:00
hyatt@netscape.com
618e7186cc
Adding an interface for the creation of elements. r=waterson
2000-01-19 03:09:12 +00:00
saari@netscape.com
b3ac295c4a
Fix for 24124, focus crasher. Review and a whole lot of help from danm.
2000-01-19 03:03:09 +00:00
rjc@netscape.com
9fb2518e7e
A few small sorting tweaks.
2000-01-19 02:39:40 +00:00
rjc@netscape.com
968c50ad15
Enable the optimized binary insertion node with end-point interpolation. (Sort-of) review: putterman@netscape.com
2000-01-19 01:44:29 +00:00
vidur@netscape.com
e2567d592d
Missed necessary cleanup in last checkin. r=pollmann
2000-01-19 01:34:07 +00:00
vidur@netscape.com
aebd2a8dbb
Fix for bugs 9213 and 17415. Fixed a ton of leaks in table content code and fixed thead, tfoot access and manipulation via DOM. r=pollmann
2000-01-19 01:29:04 +00:00
vidur@netscape.com
ab5a165fec
Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann
2000-01-18 23:35:47 +00:00