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

1793 Коммитов

Автор SHA1 Сообщение Дата
locka%iol.ie 327d5c043e Treat NOFRAMES content as CDATA during serialisation to prevent entity subsitution. b=122077 r=harishd@netscape.com sr=jst@netscape.com 2002-02-19 22:50:16 +00:00
roc+%cs.cmu.edu 18ecdfc4e9 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi 2002-02-19 21:33:26 +00:00
smontagu%netscape.com 5fee128a75 Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2002-02-19 20:41:32 +00:00
rods%netscape.com fc04d22a1e 1) In DocumentViewer: I did rearrange some of the data members for PrintData
and PrintObject and their initialization order
2) In DocumentViewer: Implemented the shrink to fit feature by calc'ing the
ratios in the first reflow and then reflowing a second time to shrink them
3) In nsPageFrame: This is somewhat unrelated to this bug, but I found where
continuing frame content was being parented to the PageFrame instead of the
PageContentFrame.
4) Although at this time I am not using DumpFrames for debugging I may want to
switch back to it while debugging at anytime.
Bug 100967 r=dcone sr=attinasi
2002-02-19 11:49:27 +00:00
badami%netscape.com 424ad9f17e [serializer]nested lists don't convert to plain text properly.
bug 95224 patch=tmutreja@netscape.com r=akkana sr=jst
2002-02-19 10:23:24 +00:00
dbaron%fas.harvard.edu 6fe9b07a8e Fix the interaction of text zoom with the sizing code for generic fonts. b=125963 r=rbs sr=attinasi 2002-02-19 02:11:57 +00:00
cltbld%netscape.com 7a09607a38 backing out changes per McAfee's request - kysmith 2002-02-18 19:25:48 +00:00
brade%netscape.com 46b856cfa2 remove nsIDiskDocument.idl; bug 102033, r=akkana, sr=smfr 2002-02-18 15:26:14 +00:00
timeless%mac.com 120355e509 nebiros bustage [Error: Different types for "?:" (nsAString and void).] -- fix attempt #1 2002-02-18 14:20:00 +00:00
badami%netscape.com bb4b026e0b Pasted text from beginning of line always appends a newline
bug 75283 patch=tmutreja@netscape.com r=akkana sr=jst
2002-02-18 12:29:02 +00:00
badami%netscape.com ce8ab3ab32 [serializer]Using blockquote screws up composer's pretty-print.
bug 93276 patch=tmutreja@netscape.com r=akkana sr=jst
2002-02-18 10:33:15 +00:00
badami%netscape.com 3d2149d0fa HTML serializer doesn't use the base uri for generating absolute url's
bug 80081 patch=tmutreja@netscape.com r=akkana sr=jst
2002-02-18 10:30:27 +00:00
badami%netscape.com 17a02ab539 Emoticons can't be copied as originally drawn
bug 57098 patch=tmutreja@netscape.com r=ben.bucksch@beonex.com sr=jst
2002-02-18 10:25:43 +00:00
badami%netscape.com 87cfcb0f18 Composer won't break long tags
bug 103207 patch=tmutreja@netscape.com r=akkana sr=jst
2002-02-18 10:22:17 +00:00
pinkerton%netscape.com f42504d666 typo, fixing bustage. 2002-02-17 20:01:11 +00:00
pinkerton%netscape.com 6f1ac94599 pulling content-area drag&drop out of JS and into C++ so it is available to embedding. Now built-in to <browser> tag. r=brade/sr=ben. bug#45605 2002-02-17 19:32:08 +00:00
pinkerton%netscape.com 4ae0d1e48d new files for embedding dnd impl. r=brade/sr=ben. bug#45605 2002-02-17 19:28:13 +00:00
dbaron%fas.harvard.edu 601647b074 Fix one more comment that uses "inherit" incorrectly. 2002-02-17 02:03:07 +00:00
dbaron%fas.harvard.edu 61d42c141c Restore optimization of getting data from parent context only when there is actually inheritance (except correctly this time), to prevent unnecessary struct computation and creation. Rename nsRuleNode::mInheritBits to mDependentBits. Use none bits (and thus prevent struct recomputation and copying) in the case where explicit inheritance overrides a non-inherited specified value, but still only for inherited structs. Other minor cleanup. b=113098 sr=hyatt r=bzbarsky 2002-02-17 01:53:40 +00:00
dbaron%fas.harvard.edu f3b0f6c470 Change the implementation of text zoom so that the zooming happens in the style system. This causes 'em' and similar units to be zoomed as well. Also scale physical / pixel 'line-height' values. b=41847 r=attinasi sr=hyatt 2002-02-16 16:24:25 +00:00
dcone%netscape.com 2e4309e538 b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
rods%netscape.com f2fb963fac 1) Enables the PageSeq frame to specify the "gap" of gray space around
it in Print Preview
2) It now positions the page in the window with the gray "gap" showing.
3) factors out code for calc'ing the number of pages
4) Adds the methods to get the number of page while in PP
Bug 125151 r=sgehanisr=attinasi
2002-02-14 23:18:09 +00:00
karnaze%netscape.com 7b10a02af4 bug 125426 - terminate xul style data when writing regression data. sr=dbaron 2002-02-14 14:54:06 +00:00
bernd.mielke%snafu.de ed37c11710 avoid EndDocument and AbortDocument + nasty dialogs during printing regression tests
bug 125053 r=karnaze,rods sr=attinasi
2002-02-13 20:01:42 +00:00
rods%netscape.com f7189b3cfd 1) On windows and OS/2 it implements IDL attr of "defaultPrinterName" (like Bug 118152)
2) Stubs this out on al other platforms
3) On Windows implmenets new method "InitPrintSettingsFromPrinter" which sets certain key values from the native devmode into the print settings
4) Stubs this out on all other platforms
5) It also cleans up the nsDeviceContextSpecWin interface a little bit:
   It now has a single GetDevMode method that must be paired with a UnlockDevMode  method.
