bryner%brianryner.com
05a0e4f624
Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
2004-02-02 22:17:21 +00:00
bryner%brianryner.com
f67839e02e
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
2004-02-01 10:09:07 +00:00
bryner%brianryner.com
0ea3c127ae
Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron.
2004-01-31 22:41:40 +00:00
bryner%brianryner.com
fd6fed0d82
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
2004-01-28 00:18:22 +00:00
bryner%brianryner.com
290494e26b
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
2004-01-21 09:35:59 +00:00
bryner%brianryner.com
9c81944cb6
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
bryner%brianryner.com
73561d1e28
Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky.
2003-12-26 04:24:11 +00:00
bryner%brianryner.com
5aeafaa8a6
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
7264501b7b
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
bzbarsky%mit.edu
8b1b76c827
Clarify when ReParentStyleContext should be called and remove more bogus style
...
parentage warnings. Bug 217225, r+sr=dbaron
2003-11-13 04:31:04 +00:00
bzbarsky%mit.edu
92ccceaf8d
Add pref for the default :active styling. Bug 142163, patch by
...
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
dbaron%dbaron.org
19a12727ec
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
2003-10-01 22:53:56 +00:00
dbaron%dbaron.org
dd1e351344
Add inline accessors for frame manager. b=208190 r+sr=roc
2003-07-12 00:48:16 +00:00
dbaron%dbaron.org
815131809e
Begin deCOMtamination of central objects by adding inline getters to get from one object to another. b=208190 r=roc sr=bzbarsky
2003-06-19 18:16:53 +00:00
alecf%flett.org
5614718dd3
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
dbaron%dbaron.org
0bc39dd4ff
Remove some code left over from old native form controls. b=205575 r+sr=roc a=asa
2003-05-14 22:36:33 +00:00
peterv%netscape.com
b3d575fd9b
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
dbaron%dbaron.org
e2875e8fee
Replace the broken (since it can return destroyed data) ResolveStyleContextAndGetStyleData with GetXBLBindingURL. b=193847 r+sr=bzbarsky
2003-02-23 17:20:15 +00:00
bryner%netscape.com
cc390fbe51
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
bryner%netscape.com
26d5c6ff25
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +00:00
caillon%returnzero.com
7ca2c28686
Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
2002-12-11 05:11:02 +00:00
caillon%returnzero.com
28a20c3eb6
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
...
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
dbaron%fas.harvard.edu
958f91e6b7
Miscellaneous performance improvements, mostly related to image loads. Cache a copy of the IO service on the Pres Context for use in starting image loads. b=170116 r=darin sr=bzbarsky
2002-11-06 12:58:05 +00:00
caillon%returnzero.com
9bf1dad628
Bug 161184. Shrink nsIPresContexts by moving some default value settings out of it and into StyleStructs where they belong.
...
r=bzbarsky sr=dbaron
2002-08-07 07:39:34 +00:00
jkeiser%netscape.com
66fb3b91cf
Output a JS warning when a web developer does the wrong form sub attributes (bug 158927), r=rods, sr=bryner
2002-08-06 04:26:35 +00:00
dbaron%fas.harvard.edu
2bf216c9e2
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu
d558717301
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
kmcclusk%netscape.com
2d6ba0cfd1
Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc
2002-06-04 17:47:54 +00:00
hwaara%chello.se
a0d09a41a8
#109291 , "document.*Color is empty".
...
Fix our DOM color properties to work like on other browsers. For example, when no body bgcolor is explicitely specified, we will return the default bgcolor instead of just returning null. Same thing with text color, visited link color etc.
r=fabian, sr=jst
2002-05-06 21:58:10 +00:00
dbaron%fas.harvard.edu
93f1c722f2
Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
2002-03-31 16:59:00 +00:00
dbaron%fas.harvard.edu
95771efc1f
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 22:26:36 +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
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
rods%netscape.com
b45789e738
Putting changes back in. This wasn't the cause of the slower page loads
2002-01-03 13:23:47 +00:00
rods%netscape.com
69e5a9f10c
Partial back of check to look for bloat
2002-01-03 11:28:48 +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
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
dcone%netscape.com
cdb788eaa8
b=114957 r=rods sr=attinas a=asa Put declarations outside of ifdef. Fixes some linux optimized builds.
2001-12-14 02:25:48 +00:00
dcone%netscape.com
783f0fd8ff
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
2001-12-11 05:57:37 +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
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
dbaron%fas.harvard.edu
4d5cf31505
Additional cleanup after bug 56117: prevent :first-letter from leading to style resolution on text nodes and stop all style resolution for placeholder frames (formerly :placeholder-frame pseudo-element) and for text following a :first-line pseudo-element (formerly :-moz-letter-frame pseudo-element). b=107534 r=waterson, attinasi sr=hyatt
2001-10-31 02:53:47 +00:00
rbs%maths.uq.edu.au
f67bb3c2d5
bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
2001-10-30 22:58:00 +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
dougt%netscape.com
5fe12c09e7
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-23 01:37:21 +00:00
vidur%netscape.com
338e3871f8
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
gerv%gerv.net
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
rbs%maths.uq.edu.au
0c4973fd22
bug 99010 - font changes. r=attinasi@netscape.com, sr=waterson@netscape.com
2001-09-27 18:34:30 +00:00
pavlov%netscape.com
b72c324af1
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2001-08-09 20:22:39 +00:00
hyatt%netscape.com
04fb853f1a
Fix for 90081, r=dbaron, sr=attinasi
2001-07-25 06:33:06 +00:00