Commit Graph

3557 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
b7194a0ea8 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
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
bernd.mielke%snafu.de
aea8efff9b fix torino
git-svn-id: svn://10.0.0.236/trunk@111503 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 21:29:52 +00:00
bernd.mielke%snafu.de
6e45ee8056 add form frames to debug reflow bug 115096 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111498 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 19:44:21 +00:00
dbaron%fas.harvard.edu
9fffba3f2b Attempt to fix WS 5.0 bustage.
git-svn-id: svn://10.0.0.236/trunk@111459 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 20:07:13 +00:00
dbaron%fas.harvard.edu
025f414842 Get the visibility style struct to ensure that we check the 'direction' property and thus enable BIDI if necessary before beginning reflow. b=115921 r=smontagu sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111450 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 18:25:38 +00:00
dbaron%fas.harvard.edu
ba011ecd80 Clean up nsBlockFrame::RemoveFrame and add assertion to nsFrameList. b=114222 r=waterson sr=kin
git-svn-id: svn://10.0.0.236/trunk@111449 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 18:17:41 +00:00
dbaron%fas.harvard.edu
799b4588b8 Fix OS/2 bustage by undefining |index|.
git-svn-id: svn://10.0.0.236/trunk@111416 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 15:43:19 +00:00
dbaron%fas.harvard.edu
e149e57952 Fix tabbing through image maps and fix Windows crash right-clicking on image maps by reverting my changes to nsImageMap from bug 110911 and by giving the primary frame map larger entries to accomodate mapping from a content node to a frame with a different |mContent|. b=115481, 114377 r=bryner sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111415 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 15:22:52 +00:00
bryner%netscape.com
87d7aa496f Initial checkin of XBL select widget (listbox) code (bug 112713).
Summary of changes:
- Removed old XBL form control cruft.
- Made nsOutlinerContentView accessible from content scripts.
- Created a new interface, nsIDOMNSXBLFormControl which exists to allow a
select element to have an outliner box object.
- Factored out nsChildIterator into its own file.
- Added support to the outliner content view for having option elements
directly inserted in the outliner.
- Cleaned up pixel/twip conversions in outliner.
- Added support for intrinsic width for outliner.

r=jag, sr=hyatt.  Note that the new select widget is NOT turned on by
default.


git-svn-id: svn://10.0.0.236/trunk@111407 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 07:17:10 +00:00
mkaply%us.ibm.com
4eb4e379df #117919
r=rods,mkaply sr=blizzard
OS/2 only - implement AvailablePrinters


git-svn-id: svn://10.0.0.236/trunk@111321 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 22:08:04 +00:00
rods%netscape.com
2ca048b06c Putting changes back in. This wasn't the cause of the slower page loads
git-svn-id: svn://10.0.0.236/trunk@111296 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 13:23:47 +00:00
rods%netscape.com
38b0c7a252 Partial back of check to look for bloat
git-svn-id: svn://10.0.0.236/trunk@111295 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 11:28:48 +00:00
jst%netscape.com
c0e067e7da Removing unused variable to quiet down a compiler warning.
git-svn-id: svn://10.0.0.236/trunk@111273 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 00:34:07 +00:00
rods%netscape.com
9b1beb6492 Fix AIX bustage
git-svn-id: svn://10.0.0.236/trunk@111219 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 15:56:36 +00:00
rods%netscape.com
ee8a5e4640 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


git-svn-id: svn://10.0.0.236/trunk@111213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 12:58:53 +00:00
shanjian%netscape.com
3356940ad2 #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


git-svn-id: svn://10.0.0.236/trunk@111062 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 03:17:59 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
bnesse%netscape.com
d480efe403 Fix for smoketest blocker bug 116410. Fix loop so it increments when deleting objects. r=rbs, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110994 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 22:15:16 +00:00
hewitt%netscape.com
9eb5ae7fad 116198 - remove progressbar tag to simplify progressmeter, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110944 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:41:32 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
waterson%netscape.com
ae88e7f967 Bug 105927. Add #define to turn off the PresShell's arena for trace-malloc debugging. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@110933 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 00:16:26 +00:00
pinkerton%netscape.com
a6c41bf09f Fix infinite loop when |shrinkage| goes below zero. Blocker for mach-o
build. r=dbaron/sr=blake. bug#116240


