bzbarsky%mit.edu
25b77232c7
Fix crash on closing windows that are in the middle of loading standalone
...
images. Bug 202895, r=bryner, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@141771 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-24 22:44:48 +00:00
bzbarsky%mit.edu
2fbc7d38bb
Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
...
type="image"> into the content nodes and out of nsImageFrame. r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@139743 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 03:47:09 +00:00
dbaron%dbaron.org
3b86a016bb
Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830
...
git-svn-id: svn://10.0.0.236/trunk@139034 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:07:22 +00:00
dbaron%dbaron.org
896d468ce7
Replace the broken (since it can return destroyed data) ResolveStyleContextAndGetStyleData with GetXBLBindingURL. b=193847 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138299 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 17:20:15 +00:00
bryner%netscape.com
c44337949a
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.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
bryner%netscape.com
6278746fdf
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.
...
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
a53a959416
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136009 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:07:51 +00:00
roc+%cs.cmu.edu
8293c257e0
Bug 173072. Ensure that after styles are cleared, we reexecute any work that could depend on the cleared style structs, to ensure a later CalcStyleDifference will not ignore a style struct we really depend on. r+sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@135301 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 16:18:57 +00:00
caillon%returnzero.com
d751688cb9
Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
...
git-svn-id: svn://10.0.0.236/trunk@135111 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:11:02 +00:00
caillon%returnzero.com
6b60a8affb
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
...
r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
bzbarsky%mit.edu
f63931169a
Fix crash closing prefs. Bug 150769, r=alexsavulov, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@133236 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 00:59:25 +00:00
dbaron%fas.harvard.edu
7c66f307dd
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
...
git-svn-id: svn://10.0.0.236/trunk@133149 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 12:58:05 +00:00
colin%theblakes.com
254d42cfbb
Fix misplaced #include. b=174527, r=caillon, sr=bzbarsky, a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@132047 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 23:40:38 +00:00
rpotts%netscape.com
c3234b594f
bug #93015 (r=darin/sr=jst) First patch that cleans up imglib use of LoadFlags and channel attributes...
...
git-svn-id: svn://10.0.0.236/trunk@129968 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 22:08:12 +00:00
mjudge%netscape.com
d412f97810
14835 r=pavlov sr=sfraser alpha blending on images to denote selection.
...
git-svn-id: svn://10.0.0.236/trunk@129222 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 03:03:49 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
jkeiser%netscape.com
6c53305c36
Fix uninitialized variable crash (bug 160656). Patch by ramon_garcia_f@yahoo.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@128314 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 00:18:27 +00:00
caillon%returnzero.com
d16eaa61f6
Bug 161184. Shrink nsIPresContexts by moving some default value settings out of it and into StyleStructs where they belong.
...
r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@126644 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 07:39:34 +00:00
jkeiser%netscape.com
80534a3082
Output a JS warning when a web developer does the wrong form sub attributes (bug 158927), r=rods, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@126430 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 04:26:35 +00:00
dbaron%fas.harvard.edu
7c4652cc16
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
...
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
kmcclusk%netscape.com
eb567220f1
Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@122677 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 17:47:54 +00:00
dbaron%fas.harvard.edu
36706675ec
Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
...
git-svn-id: svn://10.0.0.236/trunk@122112 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 23:09:31 +00:00
bzbarsky%mit.edu
f67369b089
Text zoom should reflow the viewport, otherwise fixed-pos elements don't
...
get reflown correctly. Bug 51578, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120194 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 13:46:29 +00:00
dbaron%fas.harvard.edu
94075d45c2
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
...
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
dbaron%fas.harvard.edu
4d91361814
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
bryner%netscape.com
b59df2a97b
Don't crash when the user changes OS themes (bug 129314). This avoids reconstructing the rule tree, which is unnecessary and currently buggy. r=pinkerton, sr=hyatt, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@116111 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 00:53:04 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
dcone%netscape.com
57f590a5d8
b=127042 Fix background printing.. print preview image loading. r=pavlov sr=kin a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@115210 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 05:41:27 +00:00
pavlov%netscape.com
ee5bd6103b
bug 125713 sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@115094 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:44:35 +00:00
dcone%netscape.com
8944f478a1
b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
...
git-svn-id: svn://10.0.0.236/trunk@114597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:48:12 +00:00
pavlov%netscape.com
1fe130f902
Fixing bug 84654. r=bryner sr=sfraser. image blocking should not block backgrounds if you use it
...
git-svn-id: svn://10.0.0.236/trunk@114539 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:31:54 +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
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
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
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
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
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
rods%netscape.com
3d51ca2366
trying again to fix the bustage on the ports
...
git-svn-id: svn://10.0.0.236/trunk@108060 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 14:44:34 +00:00
rods%netscape.com
bdd0f4956c
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
git-svn-id: svn://10.0.0.236/trunk@108058 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 14:03:09 +00:00
rods%netscape.com
2c256afb90
Fix breakage on SunOS and IRIX
...
git-svn-id: svn://10.0.0.236/trunk@108049 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 12:43:53 +00:00
rods%netscape.com
598f28dd63
The PresContext must walk the content tree and find all the images and turn them back "on" for animation
...
It must also walk it's own list that contains the background images
Bug 2586 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108045 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 11:21:54 +00:00
rods%netscape.com
1100db8190
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
git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
mkaply%us.ibm.com
a5c93a02d6
#88100
...
r=simon@softel.co.il , sr=blizzard
Hookup Bidi preferences
git-svn-id: svn://10.0.0.236/trunk@106931 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 05:49:45 +00:00
rbs%maths.uq.edu.au
410c9e51f2
bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@106728 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:58:00 +00:00
dbaron%fas.harvard.edu
9b135c4afe
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
...
git-svn-id: svn://10.0.0.236/trunk@106640 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:02:05 +00:00
jaggernaut%netscape.com
d2ae5f0ae2
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@106463 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:43:56 +00:00
dougt%netscape.com
cf60fc042e
nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
...
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
pierre%netscape.com
54f09f85f4
97534 "classic: after changing text color, text [labels] in dialogs/chrome also changed in color". Added GetDocumentColorPreferences() and call it when we set the container (chrome/content) on the presContext. r=dbaron / sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@105566 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:59:25 +00:00
vidur%netscape.com
ec7aeceee0
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
...
git-svn-id: svn://10.0.0.236/trunk@104221 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 17:50:15 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00