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
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
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
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
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
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
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
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
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
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
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
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
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
rjc%netscape.com
5787e39722
A few small sorting tweaks.
...
git-svn-id: svn://10.0.0.236/trunk@58208 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 02:39:40 +00:00
rjc%netscape.com
69054862bc
Enable the optimized binary insertion node with end-point interpolation. (Sort-of) review: putterman@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@58199 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:44:29 +00:00
waterson%netscape.com
9b5074499d
Bug 24134. Re-apply r1.233, which was steamrollered by tao's recent checkin. Re-using the r=valeski here.
...
git-svn-id: svn://10.0.0.236/trunk@58018 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 19:34:23 +00:00
rjc%netscape.com
bc39bd9fe7
More preparations to land an optimized binary insertion node. (Going to test more later. Currently #ifdef'ed out.)
...
git-svn-id: svn://10.0.0.236/trunk@58014 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 13:15:44 +00:00
rjc%netscape.com
338727d7b3
Prepare to land an optimized binary insertion sort. (Going to test more later. Currently #ifdef'ed out.)
...
git-svn-id: svn://10.0.0.236/trunk@58007 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 11:00:13 +00:00
rjc%netscape.com
dd85e83ce4
Small optimizations.
...
git-svn-id: svn://10.0.0.236/trunk@57999 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 07:02:17 +00:00
danm%netscape.com
7320d5dcec
reapplying changes from rev 1.234, which was lost as part of 1.235
...
git-svn-id: svn://10.0.0.236/trunk@57911 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 05:53:41 +00:00
alecf%netscape.com
ee7be6a1a2
attempted fix at build bustage. I have no idea if this is the "right" thing or not but it gets the build green
...
git-svn-id: svn://10.0.0.236/trunk@57904 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 03:51:31 +00:00
tao%netscape.com
ecd98e520f
bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@57887 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:01:05 +00:00
mscott%netscape.com
4bf50324b1
Bug #24007 --> you can't remove xul elements from html elements in JS
...
this was because of an unitialized variable in layout because xul elements
don't support the notion of ranges.
r=waterson
git-svn-id: svn://10.0.0.236/trunk@57864 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:37:16 +00:00
rjc%netscape.com
87f34c0dbe
Sorting optimizations. (Sort-of) review by putterman@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@57768 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 01:21:55 +00:00
brendan%mozilla.org
b004706546
InitStandardClasses so JS compiler makes well-prototyped objects (22048,22098 r=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@57762 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:49:30 +00:00
danm%netscape.com
0c61f84c9c
removing initial window sizing from StartLayout (now done in nsWebShellWindow). Long overdue change; also necessary as part of bug 15775. r:hyatt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@57735 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:49:25 +00:00
waterson%netscape.com
b25817cb73
Bug 23799. Ignore failure from GetContentType() in StartDocumentLoad(), because some channels may not have yet resolved the content type. In this case, cross our fingers and pray that it's text/xul. r=valeski
...
git-svn-id: svn://10.0.0.236/trunk@57716 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:23:51 +00:00
waterson%netscape.com
1ecfbbdfca
Remove some additional bogoasserts.
...
git-svn-id: svn://10.0.0.236/trunk@57710 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:18:05 +00:00
rjc%netscape.com
36f2641445
Attempt to fix wensleydale (SunOS 5.6) bustage.
...
git-svn-id: svn://10.0.0.236/trunk@57670 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 11:03:56 +00:00
rjc%netscape.com
f2a60c889e
Sorting optimizations. (Sort-of) review by putterman@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@57667 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 10:16:32 +00:00
hyatt%netscape.com
b7d969a730
Fix Linux bustage.
...
git-svn-id: svn://10.0.0.236/trunk@57661 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 09:20:58 +00:00
hyatt%netscape.com
76e2c5bb8b
Giving XUL elements the capability to own bindings.
...
git-svn-id: svn://10.0.0.236/trunk@57652 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 08:48:33 +00:00
alecf%netscape.com
abb8b4f61a
expose the form controls in a XUL document in the "controls" DOM attribute
...
this will make prefs and wizards much faster
r=hyatt
git-svn-id: svn://10.0.0.236/trunk@57613 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 02:59:08 +00:00
waterson%netscape.com
f92a42d3a2
Remove assertion from nsRDFDOMNodeList::Item(); it was being triggered from JS, and it really isn't a "fatal" program condition.
...
git-svn-id: svn://10.0.0.236/trunk@57612 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 02:49:10 +00:00
waterson%netscape.com
0aa77090cd
Bugs 20724, 23715. Add a fixed-size allocator for nsXULAttribute objects. Always atomize 'id' attributes so nsXULElement::GetID() can be fast. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@57606 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 02:22:16 +00:00
sspitzer%netscape.com
ff98b95f7c
fix warning.
...
git-svn-id: svn://10.0.0.236/trunk@57527 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 08:57:41 +00:00
waterson%netscape.com
b0f775e689
Bug 17195. Implement nsIDOMNode::CloneNode(). r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@57505 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 03:23:48 +00:00
rjc%netscape.com
06d2a36d07
Somehow, we lost some of the magical attributes we need to check for. (coalescing dup arcs, and allowing negative arcs)
...
git-svn-id: svn://10.0.0.236/trunk@57491 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 01:47:23 +00:00
rjc%netscape.com
2f68be984f
Tweak resource cache usage. Change from putterman, Review from me
...
git-svn-id: svn://10.0.0.236/trunk@57438 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:03:53 +00:00
waterson%netscape.com
0937b45c18
Bug 22915. Be sure to add the nsCachedChromeChannel to the load group on nsIChannel::SetLoadGroup(). Also, don't assume (in nsXULDocument::StartDocumentLoad) that when you 'hit' in the cache that the channel is actually a nsCachedChromeChannel; instead, inspect its content type. Finally, get rid of extraneous 'command' member variable in nsCachedChromeChannel. r=mscott
...
git-svn-id: svn://10.0.0.236/trunk@57432 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 21:18:19 +00:00