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
jst%mozilla.jstenback.com
8aa7b563d2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
1c89273d3a
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
bzbarsky%mit.edu
874126b90f
Don't bother reresolving style when empty stylesheets get added (eg from empty
...
<style> elements). Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected. Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
roc+%cs.cmu.edu
6739b8a3b5
Ongoing deCOMtamination. r+sr=dbaron
2003-07-02 10:30:00 +00:00
jst%netscape.com
e7966722ca
Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org
2003-06-24 01:46:50 +00:00
dbaron%dbaron.org
adce84c7af
Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
2003-06-19 23:52:58 +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
dbaron%dbaron.org
83af5aded6
Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
2003-06-18 01:59:57 +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
bzbarsky%mit.edu
72e0408923
Use the cached IOService pointer when loading background images. Bug 123401,
...
r=dougt, sr=dbaron
2003-06-14 18:49:28 +00:00
caillon%returnzero.com
ba75de772b
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
alecf%flett.org
ccf01a2786
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
dbaron%dbaron.org
a15b9f2cf4
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +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
bzbarsky%mit.edu
0be798cdfe
Fix crash on closing windows that are in the middle of loading standalone
...
images. Bug 202895, r=bryner, sr=jst, a=asa
2003-04-24 22:44:48 +00:00
bzbarsky%mit.edu
1bfea66b89
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
2003-03-19 03:47:09 +00:00
dbaron%dbaron.org
3c6ce196c4
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
2003-03-06 19:07:22 +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
dbaron%dbaron.org
72b937ea79
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 21:07:51 +00:00
roc+%cs.cmu.edu
176fd20954
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
2002-12-14 16:18:57 +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
bzbarsky%mit.edu
eb53b2ccb1
Fix crash closing prefs. Bug 150769, r=alexsavulov, sr=dbaron
2002-11-07 00:59:25 +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
colin%theblakes.com
da5a0cf386
Fix misplaced #include. b=174527, r=caillon, sr=bzbarsky, a=shaver
2002-10-15 23:40:38 +00:00
rpotts%netscape.com
5f1a7097d8
bug #93015 (r=darin/sr=jst) First patch that cleans up imglib use of LoadFlags and channel attributes...
2002-09-18 22:08:12 +00:00
mjudge%netscape.com
9b2ec88fda
14835 r=pavlov sr=sfraser alpha blending on images to denote selection.
2002-09-11 03:03:49 +00:00
dougt%netscape.com
c5e8f896cd
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
jkeiser%netscape.com
01e040b718
Fix uninitialized variable crash (bug 160656). Patch by ramon_garcia_f@yahoo.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
2002-08-28 00:18:27 +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
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
dbaron%fas.harvard.edu
8b60dd54d6
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
2002-05-23 23:09:31 +00:00
bzbarsky%mit.edu
276756d187
Text zoom should reflow the viewport, otherwise fixed-pos elements don't
...
get reflown correctly. Bug 51578, r=dbaron, sr=waterson
2002-04-29 13:46:29 +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
bryner%netscape.com
38783bc81e
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.
2002-03-08 00:53:04 +00:00
darin%netscape.com
026dda9f95
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
dcone%netscape.com
0ab7db37e8
b=127042 Fix background printing.. print preview image loading. r=pavlov sr=kin a=dbaron
2002-02-22 05:41:27 +00:00
pavlov%netscape.com
be12b35830
bug 125713 sr=brendan
2002-02-20 07:44:35 +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
pavlov%netscape.com
0a8adff71b
Fixing bug 84654. r=bryner sr=sfraser. image blocking should not block backgrounds if you use it
2002-02-14 23:31:54 +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
timeless%mac.com
711739d601
Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
...
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
hyatt%netscape.com
243d724659
missed a file in my checkin for 115787.
2001-12-19 02:49:14 +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
nhotta%netscape.com
0d68845a5f
Changed nsPresContext::Observe, added code to flush font and reflow in case of charset change,
...
bug 103282, r=smontagu, sr=attinasi.
2001-12-14 23:13:28 +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
948dcb8707
trying again to fix the bustage on the ports
2001-11-14 14:44:34 +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
93e8c2bfd7
Fix breakage on SunOS and IRIX
2001-11-14 12:43:53 +00:00
rods%netscape.com
5b60fc8be5
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
2001-11-14 11:21:54 +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
mkaply%us.ibm.com
78f064aed1
#88100
...
r=simon@softel.co.il , sr=blizzard
Hookup Bidi preferences
2001-11-01 05:49:45 +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
jaggernaut%netscape.com
5a37c44786
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
2001-10-27 07:43:56 +00:00
dougt%netscape.com
da7e1268bd
nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
2001-10-19 20:52:59 +00:00
pierre%netscape.com
ed32c1dd9d
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
2001-10-16 23:59:25 +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
rjesup%wgate.com
b3f93c53a1
Backout of commits for bug 97299. This causes assertions, which means we
...
missed some spots where name was getting set.
2001-09-24 15:26:39 +00:00
rjesup%wgate.com
9c4abfe094
Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi
2001-09-24 07:35:04 +00:00
valeski%netscape.com
ac33036169
r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
2001-09-05 21:28:38 +00:00
sfraser%netscape.com
b381763fe1
Fix for 94373: avoid 'PrefChangedCallback' as a function name in global scope, to avoid problems in static build. r=attinasi, sr=blake
2001-08-17 01:14:21 +00:00
yokoyama%netscape.com
b933932240
Bug fix 91250:
...
Adding a return Boolean from nsIFontEnumerator::UpdateFontList()
to identify if the font lang group has changed from
receiving the WM_FONTCHANGE msg.
/r=rbs;/sr=brendan
2001-08-14 02:32:10 +00:00
mkaply%us.ibm.com
a5098dbef7
OS/2 bustage - need PR_CALLBACK
2001-08-10 11:57:42 +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
peterlubczynski%netscape.com
638a2fb97b
Only flush the font cache and don't do a reframe for font.internaluseonly.changed
...
Fix for 3D Groove not working on Win32, bug 89493, patch by attinasi r=peterl sr=waterson
2001-07-11 03:44:35 +00:00
jaggernaut%netscape.com
03ab87e4a1
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
mkaply%us.ibm.com
2bc2891d50
#81293
...
r=ftang, sr=blizzard, a=asa (drivers)
Bidi function shouldn't be using nsAutoString as parameter
2001-06-22 09:56:05 +00:00
hyatt%netscape.com
2bf7260d28
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
valeski%netscape.com
fc50f8ba21
sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API.
2001-05-21 22:40:10 +00:00
mkaply%us.ibm.com
776fc9a129
#76020
...
r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly
2001-05-20 22:49:34 +00:00
ftang%netscape.com
36ab05611e
fix bug 80552 r=ftang r/sr=jst
...
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
bnesse%netscape.com
55f46d5b73
Fix for broken color preferences. bug 77828. r=sfraser, sr=alecf.
2001-05-08 01:40:09 +00:00
bnesse%netscape.com
19dccef1bc
Prefs API refactoring. Bug #46863 . r=valeski, sr=alecf.
2001-04-26 18:41:11 +00:00
bryner%uiuc.edu
cbc8cea88c
Backing out bnesse's fix for bug 46863 due to numerous types of runtime bustage on linux and windows. a=brendan.
2001-04-20 06:45:56 +00:00
bnesse%netscape.com
6a048b1a8f
Landing PrefAPI refactoring bug 46863. r=valeski, sr=alecf, a=blizzard.
2001-04-19 22:21:39 +00:00
erik%netscape.com
20f096a90b
bug 75066; author=simon@softel.co.il; r=jst; sr=erik; this change addresses
...
a comment made during review of 75066 (nsBidiOptions -> PRUint32)
2001-04-13 21:54:17 +00:00
ftang%netscape.com
8b45850340
fix IBMBIDI build bustage
2001-04-13 13:52:08 +00:00
aaronl%chorus.net
57c1ab8f3a
Implemented focus appearance prefs. bug 74225, r=rods, sr=attinasi
2001-04-09 22:17:11 +00:00
aaronl%chorus.net
a693d0933f
Make sure visual prefs force reframe
2001-03-29 07:16:06 +00:00
valeski%netscape.com
a8e9bc5bd5
sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api
2001-03-13 02:02:05 +00:00
rods%netscape.com
fe6f8fcf66
Display frame reflow counts (turned via config file define)
...
Bug 71514 r=kmclusk sr=attinasi
2001-03-13 01:47:22 +00:00
erik%netscape.com
ca75151209
bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
...
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:13:03 +00:00
rods%netscape.com
6059a83cca
Added additional reflow count info on a frame by frame basis
...
Bug 69361 r=attinasi sr=waterson
2001-02-22 13:58:17 +00:00
heikki%netscape.com
fa72c631ce
Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
2001-02-19 21:50:04 +00:00
hyatt%netscape.com
093c9c2e71
Fix for 67739. r=pierre,attinasi sr=ben
2001-02-15 21:24:47 +00:00
gagan%netscape.com
cded3e2f30
Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org
2001-01-31 01:33:03 +00:00
mkaply%us.ibm.com
6f0ce83043
#60160
...
r=blake, sr=alecf
Remove Win32 specific code for system colors - make it XP using nsLookAndFeel
2001-01-30 04:41:49 +00:00
rods%netscape.com
9c6f7ccade
This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
...
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
akkana%netscape.com
c9a065cce8
17686: Add a pref to control image animation. r=tor, sr=buster
2001-01-09 23:55:27 +00:00