354 Commits

Author SHA1 Message Date
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
bc4600d89b Fixing ail bustage
git-svn-id: svn://10.0.0.236/trunk@81961 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 10:41:16 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
nisheeth%netscape.com
73116747c8 Fix for rtm++ bug 54568. a=buster. r=vidur. Fixes crash on sending a mail message from webmail. Also fixes crash on canceling out of the "Plugin not found" dialog that pops up on www.cbsnews.com when you want to see a video clip and the RealVideo plugin is not installed.
git-svn-id: svn://10.0.0.236/trunk@81664 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 06:34:01 +00:00
kmcclusk%netscape.com
e864dbfd62 Prevent flushing of pending events if painting or reflowing bug 56335 a=buster@netscape.com r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81283 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 05:07:39 +00:00
attinasi%netscape.com
d98d18c7b7 Fixed regression for bug 40340 (checked in yesterday). Thanks to David Baron. r=karnaze, a=buster
git-svn-id: svn://10.0.0.236/trunk@80955 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:25:57 +00:00
locka%iol.ie
ea40db52be Fix for anchor scrolling regression. b=55244, r=waterson@netscape.com, a=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80936 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 13:50:45 +00:00
attinasi%netscape.com
c8ab5d1344 Implemented the backend for the following prefs: Override Document colors, Override document fonts, Link and Visited link colors, and Underline links. Provided the ability to disable the preferences as well, so Composer can show changed fonts and colors. These changes are stewing on the trunk for a day or so before making their debut on the branch. b=40340, r=karnaze,pierre a=buster
git-svn-id: svn://10.0.0.236/trunk@80920 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 08:33:01 +00:00
waterson%netscape.com
1e7a248bab Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
evaughan%netscape.com
987f86385b fix for bug #54049 (tree stability)
r=bryner, a=hyatt


git-svn-id: svn://10.0.0.236/trunk@80629 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 00:49:08 +00:00
dougt%netscape.com
e36912633f Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80197 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:24:00 +00:00
vidur%netscape.com
a6de021349 Fix for bugscape bug 2533. onload event firing now happens *after* the last reflow command has been processed. a=waterson, r=nisheeth, pollmann, jst
git-svn-id: svn://10.0.0.236/trunk@80138 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 06:22:09 +00:00
nisheeth%netscape.com
d6390acc47 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.
git-svn-id: svn://10.0.0.236/trunk@79611 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:20:23 +00:00
heikki%netscape.com
82a70c8b59 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.
git-svn-id: svn://10.0.0.236/trunk@79545 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:47:04 +00:00
mjudge%netscape.com
2fc6190bef 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
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
buster%netscape.com
21abcaad26 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.


git-svn-id: svn://10.0.0.236/trunk@79080 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:40:48 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
nisheeth%netscape.com
4f193605d7 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.
git-svn-id: svn://10.0.0.236/trunk@78860 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 08:59:01 +00:00
nisheeth%netscape.com
178e009668 r=rpotts. Fix for nsbeta3+ bug 39368.
git-svn-id: svn://10.0.0.236/trunk@78809 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:35:11 +00:00
sfraser%netscape.com
fb865adb8e 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
git-svn-id: svn://10.0.0.236/trunk@78343 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:26:25 +00:00
vidur%netscape.com
b10d4adc57 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
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
nisheeth%netscape.com
77a2d6896f - 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)


git-svn-id: svn://10.0.0.236/trunk@77529 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:35:43 +00:00
heikki%netscape.com
65e15b0ce6 Backed out a change that was not supposed to go in. This was a work-in-process for bug 8927.
git-svn-id: svn://10.0.0.236/trunk@77438 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:56:46 +00:00
heikki%netscape.com
19052f5fb1 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.
git-svn-id: svn://10.0.0.236/trunk@77435 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:47:05 +00:00
akkana%netscape.com
bc616db59e 47870: Don't copy if selection is collapsed. r=law
git-svn-id: svn://10.0.0.236/trunk@77379 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:28:56 +00:00
waterson%netscape.com
1cda08719e Bug 47843. Be sure to set nsPresShell's mIsReflowing during initial reflow to avoid re-entrancy. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@76790 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 20:10:07 +00:00
saari%netscape.com
5f1a4898c0 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.
git-svn-id: svn://10.0.0.236/trunk@76740 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 01:14:34 +00:00
rcassin%supernova.org
437af36574 Checkin kin's fix for bug 48879, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@76593 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 23:55:32 +00:00
heikki%netscape.com
dd53ea068d Trivial, bug 41772, we were not setting the return value in all cases for HandleEventInternal. r=jst.
git-svn-id: svn://10.0.0.236/trunk@76025 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:07:33 +00:00
saari%netscape.com
e1a79e8500 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


