Commit Graph

3342 Commits

Author SHA1 Message Date
waterson%netscape.com
85010931c6 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. 2000-02-19 00:56:13 +00:00
hyatt%netscape.com
88b9a0adac Popup fixes. r=saari 2000-02-18 09:38:59 +00:00
bryner%uiuc.edu
a0bd56bc00 Set the event status to prevent us from receiving multiple mousewheel
events on Win32.  Fixes bug 24083.  r=saari,pinkerton.  a=chofmann.
2000-02-17 23:52:45 +00:00
jdunn%netscape.com
080142580c Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
waterson%netscape.com
0b9f6cb34b 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 2000-02-17 21:05:52 +00:00
troy%netscape.com
96857ad3ab b=27056 a=jar@netscape.com r=troy@netscape.com Change made by Vidur.
Avoid notifications in the middle of a table row
2000-02-16 23:43:59 +00:00
waterson%netscape.com
725a6b2b3d Revert fix for 26947, 27271 due to bad interaction with the 'find' datasource that causes crash-on-exit. a=chofmann. 2000-02-16 22:44:15 +00:00
waterson%netscape.com
21c4ae46b3 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 2000-02-16 07:36:35 +00:00
joki%netscape.com
c564b74577 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
attinasi%netscape.com
3a072761b8 Made external stylesheets load synchronously, always. Controlled by a define in case we want to re-enable asynch external stylesheets later. r=pierre,troy b=17309 2000-02-16 06:50:39 +00:00
alecf%netscape.com
0526e07dee add debug_hyatt around this printf so I don't get it constantly 2000-02-16 06:26:41 +00:00
joki%netscape.com
2919db4ef3 Fix for bug 9140, prevent recursion of mouseover/out events. r:vidur 2000-02-16 03:52:45 +00:00
mscott%netscape.com
d167d60ce2 Bug #19499 --> remove some obsolete code involving mailto
urls. we can handle mailto urls just fine now. this was giving us problems if you moused over or
clicked on a http/file url that had the word "mailto" in it.
r=vidur
2000-02-16 03:28:40 +00:00
vidur%netscape.com
f2e50f5059 Fix for bug 9844. Implemented offsetTop/Left/Width/Height/Parent for HTML content.r=pollmann 2000-02-16 02:25:07 +00:00
sfraser%netscape.com
a4e6c94818 Call the new Init() method on nsIEditorController for bug 18395. r=pinkerton 2000-02-16 01:41:17 +00:00
sfraser%netscape.com
5491ddfa58 Fix the document viewer command updating, give it a selection listener etc, so that commands get updated at the right time. for bug 18395. r=pinkerton 2000-02-16 01:39:30 +00:00
pierre%netscape.com
731ac166e2 Bug 24390 "html:input styles in global.css are ignored". In SelectorMatches(), make string comparisons case-insensitive for HTML content. 2000-02-16 01:09:36 +00:00
karnaze%netscape.com
c75793821e bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi 2000-02-16 01:08:54 +00:00
rods%netscape.com
e0e813fecd radio button now remembers state, and in standard mode it will always select
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk
2000-02-15 23:02:55 +00:00
rods%netscape.com
2ab7d2fccc setting flush flag to false, so it doesn't flush everytime an item is added
r=vidur b=27498
2000-02-15 22:45:26 +00:00
nisheeth%netscape.com
fa0d00d0b4 r=harishd. Fix for bug 27507. Removed a bogus assert. 2000-02-15 22:03:05 +00:00
pollmann%netscape.com
eefd0eb663 Bug 27327: Input::SetAttribute('value') now updates content model, r=buster 2000-02-15 21:56:04 +00:00
rods%netscape.com
1acec82129 They now cache their state properly in the PresState
b 21945 r=pollmann
2000-02-15 15:04:38 +00:00
sspitzer%netscape.com
505b02bd76 case sensitivity problem. r=sfraser 2000-02-15 09:42:41 +00:00
ftang%netscape.com
189f468495 fix 22203. r=cata/jbetak do not call the reload but set the parser charset directly if auto detect happen in the first block. 2000-02-15 09:15:18 +00:00
sfraser%netscape.com
92e0c2ac71 First Checked In. 2000-02-15 08:42:25 +00:00
pinkerton%netscape.com
30921af68e now that mac correctly converts control-click to a right-click, we no longer need the #ifdef for mac when launching a context menu. r=saari. 2000-02-15 07:15:00 +00:00
waterson%netscape.com
8ce00f5245 Bug 25303. Remember container into which content was inserted and the index of first insertion, rather than the first element that was inserted. With the latter approach, we were sending incorrect ContentAppended notifications to layout when the insertion sort would move the position of the 'first' inserted element. r=rjc@netscape.com. 2000-02-15 07:08:45 +00:00
vidur%netscape.com
59afb30e1b Cutting down on debug printf noise. 2000-02-15 05:06:45 +00:00
putterman%netscape.com
d1428bcbdb Speed up sorting. r=rjc. Bug 26131. 2000-02-15 05:05:29 +00:00
tbogard%aol.net
e90f418de4 Support for the new interfaces on the browserElement and iframeElement. r=hyatt 2000-02-15 04:47:33 +00:00
dbaron%fas.harvard.edu
e0c71d1e53 Fix bug 15428 as suggested by VYV03354@nifty.ne.jp . Stop using 0 as the initial values for min and max of inline box contents so that lines that do not (vertically) contain their own baseline are sized correctly. Also, correctly size BR frames using their line-height (for strict-mode only).
Fix bugs 24186, 26996, and 26998 by reworking the quirks-mode line-height handling so that inline elements that do not have text as children (or meet a few other conditions that show the author wants real CSS support) will not increase the size of the line, but will be as close to their correct size as possible without enlarging the line.  This fix includes emulation of the strange Nav4/IE quirk that a block's line-height is enforced on the first line of LI elements and the last line of LI, DD, and DT elements.  Many of the changes are removing an earlier fix for 24186.