6) It moved GetDataFromPrinter into the public interface
7) Created a simple helper function for getting the default printer name.
Bug 123554 r=dcone sr=attinasi
2002-02-13 13:58:41 +00:00
rods%netscape.com 7d1713b7f6 1) It moves the BeginDocument to a earlier place in the call change
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
2002-02-12 13:33:39 +00:00
bzbarsky%mit.edu 6f4c72ac1b Fix crash in treewalker when walking out of root element. Bug 124784,
r=sicking, sr=jst
2002-02-12 00:51:40 +00:00
bzbarsky%mit.edu e3b541a10c Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 45ad330784 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
jst%netscape.com 628605e7e7 Fixing bug 118194. Make sure we don't leave dangling document pointers in the content tree when the document goes away. r=bzbarsky@mit.edu, sr=vidur@netscape.com 2002-02-09 01:42:44 +00:00
brade%netscape.com ca06ac1b6f remove nsIDiskDocument usage (instead use nsIWebBrowserPersist); bug 102033, r=glazman, sr=kin 2002-02-08 15:50:49 +00:00
peterv%netscape.com 8bd16139b9 Fix importNode, need to set the document before notifying. Bug 124358. r=Pike, sr=jst. 2002-02-08 11:28:15 +00:00
heikki%netscape.com ca78ffade9 Bug 98788, document.load() needs to do better reset on the document before starting to load new content. Also fixed a couple of bogus comments and unneeded document reset in document creation. r=mstoltz, sr=jst. 2002-02-07 00:24:09 +00:00
pinkerton%netscape.com 35c70c6841 ifdef-fu for mach-o. rs=hyatt 2002-02-06 15:42:06 +00:00
rods%netscape.com 33fd9865a8 More streamline approach to discovering if there is at least one printer.
And if the printer name is not set, then it gets the default printer and uses
that. instead.
This fixes remembering the last printer that was used and it also
enables you to to set the printer name and print silently (instead of silent
always having to use the default printer)
Bug 123335 sr=hyatt r=dcone
2002-02-06 13:04:47 +00:00
jst%netscape.com 60d1308df5 Fixing bug 116834. Making element.innerHTML='...<script>...</script>...' not execute the script, this makes mozilla compatible with IE wrt innerHTML and execution of scripts. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-02-05 05:53:56 +00:00
jst%netscape.com b32c4770ff Fixing bug 115352. Making FlushPendingNotifications() properly flush the parent document as well if there is one. This causes layout data in iframes to not always be up to date since iframe sizes are dependent on the parent being reflown. r=peterv@netscape.com, sr=rpotts@netscape.com 2002-02-05 05:47:22 +00:00
jst%netscape.com c024ba3ae0 Checking in Fabian's <hidday@geocities.com> fix for bug 76895. Making cloneNode() work on document fragments. r=bzbarsky@mit.edu, sr=jst@netscape.com 2002-02-05 04:22:17 +00:00
bzbarsky%mit.edu 580e33204e Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
heikki%netscape.com 5b86867a3a Bug 119335, string assertion in XMLContentSerializer, use Substring for non-null terminated string. r=jst, sr=jag. 2002-02-05 01:35:34 +00:00
hyatt%netscape.com 91759efb47 Fix Macho and Cocoa horkage because of a missing ifdef. 2002-02-04 10:56:42 +00:00
alecf%netscape.com a10a38843d more dependency updates 2002-02-02 21:29:01 +00:00
bzbarsky%mit.edu 8e762d2d20 Don't let an empty intl.charset.default pref set the document charset to
the empty string.  Fall back to ISO-8859-1 in the script loader if there
is no other charset set.  Bug 118404, r=harishd, sr=jst
2002-02-01 21:36:00 +00:00
rods%netscape.com 4a4dd9b44f 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson
2002-02-01 14:52:11 +00:00
radha%netscape.com 271a5e259a Changes related to wyciwyg protocol implementation. r=35340 r/sr by jst, darin,nisheeth 2002-01-31 19:38:16 +00:00
alecf%netscape.com b417379c8c First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
jst%netscape.com 178b3badee WIP for an interface for the new frame and iframe loader. Not part of the build yet. 2002-01-29 06:31:26 +00:00
jst%netscape.com 7f778656b6 WIP for a new frame and iframe loader. Not part of the build yet. 2002-01-29 06:27:27 +00:00
timeless%mac.com c68ef8c76d Bug 120221 Make |NS_ERROR_GFX_PRINTER_INVALID_ATTRIBUTE| more specific
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=sfraser
2002-01-29 03:03:56 +00:00
timeless%mac.com 36942213c5 Bug 120911 Crash while printing due lousy error checking
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rods sr=jag
2002-01-29 02:59:12 +00:00
rods%netscape.com bdb6a55430 Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson
2002-01-25 14:30:14 +00:00
jst%netscape.com 7a80404791 Fixing bug 118933. Speeding up the id and name hash tables in nsHTMLDocument by changing them over from nsHashtable/nsStirngKey to pldhash. Also combining the hashes to optimize performance and memory useage. r=heikki@netscape.com, sr=jband@netscape.com. 2002-01-25 06:37:35 +00:00
hyatt%netscape.com af5b749fcc Remove debug hyatt code. r=danm, sr=brendan 2002-01-24 23:17:14 +00:00
peterv%netscape.com 6df18a080b Fix for bug 96647 (Change the way output is constructed in Transformiix). r=sicking, Pike, sr=jst. 2002-01-24 13:38:51 +00:00
jst%netscape.com 173486ad55 Fixing bug 120504. Make QI's on DOM elements only call into the binding manager only if the element itself doesn't implement the interface that the element is being QI'ed to. r=hyatt@netscape.com, sr=brendan@mozilla.org 2002-01-24 09:17:00 +00:00
bzbarsky%mit.edu f2a9512382 Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
mkaply%us.ibm.com 04e0b281aa #120431
a=brendan for drivers
OS/2 only - temp fix to workaround optimizer bug
2002-01-22 15:54:36 +00:00
hyatt%netscape.com 8e63b25b22 Fix for 115919, r=dbaron for me, r=hyatt for dbaron, sr=brendan, a=brendan 2002-01-22 05:36:50 +00:00
rods%netscape.com 9aaa73d6c3 PersShell needs to be created via the document->CreateShell, or the document doesn't know about it
and this means there would be no Primary PresShell in the document
Bug 114139 r=dcone sr=attinasi a=dbaron
2002-01-17 15:04:54 +00:00
rods%netscape.com 30512f5d7f turns on scaling and fixes it
Bug 120075 r=dcone sr=attinasi
2002-01-16 03:11:28 +00:00
rods%netscape.com f933be4ae0 Getting rid of event processor, it is no longer needed and will fix this problem
109566  r=kmcclusk sr=waterson
2002-01-16 03:02:35 +00:00
attinasi%netscape.com 02fb85a461 Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894 2002-01-14 22:05:26 +00:00
rods%netscape.com 68e2a5beb1 This enables platforms to set a pref as to whether they allow print from print preview.
Bug 118623 r=roland sr=attinasi
2002-01-12 12:58:46 +00:00
rods%netscape.com 9c97139dd3 Better error failure when certain types of error occur during printing
No longer tries to print IFrames or other sub-documents with display:none
Sets title and url into PrintService from PrintSettings
Sets "IsCancelled" on PrintSettings/Service when Print Dialog is cancelled (patr of 118017)
Bug 117894 r=dcone sr=attinasi
2002-01-12 12:31:05 +00:00
rods%netscape.com c12271de2f reflow was using the wrong DC to rendering context for PP
now cropping progress title to 64 chars with elipse o the front
BUg 117745,118729 r=dcone sr=attinasi
2002-01-11 11:59:00 +00:00
brade%netscape.com 6ac6f805be remove unused static kPrefServiceCID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:06:15 +00:00
brade%netscape.com 9824132eea remove unused statics kEventQueueServiceCID, kEventQueueService and kScrollingViewCID for gain of 48 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:05:55 +00:00
brade%netscape.com 2cb87e2763 remove unused statics kPresShellCID and kCParserCID for gain of 32 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:05:04 +00:00
brade%netscape.com c14b2510f1 remove unused statics kCContentIteratorCID and kCSubtreeIteratorCID for gain of 32 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:03:51 +00:00
rbs%maths.uq.edu.au 23c8ff98a0 Grab a low hanging perf fruit by switching to an API that doesn't copy the font, b=118918, r=dbaron, sr=waterson 2002-01-10 00:04:35 +00:00
brade%netscape.com e2911bbf1e remove/comment out unused statics kTextEncoderCID and kUBidiUtilCID (bug 117927; rs=glazou) 2002-01-09 15:37:11 +00:00
peterv%netscape.com fb72d889c4 Check for i < Count() before accessing mObservers[i] (mObservers is nsAutoVoidArray). rs=glazman, sr=jst. 2002-01-09 14:44:10 +00:00
harishd%netscape.com fd33e7c446 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
jst%netscape.com f023fa2edb Fixing bug 116466. Making mozilla fire a 'DOMFrameContentLoaded' event on all parent documents of a [i]frame when the *ML in the [i]frame is done loading (excluding external resources). r=heikki@netscape.com, sr=jband@netscape.com 2002-01-08 07:01:53 +00:00
jst%netscape.com 645c88322d Fixing bug 64248. Making the loading of external scripts pass the referrer to the server when requesting the script. r=gagan@netscape.com, sr=darin@netscape.com 2002-01-08 06:32:36 +00:00
rods%netscape.com 7af6b26def Improved printing error detection and notification
Now gets Doc Title and URL from PrintSettings and uses it instead of
the actual values.
Bugs 86378 & 118637 r=dcone sr=attinasi
2002-01-08 01:17:40 +00:00
dbaron%fas.harvard.edu 1db5b984db Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
jst%netscape.com ade0e93eff Fixing bug 86191. Don't return nsnull as a nsresult, return NS_OK in stead. r=sicking@bigfoot.com, sr=nobody, trivial change. 2002-01-06 02:39:13 +00:00
hyatt%netscape.com d4326b49d1 Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt 2002-01-04 00:28:01 +00:00
mkaply%us.ibm.com 7a8495a794 #117919
r=rods,mkaply sr=blizzard
OS/2 only - implement AvailablePrinters
2002-01-03 22:08:04 +00:00
jst%netscape.com 7a2db28867 Fixing bug 116551. DeCOMtaminating nsINodeInfo, inlining most of the trivial methods and leaving some as virtuals, move some of the members from nsNodeInfo to nsINodeInfo. r=sicking@bigfoot.com, sr=waterson@netscape.com 2002-01-03 04:51:02 +00:00
jst%netscape.com c739a95177 Removing unused variable to quiet down a compiler warning. 2002-01-03 00:34:07 +00:00
rods%netscape.com 96d074d636 Fix AIX bustage 2002-01-01 15:56:36 +00:00
rods%netscape.com 1fde5f13f3 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
shanjian%netscape.com f76c0c6f15 #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
2001-12-26 03:17:59 +00:00
timeless%mac.com 711739d601 Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
rbs%maths.uq.edu.au d617be402a Whitespace to correct the bug number in my earlier checkin comments: should be 105297 (instead of 105219) 2001-12-21 22:42:46 +00:00
rbs%maths.uq.edu.au 48a51599a4 Make unchecking `Allow documents to use other fonts' to work in a simpler way, b=105219, r=dbaron, sr=attinasi 2001-12-21 22:25:58 +00:00
rods%netscape.com a60fa30be1 enabling print progress
Bug 113917 r=dcone sr=attinasi
2001-12-21 01:25:16 +00:00
rjesup%wgate.com 2212861db9 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
heikki%netscape.com 699c8af659 Fixing bad whitespace. 2001-12-20 06:12:52 +00:00
heikki%netscape.com 1ad96d6103 Bug 74800, implemented FIXptr. r=harishd, sr=vidur. 2001-12-20 05:15:52 +00:00
seawood%netscape.com 874c54280c Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
mjudge%netscape.com 82f5f9cdcc moved file here from embedding for the build order issue. fixing bustage. 2001-12-18 02:40:08 +00:00
mjudge%netscape.com d41f10649d wrong name for module name. needed webbrwsr not webBrowser_core 2001-12-18 02:06:04 +00:00
mjudge%netscape.com cdd74d163c 7868 api change for selection SetDisplayFlags in nsISelectionDisplay idl. r=saari bug bs=7868 2001-12-18 01:12:02 +00:00
hyatt%netscape.com d4065d8e54 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
jaggernaut%netscape.com 7936b26225 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com 2df17e0579 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com 1886ca82f6 Remove timer from REQUIRES. r=pavlov 2001-12-16 17:02:31 +00:00
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