git-svn-id: svn://10.0.0.236/trunk@110904 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 18:02:43 +00:00
heikki%netscape.com
647802449c Bug 74800, implemented FIXptr. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@110858 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 05:15:52 +00:00
hyatt%netscape.com
7ea60cd426 missed a file in my checkin for 115787.
git-svn-id: svn://10.0.0.236/trunk@110773 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 02:49:14 +00:00
hyatt%netscape.com
3ac0490077 fix for 115787, better handling of <style> blocks (avoid reframing) and alternate stylesheets, r=jag, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110764 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 01:06:27 +00:00
mjudge%netscape.com
a4539a7841 smoketest fix 115791
git-svn-id: svn://10.0.0.236/trunk@110728 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 21:05:55 +00:00
seawood%netscape.com
eb7c27e236 Order matters.
Fixing irix tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@110708 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 11:58:12 +00:00
seawood%netscape.com
0bd62df729 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


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
hyatt%netscape.com
2853f4c2fd back out the portion of my patch that is guilty of causing the orange (bug 115787
git-svn-id: svn://10.0.0.236/trunk@110701 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 08:10:49 +00:00
mjudge%netscape.com
bc78c917f2 wrong name for module name. needed webbrwsr not webBrowser_core
git-svn-id: svn://10.0.0.236/trunk@110681 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 02:06:04 +00:00
mjudge%netscape.com
20a1185b2b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not
git-svn-id: svn://10.0.0.236/trunk@110680 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:29:49 +00:00
heikki%netscape.com
0fac54b986 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@110660 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 00:15:15 +00:00
waterson%netscape.com
ac235050c2 Bug 115113, redux. Fix some whitespace botches.
git-svn-id: svn://10.0.0.236/trunk@110650 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:54:28 +00:00
hyatt%netscape.com
f9a19ba7cd Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
waterson%netscape.com
b6978c3e09 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
d1529aed21 Remove timer from REQUIRES, the makefile.win edition
git-svn-id: svn://10.0.0.236/trunk@110586 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com
1140db62f4 Remove timer from REQUIRES. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@110585 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
bryner%netscape.com
ee1f501610 Factoring out ChildIterator to separate files so that the outliner code can use it. Not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@110570 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 09:13:48 +00:00
seawood%netscape.com
0fff265da2 Make OS/2 use the win32 build changes and finish LIB_PREFIX substitution.
Thanks to Javier Pedemonte (pedemont@us.ibm.com) for the patch.
Bug #58981 r=cls


git-svn-id: svn://10.0.0.236/trunk@110499 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:49:04 +00:00
nhotta%netscape.com
318db3c7fc Changed nsPresContext::Observe, added code to flush font and reflow in case of charset change,
bug 103282, r=smontagu, sr=attinasi.


git-svn-id: svn://10.0.0.236/trunk@110497 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:13:28 +00:00
sfraser%netscape.com
d35e1fa18c Fix for bug 115162 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110496 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:13:08 +00:00
dcone%netscape.com
4b124770e1 b=114957 r=rods sr=attinas a=asa Put declarations outside of ifdef. Fixes some linux optimized builds.
git-svn-id: svn://10.0.0.236/trunk@110448 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 02:25:48 +00:00
mkaply%us.ibm.com
b7dcb8f592 hack hack, wonderful hack
undef the index macro for VACPP
I guess this is a VACPP bug, we had to do this in js, but why name a function such a common macro?


git-svn-id: svn://10.0.0.236/trunk@110392 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 12:52:55 +00:00
bbaetz%cs.mcgill.ca
478af40f6f 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


git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
kmcclusk%netscape.com
3b82e4dbeb Check for null result from NS_NewURI b=102585 sr=kin r=attinasi
git-svn-id: svn://10.0.0.236/trunk@110336 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 01:41:41 +00:00
dbaron%fas.harvard.edu
de58d41cd9 Fix blocker bug 114675 with null check around assertion code that I meant to check in yesterday (bug 114220).
git-svn-id: svn://10.0.0.236/trunk@110272 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 19:16:15 +00:00
hewitt%netscape.com
e950ac1c5c 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110251 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:13:16 +00:00
dcone%netscape.com
ba0c0cbbea bug=96870 Add methods onto the nsIPresContext for setting and getting the background painting
boolean so printing can turn on and off backgrounds.  r=peterl sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110236 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:57:37 +00:00