Commit Graph

461 Commits

Author SHA1 Message Date
jst@netscape.com
3ba32f670e DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
warren@netscape.com
8df9a9bce0 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
dbaron@fas.harvard.edu
8046a6c013 Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963 2000-07-27 23:17:53 +00:00
shaver@mozilla.org
c7f61aca9f Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
attinasi@netscape.com
fc26fc9be6 Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was). b=34838 2000-05-04 21:41:02 +00:00
mkaply@us.ibm.com
70dd7029e7 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00
waterson@netscape.com
e83ac99306 Back out changes my changes to nsILinkHandler because of performance problems. 2000-04-18 04:34:20 +00:00
scc@netscape.com
5e49be25a8 making string conversions explicit 2000-04-15 20:15:37 +00:00
waterson@netscape.com
46754590d6 Bug 12493. Change nsILinkHandler interface to take an nsIURI object instead of a string. This allows necko to canonify URIs before passing them back to global history. r=travis,pierre 2000-04-13 19:55:47 +00:00
attinasi@netscape.com
5818fabee1 Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
warren@netscape.com
a2fb078809 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
dbaron@fas.harvard.edu
b6756d2b36 Fix leak of style contexts. r=karnaze@netscape.com 2000-03-18 21:26:13 +00:00
warren@netscape.com
90e6ffd47b Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
karnaze@netscape.com
8f3771c7aa bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi 2000-02-16 01:08:54 +00:00
pp@ludusdesign.com
baf799923b Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
sspitzer@netscape.com
e609f35fa3 bulletproofing fix for crash reported in #22811 1999-12-29 19:28:06 +00:00
warren@netscape.com
3abca0bf7e Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +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
cls@seawood.org
824ba18df3 Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
peterl@netscape.com
c97d8906fd Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
kipp@netscape.com
ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
peterl@netscape.com
17e9686e8f First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
buster@netscape.com
8d8ef1d7d8 fixed BodyFixupRule::MapStyleInto to respect background color properly
code-reviewed by Peter Linss
1999-08-07 05:38:28 +00:00
peterl@netscape.com
2d9c3eba40 cleanups 1999-07-18 00:30:11 +00:00
andreas.otte@primus-online.de
152adcbe71 NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
vidur@netscape.com
57012c48d1 Added a HTMLDocumentColor special-case rule for the HTML element. This is set when either the bgColor or fgColor is set on a HTML document. 1999-07-07 04:53:36 +00:00
peterl@netscape.com
c49e83bc3b split attribute container into mapped and unmapped parts
only mapped part is uniqued now
1999-07-07 01:30:43 +00:00
andreas.otte@primus-online.de
b7a7d8272b NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
peterl@netscape.com
547b773c56 removed autostring constructor usage per rickg
cleaned up url listing
1999-06-27 21:17:39 +00:00
warren@netscape.com
0dddd47c95 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +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
peterl@netscape.com
a7e1b0a26c removed unnecessary null tests (tested at call site for performance)
cleaned up null link handler testing to avoid URL conputation
1999-06-22 19:25:31 +00:00
jfrancis@netscape.com
7361874a6f making the world safe for null linkHandlers 1999-06-21 07:47:29 +00:00
sspitzer@netscape.com
ae6cfe61f5 safety checks to prevent dereferencing null 1999-06-19 21:18:13 +00:00
valeski@netscape.com
3737aa0d15 NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
peterl@netscape.com
b673acecc7 added better medium testing api 1999-06-15 06:21:47 +00:00
karnaze@netscape.com
b62acd74ce new style rule for table elements inheriting backgrounds in Nav Quirks mode 1999-06-07 21:09:07 +00:00
peterl@netscape.com
4272d28e5f sync to nsIStyledContent API change 1999-05-26 23:55:49 +00:00
sspitzer@netscape.com
59c8f8f5e1 make destructors virtual 1999-05-13 02:11:25 +00:00
rickg@netscape.com
a481ede444 updates to sync with nsString2 api 1999-04-21 23:48:41 +00:00
peterl@netscape.com
90d0ea952b added tests for state dependent style 1999-04-20 00:05:54 +00:00
peterl@netscape.com
bdc708df04 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
rickg@netscape.com
b8a9d90b74 tiny tweaks to keep in sync with new nsString 1999-04-06 00:29:40 +00:00
peterl@netscape.com
d5ca81abda backing out prevoius changes (unix didn't like it) 1999-04-02 19:57:07 +00:00
peterl@netscape.com
a6977cd8a2 initialize bitfields through a union to keep purify happy 1999-04-02 18:51:28 +00:00
joki@netscape.com
f55ce704a2 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
troy@netscape.com
74533ac40a In RulesMatching(), changed NS_RELEASE to NS_IF_RELEASE for the link handler.
This fixes a crash when doing a print preview
1999-03-06 17:20:27 +00:00
scc@netscape.com
6bb3406b4d rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
peterl@netscape.com
9e8aac638c fixed active link rule support 1999-02-27 07:18:21 +00:00
hyatt@netscape.com
e184f934ba Changed GetContentStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:34:55 +00:00