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

242 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari baf3a129ad Bug 907883 - Minimize #includes in layout/generic; r=roc
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00
Ehsan Akhgari f9b077c0c8 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
L. David Baron a7c8d44db9 Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.

This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
Reuben Morais 25c86ec559 Bug 873346 - Fix sometimes-unitialized warning in nsImageMap. r=dbaron
--HG--
extra : rebase_source : dcc8013bb0542a69edb43c86fddc3f4075b4e7d5
2013-07-17 20:28:23 -07:00
David Zbarsky b1ad5f5a1f [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky dd6ace641b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 5 r=Ms2ger 2013-04-19 18:18:32 -04:00
Matt Woodrow cee1aa3599 Bug 539356 - Part 9c - Remove old invalidation code. r=bz 2012-08-29 17:39:31 +12:00
Ed Morley aba3a8f5ef Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow 4d096475d2 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Matt Woodrow 31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Marco Bonardo cb781bfe97 Merge inbound and central 2012-03-16 13:42:16 +01:00
Kyle Huey 460af847e2 Bug 730587: Stash a pointer to the subtree root on DOM nodes. r=smaug, sr=jst 2012-03-14 13:14:02 -07:00
Benoit Girard 73a287f0ea Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Benoit Girard a4a3883264 Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Nathan Froyd 68a79f10ae Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu 2012-02-29 10:57:47 -05:00
Alexander Surkov b9dc078740 Bug 732389 - image map accessible tree is not updated when image map is changed, r=bz, tbsaunde 2012-03-15 16:16:02 -04:00
Masatoshi Kimura 4eadc7baec Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Olli Pettay bf747ef244 Bug 698228 - [ImageMap] Don't use GetPrimaryFrame when not needed, r=mats 2011-11-27 21:27:10 +02:00
Masayuki Nakano 18fa2c4358 Bug 703186 Use system event listener for focus/blur event handling for <area> element r=smaug 2011-11-26 10:33:09 +09:00
Olli Pettay a84f0536b8 Bug 698232 - s/IsInside/GetArea to simplify the code, r=mats 2011-10-30 21:51:19 +02:00
Olli Pettay fca647ee86 Bug 694503 - image map doesn't get updated when map element is removed as part of container subtree, r=bz 2011-10-29 13:44:50 +03:00
Olli Pettay 2c2da3099f Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari 92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Adam Dane [:hobophobe] 2c59e05b59 bug 591249 - event dragleave not properly dispatched if drag-and-drop aborted with ESC within iframe. r=smaug 2011-09-26 15:55:04 -05:00
Felix Fung 0bc71ca85d Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Jonas Sicking a3ec770366 Bug 664058: Remove Add/RemoveEventListenerByIID from nsImageMap and nsSliderFrame. r=smaug 2011-06-28 10:59:14 -07:00
Randell Jesup f6fe96272c Bug 505108: Don't leak strings on early returns from Area::ParseCoords(), fix how CString is freed. r=roc 2011-06-11 16:40:39 -04:00
Ms2ger 0e7def29bc Bug 659743 - Part c: Reduce QIing in nsImageMap; r=smaug 2011-05-30 13:35:45 +02:00
Craig Topper 16c85e6947 Bug 648885 - Part 3: Remove nsIImageMap. r=roc
--HG--
extra : rebase_source : 179eb2e28f555d2a6159f92aa5ccd6d0af900b2b
2011-04-26 22:51:13 -07:00
Jan Küchler c510bc3046 Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Mihai Sucan 116aa5fbdc Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Ms2ger b01dbc0d56 Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Craig Topper 4caec055d0 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Ms2ger 6d9d3e18e5 Bug 290397. Default values of 'shape' should be treated as 'rect'. r=bzbarsky 2010-07-02 16:56:09 -04:00
Boris Zbarsky 8ccd3c1fea Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky d136b98028 Bug 562688 part 11. Eliminate eELEMENT usage in layout/generic. r=dbaron 2010-04-30 09:12:06 -04:00
Ehren Metcalfe a791e19cc4 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
Jae-Seong Lee-Russo 082e12c87c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Boris Zbarsky 285f81171c Bug 536718. Clean up NotifyDestroyingFrame. r=roc 2009-12-29 15:13:54 -05:00
Boris Zbarsky 6733cb0519 Bug 500882 part 3. Switch accessibility module to using the new GetPrimaryFrame API. r=surkov, sr=roc 2009-12-24 16:20:05 -05:00
Boris Zbarsky b0ba4290ce Bug 500882 part 2. Switch setting of primary frames to the new API; switch nsFrameManager::GetPrimaryFrameFor to the new API; remove resulting gobs of dead code. r=roc 2009-12-24 16:20:05 -05:00
Boris Zbarsky b694bf4f11 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Daniel Holbert 924395545e Bug 529365, patch 1: Add braces to fix build warning in PolyArea::IsInside. r=roc 2009-11-17 22:08:20 -08:00
David Zbarsky 3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Boris Zbarsky 8f435d226b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky 0aa6350041 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Arpad Borsos c0f2dadc80 Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Boris Zbarsky f3647c87f6 Bug 437142. Be a little more careful with GetPrimaryFrameFor to work around the mess that <area> elements cause. r+sr=roc 2008-11-25 20:49:14 -05:00
Robert O'Callahan 775dd33c74 Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Mats Palmgren c3683948e7 Minor code cleanup. b=182554 r+sr=roc 2008-09-06 17:52:33 +02:00
Mats Palmgren 604d6d15e4 Paint a focus ring for <area shape="default">. b=448987 r+sr=roc 2008-08-07 16:44:04 +02:00
Mats Palmgren 9c2b36b7d0 Call Invalidate() in a way that does not flush pending notifications. b=448860 r+sr=roc 2008-08-04 14:45:38 +02: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
Olli.Pettay@helsinki.fi 7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi 40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi e1fb8b073b Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -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
sharparrow1%yahoo.com d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +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
timeless%mozdev.org 4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu a4c80af646 Make ReconstructDocElementHierarchy work correctly even if we first blew away a
pseudo which had the root as its content.  Bug 343293, r+sr=roc
2006-12-04 20:35:55 +00:00
sayrer%gmail.com 9395f31ee3 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
timeless%mozdev.org 97d86b0df2 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +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
cvshook%sicking.cc d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
leon.sha%sun.com 0960e6fd1d Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
dbaron%dbaron.org 86f8ddd894 Fix crash relating to uninitialized floats in cursor structure, and make imagemap images use the cursor style of the areas when in them (instead of the cursor style from the image) and the cursor style of the image when not in the areas (instead of a hardcoded default). b=302536 r=biesi sr=bzbarsky 2006-04-20 21:02:10 +00:00
dbaron%dbaron.org 04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
dbaron%dbaron.org 0e88f73bc6 Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
timeless%mozdev.org 426f83aecc Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
cvshook%sicking.cc 4660644188 Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv
2005-11-10 15:51:10 +00:00
bzbarsky%mit.edu d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu 0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
peterv%propagandism.org 3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
bzbarsky%mit.edu 992d916bc8 Restore the ability to tab to links in an imagemap. Bug 304467, r+sr=roc 2005-08-24 00:03:59 +00:00
bzbarsky%mit.edu 0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bzbarsky%mit.edu 3fa5baafd7 Don't invalidate the whole imagemap on unrelated attribute changes in the
subtree.  Bug 304753, r+sr=jst
2005-08-16 04:47:36 +00:00
mats.palmgren%bredband.net 64fca33b3c Don't crash in the document observer methods when the container arg is null. b=301025 r+sr=bzbarsky a=benjamin 2005-07-24 01:21:17 +00:00
dbaron%dbaron.org 1388a89746 Destroy things at the right time (and in one place) to fix crashes. b=206021 r=mats.palmgren sr=roc 2005-03-28 23:03:47 +00:00
bryner%brianryner.com a8073f18a3 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu 5c090d38bd Fixing build bustage. I have no idea how gcc 3.2 managed to build this... Bug
269697
2004-11-23 18:23:12 +00:00
bzbarsky%mit.edu 095f0fe791 Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
bryner%brianryner.com 180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
mats.palmgren%bredband.net 8c791cd60c Added more log messages for incorrect "coords" attribute values. b=233353 r+sr=bzbarsky 2004-08-08 14:05:35 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
peterv%propagandism.org a7908e751a Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
sicking%bigfoot.com 386382d6ab Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
roc+%cs.cmu.edu 8397ac8d8f Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron 2004-03-10 03:09:05 +00:00
bryner%brianryner.com 225298a99e 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 5b6ae6e571 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 b20f53fefb 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 92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
jst%mozilla.jstenback.com 505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00