Граф коммитов

401 Коммитов

Автор SHA1 Сообщение Дата
bryner%netscape.com ec00895936 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu e3b541a10c Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 45ad330784 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
bzbarsky%mit.edu 580e33204e Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
cathleen%netscape.com bf3e08eb5f eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
bzbarsky%mit.edu f2a9512382 Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
jaggernaut%netscape.com 7936b26225 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com 6ab111155d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
dbaron%fas.harvard.edu 43129c454a Bug 109431: Speed up ID selector matching, mainly by using nsDependentString instead of nsAutoString. Patch by rjesup and me. Bug 110815: Avoid an unneeded QI from nsICSSStyleRule to nsIStyleRule, which it inherits. r=jag sr=hyatt 2001-11-21 03:30:44 +00:00
dbaron%fas.harvard.edu ee1bd92fab Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt 2001-11-10 23:51:45 +00:00
dbaron%fas.harvard.edu 10e3bbbb58 Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi 2001-10-30 06:02:05 +00:00
hyatt%netscape.com 0214ac3fdb Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dougt%netscape.com af7957c9e9 Remove extra exports. patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com 2001-10-19 21:02:39 +00:00
bzbarsky%mit.edu 9c3b205483 Last checkin was r=pierre, sr=jst 2001-10-19 14:02:36 +00:00
bzbarsky%mit.edu 94624dd288 Clean up handling of quirk doctypes and case-sensitivity in the CSSOM.
Mostly just uses the nodeinfo more and combines some redundant code into
helpers. Bug 95336, bug 10622, bug 102815
2001-10-19 13:50:30 +00:00
dbaron%fas.harvard.edu 3dac3645cb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu 34fc404be7 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
alecf%netscape.com 511a787492 convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser 2001-10-13 00:16:32 +00:00
jaggernaut%netscape.com fdc4078bc4 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
bzbarsky%mit.edu 64fb1452bf Make setting element.style.foo just parse the value instead of creating
a property:value pair and parsing that.  Speeds up setting of
element.style.top by about 5%.  Bug 99797, r=attinasi, sr=jst
2001-09-28 01:38:36 +00:00
gerv%gerv.net 2b0c9d0438 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
pierre%netscape.com d8e7adfe45 Bug 93371 (WRMB: Treat classes case insensitively in quirks mode). Back out ianh's patch in nsCSSParser.cpp and nsHTMLAttributes.cpp. Treat classes and IDs case insensitively as described in Bug 35522. r=glazman (+dbaron/jst) sr=hyatt 2001-09-07 00:23:37 +00:00
rjesup%wgate.com be7d4d271c Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
  r=hyatt r=pierre sr=jst
2001-09-06 19:16:03 +00:00
bzbarsky%mit.edu 3a86d88e76 Re-fix bug 93977 and fix bug 98358 (lack of underlining on links). The
CSS parser parses "foo, bar { decls }" into two separate rules -- one
for foo and one for bar.  So ParseRule() has to return an array of
rules, not just a rule.  r=dbaron, sr=jst
2001-09-06 13:14:35 +00:00
bzbarsky%mit.edu 168fa487a7 Fix the nsIDOMMediaList interface to have the right properties. Make
media rules implement nsIDOMCSSMediaRule.  Fix insertRule() to be able
to insert into the middle of a rule list.  Fix issues with stylesheets
not getting dirtied when media lists are modified.  bug 93977,
r=pierre, sr=jst
2001-09-05 00:00:18 +00:00
bryner%netscape.com 67f6aa83cb Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
cls%seawood.org 8405a1984e Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
dbaron%fas.harvard.edu 84a5b131c8 Fix errors in my patch for bug 90791 that were causing a crash. b=93106 r=waterson, brendan, pierre sr=hyatt 2001-08-14 02:54:35 +00:00
bzbarsky%mit.edu 70d6c75c7c Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst 2001-08-04 21:19:53 +00:00
brendan%mozilla.org 8c7c819206 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jst%netscape.com 86ec54ba62 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-07-18 07:48:12 +00:00
dbaron%fas.harvard.edu 1f8fc1d555 Replace the mMediumCascadeTable nsHashtable with a linked list of rule cascades since searching a linked list of at most two elements (and usually just one) is *much* faster than doing a hashtable lookup. r=waterson sr=attinasi b=90791 2001-07-16 20:59:28 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
dbaron%fas.harvard.edu f8ffcd1a4b Correct matching of dashmatch (|=) according to recent CSS WG discussions and fix :not() bugs with class selectors, id selectors, and $= and ^= attribute selectors. r=hixie sr=attinasi a=asa b=83616 2001-06-19 22:46:08 +00:00
dbaron%fas.harvard.edu 9d856ec3de Miscellaneous performance fixes related to selector matching:
* cut in half the number of (expensive, universally hashed) selectors needed for many UA-stylesheet :link and :visited rules by implementing :-moz-any-link (bug 83484)
 * remove most of EnumerateTagRules since most of it does no useful work (bug 83506)
 * avoid refcounting of atoms for stack-based hash keys (bug 83511)
 * add logging (turned off, except for me) to evaluate effectiveness of RuleHash
 * add a namespace hash, which will be a big win once bug 35847 is fixed (bug 83497)
 * avoid repeated reallocation of mEnumList by setting the initial length to a minimum of 8
 * remove an unneeded variable in the beginning of SelectorMatches
 * fix one case in CSS error reporting (bug 65469), not part of default build
