Commit Graph

1189 Commits

Author SHA1 Message Date
jst%netscape.com
65092804c2 Adding new file, not part of the build. 2000-09-11 22:10:08 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
warren%netscape.com
a94aa1aa52 Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
scc%mozilla.org
eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +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
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
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
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
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
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
mjudge%netscape.com
7e782cc7f4 use "=" not "==" my bad 2000-08-09 22:43:39 +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
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
hyatt%netscape.com
76df4fb8a9 more of 42320. r=danm 2000-08-06 05:39:36 +00:00
pierre%netscape.com
e0bfdfa04d 45754 ('hidden' borders should be treated as 'none') 2000-08-05 04:40:57 +00:00
hyatt%netscape.com
aacb440f4b I'm told backing this out resolves smoketest issues, so here it comes. r=attinasi 2000-08-03 21:40:39 +00:00
mjudge%netscape.com
b9689a5d76 *** empty log message *** 2000-08-02 02:39:10 +00:00
cmanske%netscape.com
ca24e6aca4 Fixed crashing bug 42195: Added method to nsIFrameSelection so frame can get limiting content node for parent node searches in text edit fields. r=mjudge 2000-08-02 01:47:55 +00:00
pavlov%netscape.com
592381ef95 fixing other people's build bustage bug 43826 r=bryner 2000-07-31 04:40:06 +00:00
hyatt%netscape.com
5998ea2de2 Patch to avoid observing the document so early. r=attinasi 2000-07-29 09:52:06 +00:00
anthonyd%netscape.com
940be572c5 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
danm%netscape.com
92d0a3a892 shut down a selection's autoscroll timer in the selection's destructor. bug 43470. r=saari@netscape.com 2000-07-28 03:48:26 +00:00
hyatt%netscape.com
9f12a75d17 Fix for 41145. r=waterson 2000-07-28 00:35:02 +00:00
dbaron%fas.harvard.edu
0d22e864e2 Fix the way HTML's align attribute works for horizontal alignment of blocks. Use the -moz-center and -moz-right even in strict mode, and apply them to blocks in addition to tables. r=attinasi b=37083, 40038 2000-07-27 23:37:44 +00:00
mjudge%netscape.com
7317580268 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
mjudge%netscape.com
938dbdf044 awful regression of not copypasting from textareas! fixed.r=akkana,anthonyd 2000-07-22 01:11:49 +00:00
ftang%netscape.com
afd789602b more fix for 39790 which we forget. change intl.charset.default to navigator.properties
r=nhotta/cata
2000-07-20 21:09:11 +00:00
valeski%netscape.com
175fa58cd9 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
akkana%netscape.com
481b7a5c02 38232 (nsbeta2+): Make line break character configurable in the
output system, and use \n (the DOM linebreak character) when getting
output from text controls.  Also fix some warnings.  r=kin.
2000-07-10 19:46:59 +00:00
attinasi%netscape.com
be78b225d6 Temporarily turned off style context sharing while I figure out why it is causing incorrect styling of some XUL elements. b=43490 2000-06-29 23:13:46 +00:00
mjudge%netscape.com
0d4292f24e r=hyatt bug36617, sfrasier bug. simple change for select all to work. 2000-06-29 05:25:01 +00:00
waterson%netscape.com
19fb2ea133 Bug 43644. Better fix: nsLayoutAtoms::[AddRefAtoms|ReleaseAtoms] calls are unnecessary, as dbaron pointed out to me. 2000-06-28 05:36:32 +00:00
waterson%netscape.com
52056b5489 Bug 43644. Add 'wildcard' atom to nsLayoutAtoms and use it instead of a statically leaked atom. r=jst,inaky.gonzales@intel.com 2000-06-28 04:17:26 +00:00
mjudge%netscape.com
b871d9eda7 r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput. 2000-06-28 04:00:12 +00:00
mkaply%us.ibm.com
f54f832702 #42637
r=pinkerton, a=brendan
OS/2 bringup - Change from waterson and vidur - don't modify members in a const function
2000-06-27 22:31:43 +00:00
vidur%netscape.com
17415ac9ff Fix for bug 31376. Just modifying an incorrect comment. 2000-06-23 22:23:37 +00:00
dbaron%fas.harvard.edu
63234a162b Add new style classes to the leak/bloat logs. This should increase the bloat statistics. r=attinasi 2000-06-23 21:57:39 +00:00
mjudge%netscape.com
976a8c3ec6 fix for 42188,42347 r=akkana . use selection controller to tell the doc if it should display non-text-selection. 2000-06-23 04:01:19 +00:00
jst%netscape.com
775588fcf5 Fixing nsbeta2+ bug 33477, completing (more or less) the DOM Level 2 NamedNodeMap implementation, this includes modifying the XML content sink to properly pass attribute prefixes to the content objects. r=vidur@netscape.com 2000-06-23 00:21:32 +00:00
pierre%netscape.com
9e180b38cc #12403 "border-style: hidden should force border-width: 0". Fixed RecalcData() to handle 'hidden' similarly to 'none'. r=attinasi. 2000-06-22 05:38:26 +00:00
rpotts%netscape.com
cf3e824449 DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer 2000-06-22 05:38:07 +00:00
attinasi%netscape.com
856ea4a348 Eliminated warnings from recent checkin (trivial changes). 2000-06-22 05:14:32 +00:00
vidur%netscape.com
f98401ad88 Fix for bug 42278. Thought I'd got it with my prior checkin, but didn't notice rbs@maths.uq.edu.au's prior checkin to switch the namespace string literals. r=nisheeth 2000-06-21 23:59:21 +00:00
vidur%netscape.com
109a49d66d Fix for bug 38349. Implemented nsIDOMNode::CloneNode() and ImportNode() for XML and HTML documents as part of finishing out our DOM1 and DOM2 implementations. Cleanup of DOMImplementation::createDocument. r=jst 2000-06-21 23:56:52 +00:00
attinasi%netscape.com
db3aa75e08 Implemented Style Context Data sharing, reducing the amount of memory used in style by about 40%. Performance will degrade by about 10%, that is being worked on now. b=39618 r=waterson 2000-06-21 20:44:59 +00:00
vidur%netscape.com
3be227878d Fix for bug 9392. document.plugins now aliases to window.navigator.plugins. r=nisheeth 2000-06-21 00:53:26 +00:00
vidur%netscape.com
c99e74c3a1 Fix for bug 42278. Switched around positions of old REC-html40 namespace URI and new XHTML namespace URI in the table so that we do the reverse mapping from namespaceID to URI correctly. r=nisheeth 2000-06-21 00:49:22 +00:00
vidur%netscape.com
0a4cbc9ddb Work for bug 33475 - completion of Document-related DOM Level 2 support. Null-checks for the empty document case. The documentElement can now be replaced. Load() no longer takes extra unused argument. r=jst,nisheeth 2000-06-17 01:46:58 +00:00
pollmann%netscape.com
cc6da544ba Bug 4891: document.forms[x] fixed for document.written forms r=jst@netscape.com 2000-06-17 01:28:41 +00:00
jst%netscape.com
f8298f55bd Fixing nsbeta2+ bug 41588, accessing document.documentElement on an empty document in JS threw a NS_ERROR_FAILURE exception in stead of just returning null. r=heikki@citec.fi 2000-06-16 13:37:46 +00:00
rbs%maths.uq.edu.au
26742e611c Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com 2000-06-15 09:54:41 +00:00
hyatt%netscape.com
4178f01df1 Fix for #41281, r=brendan 2000-06-14 08:19:07 +00:00
scc%mozilla.org
507357239c fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms 2000-06-12 23:52:31 +00:00
jst%netscape.com
625bc7c797 Fixing nsbeta2+ bug 41487, form controls with the same NAME and ID ended up in the form control list in the form element twice. r=nisheeth 2000-06-09 22:47:29 +00:00
mjudge%netscape.com
b8ab3b74f2 too many copies for ender-lite. happening whenever people were setting selection progromatically. r=hyatt 34896 2000-06-09 05:14:19 +00:00
attinasi%netscape.com
d7acae8f5e Fixed crash due to ordering problem: b=38768 r=dcone 2000-06-07 23:04:45 +00:00
akkana%netscape.com
1c0d83348d 40457: suppress extra XIF output for cases where the selection
doesn't intersect the range at all. r=jfrancis, a=beppe.
2000-06-07 22:58:39 +00:00
akkana%netscape.com
b9bf5f4880 40457: Add implementation for range methods to tell whether
a node or point intersects the range. r=jfrancis, a=beppe.
2000-06-07 22:57:36 +00:00
mjudge%netscape.com
eeee01489a adding in null check since we dont ALWAYS use selection to output xif. this gets rid of an assertion that i found while fixing a regression 41814 r=donm a=donm ect 2000-06-07 22:46:11 +00:00
cmanske%netscape.com
d4cf823a1c Finished table cell selection optimization bug 41045. r=mjudge, a=beppe 2000-06-06 23:14:42 +00:00
pierre%netscape.com
12f2fe1056 Checked back in the backed out code (41321) after doing a minor fix in nsCSSValue.cpp (41618) 2000-06-06 09:36:12 +00:00
pierre%netscape.com
e549491b3e Backed out the previous changes (41321, waterson/attinasi) because of the regression in 41618. 2000-06-06 06:50:21 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mkaply%us.ibm.com
b74a7a1d47 # 37239
r = jst, a = brendan
OS/2 bringup - PR_CALLBACK
2000-06-03 00:00:01 +00:00
cmanske%netscape.com
18a9fcaca3 Fix for table selection performance problems. b=41045, r=mjudge, a=beppe 2000-06-02 23:05:06 +00:00
waterson%netscape.com
a965de089e Bug 41321. Use PRUnichar* instead of nsString* to store string values for nsCSSValue and nsHTMLValue. r=attinasi. 2000-06-02 22:54:35 +00:00
attinasi%netscape.com
c115636333 Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze 2000-06-02 21:45:06 +00:00
hyatt%netscape.com
b088efb508 Tree/grid foundation work. 2000-06-02 08:13:29 +00:00
jst%netscape.com
8ef5a6fcfd Fixing nsbeta2+ bug 40197, a typo caused the doctype in a document to be found only found if it was the first child in the document. r=vidur, a=nisheeth 2000-06-01 23:40:26 +00:00
erik%netscape.com
c23d6c3503 bug 32206; add charset observer methods; r=buster; a=ftang 2000-06-01 23:11:40 +00:00
erik%netscape.com
a2ce4fa1be bug 32206; add notifiers for charset changes; r=buster; a=ftang 2000-06-01 23:10:44 +00:00
jst%netscape.com
2950aca9c3 Fixing dogfood+ bug 40571, various problems with multiple form objects with the same name. r=vidur 2000-06-01 22:55:19 +00:00
mjudge%netscape.com
66a4d02495 bug = 34896, r= hyatt. changing caret apis. this will demand that when a caret changes focus a call to setDOMSelection must be called to tell the caret what selection to listen to. 2000-06-01 02:37:40 +00:00
cmanske%netscape.com
c28f13972f Added row/column selection in tables: Bug 26833. r=kin, a=beppe 2000-05-31 00:07:58 +00:00
akkana%netscape.com
0e36c2f407 38713: Allow TakeFocus motion inside selection batching. r=mjudge, jfrancis; a=beppe 2000-05-31 00:02:12 +00:00
attinasi%netscape.com
b1e3810872 Fixed bug 31955: font-face is now inheriting into tables in QuirksMode. r=dcone, a=karnaze 2000-05-30 22:53:02 +00:00
hyatt%netscape.com
d2920f4ba2 Fix mac bustage. 2000-05-27 22:40:40 +00:00
hyatt%netscape.com
2bd2b3bce1 Fixing bugs in skin switching. 2000-05-27 20:03:14 +00:00
hyatt%netscape.com
c7ccb5a606 Brutal sharing of XBL classes implemented. 2000-05-27 08:20:04 +00:00
hyatt%netscape.com
430af5709b Adding anonymous content getter. r=waterson, a=waterson 2000-05-26 22:45:26 +00:00
harishd%netscape.com
fd05532b5f Added DumpContent() for parser regression test.
Triggered only under debug mode & when PARSER_DUMP_CONTENT flag is set.

