7165 Commits

Author SHA1 Message Date
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
bzbarsky%mit.edu
b936f80095 Margin/padding computations need to flush the reflow queue. Bug 173354,
r=caillon, sr=heikki, a=asa.


git-svn-id: svn://10.0.0.236/trunk@132066 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 03:38:52 +00:00
bzbarsky%mit.edu
ae2933d7e3 Missed some of that bustage...
git-svn-id: svn://10.0.0.236/trunk@132058 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 03:07:37 +00:00
bzbarsky%mit.edu
d2e663d620 fixing build bustage...
git-svn-id: svn://10.0.0.236/trunk@132056 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 02:50:06 +00:00
kmcclusk%netscape.com
852a2e2dfc Fix sluggish UI during long page loads from local file or cache on WIN32 by setting plevent performance hint when there is user interaction r=rods sr=kin a=asa @173956
git-svn-id: svn://10.0.0.236/trunk@132055 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 02:13:48 +00:00
dbaron%fas.harvard.edu
b3d24bd19b OK, over from snprintf to PR_snprintf. b=173837
git-svn-id: svn://10.0.0.236/trunk@132005 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:29:58 +00:00
dbaron%fas.harvard.edu
37dfe04a81 Maybe an explicit include of stdio.h will fix the myotonic bustage. b=173837
git-svn-id: svn://10.0.0.236/trunk@132004 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:20:45 +00:00
dbaron%fas.harvard.edu
7f403370a5 Add preference for whether to enable marquee, and set the default to disabled. b=161109 r=caillon sr=bzbarsky a=rjesup
git-svn-id: svn://10.0.0.236/trunk@132001 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:06:57 +00:00
dbaron%fas.harvard.edu
521000f98f Remove unused ability to optionally arena-allocate certain stylesheet objects. b=174256 r=kin sr=bzbarsky a=rjesup
git-svn-id: svn://10.0.0.236/trunk@131998 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 23:57:17 +00:00
dbaron%fas.harvard.edu
795925d5f4 Change sprintf to snprintf to avoid potential for buffer overflow. Untabify surrounding code. b=173837 r=heikki sr=bzbarsky a=rjesup
git-svn-id: svn://10.0.0.236/trunk@131997 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 23:49:48 +00:00
akkana%netscape.com
3fa55ef291 145196: prevent creation of extra blank lines. Fix from burpmaster@truffula.net, r=akkana, sr=jag, a=rjesup
git-svn-id: svn://10.0.0.236/trunk@131984 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 22:07:48 +00:00
bzbarsky%mit.edu
505d37753e Fix crash in nsStyleQuotes copy constructor. Bug 174178, r=caillon,
sr=dbaron, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@131920 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-13 18:55:12 +00:00
darin%netscape.com
10ba1113a1 fixes bug 151478 "https wyciwyg page is cached on disk" r=mstoltz sr=rpotts a=asa
git-svn-id: svn://10.0.0.236/trunk@131775 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 04:22:54 +00:00
heikki%netscape.com
5bee27e8e8 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/trunk@131749 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 00:38:29 +00:00
varga%netscape.com
b1096af2b1 Fixing a typo.
bug 26429.


git-svn-id: svn://10.0.0.236/trunk@131621 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 21:02:52 +00:00
peterv%netscape.com
60144b8c04 Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@131596 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 10:33:27 +00:00
sspitzer%netscape.com
a923a8f3e6 attempting to fix MacOSX/Darwin 5.5 planetoid Depend bustage for sicking, r=cls.
git-svn-id: svn://10.0.0.236/trunk@131590 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 08:06:53 +00:00
sicking%bigfoot.com
8e66ad6d8e bug 64945 stage two.
Prettyprint without modifying the DOM by using an XBL binding. Use viewsource.css for styling. Also refactor a real sync-load service and make transformiix and XBL use it.

r=jkeiser sr=darin


git-svn-id: svn://10.0.0.236/trunk@131580 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 07:03:15 +00:00
bzbarsky%mit.edu
8e9f040f59 Make GetImportantRule and GetISupportsValue return already_AddRefed.
Bug 171808, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@131534 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:59:43 +00:00
bzbarsky%mit.edu
a70a392a2c Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@131531 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:46:15 +00:00
darin%netscape.com
2fdd85166b fixes bug 173278 "Should not prefetch <link rel="alternate">" r=gordon sr=alecf
git-svn-id: svn://10.0.0.236/trunk@131458 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 21:04:25 +00:00
timeless%mac.com
0fcbfe9f2f Bug 173299 change getControlleryById to getControllerById in nsIControllersInterface
r=cmanske sr=kin


git-svn-id: svn://10.0.0.236/trunk@131437 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 18:25:57 +00:00
rods%netscape.com
f94983c561 This patch is a bit different, instead of having the DocShell figure out whether it or one of its children are printing or PP, it gets told whether it is, and it caches that value.
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time.
The patch:
1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP.
2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any
values in the PrintEngine, but now instead makes calls and sets the values in DocShells
3) Cleaned up and add a macro to nsIDocumentViewerPrint
Bug 171161 r=dcone sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@131423 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 13:17:56 +00:00
caillon%returnzero.com
381f006b3e Oops, this got accidentally checked. Backing out.
git-svn-id: svn://10.0.0.236/trunk@131420 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:43:38 +00:00
caillon%returnzero.com
0f7366d6d0 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu
a8ebb4c9a5 Attempt to fix mach-o bustage. b=172207
git-svn-id: svn://10.0.0.236/trunk@131382 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 03:58:32 +00:00
caillon%returnzero.com
1c8e700439 Attempting to fix Windows bustage
git-svn-id: svn://10.0.0.236/trunk@131369 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 03:03:56 +00:00
caillon%returnzero.com
ea24d37b22 More footprint work; Axing the large switch statement in GetPropertyCSSValue()
bug 172207 r=bzbarsky sr=alecf


