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

1793 Коммитов

Автор SHA1 Сообщение Дата
jaggernaut%netscape.com cfe2d23f00 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 12:04:47 +00:00
jaggernaut%netscape.com 6ab111155d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
jst%netscape.com 91d3ca6bac Make that NS_ENSURE_SUCCESS() so we know if this fails... 2001-12-16 11:38:31 +00:00
jaggernaut%netscape.com 6e820b7951 Fix small bug: NS_ENSURE_TRUE(rv, rv) -> if (NS_FAILED(rv)) return rv; 2001-12-16 11:22:34 +00:00
jst%netscape.com ce497ddb4a Remving unnecessary nsCOMPtr. r=sicking@bigfoot.com, sr=me, no bug # 2001-12-16 07:10:49 +00:00
jst%netscape.com e8a0b78441 Fixing bug 114539. Getting rid of mInner in all our 'data' nodes and making those classes inherit nsGenericDOMDataNode in stead. Also remove mContentID from nsTextNode and push mRangeList and mListenerManager into hashtables since they are used so rarely. This results in a size reduction of nsTextNode from 44 bytes to 28 bytes (~36%). r=peterv@netscape.com, sr=hyatt@netscape.com. 2001-12-16 07:04:44 +00:00
jst%netscape.com 6f472051d0 Fixing bug 114539. Getting rid of mInner in all our 'data' nodes and making those classes inherit nsGenericDOMDataNode in stead. Also remove mContentID from nsTextNode and push mRangeList and mListenerManager into hashtables since they are used so rarely. This results in a size reduction of nsTextNode from 44 bytes to 28 bytes (~36%). r=peterv@netscape.com, sr=hyatt@netscape.com. 2001-12-16 06:59:31 +00:00
sfraser%netscape.com ed2ea32c59 Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:10:42 +00:00
sfraser%netscape.com afcd2fd706 Fix for bug 115151 -- shrink RuleProcessorData by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:07:43 +00:00
rods%netscape.com 4a572e1c0b Initial check in for BUg 113917 (not in the build yet) 2001-12-14 22:40:12 +00:00
peterlubczynski%netscape.com f3c2531c87 Adding TextReset case to GetUniqueStyleData, bug 36997 r=dbaron sr=attinasi a=brendan 2001-12-14 03:47:02 +00:00
bbaetz%cs.mcgill.ca 43806ea8b2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
smontagu%netscape.com 8cfd709099 Fix for bug 84130, Mail Message subjects don't get Bidi applied, r=mkaply, sr=jst. 2001-12-12 04:28:25 +00:00
hewitt%netscape.com d8bda5634d 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt 2001-12-11 11:13:16 +00:00
jst%netscape.com 15aee81e59 We don't pass references to 'interfaces' in general, so let's not do it here either. r=bryner@netscape.com. sr=jaggernaut@netscape.com 2001-12-11 09:03:38 +00:00
shanjian%netscape.com 6d466ab1bb #105199 glyph search order is NOT lang dependent
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi
2001-12-11 04:12:34 +00:00
hewitt%netscape.com 4ce7fafe54 113562 - nsIContent needs HasAttr method, r=jag, sr=jst 2001-12-11 02:57:52 +00:00
jdunn%netscape.com 7c6ce1d057 fixing hpux bustage. unnamed unions can't access structs which are protected.
making FragmentBits a public struct, but the variable of this type is still
private.  The other solution would be to "name" the union and delcare
FragmentBits a friend of the union (the union has to be named to declare
friendship).
2001-12-10 15:43:18 +00:00
seawood%netscape.com 2963510a0b Fix HP-UX/Forte bustage by getting rid of useless & ambigious intermediate FragmentBits struct and declaring mState as a struct inside the union.
r/sr=jag
2001-12-10 12:28:10 +00:00
jst%netscape.com 91de0dfb24 Fixing bug 114274. Don't allocate storage for newline fragments, this cuts down the number of string buffer allocations we do while running the pageload tests by ~22%. r=bbaetz@cs.mcgill.ca, sr=jaggernaut@netscape.com 2001-12-10 09:46:33 +00:00
jst%netscape.com 1d21e315e7 Formatting changes, no code changes. 2001-12-09 08:02:41 +00:00
dbaron%fas.harvard.edu 82b598a25b Fix crash due to accessing destroyed data previously owned by a rule node but cached on a style context that inherited it by clearing style data from style contexts before reresolution due to an inline style change. b=105619 sr=hyatt r=shaver 2001-12-08 22:46:21 +00:00
attinasi%netscape.com 4f5ed5c4a9 Adding parent to StyleContext listing for help in debugging. b= 113518 r=dbaron sr=kin 2001-12-07 00:38:27 +00:00
bzbarsky%mit.edu 5f31e0051e Set the |inherited| bool in all cases when we inherit. Bug 113533,
r=dbaron, sr=hyatt
2001-12-05 14:06:34 +00:00
hyatt%netscape.com 1704f7364f Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +00:00
leaf%mozilla.org 99e99b9ff7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
dbaron%fas.harvard.edu 3c4b8b75e4 Fix leak (and other) regression from previous checkin. b=111815 2001-12-02 04:07:17 +00:00
dbaron%fas.harvard.edu e3bc6fd309 Various cleanup and commenting in nsRuleNode and nsStyleContext. A few minor performance tweaks to nsRuleNode::WalkRuleTree. Fix correctness / crash errors that were caused by not setting the parent struct in the Compute*Data functions for inherited structs. b=111815 r=hewitt sr=hyatt 2001-12-02 00:44:45 +00:00
roc+%cs.cmu.edu 544c375270 Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
peterv%netscape.com 4dd8dea7bb Fix for 106586 (Inappropriate source into the plaintext copy.) r=heikki, sr=jst. 2001-11-30 09:50:25 +00:00
peterv%netscape.com a124eb34ff Fix for 106586 (Inappropriate source into the plaintext copy.) r=heikki, sr=jst. 2001-11-30 09:19:33 +00:00
peterv%netscape.com 870651a3db Fix for bug 108024 (missing carriage returns when copying PRE tag content to clipboard). r=Pike, sr=jst. 2001-11-29 14:19:30 +00:00
rods%netscape.com c21f30c5a0 Hookup the setting of scaling for Print Preview and Printing
Bug 110529 r=dcone sr=attinasi
2001-11-29 09:59:16 +00:00
jst%netscape.com 7c43a9f17a Fixing bug 109760. Make mozilla fire a DOMContentLoaded event when the HTML on a page is done loading (i.e. the HTML only, not images, frames, nor anything like that). r=peterv@netscape.com, sr=rpotts@netscape.com 2001-11-28 06:32:57 +00:00
jst%netscape.com 8a7eda85f8 Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. r=harishd@netscape.com, rs=vidur@netscape.com 2001-11-28 06:13:11 +00:00
dbaron%fas.harvard.edu 374cade4e8 Consider the result of |mStyleRuleSupplier->UseDocumentRules| in FileRules to prevent incorrect application of document rules to scrollbars and some form controls. Patch from <fantasai@escape.com>. r=dbaron sr=hyatt b=109808 2001-11-28 04:54:05 +00:00
dbaron%fas.harvard.edu bf7d3b0667 Fix crash and incorrect calculation of percentage line-height by computing relative to self's font-size rather than parent's font size. r=pierre sr=hyatt b=111405 2001-11-28 04:35:52 +00:00
jst%netscape.com b8f238c153 Fixing the second part of bug 11213. Don't call nsIScriptGlobalObject::SetNewDocument() after leaving print-preview since that well clear the JS scope and cancel all timers that might have queued up while in print-preview mode. Patch by rods@netscape.com, r=peterv@netscape.com, sr=jst@netscape.com 2001-11-27 09:30:15 +00:00
dp%netscape.com d94ad17df1 Marking window visible time on startup. Only for MOZ_TIMELINE. r/sr=hyatt 2001-11-26 23:13:36 +00:00
roc+%cs.cmu.edu 563ec66cf4 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu 38a0f22173 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
jst%netscape.com 474c8446f1 Removing dead code. 2001-11-21 13:06:18 +00:00
seawood%netscape.com d8927fcc61 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jst%netscape.com 725eaee4fd Checking in Fabian's <hidday@geocities.com> patch for bug 6052. Make element.nodeValue return null in stead of empty string. sr=jst@netscape.com, no reviewer, trivial change 2001-11-21 09:20:52 +00:00
timeless%mac.com dfa8594725 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
pchen%netscape.com ce17633d5e bug 20943, r=rods, sr=ben, remove ifdef XP_WIN || XP_UNIX in PrintPreview() since I'm turning it on for mac 2001-11-18 07:59:55 +00:00
danm%netscape.com bac55f74f8 stop extraneous reallocation and leak of namespace manager in Reset. r=dbaron,jst 2001-11-17 05:20:35 +00:00
bzbarsky%mit.edu b864a943eb Make SetInnerHTML use the right parser mode (ie strict for strict
documents instead of always quirks).  Bug 106565, r=harishd, sr=jst
2001-11-16 04:48:30 +00:00
jst%netscape.com 0295db23a3 Fixing bug 110242. Huge unsigned interger + another huge unsigned integer will wrap, and that caused a crash in this code. r=rayw@netscape.com, sr=vidur@netscape.com 2001-11-16 03:01:29 +00:00
danm%netscape.com 5d0c1a7e46 adding nsIDocument::ResetToURI and refactoring Reset. bug 88229 r=jst,rpotts 2001-11-16 02:03:50 +00:00
danm%netscape.com da49b2c24a adding nsIDocument::ResetToURI. bug 88229 r=jst,rpotts 2001-11-16 02:03:19 +00:00
hyatt%netscape.com f583fd60ce MIssed a spot in 109261. same reviewers apply as for previous checkin of bug fix. 2001-11-15 07:31:13 +00:00
alecf%netscape.com 52cd89e71b win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
rods%netscape.com f583991209 Added image animation mode constants to imgIContainer.IDL,
Changed the animation mode enum to PRUint16 (removed the enum) in nsIPresContext so we could use the constants
from imgIContainer. (changes from dcone's review comments)
Bug 2586 r=dcone sr=attinasi
2001-11-14 14:03:09 +00:00
peterv%netscape.com 58ca89c7bd Fix for bug 105452 (Annoying assert when outputing DOM to HTML source). r=cmanske, sr=kin. 2001-11-14 13:47:49 +00:00
rods%netscape.com 89d3d93418 Rename some bools, there is now one for when PP is being created and one for when it is in PP mode.
It now can turn on/off animated gifs and calling PP toggles it on and then call it again toggles it off
Bug 2586 r=dcone sr=attinasi
2001-11-14 11:24:03 +00:00
hewitt%netscape.com d965b16246 108757 - dispatch DOM events for mouse wheel scrolling, r=?, sr=? 2001-11-14 10:06:21 +00:00
hyatt%netscape.com 94bb279ce6 Inline PeekStyleData for 109261. 2001-11-14 08:29:11 +00:00
hyatt%netscape.com b69ed06ca6 Perf and footprint opt. Make style re-resolution cheaper. r=glazou, sr=hewitt, bug 109261 2001-11-14 08:19:13 +00:00
bzbarsky%mit.edu 0dce65ed23 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
dbaron%fas.harvard.edu d14aee7e18 Attempt to fix HP runtime bustage. b=83836 2001-11-11 20:46:42 +00:00
dbaron%fas.harvard.edu ee1bd92fab Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt 2001-11-10 23:51:45 +00:00
joki%netscape.com b4efb85460 Fix for 71705, stop right click from triggering onclick handlers in base html content, though not in xml/xul/chrome. reviewed a while ago, lost in tree. r:saari,sr:hyatt 2001-11-07 06:29:29 +00:00
dbaron%fas.harvard.edu 261f76a8ba Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
jst%netscape.com 1dfe37ac86 Fixing bug 108651. Don't call nsIDocument::ContentAppended() if nothing was appended (when inserting an empty document fragment). r=harishd@netscape.com, rs=vidur@netscape.com 2001-11-07 00:11:36 +00:00
pierre%netscape.com afeb351c68 Checked in for fantasai@escape.com. Bug 43220 "author !important rules override user !important rules in user.css". Add User sheets. Rename Backstop sheets into UserAgent. Fix cascading order. r=pierre/sr=hyatt. 2001-11-06 10:04:05 +00:00
dbaron%fas.harvard.edu 0c5f5cd170 Fix inheritance of percentage values for 'line-height' by removing hacks to base percentage values for 'line-height' on the actual value rather than the computed value of 'font-size'. Fix various |const|-ness issues in nsRuleNode. b=97726 r=pierre sr=hyatt 2001-11-06 07:48:02 +00:00
bzbarsky%mit.edu 26febe2b6b Fix the strings returned by .newValue/.prevValue for mutation events
(get rid of extra quotes, always set .prevValue if it exists).  Bug
107526, r=fabian, sr=jst.
2001-11-05 13:19:10 +00:00
rods%netscape.com 760f64245a Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
jst%netscape.com 9055fdc206 Fixing bug 108321. Don't waste time using the component manager when creating an nsHTMLAttributes when setting attributes on an element, call NS_NewHTMLAttributes() directly in stead. Also doing some cleaning up in nsHTMLStyleSheet.cpp. r=dbaron@fas.harvard.edu, sr=hyatt@netscape.com 2001-11-03 08:13:48 +00:00
rjesup%wgate.com 49ffaedbc8 Bug 107600: mCachedIndex isn't initialized for nsContentSubtreeIterators.
Also fixes problems in two spots where the content tree changing could mess
up the iterator.  patch by jfrancis, r=rjesup, sr=waterson
2001-11-03 03:05:05 +00:00
yokoyama%netscape.com 359881f527 Bug 105113
Read DefaultCharSet from nsPref
when DocumentViewerImpl::mDefaultCharacterSet is
not assigned
/r=bstell and /sr=alecf
2001-11-03 00:06:51 +00:00
nhotta%netscape.com 929a5e773a Fixed a problem of a charset attribute for Script element is ignored,
request->mElement->GetCharset(charset) succeeded but the returned value 'charset' was ignored, fixed that problem,
bug 106360, r=ftang, sr=jst.
2001-11-02 02:07:08 +00:00
jst%netscape.com ec46bec90d Fixing bug 35294. Speeding up insertion of (specifically appending) document fragments to an element. r=rjesup@wgate.com, sicking@bigfoot.com, sr=vidur@netscape.com 2001-11-02 01:55:49 +00:00
hyatt%netscape.com 3aa08fec1e Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson 2001-11-02 01:53:13 +00:00
brade%netscape.com a3d79d514b remove fileSpec, remove tabs, and change api to use nsIURI instead of nsIFile (bug #104883) 2001-11-01 15:26:27 +00:00
brade%netscape.com dba40617d6 change mFileSpec to mDocumentURI (nsIURI) for bug #104883 2001-11-01 15:26:19 +00:00
brade%netscape.com bc34dad47c remove InitDiskDocument since it's no longer part of nsIDiskDocument.idl, change from nsIFile to nsIURI for SaveFile method (bug #104883) 2001-11-01 15:26:16 +00:00
darin%netscape.com ab759e5ff4 fixes bug 70519 "Select All (+ Copy) does not clobber the X primary selection"
patch=jwbaker@acm.org r=akkana sr=kin
2001-10-31 06:14:11 +00:00
bryner%netscape.com c3d6f78b18 When creating the root view's widget, don't show it. This prevents full-page Invalidates during page load caused by showing and then hiding the widget. Bug 97895, r=blizzard, sr=hyatt. 2001-10-31 05:06:31 +00:00
nhotta%netscape.com cbe8e4729c For unicode conversion, changed to proceed for decoder errors instead of stop the process, bug 103954, r=ftang, sr=jst. 2001-10-30 23:53:52 +00:00
jst%netscape.com 5678a30cc6 Fixing linux build bustage. 2001-10-30 10:24:55 +00:00
jst%netscape.com fb23fc46ee Fixing part of bug 107453. Combine rarely used leaf element classes into one class to cut down on the amount of code we have for implementing all those dom interfaces. This makes using the combined elements (base, embed, isindex, param, spacer, colgroup, and wbr) a bit more expensive but since they're hardly ever used it's ok for them to take up a bit more heap space when used. r=dbaron@netscape.com, sr=waterson@netscape.com 2001-10-30 10:14:06 +00:00
dbaron%fas.harvard.edu 10e3bbbb58 Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi 2001-10-30 06:02:05 +00:00
rods%netscape.com 0c29fa8dd0 Make sure default printing for FrameSets is "AsIs" when printing silently
Bug 106015 r=kmcclusk sr=attinasi
2001-10-29 15:28:45 +00:00
jaggernaut%netscape.com 47f32d2efe Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 06:44:19 +00:00
jst%netscape.com 8a0b346deb Fixing bug 106769. Document.prototype was not on the prototype chain for XMLDocument objects. sr=jband@netscape.com, r=bzbarsky@mit.edu 2001-10-26 02:39:56 +00:00
jst%netscape.com 84c24158b4 Fixing bug 106769. Document.prototype was not on the prototype chain for XMLDocument objects. sr=jband@netscape.com, r=bzbarsky@mit.edu 2001-10-26 02:23:56 +00:00
jst%netscape.com 2c8e09cceb Fixing bug 106571. We can live w/o storing a nsINameSpace pointer in our XUL and XML elements (which saves us 4 bytes for every XML (read XBL) element and for the XUL slots), also remove the accessors from the interface nsIXMLContent, and remove some unused code in nsXULContentUtils. r=dbaron@netscape.com, sr=waterson@netscape.com 2001-10-25 04:08:29 +00:00
dbaron%fas.harvard.edu f56bfe4127 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
bzbarsky%mit.edu 7f9eeaa84b Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi
2001-10-25 00:34:20 +00:00
bzbarsky%mit.edu 9996719220 Make SetDocument() get a new nodeinfo if the old one does not match the
new document.  Bug 106393, r=peterv, sr=jst
2001-10-25 00:28:08 +00:00
ducarroz%netscape.com 9f6f252663 Fix for bug 106560. Crash in StyleSetImp::ShutDown when mRuleTree is null. Need to check mRuleTree before using it. R=bienvenu, SR=hyatt 2001-10-25 00:19:21 +00:00
dbaron%fas.harvard.edu a9b07948e7 My guess at AIX and OS/2 bustage was wrong -- backing it out. Someone with access to a machine with one of those compilers will have to try various things here. 2001-10-24 09:03:46 +00:00
dbaron%fas.harvard.edu 561a2b848a Wild guess at fixing AIX and OS/2 bustage. 2001-10-24 06:53:39 +00:00
dbaron%fas.harvard.edu f9d32caae7 Moving nsRuleNode.cpp back to content/base/src from content/shared/src and inlining GetRule to fix linker errors on BeOS and probably also AIX, and since it doesn't need to be in content/shared and cvs won't like re-adding to content/html/style/src. b=104336 2001-10-24 06:25:08 +00:00
bernd.mielke%snafu.de 796a9ea8ac bug 103443 remove the last two occurences of rv?rv:NS_ERROR_FAILURE
r=kin sr=attinasi
2001-10-24 04:50:37 +00:00
hyatt%netscape.com 0214ac3fdb Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dougt%netscape.com af7957c9e9 Remove extra exports. patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com 2001-10-19 21:02:39 +00:00
alecf%netscape.com 20e2a6cf2d next part of bug 100214, add nsUnicharUtils to consumers of ToLowerCase/ToUpperCase 2001-10-19 21:00:02 +00:00
dougt%netscape.com 1f40b94136 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527 2001-10-19 20:59:33 +00:00
dougt%netscape.com da7e1268bd nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
harishd%netscape.com ac2e3f5bc1 97769 - Replace nsITagStack with a simple nsVoidArray. Also, nuked nsITagStack since it is not of a big help.r=heikki, sr=jst.
99282  - Make sure only HEAD attributes get added to the attribute list in ::OpenHead(). r=heikki, sr=jst.
100466 - Stop DT from containing DL.r=heikki,sr=jst.
102370 - DT should not close DD and vice versa.r=heikki,sr=jst.
100397 - In order for residual style to kick in...disable the check for wellformedness in quirks mode.r=alexandru,sr=attinasi.
102376 - Release nsIRequest in nsParser::DidBuildModel() since nsIRequest is not required past DidBuildModel.r=heikki,sr=darin.
2001-10-19 20:48:18 +00:00
bzbarsky%mit.edu 9c3b205483 Last checkin was r=pierre, sr=jst 2001-10-19 14:02:36 +00:00
bzbarsky%mit.edu 94624dd288 Clean up handling of quirk doctypes and case-sensitivity in the CSSOM.
Mostly just uses the nodeinfo more and combines some redundant code into
helpers. Bug 95336, bug 10622, bug 102815
2001-10-19 13:50:30 +00:00
waterson%netscape.com f46742f973 Bug 100231. Use nsCheapVoidArray to save a word in nsXULElement. r=brendan,rjesup; sr=jst 2001-10-18 03:47:32 +00:00
pierre%netscape.com 6f04306c31 91665 "Dump Style Contexts doesn't work anymore". Fixed nsStyleContext::List(). r=attinasi/sr=hyatt 2001-10-17 00:25:26 +00:00
dbaron%fas.harvard.edu 3dac3645cb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
jaggernaut%netscape.com a08c7ad87b Bug 58461: Potential [read: lurking, ed.] segfault in nsDocument::SetHeaderData. r=dbaron, sr=jst 2001-10-16 04:35:26 +00:00
dbaron%fas.harvard.edu 34fc404be7 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
jst%netscape.com a59ab8bd75 Fixing bug 79133 (by working around the real problem). Image onerror events cause window.onerror handlers to be called since the events bubble up the tree. r=brendan@mozilla.org, sr=vidur@netscape.com 2001-10-16 00:30:41 +00:00
jst%netscape.com ab08614268 Fixing crasher bug 104774, add null check before calling CallQueryInterface() on mStyleSheet, which will be null if there is no stylesheet. r=harishd@netscape.com, sr=me. 2001-10-15 22:57:17 +00:00
alecf%netscape.com 511a787492 convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser 2001-10-13 00:16:32 +00:00
sfraser%netscape.com 24bf7c0ff4 Fix bug 50578 -- don't show bogus error dialog when cancelling a print job. r=rods, sr=kin 2001-10-11 19:10:26 +00:00
shanjian%netscape.com dde83fbf7b #88363 Site with duplicate Content-Type loads with incorrect encoding
r=yokoyama sr=waterson
2001-10-10 23:37:18 +00:00
jst%netscape.com 0a67c16919 Truncate the output string in nsNodeInfo::GetQualifiedName() before appending to it. r=jag, sr=me 2001-10-08 22:37:23 +00:00
heikki%netscape.com ed875e59c3 Bug 103250, attempting to fix topcrasher with a null check. Crash happens when you select text while page loading. r=harishd, sr=vidur. 2001-10-08 21:51:43 +00:00
jaggernaut%netscape.com f7ae567b08 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot. 2001-10-07 10:58:39 +00:00
bernd.mielke%snafu.de 9c6fccd32c Don't start printing when regression test are executed bug 99633 r=rods sr=attinasi 2001-10-06 14:07:28 +00:00
rods%netscape.com afa17af158 Check for failure after printing the next page. If it fails then pass back PR_TRUE
to indicate we are done printing this document.
Bug 101597 r=kmcclusk sr=attinasi a=pdt
2001-10-03 23:28:38 +00:00
peterv%netscape.com 93494e8e93 Fix for bug 102809 (ABR in nsPlainTextSerializer::AppendText; indexing -1 on array). r=sicking, sr=waterson. 2001-10-03 02:47:08 +00:00
jst%netscape.com 439cf24df0 Making object destructor public to quiet down gcc. rs=alecf@netscape.com 2001-10-02 23:29:05 +00:00
peterv%netscape.com 65ca41c6c4 Fix for bug 97687 ([serializer]cs/gecko: copying using keyboard shortcuts>paste>source pasted {Country=US}) r=heikki, sr=jst. 2001-10-02 10:02:07 +00:00
mstoltz%netscape.com fa4e5530e9 Bug 18553, better fix which should cause fewer problems. Clear event listeners
before every document load, including the first, except when setNewDocument
is called from document.open. r=heikki, sr=jst
2001-10-02 00:54:44 +00:00
yokoyama%netscape.com 2572132429 Bug 97404
To prevent freezing from copying
URL. Temporary fix until
we find actual cause of invalid string offset
/r=ftang, /sr=mscott, /PDT=jpm
2001-10-01 20:37:46 +00:00
mkaply%us.ibm.com 6979218b43 #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions
2001-09-30 20:35:55 +00:00
vidur%netscape.com 338e3871f8 Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts 2001-09-29 17:50:15 +00:00
jaggernaut%netscape.com fdc4078bc4 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
harishd%netscape.com 99bd737981 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.
2001-09-28 23:08:17 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jst%netscape.com 335023570c Always initalize the out parameter in CreateEvent(). r=nobody 2001-09-28 14:03:10 +00:00
rjesup%wgate.com e889d20e76 Bug 92575: Remaining mChildren nsAutoVoidArray changes. r=waterson, sr=jst 2001-09-27 22:21:37 +00:00
rjesup%wgate.com d0569d02c4 Bug 101710: Fix topcrash regression in Find. r=sfraser, sr=kin 2001-09-27 21:49:40 +00:00
hewitt%netscape.com b293c5b0b5 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt 2001-09-27 21:43:00 +00:00
rbs%maths.uq.edu.au 899f17f924 bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com 2001-09-27 18:33:58 +00:00
dougt%netscape.com 62afce095d Landing nsISupports changes. Freezes nsISupports.idl and nsrootidl.idl. r=valeski@netscape.com, sr=rpotts@netscape.com bug 98281 2001-09-27 03:43:00 +00:00
alecf%netscape.com 2060b904db beginning of bug 100214 - eliminate encoding-insensitive nsCRT::str*cmp uses by properly converting to unicode. r=jag, sr=sfraser 2001-09-26 20:26:14 +00:00
hewitt%netscape.com 8f078b94db 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 23:35:36 +00:00
gerv%gerv.net 8edf26bcee License changes, take 2. Bug 98089. mozilla/extensions/. 2001-09-25 23:31:24 +00:00
hewitt%netscape.com e7ad287a94 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 22:17:00 +00:00
heikki%netscape.com 1d404267aa Bug 95489, attempting to fix this topcrash with a null-check. r=harishd, sr=vidur. 2001-09-25 22:16:41 +00:00
rods%netscape.com 35215a119b Removed setting page height to 5 pages when printing a document "AsIs"
Also, added special case code for sizing of "AsIs" documents when they
are positioned 0,0
Bug 100797 r=kmcclusk sr=attinasi
2001-09-25 13:00:04 +00:00
gerv%gerv.net 2b0c9d0438 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu 687a4abbe8 Add a document.contentType attribute to allow getting the MIME type of
the current document from JS.  The rest is moving around stuff to deal
with nsIDocument already declaring GetContentType.  bug 73847, r=peterv,
sr=jst
2001-09-24 22:43:23 +00:00
bzbarsky%mit.edu bcf7e431e0 making the "Enabling quirk stylesheet" message only show up for some
people who care (even in debug builds).  bug 100983, r=dmose, sr=attinasi
2001-09-24 22:36:43 +00:00
karnaze%netscape.com b27e2932c9 bug 82401 - remove cell from correct parent when cell spans into split row; work around bug 101264 by doing initial reflow with unconstrained height. sr=kin, r=attinasi. 2001-09-24 14:48:38 +00:00
peterv%netscape.com 1511667dd7 Fix for bug 100732 (content_xsl.xpt missing in packaged bits). r=heikki, sr=jst. 2001-09-24 12:03:02 +00:00
jfrancis%netscape.com d4a7a912eb fix for bug 31770: content iterator performance work. Adding an array of cached dom offsets for parent heirarchy of current node in iterator. Most of this work is courtesy of rjesup. r=rjesup,jfrancis; sr=kin 2001-09-24 06:13:03 +00:00
hyatt%netscape.com d70813d39d Fix for 101177. r=pavlov, sr=ben 2001-09-23 22:20:46 +00:00
hyatt%netscape.com a8e7b4a58a Fix for 101093. Content added dynamically using the DOM is now in the right scope if anonymous. r=blake, sr=jst 2001-09-23 05:53:32 +00:00
cls%seawood.org 3f1dc4d61b Adding windowwatcher to REQUIRES to fix myotonic bustage.
Caused by checkin for bug 97907
2001-09-21 19:59:35 +00:00
mkaply%us.ibm.com 6e052313eb One more REQUIRES issue for windows 2001-09-21 16:34:42 +00:00
mkaply%us.ibm.com 90d444c38f remove spaces in Makefile 2001-09-21 15:38:44 +00:00
mkaply%us.ibm.com baf49360ae Windows REQUIRES bustage 2001-09-21 15:22:27 +00:00
mkaply%us.ibm.com 3d65dae66c myotonic REQUIRES bustage 2001-09-21 14:59:09 +00:00
mkaply%us.ibm.com abd36c131c #97907
r=kaie, r=dcone, sr=jst
Checkin for Roland.Mainz@informatik.med.uni-giessen.de - add error codes to printing
2001-09-21 13:52:39 +00:00
jst%netscape.com 7c86ba2445 Fixing bug 100795. Removign the method load() from HTML documents, implement it only on XML documents since the name 'load' blocks existing global functions named 'load' from being called from event handlers in the document (since document.load is found before window.load in the scope of event handlers). HTMLDocument.load and XULDocument.load were never implemented any way. r=heikki@netscape.com, sr=vidur@netscape.com 2001-09-21 01:07:53 +00:00
rods%netscape.com 9d8f2596ca Should set PrintObject to print "AsIs" if it doesn't have children
Bug 83683 r=kmcclusk r=attinasi
2001-09-20 12:13:48 +00:00
hyatt%netscape.com 75b8b24e46 Fire DOM event when title changes. r/sr=waterson,jst 2001-09-20 07:43:56 +00:00
gerv%gerv.net 2a80f3fea9 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org 63e86dc84f bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
jaggernaut%netscape.com e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com 3826eb9902 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com cf9912aa80 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
jaggernaut%netscape.com efc8c209fb Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
heikki%netscape.com 826b58444b Bug 78021, Copy Link Address context menu does not work for image maps (<area> elements), <link> elements or simple XLinks. r=harishd, sr=vidur. 2001-09-12 23:31:37 +00:00
waterson%netscape.com 885df97ac4 Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt 2001-09-12 20:19:41 +00:00
jaggernaut%netscape.com e055a4a2a4 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
timeless%mac.com 812249a0d1 Bugzilla Bug 98929 Implementation of Content-Language in HTTP
patch by drepper@cygnus.com r=peterv sr=jst
2001-09-11 21:12:23 +00:00
peterv%netscape.com 5459761b0c Fix for bug 98031 (Composer adds space(s) when saving doc with link between parentheses). r=brade, sr=jst. 2001-09-11 09:32:51 +00:00
vidur%netscape.com 261f2d1a98 Fix for bug 98815. Implement DOM Level 3 namespace methods for prefix and URI lookup. The implementation of these may be changed later if we get rid of the nsINameSpace interface. r=heikki, sr=jst 2001-09-11 03:04:49 +00:00
alecf%netscape.com 898cb5872f add REQUIRES support to layou, content, gfx, gfx2, widget and modules/libpr0n b=98371 r=cls 2001-09-10 20:46:52 +00:00
jst%netscape.com 92beb4411a Comment change only, sr=me 2001-09-08 00:53:38 +00:00
cls%seawood.org 993e0ca487 Adding newline to end of file to fix hpux bustage 2001-09-07 11:00:48 +00:00
sicking%bigfoot.com 1f02d9bfd3 Implement TreeWalker in DOM2-traversal.
b=82625, r=fabian, sr=jst
2001-09-07 09:30:03 +00:00
pierre%netscape.com d8e7adfe45 Bug 93371 (WRMB: Treat classes case insensitively in quirks mode). Back out ianh's patch in nsCSSParser.cpp and nsHTMLAttributes.cpp. Treat classes and IDs case insensitively as described in Bug 35522. r=glazman (+dbaron/jst) sr=hyatt 2001-09-07 00:23:37 +00:00
rjesup%wgate.com be7d4d271c Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
  r=hyatt r=pierre sr=jst
2001-09-06 19:16:03 +00:00
jst%netscape.com 2e791b1e6d Fixing leaks introduced by my fix for 91241. Breaking circular namespace manager -> XUL element factory -> namespace manager reference that kept one namespace manager and one XUL and XML element factory alive. sr=jband@netscape.com 2001-09-06 06:18:31 +00:00
valeski%netscape.com ac33036169 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
jst%netscape.com 836da25092 Fixing bug 91241. Don't use the service manager to get the element factory everty time it's needed, cache it per namespace id, we spent about 0.9% of startup getting the element factory service. r=dp@netscape.com, sr=rpotts@netscape.com 2001-09-05 04:20:54 +00:00
bzbarsky%mit.edu 168fa487a7 Fix the nsIDOMMediaList interface to have the right properties. Make
media rules implement nsIDOMCSSMediaRule.  Fix insertRule() to be able
to insert into the middle of a rule list.  Fix issues with stylesheets
not getting dirtied when media lists are modified.  bug 93977,
r=pierre, sr=jst
2001-09-05 00:00:18 +00:00
timeless%mac.com c3eba81f03 Bugzilla Bug 89864 <SCRIPT LANGUAGE="JavaScript1.0"> gets ignored
r=dveditz, sr=brendan, a=asa
2001-09-03 16:09:58 +00:00
dbaron%fas.harvard.edu 5b59398348 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all. 2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu d8d01abd1a Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
rpotts%netscape.com 2766427125 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously. 2001-08-30 21:47:45 +00:00
jaggernaut%netscape.com c00b84e416 Fixing speedracer bustage. Not sure I like this, nor the reason why there's bustage in the first place. *grmbl* 2001-08-25 04:22:47 +00:00
hyatt%netscape.com 1e28dfba99 Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
dcone%netscape.com 912f63aaa0 b=58002 r=dcone sr=attinasi r=rods a=asa. Fix radio buttons to print the correct setting. 2001-08-23 02:25:14 +00:00
rjesup%wgate.com edf8bd2491 Bug 96132. ~nsTypedSelection misuses arrays. r=dbaron,
sr=jst@netscape.com sr=kin@netscape.com
2001-08-21 18:38:20 +00:00
dbaron%fas.harvard.edu 716f9f4695 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
jst%netscape.com ab317bb6c1 Fixing bug 95904. Comment changes only, patch mostly by drepper@cygnus.com. 2001-08-21 01:43:29 +00:00
hyatt%netscape.com a11f4a407c Fix for 94943. r=jag, sr=blake 2001-08-18 01:04:47 +00:00
dcone%netscape.com fe326123f3 b=91290 fix for printing regression tests r=karnaze sr=waterson 2001-08-17 22:16:17 +00:00
bryner%netscape.com 67f6aa83cb Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
peterv%netscape.com ee6630603b Fix for bug 91450 (complete loss of style when executing a certain javascript). r=pierre, sr=jst. 2001-08-16 11:32:11 +00:00
cls%seawood.org 8405a1984e Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +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
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
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
hyatt%netscape.com 079c95cba2 Fix for 71106. r=jag, sr=jst 2001-08-06 21:49:35 +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
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
hyatt%netscape.com 9dc6c4c8cf Fix for 71471. r=blake, sr=hewitt 2001-08-02 00:09:27 +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 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
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 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
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
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 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
hyatt%netscape.com 04aa6b45a9 Fix for 90081, r/sr=waterson,attinasi 2001-07-18 22:48:35 +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
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
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 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
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
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
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
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
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
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
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
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
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
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
brade%netscape.com 1315a9ef11 don't escape characters in JS attributes; bug #68167 2001-06-19 23:51:29 +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
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
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
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
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
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
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
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 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 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
roc+%cs.cmu.edu 2b539be4dd Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard 2001-05-25 15:00:51 +00:00
ftang%netscape.com fa492ce2b7 fix bug 82622 . check in for nhotta@netscape.com. Add # to the escape list. r=cmanske sr=jst a=asa 2001-05-25 13:27:42 +00:00
nisheeth%netscape.com d5b20e8bb4 Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content. 2001-05-25 08:49:03 +00:00
jst%netscape.com 408146b7b5 Checking in vidur@netscape.com's fix for bug 81994 which caused scripts on webpages to be executed twice when calling DemoteContainer() in the html content sink. r=nisheeth@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org 2001-05-25 07:03:04 +00:00
nhotta%netscape.com 429f590dac Changed to avoid escaping '%' in URI, bug 81238, r=cmanske, sr=jst. 2001-05-23 00:13:23 +00:00
pollmann%netscape.com cd63ac8efa Bug 77834: Adding nsIContentList.h, not part of the build. 2001-05-22 03:40:56 +00:00
mkaply%us.ibm.com e4781cd455 #80164
r=mkaply, sr=kin@netscape.com
Code from simon@softel.co.il - enable proper reversing for clipboard
2001-05-21 23:39:49 +00:00
valeski%netscape.com fc50f8ba21 sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API. 2001-05-21 22:40:10 +00:00
peterv%netscape.com bcc4d7040c Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst. 2001-05-21 13:01:41 +00:00
peterv%netscape.com be1f79234a Fix for regression bug 81823 (rel attribute should be treated case insensitive). r=sicking, sr=jst. 2001-05-21 08:24:35 +00:00
mkaply%us.ibm.com 57d9cc476c #76020
r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly
2001-05-20 22:44:05 +00:00
jst%netscape.com f72e19a2c3 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
jst%netscape.com f4dbb15fb9 Trying fix the mac bustage... 2001-05-19 07:43:29 +00:00
jst%netscape.com aabe6d5306 Fixing bug 81115 that causes the identity of event receivers and event targets to be incorrect in the case where the target/reveiver is an nsGenericElement or a nsGenericDOMDataNode. The problem was the those classes use the event listener manager as a tearoff but QI'ing that tearoff to nsISupports returns the event listener manager and not the element/node, this causes XPConnect to create different wrappers for the same element/node when the event listener tearoff is wrapped in stead of directly wrapping the element/node. This causes problems with event.target in JS, among other things. The solution for this problem was to create a separate tearoff that works correctly and leave the event listener manager alone since it can not be used as a tearoff in all cases. r=pollmann@netscape.com, sr=vidur@netscape.com 2001-05-19 07:02:50 +00:00
mkaply%us.ibm.com d8c8d6794a OS/2 Bustage - STOP USING true and false for PRBool!!!! - PR_TRUE and PR_FALSE 2001-05-19 05:10:31 +00:00
peterv%netscape.com 899061aa64 Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst. 2001-05-19 02:59:15 +00:00
vidur%netscape.com 438cf14e23 Continuing fix for bug 18843. Added onload and onerror events for loaded scripts. r=nisheeth, sr=jst 2001-05-19 01:21:57 +00:00
peterv%netscape.com 360239f845 Adding two new files. Not built. Part of fix for bug 7515 (dynamically adding LINK-ed or pi-ed style sheets does nothing). 2001-05-19 00:21:26 +00:00
jst%netscape.com e22f199c61 Checking in support for onload handlers for frame and iframe elements, and fixing .ownerDocument of orphan elements, fixes bug 60173, and also fixes part of bug 27382. r=pollmann@netscape.com, sr=vidur@netscape.com 2001-05-19 00:17:01 +00:00
mjudge%netscape.com be26e31ade fixing bad check in tablecellselection. wouldnt work if only 1 char in a text node was selected. bug=68641 r=ftang, sr=hyatt. simple fix.. 2001-05-18 23:07:54 +00:00
mkaply%us.ibm.com 9b8f77adff OS/2 TB breakage - true instead of PR_TRUE 2001-05-18 22:14:12 +00:00
anthonyd%netscape.com e9b2e9bfef bringing the range implementation up to dom spec.
bugs: 58969, 58970, 58972, 58974
r=kin
sr=jst
2001-05-18 21:05:51 +00:00
cls%seawood.org 6fe81f9f06 Updating intermodule depencies. Fixing senna bustage. 2001-05-18 14:37:00 +00:00
dbaron%fas.harvard.edu 72b99e8e7f Fix double-addref leak of pres shell. (Leaking the pres shell without leaking the doc viewer causes us to leak the frame tree while deleting the view tree, which causes crashes after leaving pages with animated images. Fix for that problem coming soon.) b=80203 r=sspitzer sr=ben 2001-05-18 11:36:54 +00:00
mkaply%us.ibm.com 6aaffb782f OS/2 AIX bustage - need cast 2001-05-17 17:27:01 +00:00
jst%netscape.com 643dd98b13 Trying to fix SunOS bustage... 2001-05-17 09:08:50 +00:00
vidur%netscape.com c1140c84e2 Removing dead header file. r/sr=jst 2001-05-17 06:10:59 +00:00
jst%netscape.com 969db0be6e Removing GetNewListenerManager() from nsIDOMEventReceiver since it's not needed any more, no real code changes. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-05-17 06:04:04 +00:00