Граф коммитов

190 Коммитов

Автор SHA1 Сообщение Дата
erik%netscape.com a6910ae277 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 1aa32a46e8 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 5c811dfbf3 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 6d784c14e8 Fix for 67739. r=pierre,attinasi sr=ben 2001-02-15 21:24:47 +00:00
gagan%netscape.com 79713bc4c2 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 2650fd00d4 #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 99666eed8c 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 204fa06e11 17686: Add a pref to control image animation. r=tor, sr=buster 2001-01-09 23:55:27 +00:00
rods%netscape.com edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu caa9658024 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
attinasi%netscape.com f959a038e4 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
dougt%netscape.com 4de121dc63 Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com 2000-10-01 05:24:00 +00:00
evaughan%netscape.com 5b64afc9de Fix for startup bug
-r waterson
2000-09-21 20:17:04 +00:00
evaughan%netscape.com d0813c7d8d fix for bug #52663
-r hyatt -a waterson
2000-09-21 01:20:00 +00:00
erik%netscape.com ea79a343dc 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
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
jst%netscape.com 7aa7ed7f6d 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
anthonyd%netscape.com fed5192eba nsPresContext.cpp : added to comment to presContext::GetLookAndFeel to inform others that
that method has been depricated.
nsTextFrame.cpp : changed an assert to a warning, didnt need to be an assert.
r: mjudge@netscape.com
2000-08-03 22:30:47 +00:00
anthonyd%netscape.com 940be572c5 bug fixes:
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 -  nsLookAndFeel needs to be a service.
r: mjudge@netscape.com, kin@netscape.com
a:beppe
2000-07-28 22:12:45 +00:00
pierre%netscape.com 06405d62b3 #31136 (Rename prefs from "browser.xxx" to "browser.display.xxx"). Final and trivial touch to the larger fix from mcafee. 2000-06-22 05:41:11 +00:00
attinasi%netscape.com db3aa75e08 Implemented Style Context Data sharing, reducing the amount of memory used in style by about 40%. Performance will degrade by about 10%, that is being worked on now. b=39618 r=waterson 2000-06-21 20:44:59 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
attinasi%netscape.com c115636333 Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze 2000-06-02 21:45:06 +00:00
erik%netscape.com c4a95c3643 bug 32206; become an observer of nsIDocument's charset changes; r=buster;
a=ftang
2000-06-01 23:12:26 +00:00
mcafee%netscape.com 6eb88c1a84 Renaming prefs to live in the browser.display namespace: background_color, foreground_color, use_document_fonts, use_document_colors, base_font_scaler, wfe.use_windows>colors, screen_resolution. r=alecf, a=chofmann (31136) 2000-05-18 03:19:00 +00:00
shaver%mozilla.org 4cba4b2b13 more work on content-policy, r=brendan 2000-05-15 22:05:45 +00:00
sfraser%netscape.com 4919f300cb 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 0f1eec05eb 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
evaughan%netscape.com 3e33f5b852 1) StyleChange coelescing
2) Warning fixes
3) Table fixes
2000-04-25 07:10:48 +00:00
rods%netscape.com 21de9f3e8a Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
scc%netscape.com c5c503948f making string conversions explicit 2000-04-03 11:20:35 +00:00
erik%netscape.com 72dbd2f6e8 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
erik%netscape.com 8b683ddda9 lang group table has been moved to proper place under mozilla/intl;
switching calls to that API; minor change; r=none
2000-03-27 04:51:12 +00:00
mkaply%us.ibm.com 38d09a352a # 24199
r= pierre@netscape.com
BiDi - ability to change the default direction of the browser
2000-03-21 15:51:59 +00:00
alecf%netscape.com dd033ea491 fix for #29304 r=pierre a=jar
only register against the browser.* preferences that layout actually cares about, to improve startup performance
2000-03-03 22:39:31 +00:00
tbogard%aol.net 4eec4fb506 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
erik%netscape.com 6cecf95bf9 bug 18136; changing default size for fixed width font to 13px; r=pierre;
a=rickg
2000-02-25 23:01:36 +00:00
mscott%netscape.com 23a00a46c6 This is one of those do the right thing bugs even though I don't have a PDT+ bug for it. Travis and I noticed
today that image urls weren't properly getting added to the doc loader of the containing document. So the top
level document would report a document done notification before the document may really be done.

