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

1688 Коммитов

Автор SHA1 Сообщение Дата
jst%netscape.com 591abcc892 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 362692e337 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 169c79e50d 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 24653793a6 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 c72800ef27 Initial check in for BUg 113917 (not in the build yet) 2001-12-14 22:40:12 +00:00
peterlubczynski%netscape.com 38bb699d49 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 5c8cc975a2 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 63a60fb40f 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 c580303351 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt 2001-12-11 11:13:16 +00:00
jst%netscape.com 70c3c11153 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 fdf39e6da8 #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 19bd06047a 113562 - nsIContent needs HasAttr method, r=jag, sr=jst 2001-12-11 02:57:52 +00:00
jdunn%netscape.com 62d848316b 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 f1623c011a 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 824ffa4c7f 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 cc5dcc16dd Formatting changes, no code changes. 2001-12-09 08:02:41 +00:00
dbaron%fas.harvard.edu 8c0a6f79f1 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 bfbe71bf7e 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 616ced304b 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 91bc6c4a6e 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 8310ba80d7 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 ac05d3af87 Fix leak (and other) regression from previous checkin. b=111815 2001-12-02 04:07:17 +00:00
dbaron%fas.harvard.edu a2ee74f9f3 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 c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
peterv%netscape.com 9b4ac10992 Fix for 106586 (Inappropriate source into the plaintext copy.) r=heikki, sr=jst. 2001-11-30 09:50:25 +00:00
peterv%netscape.com 90e4dc76c0 Fix for 106586 (Inappropriate source into the plaintext copy.) r=heikki, sr=jst. 2001-11-30 09:19:33 +00:00
peterv%netscape.com fdf1c1da51 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 e1e03a6fa5 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 0a8b8363b8 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 f54b1ef763 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 c05f76fc6b 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 ed2b034b08 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 8768a3547d 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 1375d424e1 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 c26c9711f3 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 04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
jst%netscape.com 280b9574e1 Removing dead code. 2001-11-21 13:06:18 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jst%netscape.com 28ba5f2344 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 060425ec59 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 a6bfb73bc2 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 b70c937d95 stop extraneous reallocation and leak of namespace manager in Reset. r=dbaron,jst 2001-11-17 05:20:35 +00:00
bzbarsky%mit.edu 72df08441d 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 7b4f0f2669 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 9efb890f56 adding nsIDocument::ResetToURI and refactoring Reset. bug 88229 r=jst,rpotts 2001-11-16 02:03:50 +00:00
danm%netscape.com 8530850de6 adding nsIDocument::ResetToURI. bug 88229 r=jst,rpotts 2001-11-16 02:03:19 +00:00
hyatt%netscape.com 62e1620a29 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 d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
rods%netscape.com b9ecdfca41 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 7d8ca8b01d 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 5200ce36d3 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 76b5876544 108757 - dispatch DOM events for mouse wheel scrolling, r=?, sr=? 2001-11-14 10:06:21 +00:00
hyatt%netscape.com 257658ac62 Inline PeekStyleData for 109261. 2001-11-14 08:29:11 +00:00
hyatt%netscape.com cec98cc49a 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 f2ee8260a0 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 88158430a4 Attempt to fix HP runtime bustage. b=83836 2001-11-11 20:46:42 +00:00
dbaron%fas.harvard.edu c25fe11d0f 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 57040838f7 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 8cd8d91750 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 7a0c525593 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 3da4d257d9 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 01bf33644b 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 98f07902ce 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 37a4501149 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 144090f3bb 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 9680d673b5 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 9998b9d2aa 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 373ca6f2c9 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 ce7b65d3ee 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 19490453c9 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 9ec46d28dc 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 ff0047e633 change mFileSpec to mDocumentURI (nsIURI) for bug #104883 2001-11-01 15:26:19 +00:00
brade%netscape.com d33761bc2e 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 2c3928d7b8 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 e6b4535db9 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 6c14889699 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 a7a955dac5 Fixing linux build bustage. 2001-10-30 10:24:55 +00:00
jst%netscape.com b494463795 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 c13d4f0b0c 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 ff7243160f 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 cad0dc7095 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 924a429ebe 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 0c2c3d4fa4 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 0c922db1b5 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 02f3a2d769 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 27d3c2549e 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 44619a2632 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 72f5b3d1f1 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 6095c74c92 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 da56284412 Wild guess at fixing AIX and OS/2 bustage. 2001-10-24 06:53:39 +00:00
dbaron%fas.harvard.edu 150e74f898 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 27a1ee010b 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 0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dougt%netscape.com d161575ba4 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 6606ee7e2f next part of bug 100214, add nsUnicharUtils to consumers of ToLowerCase/ToUpperCase 2001-10-19 21:00:02 +00:00
dougt%netscape.com 942988df26 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 d18d7e2b17 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 c7140326c2 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 21be92cac9 Last checkin was r=pierre, sr=jst 2001-10-19 14:02:36 +00:00
bzbarsky%mit.edu c13153fb53 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 b9ffb7bd1f 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 2e03c268a6 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 5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
jaggernaut%netscape.com 08cd156713 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 ed869c764e 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 1e7717abdd 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 cb3cf4c0ad 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 bd048504df 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 9a79a8ff90 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 42b9d62a79 #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 e21ba6730a 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 48b48c9583 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 0c2b3bc449 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot. 2001-10-07 10:58:39 +00:00
bernd.mielke%snafu.de da6f0e24d3 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 3a714be743 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 152a47efdc 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 12cde448d4 Making object destructor public to quiet down gcc. rs=alecf@netscape.com 2001-10-02 23:29:05 +00:00
peterv%netscape.com 8f39c146b9 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 9dcfafdfd4 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 31c1e81d70 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 72816bd6d4 #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 4966d85f91 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 ca6197295f 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 6cf7e21d1f 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 4e12e44b2f 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 bf8a72467d Always initalize the out parameter in CreateEvent(). r=nobody 2001-09-28 14:03:10 +00:00
rjesup%wgate.com 56314b8be4 Bug 92575: Remaining mChildren nsAutoVoidArray changes. r=waterson, sr=jst 2001-09-27 22:21:37 +00:00
rjesup%wgate.com 629c4c0235 Bug 101710: Fix topcrash regression in Find. r=sfraser, sr=kin 2001-09-27 21:49:40 +00:00
hewitt%netscape.com 9e6c00f9ea 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt 2001-09-27 21:43:00 +00:00
rbs%maths.uq.edu.au 7f1638d039 bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com 2001-09-27 18:33:58 +00:00
dougt%netscape.com 8d512061e8 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 b570b3627a 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 8c19fc069c 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 23:35:36 +00:00
gerv%gerv.net 05abd17648 License changes, take 2. Bug 98089. mozilla/extensions/. 2001-09-25 23:31:24 +00:00
hewitt%netscape.com 433ff11b78 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 22:17:00 +00:00
heikki%netscape.com fc0f4a3bff 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 4d11ab38a1 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 1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu 5b28996bde 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 ad1dbdf870 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 66046cb3f7 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 c4d426c4bb 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 22a4b2a9f5 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 13c0ff3b16 Fix for 101177. r=pavlov, sr=ben 2001-09-23 22:20:46 +00:00
hyatt%netscape.com 38650acdce 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 fd845fd2e0 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 c695194ceb One more REQUIRES issue for windows 2001-09-21 16:34:42 +00:00
mkaply%us.ibm.com e25d9fc119 remove spaces in Makefile 2001-09-21 15:38:44 +00:00
mkaply%us.ibm.com afaaaa2b32 Windows REQUIRES bustage 2001-09-21 15:22:27 +00:00
mkaply%us.ibm.com 094f19ab4b myotonic REQUIRES bustage 2001-09-21 14:59:09 +00:00
mkaply%us.ibm.com a80c7ca184 #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 b444cadab0 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 d5c3ae49ab 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 b51cf5caf3 Fire DOM event when title changes. r/sr=waterson,jst 2001-09-20 07:43:56 +00:00
gerv%gerv.net 1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org 102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com dc40187223 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 62424ee7b2 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 25856c9451 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 358817a443 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 d76d3fdf0d 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 30ace44624 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 4d364f1035 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 cb4aed4aba 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 e44bd74c1c 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 298c713fa2 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 1a63ec0c59 Comment change only, sr=me 2001-09-08 00:53:38 +00:00
cls%seawood.org 3991d42bef Adding newline to end of file to fix hpux bustage 2001-09-07 11:00:48 +00:00
sicking%bigfoot.com 28f58d98af Implement TreeWalker in DOM2-traversal.
b=82625, r=fabian, sr=jst
2001-09-07 09:30:03 +00:00
pierre%netscape.com c164042a1e 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 9192f1e9a5 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 797497c51d 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 93959d48cc 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 7e2f925135 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 a0c586aa4f 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 fee6fcee3a 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 be938a64b6 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 5434e861aa Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
rpotts%netscape.com 9e2f57a942 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 b7b30ca17a 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 62d3de24fd Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
dcone%netscape.com 2b2c916207 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 f48461942b 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 113ad642ae 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 fccc55b07b Fixing bug 95904. Comment changes only, patch mostly by drepper@cygnus.com. 2001-08-21 01:43:29 +00:00
hyatt%netscape.com 5583aaa00b Fix for 94943. r=jag, sr=blake 2001-08-18 01:04:47 +00:00
dcone%netscape.com 411063fb97 b=91290 fix for printing regression tests r=karnaze sr=waterson 2001-08-17 22:16:17 +00:00
bryner%netscape.com 422834eff1 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 ee64fb8444 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 a3c1dd1b09 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 52b5b32618 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 7fe184bd8b Fixing bogus assert code that I introduced when fixing 92433. 2001-08-10 01:22:07 +00:00
pavlov%netscape.com 1e20984ef0 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
rpotts%netscape.com 934fa34926 bug #91165. Better patch (trunk only) for fixing selectAll within framesets for embedding 2001-08-09 09:24:26 +00:00
jst%netscape.com a26a6ba8d2 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 0c296a706a Fix for 71106. r=jag, sr=jst 2001-08-06 21:49:35 +00:00
dcone%netscape.com a198b41207 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 711c13372e 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 ecbcce00ce 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