Commit Graph

2892 Commits

Author SHA1 Message Date
mjudge%netscape.com
d74f430c75 private interface for selection 2000-09-14 05:24:18 +00:00
mjudge%netscape.com
62b3714065 not in build yet. adding for beta3 bug on api change 2000-09-14 05:22:37 +00:00
jst%netscape.com
347b9460b5 Fixing nsbeta3+ bug 52572. Updating the DOM intefaces in mozilla to match the current DOM Level 2 PR. r=kandrot@netscape.com 2000-09-14 05:19:00 +00:00
jst%netscape.com
96951c3f90 Fixing nsbeta3+ bug 51034. element.getElementsByTagName() was throwing a NS_NOINTERFACE exception to the wrong IID passed to QI. r=kandrot&pollmann 2000-09-14 04:53:03 +00:00
pollmann%netscape.com
0b9eda0dd2 Bug 3326: Implement IsIndex Frame; r=kmcclusk 2000-09-14 04:46:58 +00:00
rayw%netscape.com
0257791053 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
jdunn%netscape.com
e6f144c78e Fix warning: return value is required from functions
r= brendan@mozilla.org scc@mozilla.org
#= 52254
2000-09-13 14:11:51 +00:00
scc%mozilla.org
38e1cdde57 if you want a pointer to characters, you're going to have to |.get()| it 2000-09-13 08:21:04 +00:00
sfraser%netscape.com
4af1765061 Part of the fix for 20743, add flag to tell us if a drawing surface is short-lived, so we can allocate in temp mem (on Mac). r=pavlov 2000-09-13 07:02:30 +00:00
scc%mozilla.org
cfbee28623 if you want a pointer to the characters, your going to have to |.get()| it 2000-09-13 04:47:36 +00:00
scc%mozilla.org
f75af5e15f if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 02:48:08 +00:00
anthonyd%netscape.com
408d1057ca bug fix for mjudges bug #45387
r=anthonyd
2000-09-13 00:05:29 +00:00
attinasi%netscape.com
1fd5ba1fd2 Added default implementation for frames to allow a frame to specify which frame provides its parent style context. Also reworked ReResolveStyleContext and VerifyStyleTree to allow the style context tree to diverge from the frame tree. b=45210 r=karnaze 2000-09-12 22:47:09 +00:00
attinasi%netscape.com
33c7174943 Added a new method to allow a frame to specify the frame that provides its parent style context. b=45210 r=karnaze 2000-09-12 22:45:33 +00:00
heikki%netscape.com
5a54ae35f1 Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge. 2000-09-12 20:54:41 +00:00
nisheeth%netscape.com
b06610d152 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
1a24a39b49 r=rpotts. Fix for nsbeta3+ bug 39368. 2000-09-12 00:35:11 +00:00
jst%netscape.com
65092804c2 Adding new file, not part of the build. 2000-09-11 22:10:08 +00:00
buster%netscape.com
86e0e4dfef forgot to check this in as part of my last checkin.
bug 18754
r=karnaze
2000-09-11 21:25:43 +00:00
jst%netscape.com
d50223fd65 Fixing the content serializers to compile on Windows. Not part of the build. 2000-09-11 20:55:46 +00:00
vidur%netscape.com
4ddd46c060 First cut at the plain text serializer. The bulk of this code froms the old nsHTMLToTXTSinkStream. This is not part of the build. 2000-09-11 05:10:32 +00:00
pierre%netscape.com
84f381ec78 Fix blocker bug #52039 (crash when resolving pseudo-style for anonymous content). 2000-09-11 03:58:22 +00:00
vidur%netscape.com
05e1b4304d Ongoing work on content serializers. This is not part of the build. 2000-09-11 00:57:59 +00:00
jst%netscape.com
90cc9d88a4 Checking in a infinite loop fix done by Vidur, not part of the build. 2000-09-10 23:24:10 +00:00
vidur%netscape.com
43d4d9e1bc Better factoring of code. This is not part of the build. 2000-09-10 22:22:58 +00:00
jst%netscape.com
50937f5eae Getting the serializers up to par. This is not part of the build 2000-09-10 19:36:22 +00:00
vidur%netscape.com
8a929ef767 Added _moz_dirty. r=jst 2000-09-10 07:04:07 +00:00
vidur%netscape.com
4a4e16e81f Backing out inadvertant checkin of makefiles. 2000-09-10 06:47:21 +00:00
vidur%netscape.com
6a4f351b72 Pretty printing in HTML. Much code lifted from nsHTMLContentSinkStream. This is not part of the build. 2000-09-10 06:44:06 +00:00
vidur%netscape.com
198f095420 New HTML and XML serializers. This is not part of the build 2000-09-10 02:17:54 +00:00
jst%netscape.com
ce95288e37 Adding character offsets to various methods. Not part of the build. 2000-09-10 00:09:14 +00:00
jst%netscape.com
c552790c44 Whitespace changes, not part of the build. 2000-09-09 23:53:39 +00:00
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