Commit Graph

2860 Commits

Author SHA1 Message Date
jst%netscape.com
5234fdf91a Change interface to allow the implementation to be more efficient. Not part of the build. 2000-09-09 23:52:59 +00:00
vidur%netscape.com
5aa91138cd Removed unnecessary attribute serializer. This is not part of the build yet. 2000-09-09 22:03:58 +00:00
jst%netscape.com
78fa3435fb New file, not part of the build yet. 2000-09-09 21:47:23 +00:00
jst%netscape.com
a29c8269e1 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com 2000-09-09 05:46:14 +00:00
pnunn%netscape.com
7a62c0d377 bug:13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:52:05 +00:00
pnunn%netscape.com
e0a81cdaee bug#13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:47:46 +00:00
pnunn%netscape.com
8ebb9efe55 bug#13718: for editor folk. pnunn, r:sfraser. 2000-09-08 22:46:24 +00:00
hyatt%netscape.com
cf54e6b085 Tweak loadBindings call, provide hint to optimize possible style re-resolve in XBL, fix spot dbaron forgot. All 3 are r=ben 2000-09-08 10:01:18 +00:00
sfraser%netscape.com
323042d90a Fix 51747 -- caret not drawing at the end of a line. Fix offset of clip. r=kin 2000-09-07 20:21:22 +00:00
akkana%netscape.com
3c2341c61c 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske 2000-09-07 18:40:14 +00:00
hyatt%netscape.com
9d8e03414c C++ fixes for 51263, r=joki 2000-09-07 08:18:11 +00:00
sfraser%netscape.com
5543105886 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
rpotts%netscape.com
dd1059184e Moved the firing of the OnLoad event from WebShell into DocumentViewer... 2000-09-06 09:11:38 +00:00
dbaron%fas.harvard.edu
e0e16fb826 Fix misleading indentation. r=attinasi 2000-09-06 02:34:35 +00:00
hyatt%netscape.com
1bb5fdc4fc loadBindingdoc, r=ben 2000-09-05 07:29:01 +00:00
scc%mozilla.org
90a26e36b4 need to make concatenation arguments homogenous in some cases 2000-09-04 01:33:24 +00:00
dbaron%fas.harvard.edu
577da35f7f Back out hacks to fix earlier string bustage. r=scc 2000-09-04 00:50:52 +00:00
dbaron%fas.harvard.edu
e9b7ab1585 Continuing to work on speedracer/pravda bustage. 2000-09-03 15:45:57 +00:00
dbaron%fas.harvard.edu
b4d0179338 Another attempt to fix speedracer/pravda bustage. They sometimes think nsPromiseConcatenation doesn't exist. I'll ask scc to look at this later. 2000-09-03 15:00:27 +00:00
dbaron%fas.harvard.edu
6e3c153c1f Attempt to get old gcc and old FreeBSD compilers working again. Will ask scc to look for a better fix later. 2000-09-03 13:40:31 +00:00
Peter.VanderBeken%pandora.be
d41d21ad60 Fix XSLT hooks (Preparation for bug #42228). r=jst@netscape.com, a=waterson@netscape.com. 2000-09-02 15:35:19 +00:00
Peter.VanderBeken%pandora.be
8934df7249 Fix XSLT hooks (Preparation for bug #42228). Implement SetDOMDocument. r=jst@netscape.com, a=waterson@netscape.com. 2000-09-02 15:32:28 +00:00
pinkerton%netscape.com
18cb3313de removing unused xul frames, nsTitledButton and nsToolbarItemFrame. r=hyatt. 2000-09-01 21:39:25 +00:00
jst%netscape.com
7aa7ed7f6d Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com 2000-09-01 07:05:08 +00:00
nisheeth%netscape.com
b19b092432 r=jst. Fixing refcounting of ID attribute atoms. Additional work to earlier checkin for fixing bug 10292. Also, added support for getElementByID() in XML documents. 2000-09-01 02:21:06 +00:00
vidur%netscape.com
e153192875 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
a67f193c88 r=ian hickson. Fix for nsbeta3+ bug 41924. Updated the way we calculate alternate text for images that are not found. 2000-08-31 06:27:49 +00:00
saari%netscape.com
970f4d27a5 fixing dr's bustage 2000-08-31 03:35:57 +00:00
jst%netscape.com
ca738093f5 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com 2000-08-31 00:36:31 +00:00
kin%netscape.com
9cf7b833fb Fix for bug #35899 (Page scrolls on selecting text in position:relative div)
- Rewrote the auto-scrolling code to handle the fact that events are now passed
    directly to frames, even though the mouse is outside the window, and the frame
    is not in the clip view. The old code assumed that the viewport frame always
    caught and handled the event, which was the way it used to be.
  - AutoScroll methods now give the option of scrolling parent scrollable views.

r=jfrancis@netscape.com

Fix for bug #49467 (Spell checking not working in composer or NS 6 IM )

  - We no longer throw an error if we are trying to scroll the selection
    into view, when the selection is in a view that has no parent scrollable
    view ... we just return NS_OK and do nothing.

r=syd@netscape.com
2000-08-30 19:42:47 +00:00
attinasi%netscape.com
551e38cfa8 Fixed items are now removed in ReconstructDocElementHierarchy. b=42114, r=buster@netscape.com 2000-08-30 18:51:45 +00:00
bryner%uiuc.edu
6731fd7727 Fixing 50628 - crash attaching a file to bugzilla on Linux. Need to cast
to the right type in QueryInterface!  r=pavlov.
2000-08-30 08:07:12 +00:00
rhp%netscape.com
0070d84c49 Fix for crash when cancelling mail print operations - Bug #: 49280 - r: bienvenu 2000-08-30 02:04:02 +00:00
akkana%netscape.com
719f67e1c8 50134: check offset before calling CharAt(offset-1). r=mcafee 2000-08-30 01:42:27 +00:00
nisheeth%netscape.com
b65a3881e0 - 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
akkana%netscape.com
beed06a132 44372: more efficient fix, thanks to (and r=)scc 2000-08-30 00:25:52 +00:00
akkana%netscape.com
e37ee0aa09 44372: Do entity conversion in attributes as well as normal content. r=harishd 2000-08-29 23:30:45 +00:00
akkana%netscape.com
d68f42dd59 Fix memory leak introduced yesterday. r=harishd 2000-08-29 23:27:09 +00:00
jfrancis%netscape.com
299877ed6d disabling fix for 46554 again, in order to fix smoketest blocker 50653 et al 2000-08-29 19:55:16 +00:00
hyatt%netscape.com
ef6474d1ff 43220. r=ben 2000-08-29 08:07:22 +00:00
jfrancis%netscape.com
995b111b30 restoring my original fix for 46554, with some additional tweaks to deal gracefully with generated content. To forgive, divine. 2000-08-29 06:37:12 +00:00
jfrancis%netscape.com
9726e994c4 i'm an idiot 2000-08-29 05:43:03 +00:00
jfrancis%netscape.com
7d5e6f0454 turns out that selection code is used even when outputing an entire document (beats me why); disabling my changes so that text field output will work again. 2000-08-29 03:09:54 +00:00
hyatt%netscape.com
e8381a76bf XBL fix for walling off style (46505). r=ben 2000-08-29 03:08:35 +00:00
heikki%netscape.com
ecbdef817b 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
8e2f31db68 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
jfrancis%netscape.com
0481832a07 fixing a warning 2000-08-29 00:31:53 +00:00
vidur%netscape.com
a6fa8885ba Fix for bug 43902. The DOM glue now streamlines the Get/SetProperty methods for the window class. Window.location and title and document.title are now part of the idlc interfaces, rather than special-cased. r=jst@netscape.com 2000-08-29 00:14:23 +00:00
jfrancis%netscape.com
5c35225245 third time is the charm... 2000-08-29 00:07:32 +00:00
jfrancis%netscape.com
2d261bbe7d the end of ubercopy 2000-08-28 23:54:45 +00:00
akkana%netscape.com
db73afb326 41868 and 45994: Add GetDTD. r=harishd 2000-08-28 23:46:11 +00:00
jfrancis%netscape.com
767a12d10c fix for 46554: copy should grab parent nodes if all children selected; r=sfraser 2000-08-28 23:35:57 +00:00
akkana%netscape.com
a9a9ebf580 47870: Don't copy if selection is collapsed. r=law 2000-08-28 22:28:56 +00:00
anthonyd%netscape.com
e522671bc1 fix for bug# 43364
selection methods not returning meaningfull information
ie. getAnchorNode
r=mjudge
2000-08-26 21:23:25 +00:00
hyatt%netscape.com
1be9efcce5 Fix for 50044, 47861, 47471, r=ben 2000-08-25 07:01:53 +00:00
hyatt%netscape.com
83a557be58 Fix for 46505. r=mjudge 2000-08-25 00:19:38 +00:00
rods%netscape.com
7f0dcda2ea Temporarily changed outline to be mozoutline, this will enable us to get links
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi
2000-08-24 13:45:48 +00:00
buster%netscape.com
9b0a64d2c7 bug 49239
r=hyatt

bug 42372
r=waterson
2000-08-24 04:38:08 +00:00
anthonyd%netscape.com
112b262913 fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
beard%netscape.com
2b91c47864 use QueryElementAt() to save space and time. r=hyatt 2000-08-24 01:02:58 +00:00
jst%netscape.com
9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
pierre%netscape.com
c41ffd137d 49550: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener) 2000-08-23 03:57:13 +00:00
hyatt%netscape.com
b46db12741 Removing commented out code. 2000-08-23 00:53:50 +00:00
gagan%netscape.com
88db82b83e Fix for bug 48200. We were incorrectly setting mDocumentURI to the OriginalURI which completely broke redirects (which are conveyed thru URI and not OriginalURI) r=hyatt 2000-08-21 22:37:02 +00:00
hyatt%netscape.com
eefc7c48f5 49012 fix, r=danm 2000-08-21 22:30:36 +00:00
waterson%netscape.com
51b6b8b62c 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
dbaron%fas.harvard.edu
583abe126c Fix double-addref leak of stylesheets. b=49648 r=mjudge 2000-08-21 19:46:18 +00:00
dbaron%fas.harvard.edu
53002fe3e3 Fix leak of stylesheets. r=waterson 2000-08-21 13:05:53 +00:00
saari%netscape.com
9a02c4df0e 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
scc%mozilla.org
eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
attinasi%netscape.com
a7c0075080 Fixed NotifyFrames to handle the case where the notification callback causes the frames list to change. Patch supplied by serge@netscape.com, b=46934 r=attinasi@netscape.com 2000-08-18 20:47:47 +00:00
jst%netscape.com
0e9c78566f Fixing nsbeta3+ bug 47420. Don't throw a DOM exception when accessing a nodemap by index even if the index is out of range, simply return null in stead. r=pollmann@netscape.com 2000-08-18 07:04:30 +00:00
jst%netscape.com
59085aae53 Fixing nsbeta3+ bug 46966. Changing the exception thrown when a DOM Attribute node is modified. r=pollmann@netscape.com 2000-08-18 06:55:42 +00:00
rcassin%supernova.org
100d197e90 Checkin kin's fix for bug 48879, r=sfraser 2000-08-17 23:55:32 +00:00
pierre%netscape.com
fc4ab5d947 49154: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener) 2000-08-17 08:26:53 +00:00
hyatt%netscape.com
24b71cc743 First-stage fix for dogfood bug 49012. r=ben 2000-08-17 08:11:11 +00:00
jst%netscape.com
2ceabebdea Fixing nsbeta3+ bug 30534. Don't lie about what DOM features we support, be honest./paralellCheckout | & less r=nisheeth@netscape.com 2000-08-17 07:09:05 +00:00
waterson%netscape.com
f7e7ca5d51 Bug 44480. Demote 'width' and 'height' attributes from NSDocument to NSHTMLDocument and XULDocument; make nsHTMLDocument's implementation use the <body> element's frame (instead of the <html> element's frame) to determine metrics. r=jst 2000-08-16 01:04:52 +00:00
pinkerton%netscape.com
fc367b8a1a making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250. 2000-08-14 22:28:41 +00:00
hyatt%netscape.com
a489c05fae Work on 48150 and XBL performance (async and arenas). 2000-08-14 04:04:18 +00:00
mkaply%us.ibm.com
5004137c2d OS/2 and AIX Tinderbox break
I have no idea why we don't like having two semicolons in a row, but who the heck would put them there?
2000-08-12 20:26:33 +00:00
roc+%cs.cmu.edu
e48b1ae6a0 Adding call to new view API so that the view of a fixed-position frame has a Z-order/clipping parent which is not its geometric parent. Bug 39621. r,a=waterson 2000-08-12 19:44:11 +00:00
mkaply%us.ibm.com
da6b3efeb2 OS/2 and AIX Tinderbox break
Short answer: Be consistent about NS_IF_ADDREFing const and non const of the same type in the same file.
Long answer: Send me email
2000-08-12 15:03:24 +00:00
hyatt%netscape.com
0c61eaa535 Fix build bustage. 2000-08-12 07:13:52 +00:00
hyatt%netscape.com
8da2baf3ca Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan 2000-08-12 06:28:02 +00:00
pierre%netscape.com
5b88097f54 48096: Need a -moz-all value for user-select. r=sfraser. 2000-08-12 01:00:14 +00:00
anthonyd%netscape.com
9d506576cb fix for bug#48472
apparently nsIContent::ChildAt can be successful
and not return a child. now checking fo that.
r: smfr
a: beppe
2000-08-11 19:55:39 +00:00
anthonyd%netscape.com
13c10a6478 fix for bug# 48472 (dogfood bug)
r: mjudge
a: beppe
2000-08-11 01:36:28 +00:00
heikki%netscape.com
277fca0c27 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
warren%netscape.com
84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
dr%netscape.com
c3b8fbab61 fix for windows horkage, shouldn't be in there anyway 2000-08-09 23:27:54 +00:00
mjudge%netscape.com
7e782cc7f4 use "=" not "==" my bad 2000-08-09 22:43:39 +00:00
dr%netscape.com
de9b64bca7 fix for 42635 and related cleanup, r=ben,hyatt 2000-08-09 22:38:46 +00:00
mjudge%netscape.com
184bb65ca4 43533 table cell selection color fix. check for table cells/table being added to range and toggle flag to allow cells to draw correctly 2000-08-09 22:34:17 +00:00
dbaron%fas.harvard.edu
edbb56773e Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+) 2000-08-09 12:51:05 +00:00
sfraser%netscape.com
9aa82a567b Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
saari%netscape.com
4c09a29ac5 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
hyatt%netscape.com
4e91f2e474 Fix for 47635. r=ben 2000-08-07 07:55:10 +00:00
dbaron%fas.harvard.edu
a293ca83f0 Make nsDocument unroot script objects in the prolog and epilog correctly. Fix nsDocument::RemoveChild so it doesn't crash when removing the root element. Prevent nsDocument::ChildAt from incorrectly returning null when root is removed. Clean up nsDocument::RemoveChild and nsDocument::ReplaceChild a bit, including adding some notifications for prolog/epilog content. Make nsDocument::ReplaceChild return the correct thing (the old child, not the new one). r=vidur b=17390 (nsbeta3+), 46212 2000-08-07 03:03:55 +00:00
dbaron%fas.harvard.edu
961e14f102 Remove element names from the list that no longer use nsIAnonymousContentCreator. r=hyatt a=waterson
Don't choke on notifications for children of document that aren't the root element.  r=vidur  b=17390 (nsbeta3+)
2000-08-07 02:51:35 +00:00