Commit Graph

376 Commits

Author SHA1 Message Date
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
rods@netscape.com
526976891e Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
erik@netscape.com
62a48c51e7 bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only; also
factored some code to reduce duplication; r=pierre,troy
2000-04-02 21:52:17 +00:00
mkaply@us.ibm.com
72661c1231 # 24199
r= pierre@netscape.com
BiDi - ability to change the default direction of the browser
2000-03-21 15:51:59 +00:00
tbogard@aol.net
1c7bf629cf nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
rods@netscape.com
a13c5c5b73 Added "const" infront of the arg for SetDefaultFont and SetDefaultFixedFont
r=pierre b=905
2000-01-25 14:33:03 +00:00
dmose@mozilla.org
796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
peterl@netscape.com
e5ddf7d01a added look and feel accessor to pres context 1999-09-10 05:51:08 +00:00
peterl@netscape.com
60c7404515 added reparent style context 1999-09-03 23:35:41 +00:00
pierre@netscape.com
9e5067f4cd breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
kmcclusk@netscape.com
1e6157fdaf nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
warren@netscape.com
753ac43fff Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
buster@netscape.com
2bd406b2b7 added support for getting and setting default background and font info 1999-06-12 22:31:57 +00:00
pinkerton@netscape.com
3aaa79edc9 added GetIID() method. 1999-04-30 08:59:11 +00:00
kipp@netscape.com
be5bb1b179 Revised image loading apis 1999-04-13 21:48:49 +00:00
kmcclusk@netscape.com
73485522a4 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
kipp@netscape.com
75fb2e0d80 Added in desired-size to image loading request 1999-02-26 17:01:34 +00:00
kipp@netscape.com
74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00