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

325 Коммитов

Автор SHA1 Сообщение Дата
attinasi%netscape.com c115636333 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 a35fa496f6 Bug 29611. Use 'GetHref()' to retrieve anchor tag's href. r=attinasi 2000-06-02 04:27:47 +00:00
shaver%mozilla.org 6c56f39224 properly handle updating of class or id, #39642, r=attinasi, a=waterson 2000-05-31 20:00:31 +00:00
mkaply%us.ibm.com 960c583bb7 # 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 280b9c7ce9 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 2da0ab457d 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 14623c747b 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 e0f24c4de8 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 23620fb329 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00
pierre%netscape.com ef1931a1f8 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 4e1b0eaca0 making string conversions explicit 2000-04-27 20:38:50 +00:00
dbaron%fas.harvard.edu 9c16f212b1 Fix bug 37082 - attribute selector matching for ~= and |= backwards. r=pierre@netscape.com 2000-04-27 00:07:12 +00:00
jst%netscape.com 70304a6c16 Initialize mRefCnt in the constructor, duh! 2000-04-26 23:24:30 +00:00
jst%netscape.com af8646bbb5 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
attinasi%netscape.com af2c4a7c11 Removed warnings: very basic changes 2000-04-23 19:06:37 +00:00
dbaron%fas.harvard.edu ed9c5e00ef 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 548a65c864 Back out changes my changes to nsILinkHandler because of performance problems. 2000-04-18 04:34:20 +00:00
braddr%puremagic.com 857f0905f7 eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan
2000-04-16 00:23:57 +00:00
scc%netscape.com 52bdf65d60 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com 0012d27605 making string conversions explicit 2000-04-15 20:15:37 +00:00
waterson%netscape.com a06a8ee723 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 1621b39d9e Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
warren%netscape.com 727f312b32 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 11934b336b 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 194f10b94d landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
warren%netscape.com c0497e31be 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 080142580c 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 731ac166e2 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 58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
jim_nance%yahoo.com e455fbcd9f 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 a77a2365a0 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 44416b6765 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 0698de9566 Bug 9489. Use nsAutoVoidArray for collecting classes to avoid excessive heap use. 1999-12-01 03:27:25 +00:00
warren%netscape.com 2db26922a6 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 5312eacf8c 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 bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com bf91cebfba Wiped out another warning 1999-10-15 23:29:21 +00:00
pepper%netscape.com 2e9499e739 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 5cf3f40b06 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 65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
peterl%netscape.com a3aede8c1c 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 8274ae09b1 r=peterl; Added in ctor/dtor counting 1999-10-05 14:52:20 +00:00
kipp%netscape.com c37ecb974c Removed atom table hacks 1999-09-30 21:17:28 +00:00
peterl%netscape.com 2c450d66f9 added first-node pseudo class (extension) 1999-09-11 00:08:30 +00:00
peterl%netscape.com c6165d5393 fix warning 1999-09-03 23:40:22 +00:00
peterl%netscape.com 6edd662900 added :root pseudo class 1999-08-08 01:17:58 +00:00
peterl%netscape.com 64ca5956b4 removed warnings
update to api changes
1999-07-18 00:27:40 +00:00
kipp%netscape.com dd6cf0e923 Removed a compiler warning 1999-07-16 17:40:39 +00:00
andreas.otte%primus-online.de 838f5a972b NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
peterl%netscape.com a7f9440b61 cleanup error handling 1999-07-07 01:32:59 +00:00
andreas.otte%primus-online.de 001ff1afea NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
valeski%netscape.com e4ba4e0477 getbuffer bypass 1999-06-29 23:14:43 +00:00
peterl%netscape.com eb116131c1 cleanup url listing 1999-06-27 21:16:16 +00:00
peterl%netscape.com 536fe1d103 removed old autostring constructor per rickg 1999-06-27 20:42:45 +00:00
warren%netscape.com fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
warren%netscape.com 1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
peterl%netscape.com 4025e89b09 removed unnecessary null tests (tested at call site for performance) 1999-06-22 19:24:50 +00:00
rods%netscape.com 4722496f0e Turned on dragOver style 1999-06-22 14:21:27 +00:00
jfrancis%netscape.com 94fabdd3d9 making the world safe for null linkHandlers 1999-06-21 07:47:29 +00:00
sspitzer%netscape.com 2c44b3b132 safety checks to prevent dereferencing null 1999-06-19 21:18:13 +00:00
valeski%netscape.com e23b3c673c 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 8079c8b02f added faster medium testing support
added default namespace support
WIP for faster cascade
1999-06-15 06:20:46 +00:00
peterl%netscape.com 6609b24e1e added support for other rule types
cleaned up api
1999-06-10 05:29:22 +00:00
peterl%netscape.com 3a985e402f added modified state
added cloning with actual copy on write
1999-06-03 01:57:52 +00:00
peterl%netscape.com f548cec11d changed cascading code to include rules from children
added rule cascade per media
1999-05-26 23:55:12 +00:00
peterl%netscape.com 16dd98d7c6 added clone & insert child support
added drag-n-drop pseudo support
1999-05-18 23:14:29 +00:00
warren%netscape.com 87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
alecf%netscape.com 334b3a5e33 Count() is no longer const 1999-05-12 02:55:54 +00:00
rickg%netscape.com 1a3777a0b7 updates to sync with nsString2 api 1999-04-21 23:48:41 +00:00
peterl%netscape.com f7c79764b1 turned off style rule hash debugging code 1999-04-20 14:22:37 +00:00
peterl%netscape.com c503d0ed68 added tests for state dependent style 1999-04-20 00:05:54 +00:00
rickg%netscape.com c4b62ed8c6 tiny tweaks to keep in sync with new nsString 1999-04-06 00:29:40 +00:00
vidur%netscape.com d801e996bd 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 1c2882e5e6 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 634e324575 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 2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
peterl%netscape.com ee60b04ab0 added support for dynamic pseudo classes
added support for child & sibling selectors
1999-02-27 07:17:52 +00:00
hyatt%netscape.com 375ee1d8f5 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 760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com a757e2efbe Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
troy%netscape.com 21440e671d Added some casts to get things to compile 1999-02-14 06:12:29 +00:00
kipp%netscape.com 36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl%netscape.com 7abf9dcf70 handle case sensitivity in attribute selector values here 1999-02-11 06:42:49 +00:00
joki%netscape.com c14cc1cb25 Removing nsILinkHandler enum types from dependencies, fixing event handler bugs 1999-01-28 23:14:36 +00:00
peterl%netscape.com e4dc4ef541 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 5f008f5785 reduce Macintosh compiler warnings by adding static to private function 1999-01-06 18:41:05 +00:00
peterl%netscape.com 01b2811d2e 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 7bdfe8b5c1 implement multiple class support
implement attribute selector support
1998-12-20 01:17:05 +00:00
warren%netscape.com 0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
peterl%netscape.com 11b7d1b081 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
waterson%netscape.com 1ebf1ebe4a A better fix. 1998-12-03 20:50:21 +00:00
waterson%netscape.com a39407d940 Fix build bustage. 1998-12-03 20:47:01 +00:00
waterson%netscape.com 1cd4a28768 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
peterl%netscape.com 1d114307e1 added media support to child sheet iteration
changed medium type to atoms
1998-12-02 00:37:32 +00:00
peterl%netscape.com 5166993f42 deal with const issues on unix compilers 1998-11-26 04:53:49 +00:00
peterl%netscape.com e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
vidur%netscape.com 026c273104 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 f9a029ea12 Fixed memory leak 1998-11-11 16:50:51 +00:00
troy%netscape.com 690b52766a Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
peterl%netscape.com cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
peterl%netscape.com 66082c24f8 made helper functions static 1998-10-26 23:19:28 +00:00
peterl%netscape.com a904f8b43e cleanup 1998-10-13 19:14:19 +00:00
rpotts%netscape.com 7d88ecde74 Fixed crash due to null pointer... 1998-10-08 04:14:18 +00:00
vidur%netscape.com 7cff1485c8 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 fa70c38667 Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +00:00
peterl%netscape.com 282eb4c3bb added important rule support 1998-09-11 02:07:46 +00:00
peterl%netscape.com 0fec5be8c0 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
warren%netscape.com 4f1b718b4e Added closure argument to nsHashtable::Enumerate. 1998-09-01 00:16:47 +00:00
kipp%netscape.com c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
peterl%netscape.com a71cd5de1d reversed rule ordering 1998-08-27 00:49:55 +00:00
peterl%netscape.com 62cb905c58 made anchor pseudo classes not resolve unless anchor has an href 1998-07-25 01:21:47 +00:00
kipp 3f7d5435a3 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
peterl d1e43f5eac fixed equal weight rule ordering 1998-06-26 05:50:10 +00:00
peterl 119198c615 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 b7847a124d Use revised GetDocument API from content 1998-06-03 16:00:40 +00:00
peterl 745e32a18d made it build on irix 1998-05-20 21:28:36 +00:00
peterl c33cdeff7c added rule hash table to speed up style resolution 1998-05-20 20:34:17 +00:00
peterl 194cc28a2d added pseudo-class rule matching 1998-05-19 00:09:29 +00:00
peterl e8e82334f0 pseudo frame support 1998-05-18 21:10:19 +00:00
kipp 941c955ed8 Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
troy 76caee5967 Fixed a problem in SelectorMatches() that was causing id-based selectors
to always match
1998-04-22 15:43:46 +00:00
peterl 2de9fe5685 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 3ce8e88882 Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
peterl 74502df8bb fix leaks 1998-04-16 21:51:16 +00:00
kipp 098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00