git-svn-id: svn://10.0.0.236/trunk@131356 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 01:53:31 +00:00
timeless%mac.com
54854bf765 Bug 170441 Build warning caused by checkin for bug 138892
patch by walk84@yahoo.com r=jkeiser sr=jag


git-svn-id: svn://10.0.0.236/trunk@131287 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 04:06:12 +00:00
aaronl%netscape.com
28738c2f51 Fixing extra comma in checking
git-svn-id: svn://10.0.0.236/trunk@131242 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 16:12:44 +00:00
aaronl%netscape.com
2a80196ae6 Bug 28583. Select text field contents when focused, except by mouse click, on certain platforms. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@131241 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 15:39:33 +00:00
bryner%netscape.com
6e21d6290d Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls.
git-svn-id: svn://10.0.0.236/trunk@131219 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 02:49:02 +00:00
hyatt%netscape.com
e5e5ba8be1 Fix for 172545, give datasources the ability to specify icons for XUL trees, r=varga, sr=jag
git-svn-id: svn://10.0.0.236/trunk@131150 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 08:26:36 +00:00
seawood%netscape.com
5b245a4162 Fixing static build bustage caused by checkin for bug 158110.
git-svn-id: svn://10.0.0.236/trunk@131114 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 00:27:14 +00:00
caillon%returnzero.com
6476611c63 Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
r=dbaron sr=alecf


git-svn-id: svn://10.0.0.236/trunk@131084 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 19:41:42 +00:00
rods%netscape.com
1628efa2f4 Removing unwanted part of patch
git-svn-id: svn://10.0.0.236/trunk@131072 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 11:28:48 +00:00
rods%netscape.com
31504c0dab Impl print preview for mail and addrbook
Bug 158110 r=bienvenu sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@131068 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 10:48:59 +00:00
jkeiser%netscape.com
b742025df3 Add CheapSet, reduce select bloat, make blank options restore correctly (bug 166168), r=rjesup@wgate.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@131052 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 03:43:11 +00:00
darin%netscape.com
88943e0691 fixes bug 171102 "prefetch <link rel=prefetch> and only prefetch the first
occurance of <link rel=next>" r=gagan sr=jst


git-svn-id: svn://10.0.0.236/trunk@131048 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 02:53:18 +00:00
dbaron%fas.harvard.edu
90deda8fc9 Use correct interface pointer to fix crash inserting rule into media rule. b=170699 r=glazman sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@131041 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 01:02:13 +00:00
aaronl%netscape.com
60c5ac4eac Bug 81723. Keyboard context menu (Shift+F10/Ctrl+space on mac) should open near focused item. r=pinkerton, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@131040 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 00:47:54 +00:00
dbaron%fas.harvard.edu
34cc78c36a Don't prevent 'display: none' from working on generated content by being overzealous with CSS2 12.1 'display' fixups. At suggestion of Mats Palmgren, split code path between CSS2 9.7 fixups and CSS2 12.1 fixups since the former can't affect generated content and the latter apply only to generated content. r=bzbarsky and mats.palmgren sr=kin b=171749
git-svn-id: svn://10.0.0.236/trunk@131037 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 00:42:16 +00:00
caillon%returnzero.com
8e43539a5c IsCallerChrome() should return a PRBool like the signature says and not an nsresult.
r=cls sr=jst via IRC.  No bug.


git-svn-id: svn://10.0.0.236/trunk@130988 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 08:45:54 +00:00
t_mutreja%yahoo.com
7e0c34de7c Bug#169292(text indentation of <li> elements not corrent for final element)
Patch:t_mutreja@yahoo.com, r= akkana, sr=heikki


git-svn-id: svn://10.0.0.236/trunk@130974 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 07:12:49 +00:00
rods%netscape.com
56640f11ee Have the DV ref coun itself if the the DV is being Clsoed while printing or a pending print.
Bug 165445 r=dcone sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@130927 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 21:57:15 +00:00
kmcclusk%netscape.com
3db5f70791 improve user interactivity during long page loads by doing better detection of user-input and interrupting the parser more frequently. Also moved the WIN32 specific logic for determining when the user is moving a top-level window from plevent.c to the widget module. b=165039 r=rods@netscape.com sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130871 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 03:04:22 +00:00
bryner%netscape.com
c9d184c89b For mousewheel text resizing, ignore HTML form controls and XUL content, to avoid triggering resizing in cases where the user is both ctrl+clicking and scrolling (bug 65355). r=hewitt, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@130866 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 01:28:51 +00:00
bryner%netscape.com
7c046215fe Don't crash if the focus controller is null during a deactivate (bug 168454). r=hewitt, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@130865 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 01:25:00 +00:00
caillon%returnzero.com
4705b76733 171785. Using new CSS_PROP_NOTIMPLEMENTED macro. This should have gone in with the patch to bug 117500 but somehow was left out.
r=dbaron sr=kin/jst


git-svn-id: svn://10.0.0.236/trunk@130848 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 00:13:55 +00:00
dbaron%fas.harvard.edu
6bf02d19fa Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227
git-svn-id: svn://10.0.0.236/trunk@130798 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:46:56 +00:00