r=buster
2000-02-15 04:26:44 +00:00
av%netscape.com
45b74a09a8 Fixing 17278, r=vidur 2000-02-15 01:16:04 +00:00
saari%netscape.com
84fd5fa25f Fix for crashes in EventStateManager that may people are seeing. Bug 27727. r=hyatt 2000-02-15 00:28:43 +00:00
karnaze%netscape.com
e7fcf79431 bug 27652, fix loss of border on <table border>, r=mcafee 2000-02-14 06:06:03 +00:00
evaughan%netscape.com
5ce4b52cef bug fix for 24351, 22512
-r saari
2000-02-14 01:42:09 +00:00
hyatt%netscape.com
6882634a8f Fix for bug #23387. 2000-02-13 22:57:52 +00:00
hyatt%netscape.com
eaae47602b Fix for bug#25565 2000-02-13 21:59:22 +00:00
attinasi%netscape.com
57628f4c8c Image title is now set after load is completed so the dimensions will be valid.r=pnunn b=27365 2000-02-12 18:09:40 +00:00
rods%netscape.com
4afe837157 now remembers single selects correctly, have not implemented it for mulitple
selects yet, but this check in get mail work, multiple is needed for bugzilla
b=21945, r=pollmann
2000-02-12 16:26:24 +00:00
rods%netscape.com
efb50a3f08 converted over to use nsCOMPtr and changed return code back to NS_OK for GetAttr
part of bug 21945 work, r=pollmann
2000-02-12 16:24:19 +00:00
hyatt%netscape.com
546064e2fc Addendum to 20764 2000-02-12 10:47:33 +00:00
hyatt%netscape.com
5b1a23bf63 Fix for bug #20764. 2000-02-12 10:08:52 +00:00
saari%netscape.com
53f9de18ca fix for 25434, PDT+ crasher. r=hyatt 2000-02-12 08:33:12 +00:00
mjudge%netscape.com
03236d5de7 adding new file should not be built yet. this will do no harm 2000-02-12 06:09:19 +00:00
karnaze%netscape.com
2e709d5d79 bug 8524 - don't use -moz-bg-inset in standard mode. r=troy
bug 10269 - renamed RequiresPass1Layout to IsAutoLayout and have it force a fixed layout table (not tree) to be auto layout if the table is auto width.
2000-02-12 00:58:38 +00:00
mjudge%netscape.com
5b067e70a2 small change for bad assert... 2000-02-12 00:24:55 +00:00
hyatt%netscape.com
34cd127797 Landing focus memory. If you pull before saari completes this checkin (we
still have to land nsWebShellWindow and nsGlobalWindow),
you will not like the result.  r=saari
2000-02-11 23:41:13 +00:00
harishd%netscape.com
d6aeb5f954 21008 - Handling NOTAGS in HEAD.
r=vidur - For changes in content sink.
2000-02-11 22:07:12 +00:00
rickg%netscape.com
75be200f2d fixed bug24346; r=harishd 2000-02-11 12:10:40 +00:00
tbogard%aol.net
b91c1c9cea Assert when trying to sizeToContent on subframes. It's not allowed. r=hyatt 2000-02-11 08:35:20 +00:00
joki%netscape.com
45b81df728 Fix for bug 24947, prevent recursive blur/focus calls. r:saari 2000-02-11 05:20:44 +00:00
akkana%netscape.com
a873ff2c2d Fixing nsCOMPtr taining build bustage. a=gramps 2000-02-11 02:38:20 +00:00
pinkerton%netscape.com
9eb0272942 fix for 27423, menus coming back sometimes after a item was selected. r=hyatt. 2000-02-11 02:02:06 +00:00
tbogard%aol.net
a83acd9498 Changed the FocusAvailable to call on the new docshell path rather than the old webshell/ container path. r=saari 2000-02-11 01:56:01 +00:00
vidur%netscape.com
d4b67b3219 Fix for bug 9140. Area elements now have event fired for them. r=joki 2000-02-11 01:24:59 +00:00
attinasi%netscape.com
4d3cf88979 added default argument to FindNonTransparentBackground to tell it to start at the context's parent (for QuirkMode emulation). r=karnaze b=8524 2000-02-11 01:24:05 +00:00
attinasi%netscape.com
0722a164fa font-size in QuirksMode will now be ignored if the units are not specified. r=pierre b=23461 2000-02-11 01:22:47 +00:00
attinasi%netscape.com
2f46ba2ee2 PresShell is now observing the document always instead of just when a new PresContext is NOT created. r=troy b=25406 2000-02-11 01:21:50 +00:00
attinasi%netscape.com
254d4b2ef3 Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-11 01:21:36 +00:00
pollmann%netscape.com
04f744be8e Bug 10434: legend.form return form legend is in r=buster
Bug 26669: Don't execute script in noframe and noscript tags r=harishd,vidur
2000-02-11 01:18:41 +00:00
pollmann%netscape.com
fa1dd2cd6c Bug 10434: legend.form now returns form that legend is contained in. r=buster 2000-02-11 01:17:31 +00:00
hyatt%netscape.com
59c456d260 Fix for bug #25675. More focus memory framework being checked in for the
command dispatcher as well.
2000-02-11 00:59:32 +00:00
hyatt%netscape.com
c9071b6195 Fixes for bugs 24969 and 27109. 2000-02-11 00:56:41 +00:00
attinasi%netscape.com
5a8bd5c7d6 Backing out the change I accidentally checked in. 2000-02-10 19:47:36 +00:00
attinasi%netscape.com
fee84adb65 Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-10 19:21:55 +00:00
mjudge%netscape.com
b32999a1de big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
evaughan%netscape.com
b361107ebe 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod
2000-02-09 22:02:40 +00:00
kmcclusk%netscape.com
cd6f5d237b 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
2000-02-09 15:48:01 +00:00
rods%netscape.com
e7e39e8162 Accesskey registration methods (empty stubs at this point)
b 7559, r=joki
2000-02-09 15:14:55 +00:00
jst%citec.fi
48f5ed17fa Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com 2000-02-09 13:58:26 +00:00
hyatt%netscape.com
aff94a67c5 Fix for bug #26381 2000-02-09 09:39:15 +00:00
hyatt%netscape.com
8ac3ffd335 Fixing command dispatcher horkage. r=saari 2000-02-09 03:14:03 +00:00
dp%netscape.com
3c5ef57426 Fixing build bustage. 2000-02-09 02:43:48 +00:00
hyatt%netscape.com
0bce2fbb1d Fix for PDT+ bug #25280. r=saari 2000-02-09 01:33:22 +00:00
hyatt%netscape.com
6dd01225a8 Command dispatcher fix for PDT+ focus issues on Linux. r=saari 2000-02-09 01:32:42 +00:00
tbogard%aol.net
7f0033c302 SizeToContent now works properly within the new DocShell API world. r=hyatt 2000-02-08 15:49:14 +00:00
tbogard%aol.net
840c8350e1 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 2000-02-08 13:40:10 +00:00
joki%netscape.com
3480787577 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
vidur%netscape.com
7b323ad68c Fix for bug 19212. InsertRow in an empty table used to create a TBODY but not notify on its insertion. r=pollmann 2000-02-08 01:32:23 +00:00
vidur%netscape.com
0970222b53 Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy 2000-02-08 01:12:59 +00:00
buster%netscape.com
2b193cb97b bug 26241
all I did was initialize an out-param.  no reviewer.
2000-02-07 15:50:25 +00:00
waterson%netscape.com
d4305ba238 Tweak MOZ_COUNT_[CTOR|DTOR] macros. 2000-02-06 02:56:06 +00:00
alecf%netscape.com
1cb5e2dedd when form elements are generated via a template, set the form to the XUL Doc's hidden form so that the element behaves correctly.
r=waterson
2000-02-05 01:03:39 +00:00
bryner%uiuc.edu
c28caccf54 Adding some new mousewheel code that isn't used yet. Also removing an
unneeded comparison in the existing code, and changing several occurrences
of NS_DEFINE_IID to NS_GET_IID.  r=saari.
2000-02-05 00:58:29 +00:00
valeski%netscape.com
384999756b 25557, 26083. r=morse. We now capture cookies from HTTP-EQUIV and we also handle HTTP-EQUIV refresh headers that include single/double quotes 2000-02-04 22:50:39 +00:00
waterson%netscape.com
0624ff054a Bug 26522. Stabilize refcount before calling code that'll addref/release the clone. r=mcafee 2000-02-04 08:41:03 +00:00
warren%netscape.com
eb18579d03 Propagating return code. r=vidur,joki 2000-02-04 03:06:56 +00:00
warren%netscape.com
5080d81af2 Added an assertion for case when return code gets ignored. 2000-02-04 03:06:16 +00:00
alecf%netscape.com
a59485a7ad hook up this object to the globalobjectowner so that we can report errors
r=waterson
2000-02-04 01:42:05 +00:00
waterson%netscape.com
65ae380cbe Bug 25333. Implement nsIScriptGlobalObjectOwner so we can report compilation errors. r=scc 2000-02-03 08:51:49 +00:00
waterson%netscape.com
3ecb7666ea Bug 26304. Make sure the nsXULSortService updates does 'deep' SetDocument() calls when twiddling content nodes: regressed with fixes for 20677 and 23905. r=scc,rjc. 2000-02-03 07:57:51 +00:00
waterson%netscape.com
b0ab68c1e3 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 2000-02-03 07:55:34 +00:00
pp%ludusdesign.com
63dc886c6b Removed hand-made QueryInterface that wasn't used for a long time.
r=pinkerton@netscape.com
2000-02-03 01:25:38 +00:00
vidur%netscape.com
8c1dc35024 Fix for bug 19185. document.clear(), which exists for JS compatibility anyway, now takes a JS context and uses it to find the URL of the calling context. r=pollmann 2000-02-03 00:25:53 +00:00
vidur%netscape.com
f77571182e Fix for bug 24306. The DocumentViewer now cleans up dangling webshell references in the PresContext. nsGenericElement::TriggerLink deals with a nonexistent handler (it might have been deleted already as part of event processing). r=buster, joki 2000-02-02 23:40:22 +00:00
valeski%netscape.com
a567c875bb r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
valeski%netscape.com
0eefca1c2f r=norris. we now pass url creation failure's into the onclick handers 2000-02-02 23:02:59 +00:00
akkana%netscape.com
a06aa3ece0 24635: Don't convert entities in title differently from the rest of the document. Fix suggested by rickg, r=me 2000-02-02 22:47:24 +00:00
pp%ludusdesign.com
58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
waterson%netscape.com
8dd7b2ed23 Revert changes that cause mail sort to crash. 2000-02-02 19:46:03 +00:00
attinasi%netscape.com
3dcb1df4fd Checking for border width > 0 before setting the border style to NS_STYLE_BORDER_STYLE_BG_INSET.
This fixes a bug where style changes were causing table cell borders to appear when previously there
were none. b=25425 r=karnaze
2000-02-02 01:15:04 +00:00
norris%netscape.com
c04c4d51f9 Fix bug #25864 watch() vulnerability
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
waterson%netscape.com
a26daa2f0d 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 2000-02-01 22:57:36 +00:00
rods%netscape.com
0fc9226d56 returning the correct return code instead of NS_OK
r=dcone, no bug
2000-02-01 22:42:19 +00:00
pp%ludusdesign.com
48e640ed4f Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
hyatt%netscape.com
d8922c0918 Fix for 25883. 2000-02-01 00:20:26 +00:00
sfraser%netscape.com
4cdaf734cf Avoid crashing when mousing over links in teh composer window. r=brade 2000-02-01 00:00:17 +00:00
akkana%netscape.com
65781a368d 18033: Emacs XBL key bindings for unix. r=hyatt 2000-01-31 23:47:40 +00:00
vidur%netscape.com
ee7036593f Partial performance fix for bug 25509. Restrict the size of text nodes (the max is settable via a pref-content.maxtextrun). r=nisheeth 2000-01-31 23:39:19 +00:00
beard%netscape.com
64f273abee fix nsIAtom leak. bug=25778, r=waterson 2000-01-31 23:29:08 +00:00
attinasi%netscape.com
b1eb24a0ce Removed unused argument statements for elimination of warnings. No functional changes. 2000-01-31 13:54:39 +00:00
saari%netscape.com
d9e9b714fd Fix for bug 22264. r=hyatt 2000-01-29 04:05:03 +00:00
vidur%netscape.com
5dff43a188 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 2000-01-29 00:34:07 +00:00
vidur%netscape.com
e8157b30cb 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 2000-01-28 23:43:12 +00:00
pollmann%netscape.com
c0d425d34b Bug 6747: HTML labels now pass events to their assigned element in XUL documents too. r=rods 2000-01-28 23:29:36 +00:00
pierre%netscape.com
421af19ae9 Bug 24676 ("Need -moz-outline-radius feature"). Fixed the parsing of -moz-outline-radius. 2000-01-28 10:03:10 +00:00
warren%netscape.com
20da4f3233 Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki 2000-01-28 06:55:27 +00:00
jim_nance%yahoo.com
e455fbcd9f 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
2000-01-28 04:37:13 +00:00
saari%netscape.com
729048aef7 Something I forgot with yesterday's checkin. 2000-01-28 04:04:26 +00:00
hyatt%netscape.com
6face65492 Fix for bug#15946 2000-01-28 03:41:24 +00:00
waterson%netscape.com
39573f4597 Fix nsXBLBinding leaks. r=hyatt 2000-01-28 03:16:08 +00:00
hyatt%netscape.com
98a3a526b1 Getting rid of createPopup 2000-01-28 03:04:40 +00:00
karnaze%netscape.com
bce1929fcf 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.
2000-01-28 02:19:45 +00:00
sspitzer%netscape.com
5f82aeba31 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.
2000-01-28 01:30:29 +00:00
hyatt%netscape.com
c7ba922076 Eliminating another leak. 2000-01-27 11:19:09 +00:00
hyatt%netscape.com
c255736b64 Patching a leak in XBL. 2000-01-27 10:37:52 +00:00
hyatt%netscape.com
898156e279 Updating the event handler code for XBL. 2000-01-27 09:44:58 +00:00
hyatt%netscape.com
1b09ed7f43 Making the XUL key listener a bubbler. Removing its capability to handle
textareas and inputs.
2000-01-27 09:43:19 +00:00
hyatt%netscape.com
1c22fd031b Making input and text area elements bindable using XBL. 2000-01-27 09:01:49 +00:00
vidur%netscape.com
94e7ff67cd Fix for bug 12565. form.encoding returns the value of the ENCTYPE attribute, not ENCODING. r=joki 2000-01-27 08:51:54 +00:00
hyatt%netscape.com
7d7f3992ca Adding controller shorthand access. 2000-01-27 07:57:29 +00:00
hyatt%netscape.com
f64659a40c Improving XBL event handling. 2000-01-27 07:49:50 +00:00
vidur%netscape.com
42cdaa322f Fixed bug 16609. RemoveNamedItem now returns the correct error code if the attribute doesn't exist. r=pollmann 2000-01-27 05:17:11 +00:00
vidur%netscape.com
52b312047c 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 2000-01-27 02:51:51 +00:00
jim_nance%yahoo.com
a77a2365a0 Make SelectorMatches() faster by eleminating a few function calls
r=Shaver
Tree is green enough = waterson
2000-01-27 02:28:52 +00:00
attinasi%netscape.com
1f1bc14154 Title is now set in the Title Bar. b=24478 r=rickg 2000-01-27 02:15:19 +00:00
hyatt%netscape.com
757fc8d376 More popup work. 2000-01-26 23:30:10 +00:00
kmcclusk%netscape.com
eeeb109f4c 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
2000-01-26 23:04:40 +00:00
harishd%netscape.com
22ce02da97 Fix for Bug 24738 - Restricting DOCTYPE to html document only.
r=pollmann
2000-01-26 22:57:18 +00:00
sspitzer%netscape.com
1a7841574a 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
bc7a946fe0 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
7ec9655d07 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
dcone%netscape.com
e31204f271 support for regression testing. r=rods 2000-01-26 15:14:41 +00:00
hyatt%netscape.com
090ab3e74d More event handler fun. 2000-01-26 11:43:31 +00:00
hyatt%netscape.com
e72db55f0c In theory events can be executed now. 2000-01-26 11:05:44 +00:00
hyatt%netscape.com
1f92d13290 More goodness. 2000-01-26 10:37:13 +00:00
hyatt%netscape.com
ff21609316 More. 2000-01-26 10:25:55 +00:00
hyatt%netscape.com
ba54aca4c1 More tweaks 2000-01-26 10:08:49 +00:00
hyatt%netscape.com
19ed7e4f27 Landing initial XBL event handling code. 2000-01-26 10:06:30 +00:00
jband%netscape.com
eef6de8432 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
07c10d9502 Minor code cleanup from review with brendan: use shared finalizer in nsJSUtils. 2000-01-26 01:56:56 +00:00
waterson%netscape.com
a566daa16c Use NS_REINTERPRET_CAST instead of including private header files. 2000-01-26 01:55:59 +00:00
danm%netscape.com
bc85a078d1 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
8cfebc4bd7 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
ed3ccb2fbf Multiple selection capability configurable in trees now. 2000-01-25 10:30:51 +00:00
hyatt%netscape.com
ec1342578e Fixing Linux bustage. 2000-01-25 08:39:53 +00:00
hyatt%netscape.com
0dfb94bf0a 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
3ca3cf5499 r=waterson. Necessary for 24768. Put nsIDOMXULDocument into this. 2000-01-25 05:09:23 +00:00
norris%netscape.com
8c000f9285 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
776ac8a3e9 Clean up shared structures between nsRDFGenericBuilder.cpp and nsXULSortService.cpp; r=rjc 2000-01-25 04:07:41 +00:00
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
pierre%netscape.com
0ff017366d 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
6962364ebd 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
22a5959edb 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
8507a58ec3 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
75b2d70c6e fixing rdf build bustage 2000-01-23 00:25:21 +00:00
waterson%netscape.com
d100985675 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
8a78d916a5 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
6696fa133b 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
22c68ca282 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
38aef52a2f 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
11ade64c3d 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
2f2082906e 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
4c802430de 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
44049e083f Need newline at end of file for some unixes. a=leaf 2000-01-19 19:17:22 +00:00
waterson%netscape.com
d009ef8c34 Gak. Forgot to comment the oddity that may occur... 2000-01-19 06:00:25 +00:00
waterson%netscape.com
fef380fbe7 Remove bogobotch that is breaking cloneNode(). r=brendan 2000-01-19 05:51:30 +00:00
hyatt%netscape.com
566aac5bcf 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
b8c4dff420 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
1d0e1d86fd 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
c22daf14de 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
0684563f95 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
cd53596229 Adding an interface for the creation of elements. r=waterson 2000-01-19 03:09:12 +00:00
saari%netscape.com
f5b4ea7489 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
edaebbff0b A few small sorting tweaks. 2000-01-19 02:39:40 +00:00
rjc%netscape.com
7ac034530e 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
139af65fa1 Missed necessary cleanup in last checkin. r=pollmann 2000-01-19 01:34:07 +00:00
vidur%netscape.com
84b751a2f5 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
7aa3c33c9c Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann 2000-01-18 23:35:47 +00:00
sfraser%netscape.com
0fd5439c99 More of the fix for 14026 -- hook up Select All in the browser windows's controller, and general tidyup. r=saari 2000-01-18 21:06:10 +00:00
pollmann%netscape.com
572e8726ef Bug 20315: Adding comment r=buster 2000-01-18 02:40:45 +00:00
waterson%netscape.com
d5fbf22774 Bug 24134. Re-apply r1.233, which was steamrollered by tao's recent checkin. Re-using the r=valeski here. 2000-01-17 19:34:23 +00:00
rjc%netscape.com
822b28d53c More preparations to land an optimized binary insertion node. (Going to test more later. Currently #ifdef'ed out.) 2000-01-17 13:15:44 +00:00
rjc%netscape.com
c478f38a12 Prepare to land an optimized binary insertion sort. (Going to test more later. Currently #ifdef'ed out.) 2000-01-17 11:00:13 +00:00
rjc%netscape.com
8f14d36af0 Small optimizations. 2000-01-17 07:02:17 +00:00
tor%cs.brown.edu
28e11c285f build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls 2000-01-16 17:06:08 +00:00
bryner%uiuc.edu
6012d905b7 Make trees capable of scrolling by full pages with the mouse wheel.
General cleanup and additions to mousewheel debugging code (which is
#ifdef DEBUG_scroll).  r=hyatt.
2000-01-16 05:30:49 +00:00
bruce%cybersight.com
7dc196d66e End of lines are good. Fixing ports bustage. 2000-01-16 04:56:08 +00:00
brade%netscape.com
b027afa2cf initialize all fields of mouseEvent; r=joki 2000-01-15 17:22:09 +00:00
brade%netscape.com
1a4bae4013 remove function DispatchKeyPressEvent (not used); initialize the modifier keys in the event structure; r=joki 2000-01-15 17:21:20 +00:00
brade%netscape.com
5fc79019be remove function DispatchKeyPressEvent (not used) r=joki 2000-01-15 17:21:10 +00:00
hyatt%netscape.com
c3878c4380 Still trying to fix Wensleydale. Stupid crack baby compiler. 2000-01-15 07:18:01 +00:00
hyatt%netscape.com
85b9c795b4 Fix wensleydale bustage. 2000-01-15 06:41:04 +00:00
danm%netscape.com
5a261c8ad9 reapplying changes from rev 1.234, which was lost as part of 1.235 2000-01-15 05:53:41 +00:00
hyatt%netscape.com
797cd22ff4 Landing XBL scrollbars. 2000-01-15 05:31:45 +00:00
alecf%netscape.com
94b65d019c attempted fix at build bustage. I have no idea if this is the "right" thing or not but it gets the build green 2000-01-15 03:51:31 +00:00
danm%netscape.com
e86a4b53fb adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt 2000-01-15 02:30:34 +00:00
pollmann%netscape.com
70ac93177d Bug 14419 (1 of 4): Fix typo! 2000-01-15 02:21:51 +00:00
vidur%netscape.com
e296114aae Fix for bug 23020. Relative URLs used in image.src and location.href should be resolved taking into account the base document URL of the calling context. R=pollmann 2000-01-15 02:02:27 +00:00
tao%netscape.com
da49ef2262 bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur. 2000-01-15 02:01:05 +00:00
pollmann%netscape.com
64687ce411 Bug 14419 (1 of 4): Make option text read/write (implementation) r=harishd 2000-01-15 01:42:56 +00:00
pollmann%netscape.com
72bb036628 Fix warning r=harishd 2000-01-15 01:41:27 +00:00
nisheeth%netscape.com
0ca3802c6a r=pollmann. Fix for bug 22237. 2000-01-15 01:41:22 +00:00
mscott%netscape.com
d5354ef4c7 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
2000-01-15 01:37:16 +00:00
sspitzer%netscape.com
d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
dcone%netscape.com
a9bdf781f5 Added a container for the printContext. r= rods b = 21470 2000-01-14 14:30:41 +00:00
hyatt%netscape.com
b75a694321 Fix for bug #23828. r=pav. 2000-01-14 10:04:12 +00:00
hyatt%netscape.com
69df0c827f Partial fix for 18604. r=pav 2000-01-14 09:57:31 +00:00
hyatt%netscape.com
e740cdb714 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
warren%netscape.com
ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
rjc%netscape.com
b2951b5f50 Sorting optimizations. (Sort-of) review by putterman@netscape.com 2000-01-14 01:21:55 +00:00
brendan%mozilla.org
dfaa05987e InitStandardClasses so JS compiler makes well-prototyped objects (22048,22098 r=shaver). 2000-01-14 00:49:30 +00:00
danm%netscape.com
05825e9716 removing initial window sizing from StartLayout (now done in nsWebShellWindow). Long overdue change; also necessary as part of bug 15775. r:hyatt@netscape.com 2000-01-13 23:49:25 +00:00
waterson%netscape.com
a8efb387b8 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 2000-01-13 23:23:51 +00:00
jdunn%netscape.com
4298ad260d Fix somemore of slamm's warnings
r= rods@netscape.com
2000-01-13 23:19:20 +00:00
waterson%netscape.com
ce2f72d531 Remove some additional bogoasserts. 2000-01-13 23:18:05 +00:00
jdunn%netscape.com
7cb756995e newline required at the end of files... 2000-01-13 23:07:43 +00:00
brade%netscape.com
6142b95f61 initialize to nsnull; r=vidur 2000-01-13 14:53:51 +00:00
hyatt%netscape.com
7665038584 Cleaning up makefile 2000-01-13 11:50:18 +00:00
hyatt%netscape.com
797cc38b9a Fix for 18444 2000-01-13 11:49:18 +00:00
hyatt%netscape.com
8b0ed8707d Fix for 18444 2000-01-13 11:43:54 +00:00
rjc%netscape.com
f84f23778b Attempt to fix wensleydale (SunOS 5.6) bustage. 2000-01-13 11:03:56 +00:00
hyatt%netscape.com
c3ddbf2d79 Fixing mac bustage. 2000-01-13 10:58:18 +00:00
rjc%netscape.com
6222e5412c Sorting optimizations. (Sort-of) review by putterman@netscape.com 2000-01-13 10:16:32 +00:00
hyatt%netscape.com
545ae7fd61 XBL anonymous content can (in theory) now be built. 2000-01-13 09:43:42 +00:00
hyatt%netscape.com
124f675a41 More XBL work. 2000-01-13 09:21:09 +00:00
hyatt%netscape.com
25002cc5a7 Fix Linux bustage. 2000-01-13 09:20:58 +00:00
hyatt%netscape.com
3aeb5cb791 Stubbing out some more XBL functions for future implementation. 2000-01-13 08:54:16 +00:00
hyatt%netscape.com
7868624ce2 Giving XUL elements the capability to own bindings. 2000-01-13 08:48:33 +00:00
karnaze%netscape.com
d41822031d bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes. 2000-01-13 05:29:38 +00:00
alecf%netscape.com
714e7a48a9 expose the form controls in a XUL document in the "controls" DOM attribute
this will make prefs and wizards much faster
r=hyatt
2000-01-13 02:59:08 +00:00
waterson%netscape.com
e3393dd236 Remove assertion from nsRDFDOMNodeList::Item(); it was being triggered from JS, and it really isn't a "fatal" program condition. 2000-01-13 02:49:10 +00:00
hyatt%netscape.com
d8a58e8990 more xbl work. 2000-01-13 02:23:54 +00:00
waterson%netscape.com
c098826ddd Bugs 20724, 23715. Add a fixed-size allocator for nsXULAttribute objects. Always atomize 'id' attributes so nsXULElement::GetID() can be fast. r=hyatt 2000-01-13 02:22:16 +00:00
waterson%netscape.com
affe01376b Add .cvsignore file. 2000-01-12 23:03:47 +00:00
pepper%netscape.com
37ef91ec08 Added necessary newline at the end of the file so that HP builds don't choke.
r=jdunn
2000-01-12 21:34:41 +00:00
rods%netscape.com
8c47faf8b8 the call to Init was in the wrong place
b 23697 r=dcone
2000-01-12 16:02:12 +00:00
hyatt%netscape.com
c75cceb361 Fixing Linux bustage. 2000-01-12 11:22:40 +00:00
hyatt%netscape.com
3721b33e2c XBL files are fully parsed! YES! 2000-01-12 10:55:56 +00:00