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

1822 Коммитов

Автор SHA1 Сообщение Дата
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
neil%parkwaycc.co.uk c1d03bcc0d Bug 233158 Make tree content view notify tree when all rows are removed r=varga sr=alecf 2004-02-05 19:53:40 +00:00
bryner%brianryner.com d4f13c3ba7 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
bryner%brianryner.com 05a0e4f624 Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron. 2004-02-02 22:17:21 +00:00
roc+%cs.cmu.edu a2c6a75e31 Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron 2004-01-30 03:20:41 +00:00
jst%mozilla.jstenback.com 1804c4910c Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bsmedberg%covad.net 34cd8e8bdf Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +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
bryner%brianryner.com fd6fed0d82 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron. 2004-01-28 00:18:22 +00:00
caillon%returnzero.com d2a13eb02d - If the mouse moves while the scrollbar thumb is incrementing toward it (after a click and hold), update the destination point so it doesn't go past the mouse if it moves closer, and chases the mouse if it moves further away (bug 153946).
- Cache the scrollbar prefs so they aren't constantly looked up.
- Minor cleanup.

r+sr=roc
2004-01-27 05:19:57 +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
neil%parkwaycc.co.uk fe9b1bc6f0 Commenting on change in bug 219908 patch is in original bug 217089 p=gautheri@noos.fr r=bryner sr=jag 2004-01-22 16:14:35 +00:00
bryner%brianryner.com 93f6dc27e6 DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron. 2004-01-21 23:05:10 +00:00
bryner%brianryner.com 290494e26b Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky. 2004-01-21 09:35:59 +00:00
peterv%propagandism.org b73f7d8861 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
peterv%propagandism.org 512c8d9a90 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 10:22:22 +00:00
bryner%brianryner.com 7e8d28b6d7 fix content area not redrawing when resizing the window on Mac. bug 222300, r+sr=dbaron. 2004-01-13 00:27:45 +00:00
bryner%brianryner.com a135ce4d60 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +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
mkaply%us.ibm.com d57166766b #66834
r=mkaply, sr=blizzard (platform specific), a=mkaply
Lost OS/2 only #ifdef change from pedemonte to make us like Windows
2004-01-09 19:34:54 +00:00
roc+%cs.cmu.edu e42362f233 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:28:06 +00:00
roc+%cs.cmu.edu c70c9c9de3 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu 2a50602bc0 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bzbarsky%mit.edu d37d9a3e5f Setting .src should reset image animations; don't animate images no one is
looking at.  Bug 210001, r=pavlov, sr=jst
2004-01-08 18:29:28 +00:00
bryner%brianryner.com 9c81944cb6 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
timeless%mozdev.org 7dfde6c1de Bug 229730 change NS_IF_ADDREF to NS_ADDREF in nsNativeScrollbarFrame::FindScrollbar
r=dbaron sr=dbaron
2003-12-31 04:16:23 +00:00
timeless%mozdev.org a86f67b21d Bug 226141 DRefTool analysis for tree files
r=varga sr=roc
2003-12-24 18:06:20 +00:00
scott%scott-macgregor.org f54f5d2d3b Bug #229112 --> Unable to bring up a compose window in debug builds
r/sr=bryner
2003-12-21 21:42:55 +00:00
bryner%brianryner.com 7264501b7b Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
timeless%mozdev.org 8c72bf5b08 Bug 224723 NS_ASSERTION(boxObject, "no box object!"); timer fired after tree was destroyed
r=varga sr=dbaron
2003-12-21 04:27:50 +00:00
timeless%mozdev.org 57d9d7b390 Bug 226232 DRefTool analysis for xul files
r=roc sr=roc
2003-12-21 04:04:05 +00:00
neil%parkwaycc.co.uk 219452a1b2 Bug 142459 Shift+click on scroll bar should jump to that location r=varga sr=bryner a=asa 2003-11-24 23:52:49 +00:00
neil%parkwaycc.co.uk 11ff187fe9 Bug 225431 context submenus do not reappear if context menu is dismissed (e.g. by alt key) r=dbaron sr=bz a=asa 2003-11-22 23:35:52 +00:00
jst%mozilla.jstenback.com 9941bd43a3 Removing unused variables that I left lying around with my nsIContent::GetTag() deCOMtamination changes. 2003-11-20 03:56:40 +00:00
jst%mozilla.jstenback.com 6380d7fd12 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
sicking%bigfoot.com 55a8f06201 Bug 223012: Make xul fully case sensitive.
r=bryner sr=jst
2003-11-18 18:20:03 +00:00
bzbarsky%mit.edu d23a2bd983 Fix up more XUL GetFrameForPoint impls to correctly handle paint layers. Bug
225732, r+sr=dbaron
2003-11-15 00:47:43 +00:00
bzbarsky%mit.edu e8af6ad52e BoxFrame should only be the point target in the background layer, and should
propagate background layer point requests to kids.  Bug 224013, r+sr=dbaron
2003-11-13 04:13:12 +00:00
bryner%brianryner.com 5784af7a5b Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst. 2003-11-05 05:17:07 +00:00
brendan%mozilla.org 560bb63004 Patch from Neil Deakin <enndeakin@sympatico.ca> to fix overlong button underlines (214956, r+sr=dbaron). 2003-11-05 00:05:10 +00:00
varga%nixcorp.com de121ea543 Fix for bug 223530. null pointer dereference in nsTreeContentView.cpp [@ nsTreeContentView::ContentRemoved ]
r=me sr=bz patch by Nate Nielsen <nielsen@memberwebs.com>
2003-11-03 19:11:50 +00:00
uid502 f60aa658cf Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
uid502 50383ff50a Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
timeless%mozdev.org 551c678677 Bug 223697 nsMenuPopupFrame.cpp:1142:9: warning: multi-line comment
r=bz sr=bz
2003-10-30 02:09:52 +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
varga%nixcorp.com 0f42747ce0 Changing my email address. 2003-10-21 15:35:57 +00:00
neil%parkwaycc.co.uk 8b60d1d81d Bug 195744 Fire command event after dragging or collapsing a splitter r=varga sr=bz 2003-10-21 11:43:40 +00:00
uid502 b83221b617 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky 2003-10-17 02:38:37 +00:00
dbaron%dbaron.org d6a3dc61bd Remove discontinuity at height of 0. b=220266 r+sr=bzbarsky 2003-10-02 22:25:28 +00:00
bzbarsky%mit.edu 8801e97e8f Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org 19a12727ec Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
bryner%brianryner.com cd60efa8ac Updating my email address 2003-09-29 06:04:02 +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
timeless%mozdev.org 86e7f0ad6a Bug 220057 Crash using nsBoxObject w/ null mContent
r=roc sr=roc
2003-09-24 01:47:46 +00:00
uid502 6bed557bd4 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
timeless%mozdev.org 2d778c8fa3 Bug 219908 Remove some layout warnings
r=bz sr=dbaron
2003-09-22 21:40:12 +00:00
neil%parkwaycc.co.uk cc6198b276 Bug 216030 InvalidateScrollbar() should be internal to nsTreeBodyFrame r=varga sr=rbs 2003-09-15 11:30:20 +00:00
bryner%brianryner.com a6a4441867 Make nsSliderFrame realize that its grab has been released due to a deactivate, so that it responds to future mouse events (bug 213122). Also, some general cleanup to nsSliderFrame. r+sr=dbaron. 2003-09-14 01:25:04 +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
roc+%cs.cmu.edu 5217fe6d78 Bug 212753. Make sure mouse capture is released when combobox popup is hidden. r+sr=bryner,a=mkaply 2003-09-02 15:21:13 +00:00
neil%parkwaycc.co.uk b49f956a0c Bug 212839 don't scroll trees to negative top rows r=varga sr=rbs a=asa 2003-08-14 19:48:45 +00:00
roc+%cs.cmu.edu 1b55019c20 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-04 12:39:51 +00:00
noririty%jcom.home.ne.jp 71178a007d fix coding format 2003-08-01 13:26:34 +00:00
noririty%jcom.home.ne.jp 70beababd3 url drop-down wrongly aligned in firebird. Patch by mconnor@rogers.com. b=172530 r=dean sr=bryner 2003-08-01 13:10:31 +00:00
bzbarsky%mit.edu b34b811225 Fixing HP-UX bustage by removing unused variable 2003-07-29 01:50:51 +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
aaronl%netscape.com 92763b022b Bug 212641. Type Alt+Down in URL bar, then click somewhere else, even in another app -- can't get rid of dropdown! r=bryner, sr=bz 2003-07-25 08:26:11 +00:00
jaggernaut%netscape.com ef99140d6d Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron 2003-07-24 04:53:13 +00:00
chanial%noos.fr c057ca60fd bug 210196 Fix use of bookmarks root / top root as a target and correct caller of CanDropBeforeAfter
r=varga, sr=jag
2003-07-17 11:08:07 +00:00
aaronl%netscape.com 87a2803e9c Bug 190331. Hitting enter on XUL checkbox should not fire oncommand event, because you are only accepting/OK'ing dialog, not changing checkbox value. r=hewitt, sr=jst 2003-07-14 09:45:54 +00:00
jaggernaut%netscape.com bf82a649b9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com 20004e3489 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu 80a20a1eaa Remove redundant #include 2003-07-11 22:44:16 +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 887a382250 ongoing deCOMtamination work. r+sr=dbaron 2003-07-09 03:30:40 +00:00
neil%parkwaycc.co.uk 2b767fc200 Bug 184202 stop nsTreeSelection's nsITreeBoxObject* pointer from dangling, might fix firebird autocomplete crash r=varga sr=jag 2003-07-08 14:01:56 +00:00
bzbarsky%mit.edu 25471a836d Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
neil%parkwaycc.co.uk 31183f51ae Bustage fix patch changed intent of checkin for bug 208093 2003-07-01 13:16:55 +00:00
locka%iol.ie 8c8bfafee7 Build bustage fix. Remove duplicate variable declarations and assignments. b=208093 2003-07-01 12:02:15 +00:00
neil%parkwaycc.co.uk 0a90032224 Bug 208093 Make tree body frame cache row count r=varga sr=jag 2003-07-01 11:03:53 +00:00
neil%parkwaycc.co.uk a3230f658d Bug 208093 Make tree body frame cache row count r=varga sr=jag 2003-07-01 10:38:50 +00:00
neil%parkwaycc.co.uk af1b41e03b Bug 210638 Tree should be able to maintain the selection during a batch update r=varga sr=jag 2003-06-26 10:54:42 +00:00
roc+%cs.cmu.edu dfa2a5717d deCOMtamination. Checking in this change now because I think the nsIFrame::GetWindow() COM-style wrapper is broken (doesn't ADDREF, but should), but the easiest way to fix that is to deCOMtaminate this, the only caller I can find. r+sr=dbaron 2003-06-24 03:34:41 +00:00
caillon%returnzero.com 36a00e95c1 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +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
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
bienvenu%netscape.com 8e0758f402 fix hang drag drop from tree outliner 207908 r=varga, sr=sspitzer 2003-06-02 19:21:37 +00:00
dbaron%dbaron.org 7a51cf1597 Replace nsSliderFrame::GetContentOf with static GetContentOfBox to fix hiding warning and avoid unnecessary |this| argument. b=42634 Patch from Marc Loiselle <mloiselle@yahoo.com>. r=dbaron sr=bryner 2003-06-02 02:39:26 +00:00
dbaron%dbaron.org b11dcca393 A little cleanup. b=207700 r+sr=bryner 2003-06-01 20:03:13 +00:00
timeless%mozdev.org f580240373 Bug 207318 nsTreeBodyFrame needs to check rv of GetParentIndex
r=varga sr=bryner
2003-06-01 14:59:22 +00:00
timeless%mozdev.org ece05c4d2e Bug 207583 imgLoader::LoadImage called with null pointer from nsImageBoxFrame::UpdateImage
r=bz sr=bz
2003-05-30 20:02:55 +00:00
bryner%netscape.com 2e814e709c Fix positioning of the scrollbar thumb when going back to the previous page, using native scrollbars on Mac. Bug 201815, r=pinkerton, sr=sfraser. 2003-05-28 23:13:37 +00:00
dbaron%dbaron.org 178d947d10 Missed part of checkin by jaggernaut%netscape.com: Bug 203167: Clean up nsDeckFrame a little. r=peterv, sr=bryner 2003-05-24 04:10:40 +00:00
jaggernaut%netscape.com 32739c2581 Bug 193730: fix typo in "pref" name "intl.menuitems.alwaysappendaccesskeys" (access, not acces). Patch by mc <magicdice@hotmail.com>, r=sr=jag 2003-05-24 02:40:08 +00:00
jaggernaut%netscape.com c6d69bf32f Bug 203167: Clean up nsDeckFrame a little. r=peterv, sr=bryner 2003-05-24 02:35:08 +00:00
timeless%mozdev.org dd375da70f Bug 205603 Cleanup warnings in xul..grid
r=varga sr=jag
2003-05-23 22:14:12 +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
varga%netscape.com 1734eec58f Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
2003-05-23 12:03:40 +00:00
smontagu%netscape.com cdd2b71ee3 Set mColumns to nsnull after |delete| to prevent a crash. Bug 206437, r+sr=bryner, a=mkaply. 2003-05-21 19:56:59 +00:00