Commit Graph

2042 Commits

Author SHA1 Message Date
vidur@netscape.com
6035fff557 Fix for bugscape bug 2533. onload event firing now happens *after* the last reflow command has been processed. a=waterson, r=nisheeth, pollmann, jst 2000-09-29 06:19:22 +00:00
nisheeth@netscape.com
5d7a509395 r=reviewers@netscape.com (buster, waterson). Fix for nsbeta3+ bug . Turning on async reflow during doc load by default. This can be turned off by setting the "layout.reflow.async.duringDocLoad" pref to false in prefs.js. 2000-09-20 07:20:23 +00:00
heikki@netscape.com
0172e8c80d Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
mjudge@netscape.com
ab294f3f8f small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
buster@netscape.com
c8b1c6cd08 bug 52307
r=karnaze and r=kin
under the hood, we've opened up leaf elements to generated content.  GeneratedContentIterators assumed the real element was a container, not a leaf.  The fix was just to add a null check on a request for the element's child.
2000-09-14 05:40:48 +00:00
rayw@netscape.com
c6334366cb Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
nisheeth@netscape.com
f35bf49b92 Checkin to use a pref instead of a compile time switch for turning on async reflow during doc load. Related to previous checkin to fix nsbeta3+ bug 39368. 2000-09-12 08:59:01 +00:00
nisheeth@netscape.com
8c3bbafa47 r=rpotts. Fix for nsbeta3+ bug 39368. 2000-09-12 00:35:11 +00:00
sfraser@netscape.com
fba795f674 Fix bugs 45881 and 46850 -- general caret cruft. Ensure that caret is clipped to the scrolling view, and fix things so that the caret is properly hidden on scrolling. r=beard 2000-09-07 05:26:25 +00:00
vidur@netscape.com
0a175de4e5 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
nisheeth@netscape.com
8e209d470c - Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
authors to use ID selectors to target elements in an XML document.

- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com)
2000-08-30 00:35:43 +00:00
heikki@netscape.com
e9fdf65856 Backed out a change that was not supposed to go in. This was a work-in-process for bug 8927. 2000-08-29 01:56:46 +00:00
heikki@netscape.com
19b6769b58 Fixed bug 46085. We were not firing the select event. This is the second half of the checkin... had some problems with CVS. jst is watching this checkin. r=mjudge. 2000-08-29 01:47:05 +00:00
akkana@netscape.com
01b9569400 47870: Don't copy if selection is collapsed. r=law 2000-08-28 22:28:56 +00:00
waterson@netscape.com
22da60fb8d Bug 47843. Be sure to set nsPresShell's mIsReflowing during initial reflow to avoid re-entrancy. r=nisheeth 2000-08-21 20:10:07 +00:00
saari@netscape.com
fb2ae3ee28 Fix for 45006, key events going to select boxes when they're at 0,0. Stop dispatching key events to frame 0,0 when we don't have focused content. 2000-08-20 01:14:34 +00:00
rcassin@supernova.org
010c4c6e84 Checkin kin's fix for bug 48879, r=sfraser 2000-08-17 23:55:32 +00:00
heikki@netscape.com
002b468881 Trivial, bug 41772, we were not setting the return value in all cases for HandleEventInternal. r=jst. 2000-08-10 22:07:33 +00:00
saari@netscape.com
4d45b187d7 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
anthonyd@netscape.com
8308e7f469 bug fixes:
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 -  nsLookAndFeel needs to be a service.
r: mjudge@netscape.com, kin@netscape.com
a:beppe
2000-07-28 22:12:45 +00:00
heikki@netscape.com
1afb64dad4 Bugs 38399, 40889, 44211. Also fix two compiler warnings (mismatched signed/unsigned). r=jst (bug 44211 r=harishd). 2000-07-28 21:48:08 +00:00
mjudge@netscape.com
406097b1c5 46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call. 2000-07-26 11:31:12 +00:00
attinasi@netscape.com
79e8755409 Checkin patch for Robert O'Callahan: fixed HandlePostedDOMEvents and HandlePostedAttributeChanges to deal with re-entrant calls. b=45510,45361[nsb2+] r=evaughan,attinasi 2000-07-19 20:09:59 +00:00
sfraser@netscape.com
8fdce32b8b Fix for nsbeta2+ bug 31134 -- paste in edit menu not enabled correctly. Add a new command set for clipboard-related menu items, and fire it on Copy. Also ensure that Undo/Redo commands are updated correctly, and avoid bogus command updating in plain text compose (since that caused JS errors). r=kin,jfrancis. 2000-07-14 21:58:50 +00:00
hyatt@netscape.com
f415771c0c Fix for 43467. r=bryner 2000-07-13 23:00:59 +00:00
sfraser@netscape.com
7540a840ac Fix for nsbeta2+ bug 42625, written by brade, r=sfraser. When checking whether to get a special text field selection, QI to test for text area as well as input. 2000-06-29 22:33:36 +00:00
pollmann@netscape.com
e13007a40e Bug 41013: Prevent event passing from frames to content during document destruction r=joki 2000-06-29 02:02:43 +00:00
joki@netscape.com
7599ab51fe Part of fix for 42418, patch up event target from PresShell after re-entrant events to avoid null targets. r:nisheeth 2000-06-24 03:58:13 +00:00
evaughan@netscape.com
c57c6efaec Autoscrolling menus feature landing #32730
-r hyatt, saari
2000-06-23 05:15:04 +00:00
attinasi@netscape.com
b5154ac470 When the PresShell is notified that a styleshet's state has changed, it now notifies the StyleSet so it can rebuild the rule processors. Part of fix for b=38026 that I missed checking in before (r=karnaze) 2000-06-22 23:58:03 +00:00
pierre@netscape.com
fb20cfd146 #42029 "Dynamic use of the clip property is causing repaint problems". Make the clip area coordinates conform to the latest spec. r=attinasi. 2000-06-22 05:28:36 +00:00
waterson@netscape.com
3332e2da00 Bug 12874. Remove unnecessary refcount hackery. This hasn't been necessary since we made NS_IMPL_ISUPPORTS and friends stabilize refcount before calling dtor. 2000-06-16 21:47:13 +00:00
kin@netscape.com
95c6b1922b Fix for bug #41206: Text inserted into composer is initially invisible
Removed call to FlushPendingNotifications() in SetCaretEnabled()
because it causes a reflow during painting. That can cause certain
view updates to be dropped on the floor on Linux. Also removed
tab characters in SetCaretEnabled().