r=rickg
a=rickg
2000-05-26 19:45:37 +00:00
harishd%netscape.com
130caf11f0 Added DumpContent() triggered by parser [ for regression test ].
r=rickg
a=rickg
2000-05-26 19:45:32 +00:00
jst%netscape.com
8b0e02f751 Checking in temporary code that lets a user turn on the new DOM Level 2 behavior by setting the 'temp.DOMLevel2update.enabled' preference to true, this is to help with the general DOM update, and it's part of the fix needed for bug 33474. r=vidur@netscape.com, a=pdt@netscape.com 2000-05-25 23:48:45 +00:00
kin%netscape.com
108b7677fd Part 1 of fix for bug #39821: Drag and Drop interferes with selection.
layout/base/public/nsIFrameSelection.h
  layout/base/src/nsSelection.cpp
  layout/events/src/nsEventStateManager.cpp
  layout/html/base/src/nsFrame.cpp
  layout/html/forms/src/nsGfxTextControlFrame2.cpp
  xpfe/browser/resources/content/navigatorDD.js

r=brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com,waterson@netscape.com
2000-05-25 20:04:02 +00:00
jfrancis%netscape.com
43f70de371 fixes 29329 2000-05-24 23:01:09 +00:00
hyatt%netscape.com
481e0fdf9a XBL Fixes r=ben 2000-05-24 08:19:10 +00:00
hyatt%netscape.com
21e5ef59a2 fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
joki%netscape.com
c22fd60f54 More support for onresize and onscroll, bug 960 2000-05-17 06:53:58 +00:00
joki%netscape.com
08d1d06617 fix for resize event support, bug 960, and additional support for DOM 2 events. 2000-05-17 05:27:22 +00:00
jst%netscape.com
d96d339f9d Store attribute names in XML elements as nsINodeInfos plus some general DOM cleanup. 2000-05-17 04:52:09 +00:00
mjudge%netscape.com
c39baffac3 removing debug messages 2000-05-17 03:07:31 +00:00
pavlov%netscape.com
803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
mjudge%netscape.com
6c570245c2 missing {} around a block 2000-05-17 02:02:20 +00:00
jst%netscape.com
930a889eb7 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
mjudge%netscape.com
f56b42799d fixing relative div position bug with autoscroll 2000-05-16 22:41:38 +00:00
jst%netscape.com
9a0cc5b94f Fix invalid nsString useage. 2000-05-16 14:43:32 +00:00
joki%netscape.com
a743e2b38b 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
cmanske%netscape.com
acad8adcca Select table column and row support (20973). r=mjudge 2000-05-16 03:03:13 +00:00
shaver%mozilla.org
2da0ab457d Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
jst%netscape.com
adab725bd3 Make .localName always return the local name, even if there's no namespace on the node. 2000-05-16 02:17:14 +00:00
jst%netscape.com
62324c1e44 Implementing getElementsByTagNameNS() for XML and HTML documents. 2000-05-16 00:55:05 +00:00
jst%netscape.com
81e8c37fef Pass the name without the prefix to the DOM script object factory... 2000-05-15 22:48:38 +00:00
jst%netscape.com
798ded8a8e Checking in DOM Level 2 version of the DOM interface Element. 2000-05-15 20:31:55 +00:00
mjudge%netscape.com
6e60f28e28 fixing legal issues 2000-05-15 14:19:25 +00:00
mjudge%netscape.com
de897049e6 fixing output from selection piece 2000-05-15 14:18:30 +00:00
jst%netscape.com
cb9ed532cf More utility frunctions in nsINodeInfoManager. 2000-05-14 23:45:32 +00:00
jst%netscape.com
4b767ec567 Adding more utility functions to nsINodeInfo. 2000-05-14 18:34:35 +00:00
jst%netscape.com
bfb27a83a7 Implementing DOM hasFeature() and supports(). 2000-05-14 13:08:00 +00:00
jst%netscape.com
7b59e6951c Add support for DOM Level 2 document.defaultView 2000-05-14 02:08:53 +00:00
mjudge%netscape.com
fa4088842d fixing warnings and some redundant code 2000-05-13 20:47:42 +00:00
mjudge%netscape.com
481c5db0e2 fixing redundant calls to notify selection listeners 2000-05-13 09:10:16 +00:00
mjudge%netscape.com
a4c310645c (ender-lite) forcing use of nsixifconverter rather than nsxifconverter. making tostring method take output type parameters. 2000-05-13 08:07:34 +00:00
mjudge%netscape.com
320b76a769 exporting new apis for nsIXIFConverter and forcing nsidocument and nsicontent to use them 2000-05-13 08:06:37 +00:00
jst%netscape.com
f9fe8d6f06 Add GetNodeInfo() to nsIContent. 2000-05-12 14:09:28 +00:00
jst%netscape.com
f0dce37b28 Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter. 2000-05-12 13:46:59 +00:00
mjudge%netscape.com
55912eddb8 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
jst%netscape.com
327decd731 Fixing bug 38357. Passing a document node to nsRange::SelectNode() crashed mozilla, now it properly throws the exception INVALID_NODE_TYPE_ERR if the node type is incorrect. r=akkana@netscape.com 2000-05-11 01:44:44 +00:00
nisheeth%netscape.com
2277ba5c45 Add support for loading an XML document from script within a XUL document also. 2000-05-10 23:02:32 +00:00
jst%netscape.com
8d53354702 Support replacing the doctype in a document. 2000-05-10 19:52:08 +00:00
jst%netscape.com
917b5b56a5 Fixing incorrect hash table useage, this fixes smoketest blocker #38795. a=granrose 2000-05-10 18:19:46 +00:00
jst%netscape.com
ee4b181034 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com. 2000-05-10 13:13:39 +00:00
ftang%netscape.com
c872bec44c fix bug in the SaveDocument code. 2000-05-10 03:52:02 +00:00
hyatt%netscape.com
d83baf3529 Making XML, MathML, SVG, and HTML elements support passing attribute changes into XBL bindings. 2000-05-10 02:15:47 +00:00
hyatt%netscape.com
b61e063ca5 Fix leak. 2000-05-10 01:09:45 +00:00
hyatt%netscape.com
334e31b473 XBL now works with HTML, XUL, SVG, MathML, and XML! 2000-05-09 21:42:40 +00:00
jst%netscape.com
02a6c2e0e3 Checking in new files for (the not yet checked in) shared node info code. Not part of the build yet. r=buster@netscape.com 2000-05-08 14:29:44 +00:00
mjudge%netscape.com
d30a3a5508 forgot to initialize this 2000-05-08 04:00:48 +00:00
mjudge%netscape.com
b0fb7f6753 tabbing 2000-05-08 04:00:26 +00:00
erik%netscape.com
0f1eec05eb bug 26237; added support for HTML LANG attribute -- it now uses the fonts
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre
2000-05-05 21:04:36 +00:00
dprice%netscape.com
a5c995336b fix for 38253 r=mjudge 2000-05-05 05:37:27 +00:00
shaver%mozilla.org
54a1f23972 first part of ContentPolicy stuff (#37983, r=brendan) 2000-05-05 05:28:49 +00:00
karnaze%netscape.com
a02cdba83c bug 37037, 37490, and a table paganation problem when captions are present. 2000-05-04 23:16:42 +00:00
mjudge%netscape.com
24e9fbcab6 stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out. 2000-05-04 08:35:42 +00:00
waterson%netscape.com
2b83954c77 Must use string literal for named references. 2000-05-03 23:42:58 +00:00
waterson%netscape.com
c47dbd0bb6 Must use string literal for named references. 2000-05-03 23:42:20 +00:00
waterson%netscape.com
65b8358fa1 Must use string literal for named references. 2000-05-03 23:34:10 +00:00
mjudge%netscape.com
dd57ceb32d new api for limiter in selection 2000-05-02 03:44:17 +00:00
sfraser%netscape.com
c43e7b559a Add null check. 2000-05-01 21:50:18 +00:00
kin%netscape.com
65b72822ba Fix for crasher bugs 37701 and 37728. r=mjudge@netscape.com 2000-05-01 18:21:30 +00:00
hyatt%netscape.com
370c46289a Fix scrollbar stylesheet relative to ua stylesheet. 2000-05-01 07:58:07 +00:00
nisheeth%netscape.com
7e37fb4356 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
dbaron%fas.harvard.edu
6175b3560e Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28). 2000-05-01 00:26:37 +00:00
hyatt%netscape.com
86ac1e20c6 Adding support for other backstop style sheets. 2000-04-28 23:32:51 +00:00
karnaze%netscape.com
65511dc8d6 new reflow/layout code for outer table to handle captions and margins. better % height handling.
row groups and rows don't include external cellspacing in there dimensions. r=troy.
2000-04-28 21:05:31 +00:00
jst%netscape.com
c29c060230 Make nsSelection::ToString(); do the right thing, now it uses the document encoder to create the string representation of the selection. r=mjudge&akkana (before I did a string API change). 2000-04-28 13:58:08 +00:00
mjudge%netscape.com
7e5a6b3cd7 change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument 2000-04-28 06:21:31 +00:00
mjudge%netscape.com
2c0953e1be ender lite checkin. 2000-04-27 07:37:12 +00:00
jst%netscape.com
af8646bbb5 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
akkana%netscape.com
df72d780bb Backing out previous change -- wasn't ready. a=mjudge 2000-04-26 01:58:28 +00:00
mjudge%netscape.com
2cfb602409 making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
akkana%netscape.com
5709d8739f Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
troy%netscape.com
6b04c3b5fa Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com
42e26161e8 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00
troy%netscape.com
9b393faa48 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
jdunn%netscape.com
fe9da9312c adding newline for hp 2000-04-21 22:17:14 +00:00
anthonyd%netscape.com
d49663a53e r=mjudge. adding in focus listener to docviwer. this will now disable/reenable selection on those displays that desired selection at all. 2000-04-21 21:40:28 +00:00
anthonyd%netscape.com
815b66f915 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
scc%netscape.com
37d7f881c6 making string conversions explicit 2000-04-17 10:28:55 +00:00
scc%netscape.com
b4caf7e667 making string conversions explicit 2000-04-16 11:19:26 +00:00
scc%netscape.com
52bdf65d60 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com
0012d27605 making string conversions explicit 2000-04-15 20:15:37 +00:00
pierre%netscape.com
6bf46728ec #33244. changed the default value for empty-cells: 'hide' in quirks mode and 'show' in strict mode. 2000-04-15 03:50:48 +00:00
mjudge%netscape.com
533234a976 fixing selection speed. only copying to clipboard on mouse up 2000-04-14 23:00:30 +00:00
mjudge%netscape.com
181b0aaa7e touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api. 2000-04-14 11:21:19 +00:00
jst%netscape.com
9d31fda302 Making nsDOMAttributeMap a 'live' NamedNodeMap, removed the hashtable for the attributes since a) it caused the none-liveness and b) it was overkill, the number of attributes is usually so low so having a hashtable for them doesn't help much. 2000-04-13 23:42:52 +00:00
jst%netscape.com
5cd69c3154 Update the DOM interface to DOM Level 2, only stubs so far. 2000-04-13 21:21:02 +00:00
mjudge%netscape.com
5c4c46cd0d table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture. 2000-04-13 20:21:32 +00:00
mjudge%netscape.com
8efaa31294 fixing 2 bugs. bug for notifications going out when we dont need them for selection changing. and for fixing some keyboard navigations around non-text frames 2000-04-12 10:34:19 +00:00
mjudge%netscape.com
f0c0beb50c fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view. 2000-04-12 03:04:11 +00:00
hyatt%netscape.com
aa7305bcb3 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +00:00
hyatt%netscape.com
220a5faae0 Making <children> support dynamic. 2000-04-04 06:29:20 +00:00
jst%netscape.com
44d3c72ca2 Updating the DOM Attr interface to match the DOM Level 2 spec. r=waterson@netscape.com 2000-04-03 13:40:04 +00:00
scc%netscape.com
c5c503948f making string conversions explicit 2000-04-03 11:20:35 +00:00
jst%netscape.com
ae133403e9 Minor cleanup and fixing a compier warning. 2000-04-02 22:05:10 +00:00
erik%netscape.com
72dbd2f6e8 bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only; also
factored some code to reduce duplication; r=pierre,troy
2000-04-02 21:52:17 +00:00
mjudge%netscape.com
ad7071118d selecting generated content works now. subtree iterator and all. incredible... added new private method to nsTextFrame to factor out some things on getting correct offsets from generated frames. its a no-op almost for non generated frames 2000-04-02 05:05:31 +00:00
jst%netscape.com
9f4e5b9940 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far. 2000-04-01 13:31:23 +00:00
jst%netscape.com
e23d0e4ac9 Changing the DOM exceptions thrown from methods on data nodes, fixes bug #16605. 2000-04-01 12:55:53 +00:00
jst%netscape.com
7df53c3963 Removing some code redundancy in the DOM Core implementations, fixing bugs #16585 and #16606. 2000-04-01 12:36:16 +00:00
nisheeth%netscape.com
0111dba11b Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches. 2000-04-01 00:39:15 +00:00
mjudge%netscape.com
a4bad11091 moving nsGeneratedContent stuff to new file nsGeneratedIterator. adding new bitflags for selection types for nsSelection 2000-03-31 07:17:22 +00:00
mjudge%netscape.com
988739343b adding in new init methods for the new nsGeneratedContentIterator! 2000-03-31 07:14:02 +00:00
attinasi%netscape.com
1621b39d9e Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
jst%netscape.com
78e56ebbd1 Replace internal HTML Doctype API with the DOM DocumentType API, HTML documents now get a DOM DocumentType if the file contains one and the DOM DocumentType is ouput if/when the document is saved. This fixes bug #25020. 2000-03-28 23:25:26 +00:00
akkana%netscape.com
7a61aa1ec0 Fix an entity bug for Naoki: Japanese entities weren't being correctly
pasted.  This also fixes the symptoms, but not the underlying cause,
of the html mail nbsp bug.  r=nhotta
2000-03-28 00:10:44 +00:00
scc%netscape.com
0f4a2b3d8c small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
jst%netscape.com
4b601df80e Don't leak the hash table used for the attribute map (#32196). Patch from shaver, r=beard 2000-03-25 00:54:30 +00:00
cmanske%netscape.com
175fed3e97 Optimized SelectBlockOfCells to select/unselect only those cells that really need to be. r=mjudge 2000-03-24 02:52:07 +00:00
kmcclusk%netscape.com
cc8f1f34bd Offset the viewmanager in nsDocumentViewer by passing the offset to nsIViewManager::Init instead of offsetting the root view b=32161 r=attanasi@netscape.com 2000-03-23 23:50:42 +00:00
mstoltz%netscape.com
319b923a3a Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris 2000-03-23 04:53:16 +00:00