Граф коммитов

5537 Коммитов

Автор SHA1 Сообщение Дата
jst%netscape.com 72e80997cf Fixing bug 72613, crash in nsIDOMHTMLDocument::Write() when called from C++ w/o any JS on the stack. sr=vidur@netscape.com, r=pollmann@netscape.com 2001-08-11 00:37:27 +00:00
bryner%netscape.com 3eaacd5a3a Bug 66617 - When tabbing between links on a page, the focus outline on the
previously focused link would not be redrawn if the tab caused the page to
scroll.  r=valeski, saari, sr=hyatt.
2001-08-10 23:50:05 +00:00
jaggernaut%netscape.com 09e264ec0e Bug 92623: ``Adjust the nsCSSParser quirks'', patch by Hixie, r=pierre@netscape.com, sr=attinasi 2001-08-10 22:46:53 +00:00
saari%netscape.com 048cc7c843 Fix for 93521, Active selections are sometimes grey. This fixes a few cases where the selection color is grey, the blurred selection color, when it should be blue, or whatever the active selection color is. topembed fix. We were firing blurs in some inappropriate cases with clicks within the same document. r=bryner, sr=hyatt 2001-08-10 21:55:47 +00:00
valeski%netscape.com c22afff331 bugscape 7647. sorry no bugzilla bug. r=rpotts, sr=vidur. protect usage of the global script context by putting it inside a null check. this was causing a crash when a javascript window.close() pull the context out from underneath documents 2001-08-10 01:46:41 +00:00
jaggernaut%netscape.com 3f0c50d813 Bug 94458: change dynamically registered listeners to "create" and "destroy" events to listen to "popupshowing" and "popuphiding". r=bryner, sr=hyatt 2001-08-10 01:32:12 +00:00
jst%netscape.com 3393692119 Fixing bogus assert code that I introduced when fixing 92433. 2001-08-10 01:22:07 +00:00
pavlov%netscape.com b72c324af1 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
rpotts%netscape.com 2dd72db7a8 bug #91165. Better patch (trunk only) for fixing selectAll within framesets for embedding 2001-08-09 09:24:26 +00:00
pierre%netscape.com 85948f26eb bug 94248: uninitialized variable in nsCSSUserInterface::mCursor. fix from rjesup@wgate.com, r=pierre 2001-08-08 04:21:53 +00:00
mkaply%us.ibm.com 0185313a10 OS/2 breakage - PR_CALLBACK 2001-08-08 03:23:03 +00:00
hyatt%netscape.com 95f3da41b0 Fix for 93171. r=pink, sr=blake 2001-08-08 01:38:05 +00:00
pete%alphanumerica.com e5ec3082e2 Fix for crash if -moz-binding points to an invalid file.
r=jst, sr=hyatt, b=81941