r=sfraser@netscape.com, a=beppe@netscape.com
2000-06-16 14:05:03 +00:00
pollmann@netscape.com
24fe57b83b Bug 32770: Save scroll position in session history r=nisheeth 2000-06-15 00:35:46 +00:00
pinkerton@netscape.com
85d5400cd0 on the way to fixing 28226. make reflow processing immediate if we're doing a drag. 2000-06-14 23:18:54 +00:00
mjudge@netscape.com
ebcf400a13 fixing regressions from 34986 ender-lite. adding new selection controller sensitivity. r=saari 2000-06-14 02:57:26 +00:00
mjudge@netscape.com
fa653746e4 use of new api for caret un-drawing. r=hyatt 2000-06-09 05:07:42 +00:00
mjudge@netscape.com
5486377a9e bug=34896 gettimg ime working in ender-lite. simple fix to dispatch messages to focused element for ime. a=beppe,r=ftang,tajima@eng.sun.com, katakai@japan.sun.com 2000-06-07 01:20:13 +00:00
mjudge@netscape.com
d0a741895a bug = 34896. changing caret use to not demand a presshell. r=hyatt 2000-06-01 02:39:52 +00:00
joki@netscape.com
d99814e0c8 Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge 2000-05-26 00:26:54 +00:00
saari@netscape.com
45a7322c50 Fix for nsbeta2+ 33735, r=joki 2000-05-24 08:28:41 +00:00
joki@netscape.com
035f530372 fix for resize event support, bug 960, and additional support for DOM 2 events. 2000-05-17 05:27:22 +00:00
joki@netscape.com
5f79ac0a6e Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
nisheeth@netscape.com
ef6a30fa55 Do not do async reflow during document load because this breaks progress notificaitons and the performance metrics. 2000-05-16 01:11:29 +00:00
buster@netscape.com
0d67c21028 added reflow notification, from Thomas Lendacky (toml@us.ibm.com)
r=buster
2000-05-15 03:37:21 +00:00
saari@netscape.com
6950874942 First checkin for bug 29800, preventing scrolling to content when focus
memory is resetting focus after deactivating and reactivating a window.
2000-05-11 22:40:51 +00:00
mjudge@netscape.com
9548dce1c6 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret. 2000-05-11 04:25:43 +00:00
hyatt@netscape.com
c47613569d XBL now works with HTML, XUL, SVG, MathML, and XML! 2000-05-09 21:42:40 +00:00
mjudge@netscape.com
383bbc74d7 adding call to new api for initing selection 2000-05-02 03:45:01 +00:00
rods@netscape.com
86e2ad6218 added two additional methods for capturing and dumping of reflow stats
it also now keeps diffs between dumps
2000-04-28 23:32:04 +00:00