b=83482  r=attinasi@netscape.com  sr=waterson@netscape.com  a=asa@mozilla.org
2001-06-05 01:00:11 +00:00
hyatt%netscape.com 2bf7260d28 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
dbaron%fas.harvard.edu c78db9c656 Work around crash by using nsSupportsArray::Clone instead of the buggy (82133) nsSupportsArray::AppendElements. Patch from glazman@netscape.com, r=dbaron, sr=attinasi, b=80057 2001-05-22 20:53:00 +00:00
jst%netscape.com adf1d8320a Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 16:46:42 +00:00
dbaron%fas.harvard.edu 48c7988529 Fix OS/2 bustage. |nsISupportsArrayEnumFunc| should not have |PR_CALLBACK|. 2001-04-28 04:30:42 +00:00
dbaron%fas.harvard.edu 79181752db Fix unneeded construction of |nsAutoString|s in |SelectorMatches| by pulling one out of a loop and rewriting matching of ^= and $= CSS3 selectors to remove the other. b=77063 r=glazman@netscape.com sr=attinasi@netscape.com
Fix O(N^2) cascading by replacing insertion into one large |nsISupportsArray| with appending into a hashtable (hashed by weight) of |nsISupportsArray| and then combining those arrays into the larger array.  b=77066  r=attinasi@netscape.com  sr=waterson@netscape.com
Reduce construction of |SelectorMatchesData| by retaining (so they can be used for matching other selectors) any new ones constructed in |SelectorMatchesTree| until the one originally passed to |SelectorMatchesTree| is destroyed.  b=77090  r=attinasi@netscape.com  sr=waterson@netscape.com
2001-04-28 02:16:16 +00:00
pierre%netscape.com d764405700 #12386 "Matching of case sensitive attribute values should be case sensitive" sr=waterson 2001-04-18 04:36:52 +00:00
attinasi%netscape.com f251dbeb0f Fix for regression: only restrict HTML content from event pseudo application. b=75823 sr=hyatt 2001-04-14 06:34:50 +00:00
attinasi%netscape.com c68bc0e2b0 'Fixes' major performance problem with universal dynamic pseudo selectors by restricting their application in Standard mode to the same elements we restrict them to in QuirksMode. b=68821 r=waterson sr=shaver 2001-04-11 23:47:34 +00:00
blakeross%telocity.com 60046d5eee Implement css3 :empty selector (75186). Patch by the evil QA-turned-engineer Ian Hickson <ian@hixie.ch> who insists on using me shamelessly for my cvs account. r=pierre sr=attinasi 2001-04-11 02:55:41 +00:00
glazman%netscape.com 595cbdb537 fix for :not() due to 72302; b=71647, r=pierre, sr=attinasi 2001-04-10 13:43:20 +00:00
hyatt%netscape.com 4a66754d65 Fix regression to :-moz-bound-element caused by the :not checkin. 2001-04-08 22:22:47 +00:00
attinasi%netscape.com d442237a68 Fixed performance problem caused by unused nsAutoString in SelectorMatches.
Patch by bratell@lysator.liu.se, r=glazman@netscape.com sr=attinasi@netscape.com b=74830
2001-04-05 23:14:00 +00:00
blakeross%telocity.com 6573419a09 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt 2001-04-05 19:53:13 +00:00
glazman%netscape.com ad4cc99616 Support for :last-child pseudoclass; checking in for Ian Hickson ; b=46916, r=pierre, sr=attinasi 2001-03-30 10:20:57 +00:00
glazman%netscape.com d20e313e4e easy fix for 71647 ; that bug was hidden behind 72302, [s]r=attinasi 2001-03-21 09:40:41 +00:00
hyatt%netscape.com 6b24608b5a Fix for 62985, r=dbaron, sr=attinasi 2001-03-21 08:10:20 +00:00
glazman%netscape.com b547795c45 adds support for :not() css3 pseudo-class; b=71647, r=pierre, sr=hyatt 2001-03-20 11:49:20 +00:00
blakeross%telocity.com 0ad568f284 Crash when reading past the end of a CSSRuleList. patch by Hixie (ian@hixie.ch). r=blake, glazman sr=jst 2001-03-19 22:12:12 +00:00
hyatt%netscape.com aaf0e6df84 Fix for 70704 and 71261. r=pierre, sr=attinasi 2001-03-13 02:34:02 +00:00
attinasi%netscape.com 9cd9101366 Backed out last night's changes due to regression that exposed a fatal flaw in the idea of the fix. r=71561 2001-03-11 07:54:00 +00:00
attinasi%netscape.com 63d7861535 Prevent text nodes from being passed to SelectorMatches to improve style resolution performance and ensure correctness. b=56117 r=pierre sr=waterson 2001-03-10 06:14:52 +00:00
glazman%netscape.com 90d257e695 enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi 2001-03-03 00:54:04 +00:00
waterson%netscape.com 2cd62f503b Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
hyatt%netscape.com 36abf9f7b5 Fix for 67739. r=pierre,attinasi, sr=ben 2001-02-15 21:25:31 +00:00
glazman%netscape.com d78b90bd69 patch for #65448 : css parser refused multiple ID selectors in same sequence; r=dbaron,attinasi sr=attinasi (buster's delegation) 2001-02-13 14:06:29 +00:00
dbaron%fas.harvard.edu 7a97a55d82 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
dbaron%fas.harvard.edu 20b685bf78 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023 2001-01-27 16:58:15 +00:00
attinasi%netscape.com 4217840de6 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 c81b2c3b26 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 4189314fdb 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 6e35f97e31 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 b3a4ade60d 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 4af572e4c1 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 a394eeee27 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 2886ad8517 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 76698ef605 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 d38577c4e5 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 e03b5378b9 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 8686a4067b # 37239
r = jst, a = waterson
OS/2 bringup - PR_CALLBACK for VisualAge
2000-06-05 19:15:32 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
attinasi%netscape.com 36e73369c4 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 eee9dbdf9b Bug 29611. Use 'GetHref()' to retrieve anchor tag's href. r=attinasi 2000-06-02 04:27:47 +00:00
shaver%mozilla.org c078a4e748 properly handle updating of class or id, #39642, r=attinasi, a=waterson 2000-05-31 20:00:31 +00:00
mkaply%us.ibm.com 726d1674a0 # 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 3ca711ff8c 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 8f7d1fbff0 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 5bc97259da 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 71d24c7aa6 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 5cb009113a # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00
pierre%netscape.com 31154bac81 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 9bd6df295f making string conversions explicit 2000-04-27 20:38:50 +00:00
dbaron%fas.harvard.edu 2592cd5d35 Fix bug 37082 - attribute selector matching for ~= and |= backwards. r=pierre@netscape.com 2000-04-27 00:07:12 +00:00
jst%netscape.com ed9b2d07be Initialize mRefCnt in the constructor, duh! 2000-04-26 23:24:30 +00:00
jst%netscape.com 3625709458 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
attinasi%netscape.com 527f6ebdd1 Removed warnings: very basic changes 2000-04-23 19:06:37 +00:00
dbaron%fas.harvard.edu f34ad609b7 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 d04c3f01e5 Back out changes my changes to nsILinkHandler because of performance problems. 2000-04-18 04:34:20 +00:00
braddr%puremagic.com 759c1f59be eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan
2000-04-16 00:23:57 +00:00
scc%netscape.com c38395df69 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com 927265130c making string conversions explicit 2000-04-15 20:15:37 +00:00
waterson%netscape.com 93951f3bd4 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 f435083f78 Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
warren%netscape.com d60b12b153 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 9648fa81eb 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 7c4f6b3293 landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
warren%netscape.com 7e37f4f478 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 79a31a4d59 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 e4e757ac37 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 43d7ba4273 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
jim_nance%yahoo.com 3008345c2a 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 9a9becc33a 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 fdcc8bcf32 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 272d842840 Bug 9489. Use nsAutoVoidArray for collecting classes to avoid excessive heap use. 1999-12-01 03:27:25 +00:00
warren%netscape.com a265a32348 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 42fc94a6ec 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 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com df637716d1 Wiped out another warning 1999-10-15 23:29:21 +00:00
pepper%netscape.com 4655f53a5f 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
1999-10-14 23:31:07 +00:00
peterl%netscape.com e9c78ceb0d 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
1999-10-14 00:59:21 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
peterl%netscape.com d023d57dc3 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
kipp%netscape.com 7446ec5ab8 r=peterl; Added in ctor/dtor counting 1999-10-05 14:52:20 +00:00
kipp%netscape.com 90b60c0e80 Removed atom table hacks 1999-09-30 21:17:28 +00:00
peterl%netscape.com 9a5ad14cbf added first-node pseudo class (extension) 1999-09-11 00:08:30 +00:00
peterl%netscape.com e0355cdb0b fix warning 1999-09-03 23:40:22 +00:00
peterl%netscape.com 0bfe8ddb23 added :root pseudo class 1999-08-08 01:17:58 +00:00
peterl%netscape.com 4c7235720c removed warnings
update to api changes
1999-07-18 00:27:40 +00:00
kipp%netscape.com f9e23515cd Removed a compiler warning 1999-07-16 17:40:39 +00:00
andreas.otte%primus-online.de b6031c6f4b NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
peterl%netscape.com de00c8306c cleanup error handling 1999-07-07 01:32:59 +00:00
andreas.otte%primus-online.de d968fa955b NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
valeski%netscape.com 88adc85bf7 getbuffer bypass 1999-06-29 23:14:43 +00:00
peterl%netscape.com bac393ddbc cleanup url listing 1999-06-27 21:16:16 +00:00
peterl%netscape.com d39564b89e removed old autostring constructor per rickg 1999-06-27 20:42:45 +00:00
warren%netscape.com f6b9d3a028 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
warren%netscape.com 23864df5e3 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
peterl%netscape.com 522791432d removed unnecessary null tests (tested at call site for performance) 1999-06-22 19:24:50 +00:00
rods%netscape.com 58aec2ad7e Turned on dragOver style 1999-06-22 14:21:27 +00:00
jfrancis%netscape.com a49b921177 making the world safe for null linkHandlers 1999-06-21 07:47:29 +00:00
sspitzer%netscape.com b1ffc95e12 safety checks to prevent dereferencing null 1999-06-19 21:18:13 +00:00
valeski%netscape.com 487d9ea921 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 d0dbdef184 added faster medium testing support
added default namespace support
WIP for faster cascade
1999-06-15 06:20:46 +00:00
peterl%netscape.com 7972860145 added support for other rule types
cleaned up api
1999-06-10 05:29:22 +00:00
peterl%netscape.com 4358f69fcb added modified state
added cloning with actual copy on write
1999-06-03 01:57:52 +00:00
peterl%netscape.com 0ff2cb742d changed cascading code to include rules from children
added rule cascade per media
1999-05-26 23:55:12 +00:00
peterl%netscape.com 6be2651742 added clone & insert child support
added drag-n-drop pseudo support
1999-05-18 23:14:29 +00:00
warren%netscape.com 7a41ef7d73 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
alecf%netscape.com 830bb69ad1 Count() is no longer const 1999-05-12 02:55:54 +00:00
rickg%netscape.com b0ac68e0a3 updates to sync with nsString2 api 1999-04-21 23:48:41 +00:00
peterl%netscape.com dfbe94119d turned off style rule hash debugging code 1999-04-20 14:22:37 +00:00
peterl%netscape.com 6744b5d044 added tests for state dependent style 1999-04-20 00:05:54 +00:00
rickg%netscape.com 782775140d tiny tweaks to keep in sync with new nsString 1999-04-06 00:29:40 +00:00
vidur%netscape.com f6f2f989a9 Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods. 1999-03-31 20:49:25 +00:00
joki%netscape.com 393a3e937e Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
vidur%netscape.com bb1650ee77 Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem 1999-03-10 01:17:49 +00:00
scc%netscape.com 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
peterl%netscape.com 4b2ba32cae added support for dynamic pseudo classes
added support for child & sibling selectors
1999-02-27 07:17:52 +00:00
hyatt%netscape.com d85d9fe190 Changed GetID, HasClass, and GetClasses so that they are invoked on styledContent
instead of htmlContent.
1999-02-27 01:35:51 +00:00
kipp%netscape.com cfa5bbce41 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com 2aaefa469a Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
troy%netscape.com 9c40302b87 Added some casts to get things to compile 1999-02-14 06:12:29 +00:00
kipp%netscape.com 5a554d526e COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl%netscape.com 12296841cf handle case sensitivity in attribute selector values here 1999-02-11 06:42:49 +00:00
joki%netscape.com 76111374a3 Removing nsILinkHandler enum types from dependencies, fixing event handler bugs 1999-01-28 23:14:36 +00:00
peterl%netscape.com 095a999ae8 better base url support
fixed assert in call to deprecated url method

