Commit Graph

310 Commits

Author SHA1 Message Date
pollmann%netscape.com
3c19530bbd Bug 28670: Move XUL scrollbar removal to nsCSSFrameConstructor r=travis a=rickg
git-svn-id: svn://10.0.0.236/trunk@61846 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 06:51:05 +00:00
jdunn%netscape.com
2592ac53d5 adding newline
git-svn-id: svn://10.0.0.236/trunk@61801 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 20:50:38 +00:00
saari%netscape.com
b4608e9377 fix for 28467, a=jar, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@61712 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 00:59:41 +00:00
law%netscape.com
b68c10b8db Fix from Chris Waterson to suppress bogus assertion failure when adding overlays to personal toolbar; this is a prerequisite to other changes for bug #11871; r=waterson@netscape.com, a=jevering@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61639 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 02:28:45 +00:00
danm%netscape.com
6a87de793b stop up small but profuse leak on NT; probably a runtime lib bug. r=waterson a=jevering
git-svn-id: svn://10.0.0.236/trunk@61419 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 04:13:24 +00:00
pollmann%netscape.com
29e33fc22d Bug 14827: Naughty XUL documents no longer steal scrollbars r=harishd a=rickg
git-svn-id: svn://10.0.0.236/trunk@61350 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 02:41:48 +00:00
waterson%netscape.com
8c4d394eda Bugs 27271, 27947. Re-order menu creation so that RDF-generated menus are created simultaneously with XUL content. Use style rather than content tree crawling to avoid over-eager creation of menu content. r=hyatt,danm a=jevering.
git-svn-id: svn://10.0.0.236/trunk@61333 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 00:56:13 +00:00
waterson%netscape.com
f6c0701b75 Bug 27925. Check document's principal before loading RDF datasources; if principal == system principal, let it do whatever it wants, otherwise check each datasource's URL to ensure that it comes from the same origin as the document. Prevents, for example, untrusted XUL content from loading bookmarks. r=norris, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@61221 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 21:05:52 +00:00
waterson%netscape.com
f4e7200748 Revert fix for 26947, 27271 due to bad interaction with the 'find' datasource that causes crash-on-exit. a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@61138 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 22:44:15 +00:00
waterson%netscape.com
66ed9d00a5 Bugs 27947, 27271. Re-order content-model-to-layout notification to avoid an incremental reflow. This ensures that 1) all menus will be completely created before they are displayed, and 2) the 'oncreate' handler runs after RDF content has been generated. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@61107 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 07:36:35 +00:00
joki%netscape.com
dcc35666e8 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann
git-svn-id: svn://10.0.0.236/trunk@61096 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:59:07 +00:00
sspitzer%netscape.com
e52e3b4564 case sensitivity problem. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@60861 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 09:42:41 +00:00
sfraser%netscape.com
d7e295e347 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@60847 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 08:42:25 +00:00
hyatt%netscape.com
d5a072fbac Fix for bug #25675. More focus memory framework being checked in for the
command dispatcher as well.


git-svn-id: svn://10.0.0.236/trunk@60359 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:59:32 +00:00
kmcclusk%netscape.com
31beeacc3d Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@60242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:48:01 +00:00
hyatt%netscape.com
b95b01951b Fixing command dispatcher horkage. r=saari
git-svn-id: svn://10.0.0.236/trunk@60188 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 03:14:03 +00:00
dp%netscape.com
f7e553f434 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@60183 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 02:43:48 +00:00
hyatt%netscape.com
93117561a9 Command dispatcher fix for PDT+ focus issues on Linux. r=saari
git-svn-id: svn://10.0.0.236/trunk@60171 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 01:32:42 +00:00
tbogard%aol.net
c416db8338 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur
git-svn-id: svn://10.0.0.236/trunk@60129 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 13:40:10 +00:00
joki%netscape.com
bcf5da502c Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@60037 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 02:05:57 +00:00
waterson%netscape.com
e57d2fd711 Tweak MOZ_COUNT_[CTOR|DTOR] macros.
git-svn-id: svn://10.0.0.236/trunk@59925 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 02:56:06 +00:00
alecf%netscape.com
e40358dcc3 hook up this object to the globalobjectowner so that we can report errors
r=waterson


git-svn-id: svn://10.0.0.236/trunk@59712 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 01:42:05 +00:00
waterson%netscape.com
d7c3738b58 Bug 25333. Implement nsIScriptGlobalObjectOwner so we can report compilation errors. r=scc
git-svn-id: svn://10.0.0.236/trunk@59643 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 08:51:49 +00:00
waterson%netscape.com
9caecde31a Bug 20677, 23905, attempt number 2. This time, in the DOM methods, we make sure to do a 'deep' set on mDocument *before* calling to their nsIContent brethren. This ensures that any code in layout that wants to access the document gets the right value. r=scc
git-svn-id: svn://10.0.0.236/trunk@59634 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 07:55:34 +00:00
valeski%netscape.com
8abecb4b3e r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data.
git-svn-id: svn://10.0.0.236/trunk@59559 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:04:47 +00:00
waterson%netscape.com
a349681dbb Revert changes that cause mail sort to crash.
git-svn-id: svn://10.0.0.236/trunk@59532 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 19:46:03 +00:00
waterson%netscape.com
a395b28551 Bugs 20677, 23905. Change nsXULElement to implement nsIContent like nsGenericElement and nsGenericHTMLElement. Specifically, do 'shallow' SetDocument() calls in AppendChildTo(), InsertChildAt() and ReplaceChildAt() methods. Change nsXULDocument to leave newly create element's mDocument as null (so 'null mDocument' means 'this element is not currently in the document'. Fix callers to ensure that a deep SetDocument() is made where necessary. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59424 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:57:36 +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
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
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
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
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
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
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
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
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
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
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
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
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
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00