129 Commits

Author SHA1 Message Date
waterson%netscape.com
ffe15b5764 Use NS_LITERAL_STRING instead of an nsAutoString to avoid copy/inflate on platforms that support two-byte wchar_t. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@72637 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:45:07 +00:00
attinasi%netscape.com
d263a60d9c Fixed problem where anchors with no HREF were being styled like links in composer. b=31594 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@71737 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:07:57 +00:00
mkaply%us.ibm.com
9d4a029884 # 37239
r = jst, a = waterson
OS/2 bringup - PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71532 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:15:32 +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
waterson%netscape.com
aeed9836c3 Bug 29611. Use 'GetHref()' to retrieve anchor tag's href. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@71338 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 04:27:47 +00:00
shaver%mozilla.org
6e2756c80d properly handle updating of class or id, #39642, r=attinasi, a=waterson
git-svn-id: svn://10.0.0.236/trunk@71169 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:00:31 +00:00
mkaply%us.ibm.com
112434216b # 37239
r = rickg, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (PR_CALLBACK)


git-svn-id: svn://10.0.0.236/trunk@71166 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 14:09:34 +00:00
sfraser%netscape.com
f72dc9c694 Fix the static nsCOMPtr<nsIAtom> atom("type"), replacing it with nsHTMLAtoms::type, to fix an assertion on shutdown.
git-svn-id: svn://10.0.0.236/trunk@70245 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:23:59 +00:00
shaver%mozilla.org
f792546214 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_.


git-svn-id: svn://10.0.0.236/trunk@69948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:43:33 +00:00
attinasi%netscape.com
32ce610d53 Added support for simple xlinks: we now treat simple xlinks like links for styling. b=38026 r=dbaron
git-svn-id: svn://10.0.0.236/trunk@69891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:30:27 +00:00
jst%netscape.com
f37851bcbd In stead of throwing an exception when the user asks for the owner rule of style sheet we return null.
git-svn-id: svn://10.0.0.236/trunk@69568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 18:10:24 +00:00
mkaply%us.ibm.com
de7be3a9e5 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@67947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:07:11 +00:00
pierre%netscape.com
8be7e09c16 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.
git-svn-id: svn://10.0.0.236/trunk@67510 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:02:12 +00:00
scc%netscape.com
62b1c05b32 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67407 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:38:50 +00:00
dbaron%fas.harvard.edu
c266c49303 Fix bug 37082 - attribute selector matching for ~= and |= backwards. r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67335 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:07:12 +00:00
jst%netscape.com
3a55dd1f0f Initialize mRefCnt in the constructor, duh!
git-svn-id: svn://10.0.0.236/trunk@67318 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:24:30 +00:00
jst%netscape.com
e7caf2b7ff Landing DOM Level 2 CSS and Views interfaces and implementation.
git-svn-id: svn://10.0.0.236/trunk@67227 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 13:58:56 +00:00
attinasi%netscape.com
ce64bdd8ed Removed warnings: very basic changes
git-svn-id: svn://10.0.0.236/trunk@66933 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 19:06:37 +00:00
dbaron%fas.harvard.edu
a37963e5fe Prevent selector matching from incorrectly failing due to greedy matching. b=24031 r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66820 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:47:18 +00:00
waterson%netscape.com
9730aa1e21 Back out changes my changes to nsILinkHandler because of performance problems.
git-svn-id: svn://10.0.0.236/trunk@66246 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 04:34:20 +00:00
braddr%puremagic.com
2ecf22f141 eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan


git-svn-id: svn://10.0.0.236/trunk@66111 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 00:23:57 +00:00
scc%netscape.com
b5432ec86e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
scc%netscape.com
8a7f53cc88 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 20:15:37 +00:00
waterson%netscape.com
76b91f9af2 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
git-svn-id: svn://10.0.0.236/trunk@65837 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:55:47 +00:00
attinasi%netscape.com
9657bf7bed Implemented Style Size Dump. r=rickg b=26565
git-svn-id: svn://10.0.0.236/trunk@64709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:08:36 +00:00
warren%netscape.com
9fa657f1cd 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.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
attinasi%netscape.com
ade61276ef Fixed error in SelectorMatches where anchor tags with no href were being treated as links in some cases. b=23209 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@63476 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:49:42 +00:00
rickg%netscape.com
65135726ce landing phase 2 to remove deprecated string calls
git-svn-id: svn://10.0.0.236/trunk@62718 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:10:07 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
jdunn%netscape.com
659b2712ed 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


git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +00:00
pierre%netscape.com
87067d5a7e Bug 24390 "html:input styles in global.css are ignored". In SelectorMatches(), make string comparisons case-insensitive for HTML content.
git-svn-id: svn://10.0.0.236/trunk@60993 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:09:36 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
jim_nance%yahoo.com
370762744f 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


git-svn-id: svn://10.0.0.236/trunk@59021 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:37:13 +00:00
jim_nance%yahoo.com
723d9997d5 Make SelectorMatches() faster by eleminating a few function calls
r=Shaver
Tree is green enough = waterson


git-svn-id: svn://10.0.0.236/trunk@58871 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:28:52 +00:00
waterson%netscape.com
aac4344739 Bug 22305. Fix accounting for style sheets and rule processors; r=buster, a=sdagley
git-svn-id: svn://10.0.0.236/trunk@56323 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:41:42 +00:00
waterson%netscape.com
6bdf96a634 Bug 9489. Use nsAutoVoidArray for collecting classes to avoid excessive heap use.
git-svn-id: svn://10.0.0.236/trunk@54855 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 03:27:25 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +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
17b485a261 Wiped out another warning
git-svn-id: svn://10.0.0.236/trunk@50891 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:29:21 +00:00
pepper%netscape.com
7f58cc3a0b Changed friend declaration to make HP compilers happy.
aCC requires a decl of friend class ClassName instead of friend ClassName.
r=peterl@netscape.com,mgleeson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50719 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:31:07 +00:00
peterl%netscape.com
946d493f92 moved style rule cascading logic into a stand-alone rule processor
the rule processor can now cascade rules from multiple style sheets
fix for bug 12401 & 12106
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50634 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:59:21 +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
peterl%netscape.com
d1916dab07 First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy


git-svn-id: svn://10.0.0.236/trunk@50193 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 03:09:31 +00:00
kipp%netscape.com
011094c243 r=peterl; Added in ctor/dtor counting
git-svn-id: svn://10.0.0.236/trunk@49836 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:52:20 +00:00
kipp%netscape.com
aa5496085d Removed atom table hacks
git-svn-id: svn://10.0.0.236/trunk@49466 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:17:28 +00:00
peterl%netscape.com
934815e84f added first-node pseudo class (extension)
git-svn-id: svn://10.0.0.236/trunk@46896 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 00:08:30 +00:00
peterl%netscape.com
5d27c6992a fix warning
git-svn-id: svn://10.0.0.236/trunk@45969 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:40:22 +00:00
peterl%netscape.com
a56c4b7348 added :root pseudo class
git-svn-id: svn://10.0.0.236/trunk@42684 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:17:58 +00:00