--pete
2001-08-07 21:12:02 +00:00
harishd%netscape.com f01a6e9f3e 83119 - Added support for visibility in GetComputedStyle(). r=heikki,sr=jst.
84000 - Preserve NOFRAMES content - patch submitted by scoda@alias.it. r=me, sr=jst.
65467 - DT is an inline element. r=heikki, sr=jst.
88992 - OBJECT should be able to close unclosed block level elements within it. r=heikki, sr=vidur
84491 - IFRAME should be treated similar to NOFRAMES. r=pollmann, sr=vidur
92530 - FORM should behave as a container if the parent is TD or TH. r=heikki,sr=vidur
88243 - For percentage attribute value do not assume that '%' will always be the last character. r=heikki,sr=vidur.
2001-08-07 19:05:21 +00:00
jst%netscape.com 2cf22c5810 Fixing topembed crash bug 92433. Calling element.replaceChild(aChild, sameChild) caused a crash in the content modified notification code due to a bug in the replaceChild code. r=pollmann@netscape.com, sr=vidur@netscape.com 2001-08-07 06:09:17 +00:00
waterson%netscape.com 947173651a Temporarily comment out assertion to avoid whining. 2001-08-07 06:01:05 +00:00
waterson%netscape.com 8cec989114 Fix gcc-2.7.2.3 bustage. 2001-08-07 04:11:09 +00:00
waterson%netscape.com b4516877c5 Fix XXX comment. 2001-08-07 03:32:23 +00:00
waterson%netscape.com c5b444c36c Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan 2001-08-07 02:55:54 +00:00
hyatt%netscape.com 64e5eded13 Fix for 38380. r=bryner, sr=jst,waterson 2001-08-07 01:53:10 +00:00
hyatt%netscape.com 079c95cba2 Fix for 71106. r=jag, sr=jst 2001-08-06 21:49:35 +00:00
karnaze%netscape.com 3d518152b5 bug 92125 - allow rowspan to be larger than 1000. sr=attinasi, r=alexsavulov 2001-08-06 14:29:55 +00:00
dcone%netscape.com 143f4fe464 b=90060 Checking in DBarons fix for the print crash when a document changes under it. r=dcone sr=hyatt. 2001-08-06 02:27:43 +00:00
hyatt%netscape.com 5a95cfab4f Fix for 93626. r=aegis, sr=ben 2001-08-05 18:36:09 +00:00
bzbarsky%mit.edu 70d6c75c7c Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst 2001-08-04 21:19:53 +00:00
hewitt%netscape.com 46e9dfa13f 93193 - cleaning up after align/pack xul box model changes, r=blake, sr=hyatt, 90741 - replacing box with hbox/vbox (from andersma@luther.edu), r=hewitt, sr=hyatt 2001-08-04 06:42:20 +00:00
dbaron%fas.harvard.edu 1315e410be Fix crash bug 93270 by ensuring that the nsHTMLStyleSheetImpl always has a non-null mDocumentColorRule and mTableTHRule. r=pierre sr=hyatt 2001-08-04 02:43:05 +00:00
harishd%netscape.com 872f79900d 91320 - Removed unused files from htmlparser module and created a public directory.
r= heikki
sr=vidur
2001-08-03 21:15:15 +00:00
peterv%netscape.com 0339ab4bfd Fix crash (result of simultaneous check-in for 73936 and mstoltz check-in for 82495). r=Pike. 2001-08-03 13:48:30 +00:00
waterson%netscape.com 232d08fd54 Bug 92190. Add anonymous children to nsIContent::List() output, add gdb-callable routines for listing frame and content trees. r=hyatt, sr=jst 2001-08-03 07:34:28 +00:00
peterv%netscape.com 02a2c4b736 Fix for bug 73936 (xsl:include/xsl:import/document() doesn't work). r=Pike/sicking, sr=jst. 2001-08-02 20:29:20 +00:00
glazman%netscape.com 5ec167d41a BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi 2001-08-02 14:34:55 +00:00
jaggernaut%netscape.com 0f0eb18613 Bug 13004: nsDOMEventsIIDs.cpp/.h should go.
Patch by jst, r=jag, sr=brendan.
2001-08-02 05:36:44 +00:00
dbaron%fas.harvard.edu 6154eca9b8 Fix leaked roots (and occasional asserts or potentially crashes) by unconditionally rooting/unrooting in the ctor/dtor of nsXULPrototypeScript. This means a JS object obtained from the XUL cache is rooted multiple times (it was already unrooted multiple times). Also add some assertions to warn against similar failures that can happen when RemoveJSGCRoot is called more than AddJSGCRoot. b=93146 r=brendan sr=waterson 2001-08-02 02:07:51 +00:00
hyatt%netscape.com 9dc6c4c8cf Fix for 71471. r=blake, sr=hewitt 2001-08-02 00:09:27 +00:00
heikki%netscape.com 78e9f7f95f Bug 86975, synchronise ScrollToRef() code between HTML and XML content sinks. r=harishd, sr=jst. 2001-08-01 23:04:32 +00:00
nhotta%netscape.com 0d0f23695e For charset conversion, avoid Finish() to overwrite a result of Convert(), bug 92776, r=yokoyama, sr=jst. 2001-08-01 22:31:56 +00:00
glazman%netscape.com df06f9a509 backing out fix for 88681 due to merge conflicts 2001-08-01 14:53:15 +00:00
glazman%netscape.com 627c41826f BodyFixupRule was not updated nor recreated in case of stylesheet disabling; b=88681; r=pierre,hyatt; sr=attinasi 2001-08-01 14:38:30 +00:00
brade%netscape.com 6742247599 remove duplicate atoms; bug #68167 2001-08-01 13:40:19 +00:00
brade%netscape.com 0d1f5c698e remaining portions of fix for bug #68167 (not mangling javascript: urls in href/src attributes) and Naoki's fix for bug #92271; r=nhotta; sr=kin 2001-08-01 13:39:46 +00:00
peterv%netscape.com 704d02b990 Fix for bug 83981 (document.getElementById([link]).href = [url]; doesn't respond). r=pierre, sr=jst. 2001-08-01 10:26:38 +00:00
peterv%netscape.com 1bbb115563 Fix for bug 63502 (Content-Style-Type doesn't handle parameters). r=glazman, sr=attinasi. 2001-08-01 10:13:31 +00:00
hyatt%netscape.com bbaa5f5f43 Fix for table color quirk bug. r=dbaron, sr=attinasi 2001-08-01 07:51:27 +00:00
hyatt%netscape.com a939f27d45 Fix for null pointer crash in FetchBindingDocument. Has been r and sr. Just cant remember bug #. 2001-08-01 07:50:47 +00:00
dbaron%fas.harvard.edu 29ad3fe6bc Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into new Destroy method so it happens at the end of paint suppression. Also clean up nsDocumentViewer.cpp a bit. b=80203,89626 r=hyatt sr=waterson 2001-08-01 03:15:50 +00:00
dbaron%fas.harvard.edu fab011903b Fix optimized-only bustage from fastload landing. 2001-07-31 21:37:07 +00:00
dbaron%fas.harvard.edu 05121de1c2 Fix optimized-only bustage from fastload landing. 2001-07-31 20:37:26 +00:00
brendan%mozilla.org 8c7c819206 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
dbaron%fas.harvard.edu 6bb80eba8e Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443. 2001-07-26 20:53:21 +00:00
jaggernaut%netscape.com c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
hyatt%netscape.com 04fb853f1a Fix for 90081, r=dbaron, sr=attinasi 2001-07-25 06:33:06 +00:00
jst%netscape.com 6940295f99 Fixing bugzilla bug 91368 and doing some additional code cleanup. r=ftang@netscape.com, sr=blizzard@netscape.com 2001-07-25 05:26:37 +00:00
dbaron%fas.harvard.edu a1c6fecad5 Remove |#ifdef|s around |#include|s since they're a recipe for build bustage (see the portability guidelines). b=91237 r=jag sr=waterson 2001-07-25 05:16:32 +00:00
dbaron%fas.harvard.edu 08b178d117 Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into EndObservingDocument so it happens at the end of paint suppression. b=80203,89626 r=hyatt sr=waterson 2001-07-25 04:30:59 +00:00
heikki%netscape.com 850dc2325c Bug 82022, xml-stylesheet PI in XUL without href stopped layout. r=harishd, sr=vidur. 2001-07-24 18:08:52 +00:00
dcone%netscape.com 89df3a5434 b=91678 r/sr=waterson & attinasi. Changed stylereflow to a resizereflow. Fixed missing lines in printing 2001-07-23 23:55:38 +00:00
jaggernaut%netscape.com 4d73a251ab Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
jst%netscape.com 5234213d1c Adding null ptr check to nsEventStateManager::IsFrameSetDoc() since one of the callers passes in a pointer that might be null. r=brade@netscape.com, sr=me, no bug. 2001-07-23 20:12:19 +00:00
pollmann%netscape.com 6ad11804b0 Bug 90392: Don't submit forms multiple times when dismissing the 'insecure form submit' warning dialog by pressing Enter. This balances XUL's handling of firing for Enter on KEY_PRESS and firing for space bar on KEY_UP by doing the same for HTML form controls. r=jag@netscape.com, sr=jst@netscape.com 2001-07-23 10:24:37 +00:00
waterson%netscape.com 5c07ac5a48 Bug 91478. Don't incorporate mFlags when computing difference between two fonts. r=attinasi, sr=hyatt. 2001-07-22 22:49:52 +00:00
jst%netscape.com 861cbe55ca Fixing bug 91614, don't use the document as a factory for creating document fragments since there might not always be a document here, use internal methods in stead. r=pollmann@netscape.com, sr=vidur@netscape.com 2001-07-21 02:53:43 +00:00
saari%netscape.com 192a6ccda0 fixing 77675, windows stealing focus from each other. r=bryner, sr=hyatt 2001-07-20 08:14:44 +00:00
hyatt%netscape.com df2bd69663 Backing out 90081 fix until I understand why opt builds only crash. 2001-07-19 19:43:51 +00:00
valeski%netscape.com c4f90087de 91365. r=dougt, sr=hyatt. nsIScriptGlobalObject->GetContext() can legitimately return NS_OK *and* a nsnull outparam. Various callsites were not respecting the nsnull out param and this patch gracefully handles those cases. 2001-07-19 05:48:49 +00:00
hyatt%netscape.com 069bcafc1e More hot 90081 action. Needed to tweak it a little to avoid crash. 2001-07-18 23:25:16 +00:00
hyatt%netscape.com 04aa6b45a9 Fix for 90081, r/sr=waterson,attinasi 2001-07-18 22:48:35 +00:00
waterson%netscape.com 289010101f Fix debug-only gcc-2.7.2.3 build bustage. 2001-07-18 21:43:49 +00:00
waterson%netscape.com 1329146bbb Fix both! 2001-07-18 20:17:09 +00:00
waterson%netscape.com 188760982b Add a .get() to fix build bustage. 2001-07-18 20:16:37 +00:00
bzbarsky%mit.edu 04ebfa74d0 Make CSSParserImpl::ParseAndAppendDeclaration keep parsing even when it
encounters an error. Bug 88421, r=pierre, sr=attinasi
2001-07-18 19:43:39 +00:00
waterson%netscape.com 34f1cfb172 Bug 89184. Use nsXPIDLCString instead of uninitialized bare |char*|. r=dbaron, sr=jst. 2001-07-18 19:34:14 +00:00
jst%netscape.com 86ec54ba62 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-07-18 07:48:12 +00:00
waterson%netscape.com 8b974f729d Bug 91149. Be sure to call |MapAlignAttributesInto()| to make us notice the |align| attribute. r=karnaze, sr=attinasi. 2001-07-18 04:51:56 +00:00
rpotts%netscape.com 914543da03 bug #84749. (r=nisheeth, sr=jst). Document unload() events fired *after* the current URI had been changed - this allowed JS to track where the user was going next... 2001-07-17 20:17:38 +00:00
waterson%netscape.com 1c1e591b64 Bug 89872. Implement front-end cache in outliner to avoid doing repeated RDF lookups to determine container-hood and empty state. r=varga@utcru.sk, rs=kin. 2001-07-17 18:31:03 +00:00
pete%alphanumerica.com 5311c694ab Fix for DOM crasher b=89536, r=pollmann, sr=jst.
--pete
2001-07-17 13:53:15 +00:00
pavlov%netscape.com 0852f1b0c5 part of bug 78690. r=bryner sr=jst 2001-07-17 01:14:40 +00:00
vidur%netscape.com cd26d3745b Fix for bug 83425. A regression was introduced when we moved from the XIF code to the existing serialized scheme. We now correctly identify tags explicitly put in by the TXT to HTML converter. r=akkana, sr=jst 2001-07-17 00:16:50 +00:00
dbaron%fas.harvard.edu 1f8fc1d555 Replace the mMediumCascadeTable nsHashtable with a linked list of rule cascades since searching a linked list of at most two elements (and usually just one) is *much* faster than doing a hashtable lookup. r=waterson sr=attinasi b=90791 2001-07-16 20:59:28 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
akkana%netscape.com df776fed88 69638: Use <span> instead of <blockquote> for plaintext quotes, to fix caret motion problems. r=mcafee, sr=sfraser 2001-07-13 18:45:53 +00:00
kin%netscape.com 6d0b3baa55 Fixes from kin@netscape.com and brade@netscape.com
for bug #86450: pasting plaintext into text area loses significant whitespace

    content/base/src/nsDocumentEncoder.cpp
        - Look for -moz-pre-wrap in the correct attribute ("style").

    editor/base/nsHTMLDataTransfer.cpp
    editor/base/nsPlaintextDataTransfer.cpp
        - Set the correct mime-type on the encoder and transfer data.
        - Pass correct init flags to encoder.

    layout/base/src/nsCopySupport.cpp
    layout/base/src/nsCopySupport.h:
        - Added IsPlainTextContext() method.
        - Modified HTMLCopy() to pass correct init flags and
          mime-type to the encoder during plaintext copy.

r=kin@netscape.com,brade@netscape.com sr=sfraser@netscape.com
2001-07-13 13:38:10 +00:00
jst%netscape.com 22d7f72715 Fixing bug 83433, exposing DOM constructors and prototypes to JS. r/sr=rpotts@netcape.com, vidur@netscape.com, dbradley@netscape.com 2001-07-11 09:09:30 +00:00
bernd.mielke%snafu.de 482af73c45 Empty table width attributes are now treated as no width specified. bug 75250
r=karnaze sr=attinasi
2001-07-11 05:35:18 +00:00
jgaunt%netscape.com 1616c83783 bug 88509 - moving of a GetFrameType and layoutAtom from ifdef bidi land.
r=dbaron sr=sfraser
2001-07-10 23:57:28 +00:00
mstoltz%netscape.com 831c675612 Bug 89163: if chrome JS calls nsRange::CreateContextualFragment,
push the current document's JS context on the stack so that event handlers in the fragment
are not compiled with the system principal. r=jelwell, sr=jst.
2001-07-09 23:02:53 +00:00
dcone%netscape.com fbbdea35f3 b=86558 r=dcone sr=attinasi Set the title for the page to null so the last pages value wont be used for the string. 2001-07-09 22:43:17 +00:00
bernd.mielke%snafu.de 968b517736 Inherit color into the table elements in quirks mode
bug 46480 patch by fantasai@escape.com r=bernd sr=attinasi
2001-07-06 14:17:08 +00:00
bratell%lysator.liu.se cfea533eec Bug 84194 - make color parsing a little faster by using knowledge that numerical color values often start with a '#' and by using iterators instead of old nsString API:s. r=harishd sr=jst 2001-07-06 14:11:09 +00:00
bratell%lysator.liu.se ac0a8a69ff Bug 83945 - make attribute parsing and whitespace stripping a little faster by using iterators instead of old nsString API:s. r=bzbarsky sr=jst 2001-07-06 13:57:46 +00:00
timeless%mac.com b23c8b75f6 Bug 70857 [XUL Syntax]
Smaller CSS/JS/XBL patch, should allow XUL changes to go in easier
by andersma@luther.edu r=timeless sr=blake
2001-07-06 02:01:52 +00:00
anthonyd%netscape.com 9d4bc16442 bug fix for 88263 = Range selectNodeContents(null) crashes browser
r=anthonyd
sr=sfraser
a=beppe
2001-07-06 00:40:56 +00:00
harishd%netscape.com 9cb58cb0ee 40072 - (patch provided by pollmann) Do not process METAs after FRAMESET. r=harishd sr=vidur
58809 - Handle numeric & hexadecimal entities correctly r=heikki sr=vidur
72249 - Per SGML endtag can contain whitespace between generic identifier and tagc. r=heikki sr=vidur
82971 - if the last character was a CR make sure to not lose that information. r=heikki sr=vidur
2001-07-05 22:20:34 +00:00
heikki%netscape.com 833d877630 Bug 88354, XML processing instruction without type pseudo-attribute stopped XML layout. r=peterv,harishd, sr=jst. 2001-07-04 19:35:23 +00:00
waterson%netscape.com 9ca563d1bc Bug 85422. Since nsIContent::GetDocument() may now sometimes return a null document back-pointer due to paint suppression, be extra paraniod with a sprinkle of null-check fairy dust. r=brendan, sr=attinasi 2001-07-04 05:54:09 +00:00
dbaron%fas.harvard.edu 5874aa4a5e Add two Korean list styles (-moz-hangul and -moz-hangul-consonant) and rename existing list-style-type values that are our extensions to use -moz- prefix. Patch from Jungshik Shin <jshin@pantheon.yale.edu>. r=dbaron sr=attinasi b=63574 2001-07-04 02:05:59 +00:00
cls%seawood.org 3384df50b0 Use PR_FALSE, not false. 2001-07-03 08:43:46 +00:00
blakeross%telocity.com 94756543a9 History should use outliner, provide a way to sort/view history the old way, win32 classic should use +/- twisties (73857, 71947, 80846, also fixes 66907, 59814, 71029, 48864, 69260, others). r=alecf sr=ben 2001-07-03 01:46:22 +00:00
peterv%netscape.com 1ad85f2527 Warning fixes, part of bug 88623 (Clean up Transformiix code). r=sicking, sr=jst. 2001-07-02 09:24:58 +00:00
mkaply%us.ibm.com 37f0614ee1 Remove OS/2 specific stuff that isn't needed anymore 2001-07-02 03:11:22 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
kmcclusk%netscape.com eec344b9cd Delay the dynamic lowering of the interval when interrupting parsing for 2 seconds. bug 76722 sr=attinasi@netscape.com, r=harishd@netscape.com 2001-06-30 01:58:38 +00:00
jgaunt%netscape.com 96a2e5ce18 bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
r= lots, see bug
2001-06-30 00:25:09 +00:00
jst%netscape.com 3e8ebac447 This change was left out by mistake when fixing bug 81290 last night, sr=vidur@netscape.com, r=harishd@netscape.com 2001-06-30 00:19:18 +00:00
vidur%netscape.com 59a48b8d8a Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson 2001-06-29 22:56:58 +00:00
jst%netscape.com 7705ddb29f Fixing bug 81290. The element.offsetXXX properties contained incorrect values when the element is positioned, or a child of a positioned element, this made these properties kinda useless since we were nowhere close to IE wrt the values of these properties. r=pollmann@netscape.com, sr=vidur@netscape.com 2001-06-29 22:44:20 +00:00
waterson%netscape.com f981ffed5f Bug 87229. Replace giant switch statements with bit-ops and jump tables where appropriate. r=attinasi, sr=hyatt 2001-06-29 22:42:46 +00:00
nhotta%netscape.com 84b520b607 In nsHTMLUtils.cpp changed to create UTF-8 URI instead of a document charset,
in mailnews changed ASCII conversion to UTF-8, bug 87202, r=ftang, sr=jst.
2001-06-29 22:21:50 +00:00
harishd%netscape.com 7b4d4a4697 88386 - Add null check to avoid crash because the parser could get released from underneath during location.replace 2001-06-29 19:57:52 +00:00
jst%netscape.com 86a924e978 Fixing bug 84648. The parser blocking code had regressed to re-introduce a problem with document.write()'ing <link> elements from inline scripts. patch by vidur@netscape.com&jst@netscape.com, r=harishd@netscape.com, sr=jst&vidur 2001-06-29 09:59:45 +00:00
dcone%netscape.com aa39bdfb4e bug 84017. Added a StyleReflow to set in the history.. because endobserving document no longer generates this needed reflow for the history/content update for text fields. r=kmcclusk@netscape.com, sr=attinasi 2001-06-29 05:42:47 +00:00
kmcclusk%netscape.com 3f6fa664d9 Enable interrupting of parsing to improve performance during long document loads + include dynamic switching between user-responsiveness and page load performance,bug 76722 sr=attinasi@netscape.com, r=harishd@netscape.com. 2001-06-29 04:01:26 +00:00
dbaron%fas.harvard.edu b30ae7fa9d Fix BiDi regression from style system landing by correcting implementation of 'unicode-bidi' to be a non-inherited property, correctly mapping attributes to it, splitting text frames with both strong RTL and LTR characters, and stripping BiDi control characters. Code by me and lkemmel@il.ibm.com r=simon@softel.co.il sr=hyatt b=83958 2001-06-29 03:15:58 +00:00
jst%netscape.com caa2d5ba7b Fixing bug 81669. Implement nsXULComment::CreateComment(), patch by Fabian Guisset (hidday@geocities.com), r=peterv@netscape.com, sr=jst@netscape.com 2001-06-29 00:48:35 +00:00
brade%netscape.com 1f523bc327 delete previous word keybindings (bug #57967) 2001-06-28 13:04:11 +00:00
glazman%netscape.com 050d131fbc CSS parser drops negations if attached to universal selector and a pseudo-element; b=87999, r=peterv, sr=hyatt 2001-06-27 10:41:49 +00:00
simon%softel.co.il ae4f377633 Corrects the arguments in calls to GetBidiProperty. Bug 87610, r=mkaply, sr=kin. 2001-06-27 08:08:08 +00:00
jaggernaut%netscape.com a672a450a0 Bug 87264: fix small leak in nsDOMEvent. r=dbaron, sr=ben 2001-06-27 07:33:55 +00:00
dbaron%fas.harvard.edu f085334c82 Prevent quirk stylesheet from applying to XML documents. b=87281 r,sr in {hyatt,attinasi} 2001-06-27 02:25:47 +00:00
heikki%netscape.com a784b705ef Bug 75700, fixed bad internal namespace with xmlns=''. r=harishd,sr=jst. 2001-06-26 22:25:33 +00:00
anthonyd%netscape.com 44f5311284 fix for 84208 - calling extractContents from javascript crashes browser
r=sfraser
sr=kin
a=asa
2001-06-26 20:45:18 +00:00
anthonyd%netscape.com f0fb59c34f backing out changes
a=asa@mozilla.org
2001-06-26 19:35:21 +00:00
anthonyd%netscape.com f005a61150 fix for 84208 - calling extractContents crashes browser
r=sfraser@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org
2001-06-26 17:58:56 +00:00
sicking%bigfoot.com c5f559321d Precan the XSLT namespace in the namespace manager. b=84335, r=peterv, sr=jst 2001-06-26 11:31:54 +00:00
jaggernaut%netscape.com 2878a6b489 Bug 78458: ``Remove our broken text/rtf support'', patch by Boris Zbarsky <bzbarsky@mit.edu>, r=harishd, sr=jst 2001-06-26 05:22:23 +00:00
bryner%uiuc.edu 8cfe74d6bb Bug 82123 -- enable embeddors to alter the focus traversal so that the document itself receives focus first instead of last. r=saari, adamlock, sr=jst, a=chofmann. 2001-06-26 01:19:11 +00:00
morse%netscape.com e4ca8839f0 bug 86885 crash if cookie service not available, c=waterson, r=morse, sr=scc, a=chofmann 2001-06-26 00:11:04 +00:00
rpotts%netscape.com c4ef45ae8a bug #68955 (r=vidur, sr=jst, a=choffman) This patch prevents the short-circuit optimization of the image src attribute 2001-06-25 06:18:42 +00:00
jaggernaut%netscape.com 810785e95c Bug 83394: Tabindex attribute not working properly in mfcembed app''.
Fixes problems with tabbing from the document to elements with the index attribute set in both mfcembed and the regular browser app.

patch by bryner, r=jag, sr=hyatt, a=chofmann
2001-06-22 07:25:28 +00:00
pavlov%netscape.com a9902a0d51 fixing bug 83304 r=pinkerton sr=blizzard a=chofmann 2001-06-22 03:42:04 +00:00
mstoltz%netscape.com 0f456dda65 86019 - Change stack-walking code in caps to keep functions from inheriting privileges
from their caller. r=jesse@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org, PDT+

86982 - Add same-origin security check to XMLDocument::Load(). r,a=blizzard@mozilla.org,
sr=jst@netscape.com

84191 - Fixing regression in Open URL dialog by not calling CheckLoadURI when it isn't
needed. r=cmanske@netscape.com, sr=sfraser@netscape.com, a=asa@mozilla.org
2001-06-22 02:08:10 +00:00
dougt%netscape.com c306e0513b Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
ftang%netscape.com 5192f8b6cf fix 86792. r=nhotta sr=jst a=chofmann
unescape mRef before trying go to the anchor
2001-06-21 14:40:55 +00:00
ftang%netscape.com 9b37060aaa fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
kmcclusk%netscape.com e3ef64bd96 Added code to interrupt the parser's processing of tokens if a threshold is exceeded to improve interactivity during long page loads. Turned OFF by default. Can be enabled through a pref. bug 76722 r=harishd@netscape.com,rickg@netscape.com sr=vidur@netscape.com,attinasi@netscape.com a=chofmann@netscape.com 2001-06-21 02:06:23 +00:00
bzbarsky%mit.edu fe80006aa7 Fixing a bogus class name in a comment. Bug 86939, rs=jst 2001-06-20 22:49:10 +00:00
waterson%netscape.com 0877b1a573 Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
hyatt%netscape.com 5364cde577 Fix for 83658, font size=7 broken, r=dbaron, sr=waterson, a=dbaron 2001-06-20 06:43:28 +00:00
peterv%netscape.com 7d0dcbb2dc Fix for bug 59619 (MIME types should not be case sensitive). r=heikki, sr=jst, a=roc. 2001-06-20 06:42:37 +00:00
blakeross%telocity.com b4d7173d23 Keypress event bubbles up to alerts, meaning alerts were dismissed without the user's consent (68846). r=kerz sr=ben a=asa 2001-06-20 06:20:27 +00:00
joki%netscape.com 860266aa0e Fix 77206, prevent reentrant events from overwriting listener state. sr;jst, r:pollmann, a:dbaron 2001-06-20 06:17:02 +00:00
joki%netscape.com 816f2bd1bb Fix 77206, stop reentrant events from overriding listener state flags, sr:jst, r:pollmann, a:dbaron 2001-06-20 06:12:19 +00:00
blakeross%telocity.com 239089d2a4 Widgets visually respond/depress on right click (45533). r=kerz sr=ben a=asa 2001-06-20 05:46:38 +00:00
mjudge%netscape.com fe3aafe2a4 82993,52868,79511,82101 a=asa sr=kin. bugs that cross files. stopped generated content entrys into frames with caret and mouse navigation. and table cell navigation. 2001-06-20 04:48:10 +00:00
dbaron%fas.harvard.edu 688519fb0c Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
blakeross%telocity.com b826b7a4d4 Add command() method to nsIDOMXULElement, fixes bug 56137 and some other accessibility bugs (83614). r=kerz sr=ben a=asa 2001-06-20 02:02:57 +00:00
harishd%netscape.com 87bbd168a3 84136[MLK] - Avoid getting document-parser-sink circularity by delaying StartDocumentLoad call.
r=heikki
sr=hyatt
a=asa
2001-06-20 01:11:56 +00:00
pollmann%netscape.com 8b987f0dd4 Bug 77390: Display <noscript> content if nsScriptSecurityManager::CanExecuteScripts returns false. This covers some edge cases where the pref could be set to allow javascript, but nsScriptSecurityManager doesn't want us to for whatever reason. In these cases, we will display the content in <noscript> instead of nothing, r=harishd@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (asa) 2001-06-20 01:04:24 +00:00
brade%netscape.com 1315a9ef11 don't escape characters in JS attributes; bug #68167 2001-06-19 23:51:29 +00:00
bzbarsky%mit.edu 5cfa2c2066 Add classinfo to nsGenericHTMLCollection, fixing bug 85560 and bug
83107.  r=peterv, sr=jst, a=dbaron
2001-06-19 23:38:39 +00:00
dbaron%fas.harvard.edu f8ffcd1a4b Correct matching of dashmatch (|=) according to recent CSS WG discussions and fix :not() bugs with class selectors, id selectors, and $= and ^= attribute selectors. r=hixie sr=attinasi a=asa b=83616 2001-06-19 22:46:08 +00:00
dbaron%fas.harvard.edu 09e99242d5 To improve performance, change string iterator postfix ++ to prefix ++ when used as a statement. b=78032 r=peterv, scc, harishd, dmose sr=hyatt a=asa 2001-06-19 22:38:45 +00:00
jst%netscape.com 8f26f9ac00 Fixing bug 83332. Event listeners registerd with the DOM method addEventListener were being executed on the wrong context, often on the safe context (i.e. the hidden window context), this causes potential security problems and problems in cases where we use the context for figuring out the base URI when resolving relative URL's n' such... r=joki@netscape.com, sr=hyatt@netscape.com, a=drivers@mozilla.org. 2001-06-19 22:37:51 +00:00
anthonyd%netscape.com 9b494701ac fix for 73605: nsHTMLContentSerializer outputs <textarea> contents as attributes
r=kin@netscape.com
sr=jst@netscape.com
a=dbaron
2001-06-19 07:37:15 +00:00
cls%seawood.org 80f526179f Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
harishd%netscape.com a4535fb4c0 82500 - Make sure that DidBuildModel gets called only once per document.
79492 - In collecting skipped content make sure that entity-like-markup is not mistaken for an entity.
80009 - PRE should be treated as a block-level element - per spec.
82498 - Do not process script content in a frameset document.
82544 - Beginning/ending quotes in attribute values are now removed by the parser.
77145 - Fix off-by-one error.

r=heikki
sr=vidur
a=asa
2001-06-18 21:18:37 +00:00
hyatt%netscape.com 9166cb55f7 Fix for 84046, unable to dynamically change bgcolors. r=cmanske, sr=attinasi, a=dbaron 2001-06-18 20:49:57 +00:00
peterv%netscape.com bffc0d3ea7 Fix for bug 38761 (Dynamically changing 'href' attribute of <link> doesn't work). r=heikki, sr=jst, a=blizzard. 2001-06-18 20:19:31 +00:00
nhotta%netscape.com ae45110738 If the javascript URI contains non ASCII then encode it to \uXXXX instead of applying charset conversion,
bug 51355, r=ftang, sr=jst, a=asa.
2001-06-18 20:01:36 +00:00
bryner%uiuc.edu 13cce0899e Bug 58250 -- this fixes a situation where getting a NS_GOTFOCUS before the
matching NS_DEACTIVATE would fire a blur on the wrong
content/window/document, leaving it in a fairly broken focus state.
r=saari, sr=hyatt, a=tor.
2001-06-18 07:34:41 +00:00
dbaron%fas.harvard.edu 286894695d Fix bustage from scc's checkin for bug 85271. 2001-06-17 07:38:01 +00:00
scc%mozilla.org 2e8b3e9481 bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00
sspitzer%netscape.com d14b9415fd fix for bug #84261. there are times where we need to insert linefeeds into message bodys
so that saving as draft, sending, and posting messages will not fail.
this will be come less of a problem when #67334 is fixed.
r=ducarroz, sr=sfraser, a=asa
2001-06-15 19:52:50 +00:00
anthonyd%netscape.com 5bb1cfd2d9 changes to comment, no code changes 2001-06-15 19:42:16 +00:00
anthonyd%netscape.com 1f1e392bff fix for 83743 nsRange::SurroundCOntents() not all paths return value
r=mjudge@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org
2001-06-15 18:15:09 +00:00
anthonyd%netscape.com 68d78af058 fix for 83363 - crash if insertNode tries to insert null node
r=mjudge@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org
2001-06-15 18:03:19 +00:00
dcone%netscape.com 931ebd5342 Fixed printing so it could not have more than one job at a time. bug=84537 r=rods sr=attinasi a=blizzard 2001-06-15 14:03:12 +00:00
mkaply%us.ibm.com 0688d146b7 #79667
r=brade, sr=alecf, a=asa for drivers
Code from jblanco to make Ctrl+Del delete to end of line on Windows
2001-06-15 12:07:24 +00:00
peterv%netscape.com bc79bd9d38 Fix for bug 83612 (Correct/cleanup style loading code in content). r=heikki, sr=jst, a=asa. 2001-06-14 12:33:38 +00:00
dcone%netscape.com 2d1789e9a5 Make the page only 5x instead of 100x to get around linux region bug.
This is for printing and helps fix.  b=82624 r=rods sr=attinasi a=asa
2001-06-13 20:16:10 +00:00
peterv%netscape.com eb388ef7ba Fix for bug 84564 (Content-Style-Type no longer working). r=dbaron, sr=attinasi, a=asa. 2001-06-13 18:15:03 +00:00
peterv%netscape.com 4a89cb5715 Fix for bug 84299 (we negate the alternate pseudo-attribute in <?xml-stylesheet alternate="yes"?>). Patch by Hixie, r=dbaron/peterv, sr=attinasi, a=asa@mozilla.org. 2001-06-13 13:20:43 +00:00
hewitt%netscape.com a3ecee9de4 83739 - nsOutlinerRows::Subtree::Clear() doesn&amp;apos;t reset mSubtreeSize, r=waterson, sr=blake, a=asa 2001-06-13 03:42:44 +00:00
anthonyd%netscape.com acfa8052a0 bug fix for 84417 nsRange::DeleteContents() deletes one too many nodes
r=mjudge@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org
2001-06-13 00:24:33 +00:00
mjudge%netscape.com 75030869ee 82151 a=asa r=cmanske fix for hint setting only when successful move was made by caret 2001-06-13 00:00:55 +00:00
dbaron%fas.harvard.edu 65490b586d Make implied universal selectors be equivalent to ns|* where ns is the default namespace, and make appropriate changes to our CSS files. This brings us into conformance with the CSS3 selectors draft and improves performance by reducing the number of universally hashed selectors. Most of this patch is by attinasi. (35847, 83482) Also make first-node/last-node rules in quirks.css non-universal to improve performance. (83839) r=rbs sr=waterson a=asa b=35847 2001-06-09 01:32:19 +00:00
axel%pike.org 1984359552 bug 83878, renaming nsLoadListenerProxy to txLoadListenerProxy, to fix static builds, r=peterv, sr=jst, a=dbaron (on behalf of drivers) 2001-06-08 07:14:19 +00:00
axel%pike.org 51eee5a769 bug 84153, renaming NodeSet -> ReteNodeSet, to remove conflicts in static linking, r=waterson, sr=jst, a=dbaron (on behalf of drivers) 2001-06-08 07:12:41 +00:00
rods%netscape.com 1a56117e8c Major rework of how items are added, removed and selected (while being added and removed) with script
Now all the changes are performed, but no reflows are issued until the timer fires, which would be
after the script is done executing. The selection that take place during the script execution are
also cached and done afterward.
Bug 53165 r=pollmann sr=attinasi a=asa
2001-06-08 02:34:09 +00:00
rods%netscape.com 71e4963e43 Need to get the default font size and use that depending on Quirks or Strict
Bug 78526 r=kmcclusk sr=attinasi a=dbaron
2001-06-08 02:17:09 +00:00
attinasi%netscape.com 4ae45576ff Disable Quirk ruels for XUL documents by setting the compatibility mode to Standard. b=83495 r=dbaron sr=hyatt a=blizzard 2001-06-06 23:34:17 +00:00
peterv%netscape.com a959d297d9 Fix for bug 82955 (XML unable to load stylesheets without type="text/css" attribute). r=scc, sr=jst, a=asa. 2001-06-05 19:21:32 +00:00
dbaron%fas.harvard.edu 9d856ec3de Miscellaneous performance fixes related to selector matching:
* cut in half the number of (expensive, universally hashed) selectors needed for many UA-stylesheet :link and :visited rules by implementing :-moz-any-link (bug 83484)
 * remove most of EnumerateTagRules since most of it does no useful work (bug 83506)
 * avoid refcounting of atoms for stack-based hash keys (bug 83511)
 * add logging (turned off, except for me) to evaluate effectiveness of RuleHash
 * add a namespace hash, which will be a big win once bug 35847 is fixed (bug 83497)
 * avoid repeated reallocation of mEnumList by setting the initial length to a minimum of 8
 * remove an unneeded variable in the beginning of SelectorMatches
 * fix one case in CSS error reporting (bug 65469), not part of default build
b=83482  r=attinasi@netscape.com  sr=waterson@netscape.com  a=asa@mozilla.org
2001-06-05 01:00:11 +00:00
hyatt%netscape.com 8ae9f780c5 Fixes for 83027, 83892, and 80512. r/sr=blake,alecf,pink, sr=hewitt,blake, a=asa 2001-06-04 23:23:35 +00:00
pinkerton%netscape.com cc32a8e054 ignore applets, plugins, and embed tags in mac click-hold context menu code. r=pchen/sr=hyatt/a=asa. bug 77774. 2001-06-04 22:39:49 +00:00
bryner%uiuc.edu bac741e290 Bug 81830 - Crash in profile selection using keyboard navigation. r=blake, sr=hyatt, a=asa. 2001-06-03 05:54:20 +00:00
hyatt%netscape.com f00e91ea2c Fix for 83613. r=dbaron, sr=brendan, a=leaf 2001-06-01 21:04:23 +00:00
hyatt%netscape.com fb734fa068 Straggler for 78695. 2001-06-01 01:38:35 +00:00
dbaron%fas.harvard.edu 029bedda1e Adding newline to end of file to fix HP bustage. 2001-05-31 23:59:22 +00:00
hyatt%netscape.com 2bf7260d28 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
rods%netscape.com 2fe0a325ca Need to cache a pointer to the currently focused DOMWin because the Print Dialog
"steals" the focus away and then getting it returns null.
Bug 83358 r=kmcclusk sr=attinasi a=asa
2001-05-31 01:06:33 +00:00
peterv%netscape.com 1b051ff56b Fix for bug 83078 (document.write of 'LINK' (ext. stylesheet) causes duplicate content). Call UpdateAllContexts when a stylesheet is add/removed/enabled/disabled. r=harishd, sr=jst, a=chofmann. 2001-05-30 20:35:20 +00:00
peterv%netscape.com 6b2542002b Fix for bug 83093 (Leaks went up by about 200k) r=heikki, sr=jst, a=chofmann. 2001-05-30 19:17:42 +00:00
pollmann%netscape.com 3cd44086a1 Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org) 2001-05-30 11:26:21 +00:00
jst%netscape.com bd7afc9b79 Fixing crasher bug 73331. When cleaning up incorrect content in the HTML content sink we ended up creating frames for content that was about to be taken out of the document shortly after only to be inserted into the document again at a different place, this caused frame construction to happen for the new content that was about to be moved. So we created frames for no good reason and the frames we created got distroyed immediately after they've been created. The frame construction left old frames around that held on to anonymous content that was partly torn down and didn't have a valid document pointer, this caused a crash later on in the style resolution code. r=harishd@netscape.com, sr=vidur@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org). 2001-05-30 02:25:52 +00:00
cls%seawood.org 5534ebaa1e Increase the size of the linker's global offset table when building with gcc on irix to avoid overflow.
Thanks to John Vandenberg <zeroJ@null.net> for the patch
Bug #21308 r=cls a=asa for 0.9.1
2001-05-29 14:56:41 +00:00
peterv%netscape.com 786ac604e9 Fix for bug 81989 (STYLE tags can cause multiple copies of stylesheet to be loaded) r=heikki, sr=jst, a=blizzard. 2001-05-29 08:10:58 +00:00
jst%netscape.com 96343d8da5 Checking in Jonas Sicking's implementation of the DOM Level 2 traversal module. Not part of the build yet. 2001-05-28 01:45:28 +00:00
jst%netscape.com f4c99d7778 Fixing regression bug 81818 that caused a crash in certain situations when viewing images in mozilla. sr=scc@mozilla.org, a=choffmann@netscape.com 2001-05-27 07:15:28 +00:00