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

245 Коммитов

Автор SHA1 Сообщение Дата
reed@reedloden.com 5f6ec433bc Bug 399753 - "Remove "nsISupportsArray" in the layout directory" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr+a1.9=dbaron] 2007-10-14 20:09:59 -07:00
masayuki@d-toybox.com a20d56bd8d Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
timeless@mozdev.org 7fa96959ad Bug 386560 enable inspector support to work with --disable-xul
r=bsmedberg sr=bz
2007-07-17 22:35:23 -07:00
bzbarsky@mit.edu 4d53ccf996 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
timeless@mozdev.org 51244bcf9d Bug 385716 inIFlasher.drawElementOutline and inIFlasher.repaintElement aren't null safe [@ inLayoutUtils::GetWindowFor]
r=bz sr=bz
2007-07-01 12:13:13 -07:00
sdwilsh@shawnwilsher.com ce84e0a186 Bug 383890 - crash creating new dom attribute with prefix [@inDOMView::GetChildNodesFor]. Patch by Mook <mook.moz+mozbz@gmail.com>. r=sdwilsh, sr=neil 2007-06-12 10:19:55 -07:00
mats.palmgren@bredband.net b3b5d084fc Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir 2007-05-12 06:06:16 -07:00
bzbarsky@mit.edu 086c2eb0c0 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
benjamin@smedbergs.us baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
tor%cs.brown.edu eaeda066b9 Bug 373089 - add a ParentChainChanged notification to nsIMutationObserver.
r+sr=sicking
2007-03-10 13:49:43 +00:00
Olli.Pettay%helsinki.fi 4e0ebc823d Bug 372665 ��� Crash [@ PresShell::ScrollFrameIntoView] when focusing br during pageload. (Adding ScrollContentIntoView), r+sr=roc 2007-03-06 09:53:56 +00:00
jonas%sicking.cc a9c9356be8 Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst 2007-02-27 00:14:01 +00:00
sharparrow1%yahoo.com 88fb576ad6 Bug 371460: Remove clipping functions from views. r+sr=roc. 2007-02-24 15:27:20 +00:00
sharparrow1%yahoo.com 9544d61b5c Bug 370642: remove use of views in layout/inspector. r+sr=dbaron. 2007-02-18 04:44:21 +00:00
jonas%sicking.cc 073b1fd3fe Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest. 2007-02-16 23:02:08 +00:00
sharparrow1%yahoo.com 76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
asqueella%gmail.com 918c6d5909 Bug 210096, part two - remove inIFileSearch interface and its implementation
patch by Shawn Wilsher <comrade693+bmo@gmail.com>
r=db48x, sr=neil
2007-01-31 15:04:36 +00:00
cvshook%sicking.cc a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
timeless%mozdev.org e4d28625e6 Bug 366927 DOMi does not remember preference for showing whitespace nodes or not at first startup
patch by comrade693+bmo@gmail.com r=db48x sr=neil
2007-01-14 23:20:31 +00:00
cvshook%sicking.cc f5194fd473 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst 2006-11-03 21:51:01 +00:00
aaronleventhal%moonset.net e0c5dcaa1f Bug 349885. GetAccessibleFor() doesn't look if ally nodes are allowed inside anon content. Patch by Alexander Surkov. r=aaronlev, sr=neil 2006-10-30 02:49:34 +00:00
timeless%mozdev.org b17f13e009 Bug 345982 Object - DOM Node does not update when changing values of a node's attributes
patch by sylvain.pasche@gmail.com r=timeless sr=neil
2006-09-20 15:35:52 +00:00
db48x%yahoo.com e1bce0236e bug 351744: Memory leak in |inFileSearch::SetFilenameCriteria| (inFileSearch.cpp)
r=timeless, sr=biesi
2006-09-17 17:11:08 +00:00
bzbarsky%mit.edu 9a35cacece Fix crash bug 349398, r+sr=sicking 2006-08-31 03:22:36 +00:00
aaronleventhal%moonset.net 083e28aa17 Bug 337674. Make it possible to inspect accessibles (nsIAccessible) objects. Patch thanks to Alexander Surkov. r=timeless, sr=neil 2006-08-07 19:54:35 +00:00
cvshook%sicking.cc 3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
timeless%mozdev.org a49e408650 Bug 344396 domi crashes inspecting something [@ nsBindingManager::GetContentListFor]
r=jst sr=jst
2006-07-14 12:08:59 +00:00
cvshook%sicking.cc 2c39937d84 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz 2006-07-02 07:23:10 +00:00
cbiesinger%web.de 3996c4f0ac Bug 341084 use a unicode buffer rather than AssignWithConversion
r+sr=bz
2006-06-12 17:05:50 +00:00
Jan.Varga%gmail.com e5158d88ef Fix for bug 296040. Cell-based selection in trees
r=Neil Deakin, sr=Neil Rashbrook, sponsored by BEToptions
2006-06-06 20:05:13 +00:00
neil%parkwaycc.co.uk 7a6afdd808 Bug 338741 Make it possible for DOM Inspector to select an element by click in a content document of the inspected chrome r+sr=bz 2006-05-31 08:38:26 +00:00
benjamin%smedbergs.us a59e005da0 Fix mutation handling in Inspector to be more robust and correct. Bug 285204,
r=timeless, sr=neil re-landing into layout/inspector since it was originally commited after the cvs copiies from bug 325100 were performed.
2006-05-21 16:41:06 +00:00
benjamin%smedbergs.us 0a82d563d9 Bug 325100 - move DOMI C++ components into gklayout, r=dbaron 2006-05-19 18:59:39 +00:00
bsmedberg%covad.net c7aaed67e0 Bug 295711 part 3 - Package inspector as a real extension (in <appdir>/extensions/inspector@mozilla.org/...) and consolidate all the silly app-specific forking/overriding done in browser/extensions/inspector and mail/extensions/inspector r=mconnor sr+a=shaver 2006-05-17 02:38:58 +00:00
bsmedberg%covad.net e35008b4f0 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2006-05-17 02:38:57 +00:00
dbaron%dbaron.org 4fb9469d29 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-05-17 02:38:56 +00:00
cvshook%sicking.cc e8f6f5805f Bug 333795, kill unused BeginReflow/EndReflow functions. r/sr=dbaron 2006-05-17 02:38:55 +00:00
uriber%gmail.com 538d2de1a5 Bug 328323: Flasher code needs to be adjusted for bug 299065. r+sr=bzbarsky 2006-05-17 02:38:54 +00:00
timeless%mozdev.org c325832b7b Bug 299097 remove useless references to nsVoidArray
r=caillon sr=bz
2006-05-17 02:38:53 +00:00
sharparrow1%yahoo.com f31987508b Bug 334416: Misc view usage cleanups. r+sr=roc. 2006-05-17 02:38:52 +00:00
jst%mozilla.jstenback.com 69fa4b03b6 Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2006-05-17 02:38:51 +00:00
bzbarsky%mit.edu a1ff6eec94 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2006-05-17 02:38:50 +00:00
bzbarsky%mit.edu 87bf0ded80 Add an nsIContent api for getting the intrinsic state of the content; this can
be used to implement more pseudo-classes (eg CSS3 UI ones for XForms).  Bug
296309, r+sr=dbaron, a=chofmann
2006-05-17 02:38:49 +00:00
bryner%brianryner.com 3dbe2b5e92 Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2006-05-17 02:38:48 +00:00
bzbarsky%mit.edu 09885755a4 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2006-05-17 02:38:47 +00:00
bryner%brianryner.com 95543963f4 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2006-05-17 02:38:46 +00:00
bryner%brianryner.com 97d4d9cee5 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky. 2006-05-17 02:38:45 +00:00
bmlk%gmx.de 4e0962a9f7 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2006-05-17 02:38:44 +00:00
bzbarsky%mit.edu aafec59e0e Fix bogus assumptions in inspector that can lead to crashes. Bug
270771. r=timeless, sr=jst
2006-05-17 02:38:43 +00:00
roc+%cs.cmu.edu 830c0ec214 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2006-05-17 02:38:42 +00:00
bryner%brianryner.com da31ff4189 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2006-05-17 02:38:41 +00:00
bryner%brianryner.com 60df662100 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2006-05-17 02:38:40 +00:00
caillon%redhat.com 3543a2b60d Patch for bug 239785: "only first part blinks for elements split into multiple lines"
Contributed by Michal Ceresna <ceresna@amos.sturak.sk>
r=caillon, sr=roc
2006-05-17 02:38:39 +00:00
bzbarsky%mit.edu c5fb487275 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2006-05-17 02:38:38 +00:00
dbaron%dbaron.org a07267b2c2 Bug 272151: reorganize files within layout, r+sr=roc 2006-05-17 02:38:37 +00:00
roc+%cs.cmu.edu 32972d42a7 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2006-05-17 02:38:36 +00:00
jst%mozilla.jstenback.com 563f8a592f Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2006-05-17 02:38:35 +00:00
bzbarsky%mit.edu 7ee7f075c2 Don't crash if we're asked for the style rules for a node in a document with no
presentation at all.  Bug 240767, r=caillon, sr=bryner.
2006-05-17 02:38:34 +00:00
bzbarsky%mit.edu da6cb5e92d Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2006-05-17 02:38:33 +00:00
roc+%cs.cmu.edu 1e4c9a52b9 Backing out 233441. 2006-05-17 02:38:32 +00:00
roc+%cs.cmu.edu 3c25d2a2c8 Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2006-05-17 02:38:31 +00:00
gerv%gerv.net 3c02d7de57 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-05-17 02:38:30 +00:00
varga%nixcorp.com 3c7e5cd733 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2006-05-17 02:38:29 +00:00
dbaron%dbaron.org 060915a30d Use stable APIs in inCSSValueSearch. b=224164 r=caillon sr=bzbarsky 2006-05-17 02:38:28 +00:00
sicking%bigfoot.com 1e0ebbe091 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2006-05-17 02:38:27 +00:00
dbaron%dbaron.org 0718f82a18 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 2006-05-17 02:38:26 +00:00
jst%mozilla.jstenback.com 8bf02835a0 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2006-05-17 02:38:25 +00:00
dbaron%dbaron.org f6c5136445 Fix one-time leak of atoms by converting to static atoms. b=230361 r=caillon sr=bryner 2006-05-17 02:38:24 +00:00
bzbarsky%mit.edu 2d8ed15eb1 Convert URL stuff in XBL to use nsIURI instead of strings. Bug 224765, r+sr=bryner 2006-05-17 02:38:23 +00:00
bryner%brianryner.com d04256e87a deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2006-05-17 02:38:22 +00:00
bryner%brianryner.com 66d1fdd13f Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2006-05-17 02:38:21 +00:00
jst%mozilla.jstenback.com 0392624b6a Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2006-05-17 02:38:20 +00:00
bryner%brianryner.com 6458951f59 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. 2006-05-17 02:38:19 +00:00
dbaron%dbaron.org ff6a03801e Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2006-05-17 02:38:18 +00:00
timeless%mozdev.org f75c8c97ff Bug 220093 inCSSValueSearch incorrectly uses strings
r=caillon sr=bz
2006-05-17 02:38:17 +00:00
jst%mozilla.jstenback.com b17a188d9d General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2006-05-17 02:38:16 +00:00
dbaron%dbaron.org f8ea3c235e Free remaining stack items in destructor to fix leaking pretty much everything. b=230264 r=caillon sr=bryner 2006-05-17 02:38:15 +00:00
jst%mozilla.jstenback.com fa16aa634c Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2006-05-17 02:38:14 +00:00
dbaron%dbaron.org af2cb5023a Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky 2006-05-17 02:38:13 +00:00
uid502 f5e8641ad1 Fixing bustage. 2006-05-17 02:38:12 +00:00
jst%mozilla.jstenback.com 134c3f9c9c 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. 2006-05-17 02:38:11 +00:00
uid502 003094eb0e Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2006-05-17 02:38:10 +00:00
bryner%brianryner.com 12c9b89f2a Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2006-05-17 02:38:09 +00:00
dbaron%dbaron.org 8c1b70e733 Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky 2006-05-17 02:38:08 +00:00
bzbarsky%mit.edu 947cbde304 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2006-05-17 02:38:07 +00:00
bzbarsky%mit.edu 3089eb2c8a Fix some memory leaks in Inspector. Bug 211166, r=caillon, sr=alecf 2006-05-17 02:38:06 +00:00
jaggernaut%netscape.com 7d8ac667d3 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2006-05-17 02:38:05 +00:00
dbaron%dbaron.org 8448a8a004 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2006-05-17 02:38:04 +00:00
neil%parkwaycc.co.uk 2d2ca8c641 Bug 211537 DOM Inspector not displaying full tree of nodes r=caillon sr=bz
Using correct line endings this time :-)
2006-05-17 02:38:03 +00:00
caillon%returnzero.com c8c43df08a Backout of Neil's patch for bug 211537. This was only supposed to touch 10 or so lines, not every line in each of two files. 2006-05-17 02:38:02 +00:00
neil%parkwaycc.co.uk c23735c1f1 Bug 211537 DOM Inspector not displaying full tree of nodes r=caillon sr=bz 2006-05-17 02:38:01 +00:00
bzbarsky%mit.edu 59bda006ca Show #document nodes in iframes. Fix up various code that assumed they would
_not_ be shown.  Minor cleanup of various sorts (nsCOMArray, etc).  Bug 201585,
r=caillon, sr=alecf
2006-05-17 02:38:00 +00:00
dbaron%dbaron.org 02423381a1 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2006-05-17 02:37:59 +00:00
caillon%returnzero.com 35ff46488c 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
2006-05-17 02:37:58 +00:00
bzbarsky%mit.edu f617c24cf2 Make DOM inspector deal with a root Document object in the DOM view. Bug
201577, r=timeless, sr=peterv
2006-05-17 02:37:57 +00:00
caillon%returnzero.com 89ebe6c443 187414 - Use NodeFilter where we mean it.
r=sicking sr=bzbarsky
2006-05-17 02:37:56 +00:00
dbaron%dbaron.org 839c392dcc Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky 2006-05-17 02:37:55 +00:00
dbaron%dbaron.org c023da7f10 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2006-05-17 02:37:54 +00:00
caillon%returnzero.com db218abf07 Fix a leak and some minor code cleanup. r+sr=jst, a=sspitzer. (205104) 2006-05-17 02:37:53 +00:00