124 Commits

Author SHA1 Message Date
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
kipp%netscape.com
e62c5f3e87 backed out dps erroneous fix
git-svn-id: svn://10.0.0.236/trunk@49785 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:44:35 +00:00
dp%netscape.com
1d765d463d Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@49772 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 01:25:55 +00:00
kipp%netscape.com
81d2477caa r=troy; missed checkin from last weeks module carpool
git-svn-id: svn://10.0.0.236/trunk@49753 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-04 23:56:57 +00:00
nisheeth%netscape.com
a7e5337544 Move implementation of nsITimeRecorder from the pres context to the style set.
git-svn-id: svn://10.0.0.236/trunk@48333 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 06:53:40 +00:00
rpotts%netscape.com
22e6b8be31 Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs.
git-svn-id: svn://10.0.0.236/trunk@48177 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 06:34:24 +00:00
slamm%netscape.com
33e0e6c490 Add newline to file.
git-svn-id: svn://10.0.0.236/trunk@48159 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:19:47 +00:00
nisheeth%netscape.com
29dac5f694 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.
git-svn-id: svn://10.0.0.236/trunk@48018 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:32:45 +00:00
troy%netscape.com
06fac95fd1 Fix for bug #13780. Added NULL pointer check to PreferenceChanged()
git-svn-id: svn://10.0.0.236/trunk@47414 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 22:16:42 +00:00
dcone%netscape.com
b3518901c9 Turned on the Mac GFX Widget code
git-svn-id: svn://10.0.0.236/trunk@47397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 21:32:27 +00:00
peterl%netscape.com
c3876934b0 added look and feel accessor to pres context
git-svn-id: svn://10.0.0.236/trunk@46720 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 05:51:08 +00:00
kmcclusk%netscape.com
60c349aead Changed widget rendering mode default from partial-gfx to gfx for Linux and WIN32.
git-svn-id: svn://10.0.0.236/trunk@46605 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 19:43:27 +00:00
peterl%netscape.com
791d9a651c added reparent style context
git-svn-id: svn://10.0.0.236/trunk@45965 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:35:41 +00:00
kmcclusk%netscape.com
9bbf99854b Backing out to PartialGfx instead of full Gfx mode.
git-svn-id: svn://10.0.0.236/trunk@43836 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 18:57:32 +00:00
kmcclusk%netscape.com
24c5682859 bug #5944, Changed default widget rendering mode from PartialGfx to Gfx
git-svn-id: svn://10.0.0.236/trunk@43737 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:38:44 +00:00
peterl%netscape.com
5ee6e7b306 added note
git-svn-id: svn://10.0.0.236/trunk@42679 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:14:50 +00:00