289 Commits

Author SHA1 Message Date
rods%netscape.com
737c22dbf1 Added additional reflow count info on a frame by frame basis
Bug 69361 r=attinasi sr=waterson


git-svn-id: svn://10.0.0.236/trunk@87671 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 13:58:17 +00:00
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
hyatt%netscape.com
8244a8912e Fix for 67739. r=pierre,attinasi sr=ben
git-svn-id: svn://10.0.0.236/trunk@87131 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:24:47 +00:00
gagan%netscape.com
f3f5b36700 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85797 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:33:03 +00:00
mkaply%us.ibm.com
8f3746bf61 #60160
r=blake, sr=alecf
Remove Win32 specific code for system colors - make it XP using nsLookAndFeel


git-svn-id: svn://10.0.0.236/trunk@85718 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:41:49 +00:00
rods%netscape.com
b23e7af50b 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


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
akkana%netscape.com
0d7c7c2d2b 17686: Add a pref to control image animation. r=tor, sr=buster
git-svn-id: svn://10.0.0.236/trunk@84683 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:55:27 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
attinasi%netscape.com
c8ab5d1344 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
git-svn-id: svn://10.0.0.236/trunk@80920 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 08:33:01 +00:00
dougt%netscape.com
e36912633f Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80197 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:24:00 +00:00
evaughan%netscape.com
dbfd446b6e Fix for startup bug
-r waterson


git-svn-id: svn://10.0.0.236/trunk@79768 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 20:17:04 +00:00
evaughan%netscape.com
4e14fe3ce1 fix for bug #52663
-r hyatt -a waterson


git-svn-id: svn://10.0.0.236/trunk@79683 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:20:00 +00:00
erik%netscape.com
47844e796a 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)


git-svn-id: svn://10.0.0.236/trunk@79660 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 22:59:20 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
jst%netscape.com
071de302f4 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
git-svn-id: svn://10.0.0.236/trunk@77858 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 07:05:08 +00:00
anthonyd%netscape.com
d503a47c59 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


git-svn-id: svn://10.0.0.236/trunk@75532 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:30:47 +00:00
anthonyd%netscape.com
1355a05c4e 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


git-svn-id: svn://10.0.0.236/trunk@75084 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:12:45 +00:00
pierre%netscape.com
27b7750cd1 #31136 (Rename prefs from "browser.xxx" to "browser.display.xxx"). Final and trivial touch to the larger fix from mcafee.
git-svn-id: svn://10.0.0.236/trunk@72892 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:41:11 +00:00
attinasi%netscape.com
84978456a9 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
git-svn-id: svn://10.0.0.236/trunk@72803 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:44:59 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
attinasi%netscape.com
3da8003982 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
git-svn-id: svn://10.0.0.236/trunk@71391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:45:06 +00:00
erik%netscape.com
782db7ef63 bug 32206; become an observer of nsIDocument's charset changes; r=buster;
a=ftang


git-svn-id: svn://10.0.0.236/trunk@71300 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:12:26 +00:00
mcafee%netscape.com
2e227e80a6 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)
git-svn-id: svn://10.0.0.236/trunk@70431 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 03:19:00 +00:00
shaver%mozilla.org
8494d1230c more work on content-policy, r=brendan
git-svn-id: svn://10.0.0.236/trunk@69884 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:05:45 +00:00
sfraser%netscape.com
290779695a WIP for bug 33810 -- add an image animation enum, and getters and setters in the pres context
git-svn-id: svn://10.0.0.236/trunk@69516 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 01:39:20 +00:00
erik%netscape.com
7430aa9ab0 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


git-svn-id: svn://10.0.0.236/trunk@68421 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:04:36 +00:00
evaughan%netscape.com
ff486e57f1 1) StyleChange coelescing
2) Warning fixes
3) Table fixes


git-svn-id: svn://10.0.0.236/trunk@67099 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:10:48 +00:00
rods%netscape.com
fbf8aca833 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66719 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:59:47 +00:00
scc%netscape.com
e16ab47ebe making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65029 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:20:35 +00:00
erik%netscape.com
74fa582803 bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only; also
factored some code to reduce duplication; r=pierre,troy


git-svn-id: svn://10.0.0.236/trunk@64957 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:52:17 +00:00
erik%netscape.com
5890e4382e lang group table has been moved to proper place under mozilla/intl;
switching calls to that API; minor change; r=none


git-svn-id: svn://10.0.0.236/trunk@64212 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-27 04:51:12 +00:00
mkaply%us.ibm.com
0c7a6dba2f # 24199
r= pierre@netscape.com
BiDi - ability to change the default direction of the browser


git-svn-id: svn://10.0.0.236/trunk@63595 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:51:59 +00:00
alecf%netscape.com
7cd407e0c5 fix for #29304 r=pierre a=jar
only register against the browser.* preferences that layout actually cares about, to improve startup performance


git-svn-id: svn://10.0.0.236/trunk@62164 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 22:39:31 +00:00
tbogard%aol.net
495826cccc 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
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
erik%netscape.com
6c4785b694 bug 18136; changing default size for fixed width font to 13px; r=pierre;
a=rickg


git-svn-id: svn://10.0.0.236/trunk@61683 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 23:01:36 +00:00
mscott%netscape.com
df3dddf528 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.


git-svn-id: svn://10.0.0.236/trunk@60802 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 04:49:32 +00:00
rods%netscape.com
a2cf4c1276 Added "const" infront of the arg for SetDefaultFont and SetDefaultFixedFont
r=pierre b=905


git-svn-id: svn://10.0.0.236/trunk@58588 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 14:33:03 +00:00
erik%netscape.com
9f9aa6f3e7 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


git-svn-id: svn://10.0.0.236/trunk@58281 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 01:20:11 +00:00
erik%netscape.com
51590bc1d8 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


git-svn-id: svn://10.0.0.236/trunk@57938 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 16:30:13 +00:00
erik%netscape.com
ed6e764e4a bug 8801; automatically reflow document(s) when font prefs change;
r=ftang


git-svn-id: svn://10.0.0.236/trunk@57553 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 16:10:48 +00:00
erik%netscape.com
3bc497b41c bug 8801; added some code to pick up font size prefs from prefs file(s);
r=ftang; a=chofmann


git-svn-id: svn://10.0.0.236/trunk@55820 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:44:47 +00:00
erik%netscape.com
b6eb1a0559 bug 8801; adding new font prefs implementation; r=ftang
git-svn-id: svn://10.0.0.236/trunk@55642 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:27:52 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
buster%netscape.com
43763bae6a 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


git-svn-id: svn://10.0.0.236/trunk@53977 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:29:13 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
kipp%netscape.com
a87258a834 Added in ctor/dtor counting
git-svn-id: svn://10.0.0.236/trunk@49839 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:53:40 +00:00