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

97 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com 745944525d Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
dbaron%dbaron.org 8b81db7e6f Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst 2004-02-20 21:38:31 +00:00
sicking%bigfoot.com 580557c74f Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
r=bryner sr=jst
2004-02-20 19:00:43 +00:00
bryner%brianryner.com b26298f7c2 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
jst%mozilla.jstenback.com 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
dbaron%dbaron.org 78533f969d Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv 2004-01-28 21:04:33 +00:00
jst%mozilla.jstenback.com d62aed44c4 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
peterv%propagandism.org b73f7d8861 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
jst%mozilla.jstenback.com 4ab234b8be General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bryner%brianryner.com a0e219b348 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com 8aa7b563d2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bryner%brianryner.com 86ad399c4f Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:37:27 +00:00
bzbarsky%mit.edu 1c89273d3a DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
bzbarsky%mit.edu 76799ff743 Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
nsINodeInfo a tad.  Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
dbaron%dbaron.org 92b921aca3 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu 55a49cd4d6 Ongoing deCOMtamination. r+sr=dbaron 2003-06-29 03:43:05 +00:00
dbaron%dbaron.org 42b06cc4f5 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
caillon%returnzero.com ba75de772b Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
dwitte%stanford.edu 149f719c00 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
dbaron%dbaron.org 754d904cda Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
dbaron%dbaron.org 1419b5fd03 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
cbiesinger%web.de ce88084032 182554 r=caillon sr=roc+moz cleanup nsImageMap.cpp 2002-12-12 23:22:17 +00:00
dbaron%fas.harvard.edu 00a1205bd2 Remove unneeded stubs for code to support Navigator 4.x-only suppress attribute. b=182554 r=biesi (who noticed the problem) sr=peterv 2002-11-28 23:02:31 +00:00
cbiesinger%web.de 1433aa3313 removing unused function Area::ToHTML. r=peterv sr=dbaron. no bug. 2002-11-28 22:18:01 +00:00
sicking%bigfoot.com f04a4ebeb7 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
bzbarsky%mit.edu 6ec7dec1d6 Include url in error message. Bug 167662, r=jkeiser, sr=jst 2002-09-11 02:55:14 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
bzbarsky%mit.edu d345ac3eda Bug 162546 and bug 141883. Better handling of unknown area shapes and
more graceful handling of bogus rect coords.  r=jkeiser, sr=roc.
2002-08-27 20:49:54 +00:00
roc+%cs.cmu.edu c0c4d81870 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
aaronl%netscape.com 96b6202731 Bug 132158. Active Accessibility: expose correct bounds information and accessible value for HTML areas. r=saari, sr=alecf. 2002-08-17 01:46:58 +00:00
jst%netscape.com c510ff0346 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu 324f543007 Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
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
dbaron%fas.harvard.edu 14dbf6e625 Fix tabbing through image maps and fix Windows crash right-clicking on image maps by reverting my changes to nsImageMap from bug 110911 and by giving the primary frame map larger entries to accomodate mapping from a content node to a frame with a different |mContent|. b=115481, 114377 r=bryner sr=attinasi 2002-01-05 15:22:52 +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
sfraser%netscape.com 2d9ef098bb Fix for bug 115162 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:13:08 +00:00
dbaron%fas.harvard.edu 1be6acf636 Remove nsDST and convert its users (PresShell::mSubShellMap, FrameManager::mPrimaryFrameMap, and FrameManager::PropertyList::mFrameValueMap) to PLDHash. Also convert FrameManager::mPlaceholderMap to PLDHash. Give image map area structures a pointer back to their image frame rather than (mis)using the primary frame map. Change API for changing placeholder map to reflect hash entry that accesses key through value by passing only the value and not the key. Give the root frame a proper mContent. b=110911 r=attinasi sr=brendan 2001-12-06 05:45:07 +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
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
hyatt%netscape.com 1e28dfba99 Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +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
dbaron%fas.harvard.edu ec8721d84c Fix imagemap COORDS parsing function to handle whitespace correctly, which coincidentally fixes a crash that I don't understand. b=91432 r=jag sr=waterson 2001-07-25 05:14:18 +00:00
dbaron%fas.harvard.edu 688519fb0c Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
waterson%netscape.com 7373bddf79 Bug 60079. Look a little bit harder for <area> elements, rather than just bailing if the first element in the <map> isn't an <area>. r=saari, sr=jst 2001-04-01 00:45:59 +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
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
heikki%netscape.com 95fbe00809 Bug 59675, fixing uninitialized variables. r=jst, a=waterson. 2000-11-27 23:23:28 +00:00
jst%netscape.com b3d9cbac12 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +00:00
waterson%netscape.com de1552a50c Bug 49122. Make the image map manage addition and removal of the <area>'s to the primary-frame-for map in the frame manager. r=saari 2000-08-18 06:27:42 +00:00
saari%netscape.com e5187f56fa Fix more leaks bug 48126 again. r=hyatt 2000-08-12 00:38:22 +00:00