Commit Graph

5330 Commits

Author SHA1 Message Date
jst%netscape.com
514e85c664 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
9174683d4d 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
810f67dd7a 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
61cf5aaff8 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
2a7349540e fixing 77675, windows stealing focus from each other. r=bryner, sr=hyatt 2001-07-20 08:14:44 +00:00
hyatt%netscape.com
cbfec5d9f3 Backing out 90081 fix until I understand why opt builds only crash. 2001-07-19 19:43:51 +00:00
valeski%netscape.com
ea661eedd1 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
2f3b6c03f9 More hot 90081 action. Needed to tweak it a little to avoid crash. 2001-07-18 23:25:16 +00:00
hyatt%netscape.com
1f794f1074 Fix for 90081, r/sr=waterson,attinasi 2001-07-18 22:48:35 +00:00
waterson%netscape.com
9efb9f1bb5 Fix debug-only gcc-2.7.2.3 build bustage. 2001-07-18 21:43:49 +00:00
waterson%netscape.com
c878e619f7 Fix both! 2001-07-18 20:17:09 +00:00
waterson%netscape.com
8f0ccb76ad Add a .get() to fix build bustage. 2001-07-18 20:16:37 +00:00
bzbarsky%mit.edu
49bedf870c 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
e79aa1d781 Bug 89184. Use nsXPIDLCString instead of uninitialized bare |char*|. r=dbaron, sr=jst. 2001-07-18 19:34:14 +00:00
jst%netscape.com
88d48dc0c5 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
ba363adbfe 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
c111544a91 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
55ad1762ea 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
bf5c016153 Fix for DOM crasher b=89536, r=pollmann, sr=jst.
--pete
2001-07-17 13:53:15 +00:00
pavlov%netscape.com
8aaaf796a4 part of bug 78690. r=bryner sr=jst 2001-07-17 01:14:40 +00:00
vidur%netscape.com
8bcce5db90 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
c14a4b7581 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
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
akkana%netscape.com
98989d30a1 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
907212d677 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
7ad971a08f 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
eeaa05a066 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
4cb288e084 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
0359509b4a 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
2ddd07adc9 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
5c6efb8c13 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
4d3a3868f0 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
5aa73c180e 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
f8a92c48de 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
bbf313e9a7 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
7ef87f6bbd 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
84d06bd271 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
5709f7405c 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
5c00ae3d05 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
8b1cc424ec Use PR_FALSE, not false. 2001-07-03 08:43:46 +00:00
blakeross%telocity.com
8fd0623da7 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
4f9a746cf6 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
091bad8b4b Remove OS/2 specific stuff that isn't needed anymore 2001-07-02 03:11:22 +00:00
jaggernaut%netscape.com
5a6317b8a5 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
efed793c3e 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
07868cf706 bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
r= lots, see bug
2001-06-30 00:25:09 +00:00
jst%netscape.com
f68c9d6d5d 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
9a358b6df4 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
b0304d8e85 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
c47e29468b 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