Checkin during red tree approved by sar
1999-01-15 02:07:15 +00:00
brade%netscape.com f8115e6d64 reduce Macintosh compiler warnings by adding static to private function 1999-01-06 18:41:05 +00:00
peterl%netscape.com 4db65df9b0 fix spelling
moved inline automatic key object out of line for buggy unix compilers
1998-12-21 05:58:31 +00:00
peterl%netscape.com 67228dac8d implement multiple class support
implement attribute selector support
1998-12-20 01:17:05 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
peterl%netscape.com e0ce171455 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
waterson%netscape.com 989c4fbe60 A better fix. 1998-12-03 20:50:21 +00:00
waterson%netscape.com 8ca32ffd70 Fix build bustage. 1998-12-03 20:47:01 +00:00
waterson%netscape.com 3cbd2aa561 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
peterl%netscape.com 36202d8d46 added media support to child sheet iteration
changed medium type to atoms
1998-12-02 00:37:32 +00:00
peterl%netscape.com 7edd98cfcb deal with const issues on unix compilers 1998-11-26 04:53:49 +00:00
peterl%netscape.com 4222f0257e style change notification support 1998-11-26 01:34:53 +00:00
vidur%netscape.com 4ca363e17b Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
troy%netscape.com bdd1ad3abf Fixed memory leak 1998-11-11 16:50:51 +00:00
troy%netscape.com e248cb0b50 Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
peterl%netscape.com 776a2683ef sync to style resolution api changes 1998-11-03 20:33:43 +00:00
peterl%netscape.com 4fdb71d1d3 made helper functions static 1998-10-26 23:19:28 +00:00
peterl%netscape.com 2f06549f0b cleanup 1998-10-13 19:14:19 +00:00
rpotts%netscape.com 88edff2205 Fixed crash due to null pointer... 1998-10-08 04:14:18 +00:00
vidur%netscape.com 0031f0710a Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports. 1998-10-06 01:39:33 +00:00
troy%netscape.com 933dc19df8 Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +00:00
peterl%netscape.com f787309dc5 added important rule support 1998-09-11 02:07:46 +00:00
peterl%netscape.com 9099acfd69 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
warren%netscape.com 28969e9e90 Added closure argument to nsHashtable::Enumerate. 1998-09-01 00:16:47 +00:00
kipp%netscape.com ed22b370c4 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
peterl%netscape.com 7950fd1f43 reversed rule ordering 1998-08-27 00:49:55 +00:00
peterl%netscape.com 2e94829b3e made anchor pseudo classes not resolve unless anchor has an href 1998-07-25 01:21:47 +00:00
kipp 30f8f69d23 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
peterl ec0fee2a9a fixed equal weight rule ordering 1998-06-26 05:50:10 +00:00
peterl 1e36945bf8 now track rules by insertion order as well as weighted order
added accessor to rules for save code
1998-06-05 06:06:50 +00:00
kipp e9039ce54f Use revised GetDocument API from content 1998-06-03 16:00:40 +00:00
peterl cb3b43ce42 made it build on irix 1998-05-20 21:28:36 +00:00
peterl 4aaff46277 added rule hash table to speed up style resolution 1998-05-20 20:34:17 +00:00
peterl ad536d754b added pseudo-class rule matching 1998-05-19 00:09:29 +00:00
peterl d017d2a20f pseudo frame support 1998-05-18 21:10:19 +00:00
kipp 86764b175c Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
troy 0ea90de2c4 Fixed a problem in SelectorMatches() that was causing id-based selectors
to always match
1998-04-22 15:43:46 +00:00
peterl 66a1912794 Switch to nsIPtrs to eliminate leaks (and to test them)
added debug code for ref counts
1998-04-22 06:41:10 +00:00
troy d504fcfb0c Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
peterl c839e3a447 fix leaks 1998-04-16 21:51:16 +00:00
kipp 4717009d75 moved to pub 1998-04-13 20:24:54 +00:00