314 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
ea1cb20f01 Fix build warning by renaming variable. r=disttsc@bart.nl
git-svn-id: svn://10.0.0.236/trunk@78120 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 02:08:41 +00:00
jst%netscape.com
7e0575bfee 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
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
warren%netscape.com
e5706a7236 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
dbaron%fas.harvard.edu
38b11b0554 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
git-svn-id: svn://10.0.0.236/trunk@74961 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:17:53 +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
f89065c311 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
git-svn-id: svn://10.0.0.236/trunk@68259 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:41:02 +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
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
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
dbaron%fas.harvard.edu
dd3116b06a Fix leak of style contexts. r=karnaze@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63413 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:26:13 +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
karnaze%netscape.com
3be962e028 bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@60992 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:08:54 +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
sspitzer%netscape.com
39c4302028 bulletproofing fix for crash reported in #22811
git-svn-id: svn://10.0.0.236/trunk@56605 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 19:28:06 +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
peterl%netscape.com
f3c05f912b Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy


git-svn-id: svn://10.0.0.236/trunk@50919 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-16 04:05:59 +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
buster%netscape.com
fee0b64d1f fixed BodyFixupRule::MapStyleInto to respect background color properly
code-reviewed by Peter Linss


git-svn-id: svn://10.0.0.236/trunk@42643 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 05:38:28 +00:00
peterl%netscape.com
9163a49429 cleanups
git-svn-id: svn://10.0.0.236/trunk@39953 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:30:11 +00:00
andreas.otte%primus-online.de
aa8f29f8c5 NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski
git-svn-id: svn://10.0.0.236/trunk@38985 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-11 15:46:10 +00:00
vidur%netscape.com
40039f1303 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.
git-svn-id: svn://10.0.0.236/trunk@38617 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 04:53:36 +00:00
peterl%netscape.com
fa36e7cd75 split attribute container into mapped and unmapped parts
only mapped part is uniqued now


git-svn-id: svn://10.0.0.236/trunk@38550 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:30:43 +00:00
andreas.otte%primus-online.de
03e69d05c3 NECKO only: replacing GetBuffer with ToNewCString and some error checking
git-svn-id: svn://10.0.0.236/trunk@38458 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:08:16 +00:00
peterl%netscape.com
1dc84bd010 removed autostring constructor usage per rickg
cleaned up url listing


git-svn-id: svn://10.0.0.236/trunk@37144 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-27 21:17:39 +00:00
warren%netscape.com
fdf6c938bb Necko ifdefs for layout and rdf.
git-svn-id: svn://10.0.0.236/trunk@37005 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 06:36:26 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
peterl%netscape.com
856cbed60f removed unnecessary null tests (tested at call site for performance)
cleaned up null link handler testing to avoid URL conputation


git-svn-id: svn://10.0.0.236/trunk@36309 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:25:31 +00:00
jfrancis%netscape.com
13c07cf443 making the world safe for null linkHandlers
git-svn-id: svn://10.0.0.236/trunk@36030 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 07:47:29 +00:00
sspitzer%netscape.com
62333c3c30 safety checks to prevent dereferencing null
git-svn-id: svn://10.0.0.236/trunk@35912 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 21:18:13 +00:00
valeski%netscape.com
4fa4e2e84d 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.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
peterl%netscape.com
44dd0a04bd added better medium testing api
git-svn-id: svn://10.0.0.236/trunk@35397 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:21:47 +00:00
karnaze%netscape.com
139fc10e3b new style rule for table elements inheriting backgrounds in Nav Quirks mode
git-svn-id: svn://10.0.0.236/trunk@34066 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:09:07 +00:00
peterl%netscape.com
1fb18ff43d sync to nsIStyledContent API change
git-svn-id: svn://10.0.0.236/trunk@32814 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:55:49 +00:00
sspitzer%netscape.com
e4b612578b make destructors virtual
git-svn-id: svn://10.0.0.236/trunk@31372 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:11:25 +00:00
rickg%netscape.com
051e73b4dc updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28576 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:48:41 +00:00
peterl%netscape.com
9f663889ee added tests for state dependent style
git-svn-id: svn://10.0.0.236/trunk@28168 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:05:54 +00:00
peterl%netscape.com
ae015c0f0f split font style mapping from regular style mapping
git-svn-id: svn://10.0.0.236/trunk@27701 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:23:05 +00:00
rickg%netscape.com
b883571317 tiny tweaks to keep in sync with new nsString
git-svn-id: svn://10.0.0.236/trunk@26383 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:29:40 +00:00
peterl%netscape.com
f8fe1e1007 backing out prevoius changes (unix didn't like it)
git-svn-id: svn://10.0.0.236/trunk@26060 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:57:07 +00:00
peterl%netscape.com
c3abd8f36d initialize bitfields through a union to keep purify happy
git-svn-id: svn://10.0.0.236/trunk@26051 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 18:51:28 +00:00
joki%netscape.com
58d63da788 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
git-svn-id: svn://10.0.0.236/trunk@25418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:22:54 +00:00
troy%netscape.com
279360546a In RulesMatching(), changed NS_RELEASE to NS_IF_RELEASE for the link handler.
This fixes a crash when doing a print preview


git-svn-id: svn://10.0.0.236/trunk@23067 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 17:20:27 +00:00