The fix is to pass the load cookie nsISupports object which originates from the docshell that is opening the
url down into the gfx image code instead of passing the load group down.

r=travis.
2000-02-15 04:49:32 +00:00
rods%netscape.com d770d65d07 Added "const" infront of the arg for SetDefaultFont and SetDefaultFixedFont
r=pierre b=905
2000-01-25 14:33:03 +00:00
erik%netscape.com df89d2e093 bug 24355; Fixed Width Font too large in documents with text fields,
e.g. Bugzilla; going back to the old Variable bigger than Fixed way;
r=ftang; a=chofmann
2000-01-20 01:20:11 +00:00
erik%netscape.com 86706b24f4 bug 8801; use same default size for all generics (serif, monospace, etc);
set default size to 16px; allow pref to be specified in either px or pt;
as discussed in mozilla.layout; r=ftang
2000-01-15 16:30:13 +00:00
erik%netscape.com 272bb4dd79 bug 8801; automatically reflow document(s) when font prefs change;
r=ftang
2000-01-12 16:10:48 +00:00
erik%netscape.com 6fbec1d0f1 bug 8801; added some code to pick up font size prefs from prefs file(s);
r=ftang; a=chofmann
1999-12-09 22:44:47 +00:00
erik%netscape.com bd0bf11aae bug 8801; adding new font prefs implementation; r=ftang 1999-12-07 23:27:52 +00:00
tbogard%aol.net af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
buster%netscape.com 6d8e2f2301 found a tiny bug, possible uninitialized variable. fixed it along with work for:
moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:29:13 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
cls%seawood.org bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com 65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com 8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
kipp%netscape.com de44833a85 Added in ctor/dtor counting 1999-10-05 14:53:40 +00:00
kipp%netscape.com 6b151c623e backed out dps erroneous fix 1999-10-05 01:44:35 +00:00
dp%netscape.com 82c29aa82a Fixing build bustage. 1999-10-05 01:25:55 +00:00
kipp%netscape.com d47f06d32d r=troy; missed checkin from last weeks module carpool 1999-10-04 23:56:57 +00:00
nisheeth%netscape.com 3685df8b69 Move implementation of nsITimeRecorder from the pres context to the style set. 1999-09-20 06:53:40 +00:00
rpotts%netscape.com f7a23e30ca Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:34:24 +00:00
slamm%netscape.com 5e096d00eb Add newline to file. 1999-09-18 02:19:47 +00:00
nisheeth%netscape.com 7b40327a78 Make nsPresContext implement the nsITimeRecorder interface. This interface is used by the pres shell to tell the pres context to stop the stopwatch that measures time spent in style resolution. 1999-09-17 20:32:45 +00:00
troy%netscape.com f521d3ac1b Fix for bug #13780. Added NULL pointer check to PreferenceChanged() 1999-09-14 22:16:42 +00:00
dcone%netscape.com 49a95cf8c8 Turned on the Mac GFX Widget code 1999-09-14 21:32:27 +00:00
peterl%netscape.com e76b661939 added look and feel accessor to pres context 1999-09-10 05:51:08 +00:00
kmcclusk%netscape.com 541c8bfb5d Changed widget rendering mode default from partial-gfx to gfx for Linux and WIN32. 1999-09-09 19:43:27 +00:00
peterl%netscape.com b5b37d859e added reparent style context 1999-09-03 23:35:41 +00:00
kmcclusk%netscape.com 3bfabeee91 Backing out to PartialGfx instead of full Gfx mode. 1999-08-20 18:57:32 +00:00
kmcclusk%netscape.com c0fde0b47a bug #5944, Changed default widget rendering mode from PartialGfx to Gfx 1999-08-19 22:38:44 +00:00
peterl%netscape.com 7e4e82dade added note 1999-08-08 01:14:50 +00:00
kmcclusk%netscape.com 9716e9ec80 Enable PartialGfx rendering as the default widget rendering mode. 1999-07-21 23:12:23 +00:00
kmcclusk%netscape.com af9e15b5e3 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
peterl%netscape.com 218b13580e fix layout atoms api 1999-07-18 00:16:01 +00:00
peterl%netscape.com 0bb56976c5 made compatibility mode pref an override of auto 1999-07-07 01:21:25 +00:00
warren%netscape.com 7391e7f588 Fix for necko crash trying to load pages with images. 1999-07-03 08:56:26 +00:00
warren%netscape.com 4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com 1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
buster%netscape.com a9f36a0958 added support for style contexts getting background and font defaults from
the pres context.
1999-06-12 22:31:15 +00:00
alecf%netscape.com b133ab936f GetCharPref is going away for nsIPref scriptability - use CopyCharPref instead 1999-05-28 00:51:34 +00:00
vidur%netscape.com 01db52ed8a Enabled the frame loader to work without a specified frame. This is used for precaching images. 1999-05-07 00:06:03 +00:00
ramiro%netscape.com 5052d3c4c8 Part of fix for bugs 4445, 4768. Let the default rendering mode on unix
be "native" as it is on mac and win.
1999-05-03 21:32:15 +00:00
pinkerton%netscape.com f4a6e3e199 fix win32 bustage. 1999-04-30 09:52:22 +00:00
pinkerton%netscape.com 1680448437 pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come). 1999-04-30 09:04:36 +00:00
kipp%netscape.com 86ed071b16 Remember to stop image loads to break connection back to pres context 1999-04-23 19:57:49 +00:00
kipp%netscape.com 4760249344 Fixed bug where image loading during stopped state would not properly set the out parameter 1999-04-20 21:50:32 +00:00
syd%netscape.com 65b71910d3 For Unix only (Gtk+): make the default rendering mode Gfx. The Gtk+
implementation is buggy, and we'll eventually be going in this direction anyway
of using gfx to render controls. Need to take out this #ifdef eventually for
Win and Mac.