git-svn-id: svn://10.0.0.236/trunk@75805 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:31:05 +00:00
anthonyd%netscape.com
1355a05c4e 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


git-svn-id: svn://10.0.0.236/trunk@75084 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:12:45 +00:00
heikki%netscape.com
4ab104dc0c Bugs 38399, 40889, 44211. Also fix two compiler warnings (mismatched signed/unsigned). r=jst (bug 44211 r=harishd).
git-svn-id: svn://10.0.0.236/trunk@75076 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:48:08 +00:00
mjudge%netscape.com
04f7c7cd04 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.
git-svn-id: svn://10.0.0.236/trunk@74807 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 11:31:12 +00:00
attinasi%netscape.com
d21b6a133e Checkin patch for Robert O'Callahan: fixed HandlePostedDOMEvents and HandlePostedAttributeChanges to deal with re-entrant calls. b=45510,45361[nsb2+] r=evaughan,attinasi
git-svn-id: svn://10.0.0.236/trunk@74471 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 20:09:59 +00:00
sfraser%netscape.com
90b67a19b8 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.
git-svn-id: svn://10.0.0.236/trunk@74262 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 21:58:50 +00:00
hyatt%netscape.com
c23002ba84 Fix for 43467. r=bryner
git-svn-id: svn://10.0.0.236/trunk@74192 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:00:59 +00:00
sfraser%netscape.com
a4946e4c9c 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.
git-svn-id: svn://10.0.0.236/trunk@73552 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:33:36 +00:00
pollmann%netscape.com
ba1a3e50a6 Bug 41013: Prevent event passing from frames to content during document destruction r=joki
git-svn-id: svn://10.0.0.236/trunk@73495 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 02:02:43 +00:00
joki%netscape.com
c1ec0c7d3c Part of fix for 42418, patch up event target from PresShell after re-entrant events to avoid null targets. r:nisheeth
git-svn-id: svn://10.0.0.236/trunk@73158 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 03:58:13 +00:00
evaughan%netscape.com
a87e4943ba Autoscrolling menus feature landing #32730
-r hyatt, saari


git-svn-id: svn://10.0.0.236/trunk@73042 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:15:04 +00:00
attinasi%netscape.com
aaba2428f9 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)
git-svn-id: svn://10.0.0.236/trunk@72993 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:58:03 +00:00
pierre%netscape.com
59320e5d39 #42029 "Dynamic use of the clip property is causing repaint problems". Make the clip area coordinates conform to the latest spec. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@72886 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:28:36 +00:00
waterson%netscape.com
dba54e0bba Bug 12874. Remove unnecessary refcount hackery. This hasn't been necessary since we made NS_IMPL_ISUPPORTS and friends stabilize refcount before calling dtor.
git-svn-id: svn://10.0.0.236/trunk@72425 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:47:13 +00:00
kin%netscape.com
fccb6df0e3 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


git-svn-id: svn://10.0.0.236/trunk@72378 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:05:03 +00:00
pollmann%netscape.com
d5ebd0e9c7 Bug 32770: Save scroll position in session history r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72258 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:35:46 +00:00
pinkerton%netscape.com
4aec10bde4 on the way to fixing 28226. make reflow processing immediate if we're doing a drag.
git-svn-id: svn://10.0.0.236/trunk@72243 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:18:54 +00:00
mjudge%netscape.com
f1cf76f9e7 fixing regressions from 34986 ender-lite. adding new selection controller sensitivity. r=saari
git-svn-id: svn://10.0.0.236/trunk@72174 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:57:26 +00:00
mjudge%netscape.com
d195f54faa use of new api for caret un-drawing. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71875 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:07:42 +00:00
mjudge%netscape.com
2807c752ad 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
git-svn-id: svn://10.0.0.236/trunk@71681 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:20:13 +00:00