Commit Graph

3342 Commits

Author SHA1 Message Date
waterson%netscape.com
775fd4e50b Bug 30887. Check mDocument before dereferencing to update style rule. Happens when setting 'style' attribute on an element that is not in the doc tree. r=hyatt, a=jar. 2000-03-08 06:05:45 +00:00
slamm%netscape.com
65e7217ed2 Add 'collapsed' for collapsing splitter siblings. Bug 29813. r=evaughan,mcafee a=jevering 2000-03-08 00:15:44 +00:00
norris%netscape.com
c35e39f713 Fix bug 30736 Errors in .js files not reported correctly
a=pdt,r=jband@netscape.com
2000-03-07 21:08:46 +00:00
waterson%netscape.com
7b0457913d Bug 27222. Add a parser observer, so we're always guaranteed to be notified when an overlay completes (even if the overlay wasn't there). Keeps us from 'hanging' when an overlay file is missing. r=harishd, a=jevering 2000-03-07 02:33:44 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
cata%netscape.com
639f9aae98 Backing out fix for #7886 to fix regression #30299 2000-03-04 21:44:58 +00:00
valeski%netscape.com
942c0cbea5 r=gagan. 29870. We weren't handling a malformed http-equiv refresh header. 2000-03-04 00:32:30 +00:00
waterson%netscape.com
f119fe3159 Bug 29148. Initialize out-params to sane values before returning an error. There are lots of places that don't check return codes on these methods. r=rjc, a=jar. 2000-03-03 23:15:34 +00:00
waterson%netscape.com
3a38a69faa Bug 29148. Don't abort in the case where an invalid stylesheet reference has somehow made it into the prototype document, but the stylesheet was never put into the cache (an empty CSS file will cause this to happen). Instead, just keep on truckin'. r=rjc, a=jar 2000-03-03 23:14:09 +00:00
joki%netscape.com
4c33e407f9 Fix bug 9140. Prevent window level mouse exit events from accidentally propagating to content. r:rods a:jar 2000-03-03 23:07:31 +00:00
cata%netscape.com
571ffe6149 last bit in activating charset override 2000-03-03 02:21:24 +00:00
cata%netscape.com
eaf963e925 activating charset override. bug #7886, r=ftang, a=bobj 2000-03-03 02:20:53 +00:00
rods%netscape.com
bd41b08f63 added new atom for the combobox
b 28593, r=kmcclusk,buster a=jar
2000-03-03 00:22:30 +00:00
saari%netscape.com
b811298c4b Fix for PDT+ 29833, r=hyatt, a=jevering 2000-03-02 23:15:01 +00:00
jst%citec.fi
882da396f0 Temporary (untill the real problem gets fixed) fix for PDT+ bug 18186. r=vidur, a=chofmann 2000-03-02 15:06:05 +00:00
hyatt%netscape.com
d6796e3c65 XUL RadioGroup element, not used in XUL. r=ben, a=jar 2000-03-02 10:00:09 +00:00
tbogard%aol.net
4eec4fb506 nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
evaughan%netscape.com
cf0d42fc25 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar
2000-03-02 03:01:30 +00:00
waterson%netscape.com
bcc180b908 Bug 25364. Use nsCOMPtr where appropriate; make sure to getter_AddRefs() when calling GetShellAt(). r=travis, hyatt a=jar. 2000-03-01 07:27:31 +00:00
hyatt%netscape.com
b87c565b99 Fix for bug #29410. r=vidur, a=rickg 2000-03-01 01:43:34 +00:00
pollmann%netscape.com
982af48162 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
pollmann%netscape.com
3328c4a8ea Bug 28670: Move XUL scrollbar removal to nsCSSFrameConstructor r=travis a=rickg 2000-02-29 06:51:05 +00:00
saari%netscape.com
a839266bd8 fix for PDT+ 29004. r=hyatt, a=jevering 2000-02-29 03:54:49 +00:00
rods%netscape.com
7ca7d07fe5 Makes it so select tag are monolithic, this means the sink doesn't get flushed
until the end tag of a select. This helps performance a great deal. If it gets flushed
inbetween then the remaining options are added one at a time using the AddOption
and this is a lot less effecient.
b 28593, r=vidur
2000-02-28 21:38:30 +00:00
rods%netscape.com
113deee43f when the value attr is set the hint needs to be reflow.
b 28593, r=buster
2000-02-28 21:35:51 +00:00
rods%netscape.com
0e37b361bd turned off the flushing of reflows when an option item is removed
b 28593, r=vidur,troy
2000-02-28 21:33:41 +00:00
jdunn%netscape.com
dd4717cd8d adding newline 2000-02-28 20:50:38 +00:00
rjc%netscape.com
df001914ec Part of fix for bug # 25876: bookmarks drag&drop behavior modification. Approval: jevering Review: waterson 2000-02-26 01:26:02 +00:00
saari%netscape.com
515c3ce686 28467 fix, a=jar, r=hyatt 2000-02-26 01:02:31 +00:00
saari%netscape.com
7e48b21ecd fix for 28467, a=jar, r=hyatt 2000-02-26 00:59:41 +00:00
waterson%netscape.com
c1897bf17d Bug 28632. Check container to see if contents have -ever- been built before 'rebuilding'. If no content has been built yet, then trying to rebuild causes bizarre things to happen (like, two of everything). r=rjc,putterman. a=jar 2000-02-25 23:08:43 +00:00
erik%netscape.com
281e53e9b1 bug 18136; new table of font sizes for HTML sizes 1-7, based on testing
Nav4's fixed width fonts; r=pierre; a=rickg
2000-02-25 23:02:46 +00:00
hyatt%netscape.com
5ff8c68587 XUL Property APIs, b=26109, r=ben 2000-02-25 08:37:49 +00:00
erik%netscape.com
28f23d520d bug 18136; added new font size table, but currently #if'ed out; r=pierre;
a=rickg
2000-02-25 04:00:53 +00:00
law%netscape.com
e52299f99b 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 2000-02-25 02:28:45 +00:00
pierre%netscape.com
6875bf641b Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg 2000-02-24 12:51:28 +00:00
pinkerton%netscape.com
2fa2e1e62e fix for case where when a frame is deleted as a result of a drag (say, moving a bookmark or mail message) we don't try to access the frame after it has been deleted but use |mCurrentTarget| which we know will be up to date and safe. Also check for null in UpdateCursor()...we should have been doing this anyway. r=saari, a=jevering. 2000-02-24 03:41:14 +00:00
pollmann%netscape.com
2ed06994e0 Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg 2000-02-24 00:08:00 +00:00
norris%netscape.com
d64387736b Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
nisheeth%netscape.com
0e17677a2d r=pollmann. Fix for PDT+ bug 28556. We were leaking nsIAtom's in the XML content sink. Thanks to Patrick Beard for providing the fix. 2000-02-23 22:16:03 +00:00
bienvenu%netscape.com
89181e6adc fix handling of uri's with 8 bit characters, a=phil r=waterson 24692 2000-02-23 20:51:36 +00:00
troy%netscape.com
2cab23cc6c b=28635, a=rickg@netscape.com, r=vidur@netscape.com
Reduced the number of nsString objects allocated
2000-02-23 15:45:43 +00:00
saari%netscape.com
c255519e95 Fix for 12051. Two one line fixes to make focus memory work with text input fields and text areas. r=hyatt a=jar 2000-02-23 08:10:36 +00:00
jbetak%netscape.com
3881911814 bug 12502, View Source doesn't display non UTF-8 charsets on doc's w/o HTTP or Meta
r=ftang
a=bobj
2000-02-23 01:48:22 +00:00
waterson%netscape.com
887eabb12d Bug 28473. Make style resolution cheaper when 'width' and 'height' attributes are changed on a <window>. r=hyatt, a=jevering. 2000-02-22 06:09:41 +00:00
danm%netscape.com
698eb199f8 stop up small but profuse leak on NT; probably a runtime lib bug. r=waterson a=jevering 2000-02-22 04:13:24 +00:00
pollmann%netscape.com
17abb23f3a Bug 14827: Removing dead code. r=harishd a=rickg 2000-02-21 02:21:38 +00:00
dbaron%fas.harvard.edu
8438b1f02d Bug 28555: fix large leak of StyleContextImpl's. r=karnaze@netscape.com a=jar@netscape.com 2000-02-20 15:18:04 +00:00
pollmann%netscape.com
239cf4050e Bug 14827: Naughty XUL documents no longer steal scrollbars r=harishd a=rickg 2000-02-19 02:41:48 +00:00
pollmann%netscape.com
d4d5eb5bcd Bug 14827: Removing code that wrongly set scrolling to auto for every document r=harishd a=rickg 2000-02-19 02:34:20 +00:00
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