To enable the native widgets, edit ~/.mozilla/prefs50.js, and add the line
user_pref("nglayout.widget.mode", 1);.
1999-04-20 21:34:34 +00:00
kipp%netscape.com cb0b54647a Reworked to support mulitple frames per image loader 1999-04-13 21:49:28 +00:00
mcmullen%netscape.com 694d407546 Since I changed prefapi.h to use prtypes instead of the obsolete XP_ things, I have to change calls to match. 1999-04-02 20:41:58 +00:00
kmcclusk%netscape.com 82dac76411 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 f76ba9c5e6 Support desired image size during loading 1999-02-26 17:02:37 +00:00
ftang%netscape.com 0ba6980fad change font preference code so it will pick the font setting for the defalt charset instead of always latin 1. Reviewed by peterl, kipp and troy 1999-02-17 15:52:02 +00:00
troy%netscape.com 0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com 36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com 3b9ef6ef19 Changed ResolveStyleContextFor and ResolvePseudoStyleContextFor to use pointer
arguments instead of references for OUT parameters
1999-02-11 15:53:26 +00:00
troy%netscape.com b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
troy%netscape.com bcc69e2898 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
peterl%netscape.com 5cc1370c12 better base url support
Checkin during red tree approved by sar
1999-01-15 02:07:46 +00:00
troy%netscape.com 583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
warren%netscape.com 0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
peterl%netscape.com 14a4bc76a8 added nsLayoutAtoms 1998-12-02 00:32:20 +00:00
kipp%netscape.com 8fa850977c XPCOMized more of the API; added new operator to avoid future bugs; implement Stop method 1998-11-26 18:10:10 +00:00
kipp%netscape.com fb1cee54da Added some debug noise (disabled by default) for image loading 1998-11-23 17:18:34 +00:00
joki%netscape.com 77fd9c2652 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
michaelp%netscape.com 7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00