3678 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
45b310844b Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@112071 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 15:00:30 +00:00
pierre%netscape.com
1617fcb71c 103594 "Clean up colors prefs code in nsPresShell". Remove PREFS_USE_OVERRIDE, insert the pref sheet at the
beginning of the User level. r=glazman+fantasai/sr-attinasi


git-svn-id: svn://10.0.0.236/trunk@112069 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 14:47:21 +00:00
bzbarsky%mit.edu
df8173369a Change some users of GetAttr to HasAttr instead. Bug 113564, r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@112041 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-13 04:03:52 +00:00
rods%netscape.com
ce2a82ca0c This enables platforms to set a pref as to whether they allow print from print preview.
Bug 118623 r=roland sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@112025 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 12:58:46 +00:00
rods%netscape.com
525bcc3d53 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


git-svn-id: svn://10.0.0.236/trunk@112021 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 12:31:05 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
hewitt%netscape.com
72a8b46e4a 70858 - [XUL 1.0] Implement <listbox>, r=evaugahn, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111995 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 01:18:10 +00:00
dbaron%fas.harvard.edu
307538c3e3 Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111960 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 20:10:46 +00:00
dbaron%fas.harvard.edu
f071fe9f2c Fix background painting as the default color while leaving a page. b=118867 r=sfraser sr=jst
git-svn-id: svn://10.0.0.236/trunk@111952 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:38:21 +00:00
rods%netscape.com
ce096ce41e 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


git-svn-id: svn://10.0.0.236/trunk@111940 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 11:59:00 +00:00
brade%netscape.com
9de532d67f remove unused statics kEventQueueServiceCID, kEventQueueService and kScrollingViewCID for gain of 48 bytes (bug 117927; r/sr=jst,darin)
git-svn-id: svn://10.0.0.236/trunk@111809 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:05:55 +00:00
rbs%maths.uq.edu.au
13b4696963 Grab a low hanging perf fruit by switching to an API that doesn't copy the font, b=118918, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111752 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 00:04:35 +00:00
dbaron%fas.harvard.edu
8897c8f5b7 Backing out Bernd's checkin for bug 110596 to fix crashes / weird display. b=118991 r=bernd
git-svn-id: svn://10.0.0.236/trunk@111718 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 19:17:46 +00:00
brade%netscape.com
5028888db3 remove unused statics kCRangeCID, kCClipboardCID, kCTransferableCID, and kHTMLConvertCID for savings of 64 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111705 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:52:36 +00:00
brade%netscape.com
c834c500ad remove unused statics kHTMLImageElementCID and kIStyleFrameConstructionIID saving 32 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111700 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:45:50 +00:00
brade%netscape.com
813522188b remove/comment out unused statics kTextEncoderCID and kUBidiUtilCID (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111691 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:37:11 +00:00
aaronl%netscape.com
d7044d9fdc Last part of fix for bug 118633 - null frame checks. r=jgaunt, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@111659 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 10:53:57 +00:00
dbaron%fas.harvard.edu
b152ba9386 Fix crash on certain pages. b=118829 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111634 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:36:49 +00:00
dbaron%fas.harvard.edu
7a38a8af9d Remove unused and incorrect code, clean up some other similar code. b=116301 r=jag sr=jst
git-svn-id: svn://10.0.0.236/trunk@111572 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 15:13:02 +00:00
dbaron%fas.harvard.edu
12b1cb7058 Remove bogus/noisy assertion. b=118676 / 116161
git-svn-id: svn://10.0.0.236/trunk@111549 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 04:11:25 +00:00
rods%netscape.com
83e05b8638 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


git-svn-id: svn://10.0.0.236/trunk@111524 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:17:40 +00:00
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