Commit Graph

238 Commits

Author SHA1 Message Date
attinasi@netscape.com
263b922af1 Performance fix: moves content-specific queries out of SelectorMatches to reduce number of times called in rule matching. b= 53620 r=dbaron sr=waterson 2001-01-27 05:48:41 +00:00
rods@netscape.com
c0ed0d0271 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
warren@netscape.com
0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
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
attinasi@netscape.com
c2b9915cef Reversed the order of testing for link-elements so that the most common (anchors) are tested first. Update to earlier checkin. 2000-06-22 00:41:25 +00:00
attinasi@netscape.com
14ec87e62c Fixed bug 6306: AREA and LINK elements are now treated like links when it comes to matching selectors. Cleaned up SelectorMatches as well by moving link-logic into new method. r=kmcclusk@netscape.com b=6306 2000-06-21 23:48:21 +00:00
waterson@netscape.com
3900cd6cc7 Use NS_LITERAL_STRING instead of an nsAutoString to avoid copy/inflate on platforms that support two-byte wchar_t. r=attinasi 2000-06-20 05:45:07 +00:00
attinasi@netscape.com
7c1225631d Fixed problem where anchors with no HREF were being styled like links in composer. b=31594 r=kmcclusk 2000-06-07 23:07:57 +00:00
mkaply@us.ibm.com
f45a99d1b5 # 37239
r = jst, a = waterson
OS/2 bringup - PR_CALLBACK for VisualAge
2000-06-05 19:15:32 +00:00
warren@netscape.com
6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
attinasi@netscape.com
00fed3cdd3 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
waterson@netscape.com
b78f36d4c0 Bug 29611. Use 'GetHref()' to retrieve anchor tag's href. r=attinasi 2000-06-02 04:27:47 +00:00
shaver@mozilla.org
c1b4e60497 properly handle updating of class or id, #39642, r=attinasi, a=waterson 2000-05-31 20:00:31 +00:00
mkaply@us.ibm.com
639d3c82cd # 37239
r = rickg, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (PR_CALLBACK)
2000-05-31 14:09:34 +00:00
sfraser@netscape.com
c6be4f64ae Fix the static nsCOMPtr<nsIAtom> atom("type"), replacing it with nsHTMLAtoms::type, to fix an assertion on shutdown. 2000-05-17 02:23:59 +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
5883bc9309 Added support for simple xlinks: we now treat simple xlinks like links for styling. b=38026 r=dbaron 2000-05-15 22:30:27 +00:00
jst@netscape.com
0830285851 In stead of throwing an exception when the user asks for the owner rule of style sheet we return null. 2000-05-13 18:10:24 +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
pierre@netscape.com
7a6dfd6fd6 35261. Implement :last-node (P and Hx tags inside a cell do not collapse the cell). Change TD to collapse the bottom margin on the last-node. 2000-04-28 10:02:12 +00:00
scc@netscape.com
cbbeb321f0 making string conversions explicit 2000-04-27 20:38:50 +00:00
dbaron@fas.harvard.edu
41d9a7e55c Fix bug 37082 - attribute selector matching for ~= and |= backwards. r=pierre@netscape.com 2000-04-27 00:07:12 +00:00
jst@netscape.com
b8f6431304 Initialize mRefCnt in the constructor, duh! 2000-04-26 23:24:30 +00:00
jst@netscape.com
e722bc29b2 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
attinasi@netscape.com
c647709e4c Removed warnings: very basic changes 2000-04-23 19:06:37 +00:00
dbaron@fas.harvard.edu
953013e252 Prevent selector matching from incorrectly failing due to greedy matching. b=24031 r=pierre@netscape.com 2000-04-22 00:47:18 +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
braddr@puremagic.com
e84d67c127 eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan
2000-04-16 00:23:57 +00:00
scc@netscape.com
dce90dfaff making string conversions explicit 2000-04-15 21:18:29 +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
attinasi@netscape.com
eed0045e58 Fixed error in SelectorMatches where anchor tags with no href were being treated as links in some cases. b=23209 r=karnaze 2000-03-20 22:49:42 +00:00
rickg@netscape.com
68a909efcd landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +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
jdunn@netscape.com
d30b76c7fe Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
pierre@netscape.com
bba3e9de20 Bug 24390 "html:input styles in global.css are ignored". In SelectorMatches(), make string comparisons case-insensitive for HTML content. 2000-02-16 01:09:36 +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
jim_nance@yahoo.com
900820500e Implemented idea from shaver for speeding up SelectorMatches().
We wait until we know we are going to need the contentTag before
we create it.
r=shaver
2000-01-28 04:37:13 +00:00
jim_nance@yahoo.com
46ee9dc37c Make SelectorMatches() faster by eleminating a few function calls
r=Shaver
Tree is green enough = waterson
2000-01-27 02:28:52 +00:00
waterson@netscape.com
4e2962f87a Bug 22305. Fix accounting for style sheets and rule processors; r=buster, a=sdagley 1999-12-22 01:41:42 +00:00
waterson@netscape.com
57b6d8afe3 Bug 9489. Use nsAutoVoidArray for collecting classes to avoid excessive heap use. 1999-12-01 03:27:25 +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
kipp@netscape.com
c9f1380049 Wiped out another warning 1999-10-15 23:29:21 +00:00