970 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
b25ea4d45d Fix misleading indentation. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78239 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:34:35 +00:00
hyatt%netscape.com
637c5c6075 loadBindingdoc, r=ben
git-svn-id: svn://10.0.0.236/trunk@78134 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 07:29:01 +00:00
Peter.VanderBeken%pandora.be
1a6674f227 Fix XSLT hooks (Preparation for bug #42228). r=jst@netscape.com, a=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@78023 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 15:35:19 +00:00
Peter.VanderBeken%pandora.be
a1f273f649 Fix XSLT hooks (Preparation for bug #42228). Implement SetDOMDocument. r=jst@netscape.com, a=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@78021 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 15:32:28 +00:00
nisheeth%netscape.com
a86af47972 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.
git-svn-id: svn://10.0.0.236/trunk@77832 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 02:21:06 +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
jst%netscape.com
0b04376254 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
git-svn-id: svn://10.0.0.236/trunk@77692 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:36:31 +00:00
kin%netscape.com
15f46f6cc1 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


git-svn-id: svn://10.0.0.236/trunk@77632 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 19:42:47 +00:00
bryner%uiuc.edu
188fb97dc5 Fixing 50628 - crash attaching a file to bugzilla on Linux. Need to cast
to the right type in QueryInterface!  r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@77610 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 08:07:12 +00:00
rhp%netscape.com
662a4792fb Fix for crash when cancelling mail print operations - Bug #: 49280 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@77550 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:04:02 +00:00
akkana%netscape.com
ec0ce4757a 50134: check offset before calling CharAt(offset-1). r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77547 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:42:27 +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
akkana%netscape.com
0b64c9d85f Fix memory leak introduced yesterday. r=harishd
git-svn-id: svn://10.0.0.236/trunk@77499 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:27:09 +00:00
jfrancis%netscape.com
e0347ad4d6 disabling fix for 46554 again, in order to fix smoketest blocker 50653 et al
git-svn-id: svn://10.0.0.236/trunk@77487 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 19:55:16 +00:00
hyatt%netscape.com
3bcd8b0b0c 43220. r=ben
git-svn-id: svn://10.0.0.236/trunk@77466 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:07:22 +00:00
jfrancis%netscape.com
6f1a57dbef restoring my original fix for 46554, with some additional tweaks to deal gracefully with generated content. To forgive, divine.
git-svn-id: svn://10.0.0.236/trunk@77461 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 06:37:12 +00:00
jfrancis%netscape.com
27c8a2318e i'm an idiot
git-svn-id: svn://10.0.0.236/trunk@77458 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 05:43:03 +00:00
jfrancis%netscape.com
0382b0103c 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.
git-svn-id: svn://10.0.0.236/trunk@77445 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:09:54 +00:00
hyatt%netscape.com
d80cd0cc17 XBL fix for walling off style (46505). r=ben
git-svn-id: svn://10.0.0.236/trunk@77444 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:08:35 +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
jfrancis%netscape.com
ca9d9a19c5 fixing a warning
git-svn-id: svn://10.0.0.236/trunk@77429 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:31:53 +00:00
vidur%netscape.com
cabe6c06b8 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
git-svn-id: svn://10.0.0.236/trunk@77423 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:14:23 +00:00
jfrancis%netscape.com
28b299f2e7 third time is the charm...
git-svn-id: svn://10.0.0.236/trunk@77420 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:07:32 +00:00
jfrancis%netscape.com
0b8c1e6017 the end of ubercopy
git-svn-id: svn://10.0.0.236/trunk@77416 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:54:45 +00:00
akkana%netscape.com
87b7e7419c 41868 and 45994: Add GetDTD. r=harishd
git-svn-id: svn://10.0.0.236/trunk@77412 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:46:11 +00:00
jfrancis%netscape.com
5ab5287aa7 fix for 46554: copy should grab parent nodes if all children selected; r=sfraser
git-svn-id: svn://10.0.0.236/trunk@77402 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:35:57 +00:00
anthonyd%netscape.com
8c8a7bb268 fix for bug# 43364
selection methods not returning meaningfull information
ie. getAnchorNode
r=mjudge


git-svn-id: svn://10.0.0.236/trunk@77313 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 21:23:25 +00:00
anthonyd%netscape.com
f4c17f81ff 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


git-svn-id: svn://10.0.0.236/trunk@77040 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:54:30 +00:00
jst%netscape.com
7e0575bfee 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
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
gagan%netscape.com
bc90969808 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
git-svn-id: svn://10.0.0.236/trunk@76802 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:37:02 +00:00
hyatt%netscape.com
bdfc2977d4 49012 fix, r=danm
git-svn-id: svn://10.0.0.236/trunk@76801 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:30:36 +00:00
dbaron%fas.harvard.edu
6fcb2971f9 Fix double-addref leak of stylesheets. b=49648 r=mjudge
git-svn-id: svn://10.0.0.236/trunk@76787 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 19:46:18 +00:00
dbaron%fas.harvard.edu
7270634490 Fix leak of stylesheets. r=waterson
git-svn-id: svn://10.0.0.236/trunk@76776 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 13:05:53 +00:00
warren%netscape.com
895569159c Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
git-svn-id: svn://10.0.0.236/trunk@76761 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 21:29:10 +00:00
scc%mozilla.org
a0a2b1b7fe fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:23:46 +00:00
jst%netscape.com
e1196e179e 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
git-svn-id: svn://10.0.0.236/trunk@76629 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 07:04:30 +00:00
jst%netscape.com
0d8561b5a2 Fixing nsbeta3+ bug 46966. Changing the exception thrown when a DOM Attribute node is modified. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76628 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:55:42 +00:00
hyatt%netscape.com
84a22f9437 First-stage fix for dogfood bug 49012. r=ben
git-svn-id: svn://10.0.0.236/trunk@76550 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 08:11:11 +00:00
jst%netscape.com
ce9e38761e Fixing nsbeta3+ bug 30534. Don't lie about what DOM features we support, be honest./paralellCheckout | & less r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76543 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 07:09:05 +00:00
waterson%netscape.com
e029e1cca8 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
git-svn-id: svn://10.0.0.236/trunk@76375 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:04:52 +00:00
mkaply%us.ibm.com
037be63490 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?


git-svn-id: svn://10.0.0.236/trunk@76226 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 20:26:33 +00:00
mkaply%us.ibm.com
bfbf7b1559 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


git-svn-id: svn://10.0.0.236/trunk@76221 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 15:03:24 +00:00
hyatt%netscape.com
5b7b5430bb Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@76211 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 07:13:52 +00:00
hyatt%netscape.com
a729ae916b Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan
git-svn-id: svn://10.0.0.236/trunk@76207 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 06:28:02 +00:00
anthonyd%netscape.com
7d90e93839 fix for bug#48472
apparently nsIContent::ChildAt can be successful
and not return a child. now checking fo that.
r: smfr
a: beppe


git-svn-id: svn://10.0.0.236/trunk@76116 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 19:55:39 +00:00
anthonyd%netscape.com
76985c2924 fix for bug# 48472 (dogfood bug)
r: mjudge
a: beppe


git-svn-id: svn://10.0.0.236/trunk@76072 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 01:36:28 +00:00
warren%netscape.com
e5706a7236 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
mjudge%netscape.com
dac8dfc28f use "=" not "==" my bad
git-svn-id: svn://10.0.0.236/trunk@75921 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:43:39 +00:00
mjudge%netscape.com
533f7943c6 43533 table cell selection color fix. check for table cells/table being added to range and toggle flag to allow cells to draw correctly
git-svn-id: svn://10.0.0.236/trunk@75917 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:34:17 +00:00
dbaron%fas.harvard.edu
3b9c9e465a 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+)
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +00:00