dbaron@fas.harvard.edu
a25b5af54a
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
8162550ac3
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
630cbb49ba
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
cedf05843b
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
d7ebbb7e37
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
6c47747442
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
cac0aa3913
#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
d1856f6f91
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
49ccb8e11d
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
9938bc4eee
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
8c71fdace7
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
70ff708830
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
052f20af8e
Partial back of check to look for bloat
2002-01-03 11:28:48 +00:00
rods@netscape.com
1c6b4a35ee
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
389657361a
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
978a72ddc5
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
3ec37dec00
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
6012ed93f7
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
ec84f6df1b
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
e6c442d8be
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
08974c4b75
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
6b4c727ec3
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
2605bce49e
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
20bef5521a
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
58d409fba9
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
c491d7fbef
bug 99010 - font changes. r=attinasi@netscape.com, sr=waterson@netscape.com
2001-09-27 18:34:30 +00:00
pavlov@netscape.com
3a5d625d26
fixing bug 78690. removing old imagelib. r=jst sr=waterson
2001-08-09 20:22:39 +00:00
hyatt@netscape.com
4aabcd756f
Fix for 90081, r=dbaron, sr=attinasi
2001-07-25 06:33:06 +00:00
dbaron@fas.harvard.edu
a9aa77073f
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
dbaron@fas.harvard.edu
c4ea93125a
Prevent quirk stylesheet from applying to XML documents. b=87281 r,sr in {hyatt,attinasi}
2001-06-27 02:25:47 +00:00
mkaply@us.ibm.com
7f3b9d1d71
#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
dfdfa14592
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
mkaply@us.ibm.com
9e47f04b30
#76020
...
r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly
2001-05-20 22:49:34 +00:00
ftang@netscape.com
2c9616ef62
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
mkaply@us.ibm.com
87711bebfa
Fix most senna REQUIRES bustage
...
We don't need to include nsIUBidiUtils.h in nsIPresContext.h
Also saves tons of interdependency between components
Also removing IBM spam while I'm here
2001-05-10 22:05:38 +00:00
erik@netscape.com
47e7c7534a
bug 75066; author=simon@softel.co.il; r=jst; sr=erik; this change addresses
...
a comment made during the review of 75066 (nsBidiOptions -> PRUint32)
2001-04-13 21:50:54 +00:00
rods@netscape.com
41b006b7e1
Implements Print FrameAsIs and other frame printing options
...
Bug 7201 r=dcone sr=attinasi
2001-04-12 13:04:29 +00:00
aaronl@chorus.net
aba3b9dd20
Implemented focus appearance prefs. bug 74225, r=rods, sr=attinasi
2001-04-09 22:17:11 +00:00
rods@netscape.com
5172ab6e59
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
d53866c9ff
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
b60f0dcc66
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
hyatt@netscape.com
5c0a41d7fe
Fix for 67739. r=pierre,attinasi sr=ben
2001-02-15 21:24:47 +00:00
rods@netscape.com
a1ed5b3a4f
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
dcone@netscape.com
0cd9c80264
Added nsIPrintContext interface.
...
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster
2001-01-08 20:26:05 +00:00
attinasi@netscape.com
bc9d8c5e56
Implemented the backend for the following prefs: Override Document colors, Override document fonts, Link and Visited link colors, and Underline links. Provided the ability to disable the preferences as well, so Composer can show changed fonts and colors. These changes are stewing on the trunk for a day or so before making their debut on the branch. b=40340, r=karnaze,pierre a=buster
2000-10-11 08:33:01 +00:00
evaughan@netscape.com
8d07ff15f9
fix for bug #52663
...
-r hyatt -a waterson
2000-09-21 01:20:00 +00:00
erik@netscape.com
a8fc46821a
bug 4238; r/a=ftang,buster,waterson; added language specific transform type
...
getter to nsIPresContext so that we can do things like U+005C -> U+00A5
(backslash -> yen sign)
2000-09-20 22:59:20 +00:00
jst@netscape.com
1bab647721
Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com
2000-09-01 07:05:08 +00:00
sfraser@netscape.com
e5ecb51bc0
WIP for bug 33810 -- add an image animation enum, and getters and setters in the pres context
2000-05-13 01:39:20 +00:00
erik@netscape.com
8a9acc421c
bug 26237; added support for HTML LANG attribute -- it now uses the fonts
...
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre
2000-05-05 21:04:36 +00:00