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

613 Коммитов

Автор SHA1 Сообщение Дата
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc 89e86f9b21 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ms2ger 4ec472b450 Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking 2013-03-17 09:51:34 +01:00
Boris Zbarsky 3ca8b4f4e7 Bug 848745 part 2. Add a scriptable API for converting RGB triples to CSS color names. r=dbaron,miker 2013-03-14 15:43:00 -04:00
Boris Zbarsky 7c9bd5afaf Bug 848745 part 1. Add a scriptable API for converting CSS color names to RGB triples. r=dbaron,miker 2013-03-14 15:43:00 -04:00
Boris Zbarsky b99f74d53d Bug 839443. Add an API for getting our supported CSS property names in inspector code. r=dbaron 2013-03-14 15:42:59 -04:00
Gregory Szorc c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Ms2ger 89fffd12a6 Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Gregory Szorc 7b6f9c7add Bug 818246 - Part 1: Remove unncessary definitions of XPIDL_MODULE; r=glandium
XPIDL_MODULE defaults to MODULE. These Makefile.in were setting
XPIDL_MODULE to the same value as MODULE.

--HG--
extra : rebase_source : e96bd34d5949d0ab94cecbec35d6c9f4bffec01e
2013-03-07 05:03:51 -08:00
Trevor Saunders 254bffb739 bug 407956 - make nsITreeView not take a nsISupportsArray* r=neil, bz sr=neil 2013-01-06 19:54:42 -05:00
Gregory Szorc 45faa95b04 Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc 266db717ab Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted 2013-02-25 12:47:22 -08:00
Bobby Holley 07f2fa5d3f Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
John Daggett 74c397a0f6 Bug 833169 - add font family name to font entries and use in user font cache key. r=jkew 2013-02-18 11:22:55 +09:00
L. David Baron c5b9eee040 Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
L. David Baron 0836abe85d Bug 781360 patch 1: Rename nsStyleContext::GetRuleNode to RuleNode, since it can never return null. r=dholbert
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".

nsStyleContext's rule node is never null because we require a rule node
in order to construct a style context.
2013-02-16 13:04:53 -08:00
Benjamin Peterson 2a5f1d1dde Bug 841407 - Replace usage of enablePrivilege in inspector tests. r=bholley 2013-02-15 09:34:46 -05:00
Boris Zbarsky 611e42c796 Bug 833808 followup. Placate over-strict test in CLOSED TREE. 2013-02-13 11:32:40 -05:00
Boris Zbarsky 1c99b91077 Bug 833808 part 2. Add some utilities for working with selectors to inspector utils. r=dbaron 2013-02-13 10:11:53 -05:00
Boris Zbarsky 3aa2cf5f0e Bug 833808 part 1. Inspector code should be IMPL_NS_LAYOUT. r=dbaron 2013-02-13 10:11:53 -05:00
Gaurav Pruthi 797a5aabba Bug 672190 - Remove declaration and definitions of 'expandEntityReferences' from NodeIterator and TreeWalker. r=Ms2ger 2013-01-20 17:53:48 +05:30
Trevor Saunders 09f3b656b4 bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Boris Zbarsky 402ce665fe Bug 818400. Add a preference to control :scope and pref it off in release builds for now. r=dbaron 2012-12-24 19:35:34 -08:00
Jonathan Kew a03d1dc724 bug 821442 - eliminate the unreliable mFamily back-pointer in gfxFontEntry, and instead pass/track font family explicitly where needed. r=roc 2012-12-19 09:42:25 +00:00
Benjamin Peterson 308ddd6cb5 Bug 812688 - Remove dead code. r=bz 2012-11-16 19:30:30 -05:00
Benjamin Peterson da7186593d Bug 806192 - Fail instead of segfaulting when not passed nsIContent. r=bz
--HG--
extra : rebase_source : 3edeb8d83a81baeaa35afbfdaaae3041a33db575
2012-11-16 18:35:06 -05:00
David Zbarsky 4085f74a3f [Bug 799407] Fix build warnings in layout r=roc 2012-10-10 01:00:05 -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
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04: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
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Cameron McCormack 1528758ac5 Bug 649740 - Implement @supports. r=dbaron,bz 2012-08-02 10:32:12 +10:00
Ehsan Akhgari 3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor ec8b263a28 Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
David Zbarsky 7c9e912225 Bug 778501 Part 3: Clean up the includes in nsPresContext.h r=roc 2012-07-29 21:29:41 -07:00
Joshua Cranmer a1186c1020 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Boris Zbarsky 496f1a1325 Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert 2012-07-13 19:59:05 -04:00
Nathan Froyd bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ehsan Akhgari cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
David Zbarsky d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Matt Woodrow 31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Boris Zbarsky f586ad5d30 Bug 761086. Throw if someone passes an invalid argument to inDOMUtils::GetCSSStyleRules. r=smaug 2012-06-06 15:59:57 -04:00
Cedric Vivier f23c7de72d Bug 727834 - Add an API to (re)parse a style sheet in place. r=bz
---
 layout/inspector/public/inIDOMUtils.idl          |   12 ++-
 layout/inspector/src/inDOMUtils.cpp              |   11 +++
 layout/inspector/tests/chrome/Makefile.in        |    2 +
 layout/inspector/tests/chrome/test_bug727834.css |    7 ++
 layout/inspector/tests/chrome/test_bug727834.xul |   88 +++++++++++++++++++
 layout/style/nsCSSStyleSheet.cpp                 |   99 +++++++++++++++++++---
 layout/style/nsCSSStyleSheet.h                   |    2 +
 7 files changed, 207 insertions(+), 14 deletions(-)
 create mode 100644 layout/inspector/tests/chrome/test_bug727834.css
 create mode 100644 layout/inspector/tests/chrome/test_bug727834.xul
2012-06-03 12:54:38 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Heather Arthur 90bc12cbe0 Bug 750556 - crash in mozilla::dom::Element::ClearStyleStateLocks; r=bz 2012-05-09 17:23:57 +01:00
Mark Capella bfa59371ce Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Adam Dane [:hobophobe] a4e77c0d40 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Jacob Holzinger 6a62cb6a9b Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Heather Arthur 580e841242 Bug 708874 - API for locking pseudo-class state of an element. r=bz 2012-02-08 10:42:38 -08:00
David Zbarsky e38d101da0 Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
Ed Morley 4163fb7744 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Gregory Szorc 1a1f7b30ae Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Rob Campbell 2d393da946 merge m-c to fx-team 2011-11-05 15:55:28 -03:00
Ed Morley 7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Dave Camp 34e156b413 Bug 699592 - Add inIDOMUtils::isInheritedProperty to find out if a CSS property is inherited by default. r=bz 2011-11-05 08:41:10 -07:00
Rail Aliiev ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Jonathan Kew 1a90016527 bug 695639 - test for GetFontFacesForText with textrun wrapped onto multiple lines. r=roc 2011-10-21 08:12:44 +01:00
Olli Pettay 5a92aedb22 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +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
Jeff Walden b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07: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
Daniel Holbert af38a5be63 Bug 678768: Fix out-of-order init list for nsFontFace constructor. r=jfkthame 2011-08-14 10:39:56 -07:00
Malini Das c20b68638f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das ea71db787e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Mounir Lamouri 57fe0a2e82 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Ehsan Akhgari 8aa36b3b5c Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri b6d655dff0 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00
Mounir Lamouri 58e2fd59fd Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage. 2011-07-19 10:49:48 -07:00
Mounir Lamouri 8ae6e80c16 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-18 17:05:10 -07:00
Ms2ger 8c78d3f478 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Marco Bonardo 49621889c6 Merge Places and mozilla-central 2011-06-18 11:24:57 +02:00
Jonathan Kew 0e9e1fe005 bug 467669 - pt 7 - tests for the font-face inspection API. r=roc 2011-06-16 07:31:38 +01:00
Jonathan Kew a3761c531a bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew 57163eeca3 bug 467669 - pt 5 - expose WOFF metadata (if present) for downloaded fonts. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew edc3700f8f bug 467669 - pt 4 - expose additional attributes for downloaded fonts. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew 182daf38b3 bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew 02b64efe12 bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc 2011-06-16 07:31:36 +01:00
Jonathan Kew 4ac87a8abf bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky 2011-06-16 07:31:36 +01:00
Jonas Sicking 48f55a5733 Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Boris Zbarsky a63c9fb554 Bug 598833 part 6. Get rid of nsEventStateManager::GetContentState. r=smaug 2011-05-31 21:46:56 -04:00
Colby Russell 9a079ca6e1 Bug 609549. Add inIDOMUtils::getChildrenForNode. r=bz 2011-05-31 09:51:09 +12:00
Ehsan Akhgari f92823ac1a Backout bug 467669 and bug 660088 2011-06-15 16:52:48 -04:00
Jonathan Kew 80d855174d bug 467669 - pt 7 - tests for the font-face inspection API. r=roc
--HG--
extra : rebase_source : e3ba2eb2bbe46b451cb490e6025233afee0df209
2011-06-15 20:17:54 +01:00
Jonathan Kew 34ebc89623 bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc
--HG--
extra : rebase_source : d548ab2be329058bde101b142607abf14dce7191
2011-06-15 20:17:54 +01:00
Jonathan Kew 08274c4304 bug 467669 - pt 5 - expose WOFF metadata (if present) for downloaded fonts. r=roc
--HG--
extra : rebase_source : 91e7f231b281e1949997996d7308aceb4935247b
2011-06-15 20:17:52 +01:00
Jonathan Kew eef61e1a09 bug 467669 - pt 4 - expose additional attributes for downloaded fonts. r=roc
--HG--
extra : rebase_source : f3d41348ab01a21ac6b6a1713b1e5e7274cf7fbf
2011-06-15 20:17:52 +01:00
Jonathan Kew 4d2e90c28b bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
--HG--
extra : rebase_source : 89e65a1d612dcee7872a18a5e4bb9b3591c3a63d
2011-06-15 20:17:51 +01:00
Jonathan Kew ec17b9ce84 bug 467669 - pt 2 - find the @font-face rule (if any) responsible for the font entry. r=roc
--HG--
extra : rebase_source : 97bab01d80e49e179e8f675ca1ec1e067d7b56ec
2011-06-15 20:17:51 +01:00
Jonathan Kew 6e0f6efdfd bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky
--HG--
extra : rebase_source : 3d7699c4a201bafdfa1d97ba97117a497303c1b5
2011-06-15 20:17:50 +01:00
Ms2ger 474738a663 Bug 658904 - Remove nsIDOMDocumentStyle; r=roc,jst 2011-05-26 10:18:43 +02:00
Craig Topper a96af92a84 Bug 648925 - Part 4: DeCOMtaminate GetDOMRule and GetDOMRuleWeak. r=bzbarsky 2011-04-07 23:36:09 -07:00
Dylan Helling d4082fca16 Bug 557726. Allow passing a pseudo-element argument to getCSSStyleRules in inspector utils. r=bzbarsky 2011-05-05 17:12:04 -04:00
Ms2ger 31e3e8c5d1 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Ehsan Akhgari 67e7a42892 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger 540ca93080 Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
David Zbarsky a0b813679f Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri 2af4853be5 Backed out changeset c1a7c1bc1aeb due to busted build. 2011-04-20 22:26:06 +02:00
David Zbarsky 732897cc3f Bug 610305: decom nsEventStateManager r=smaug 2011-04-20 21:42:33 +02:00
Zack Weinberg a8dd50e303 Bug 651017, part 7: remove nsDeviceContext::CreateRenderingContextInstance and the CreateRenderingContext overload that takes a widget.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 6be7fe432488dcf2fb5b2faa0e178dccab480285
2011-04-16 21:08:22 -07:00
Zack Weinberg 1628ea1551 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -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
Craig Topper 678b9c7c11 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Mihai Sucan 74badfafd4 Bug 601352 - Console does not scroll expression result into view, r+a=roc 2010-10-28 13:01:37 -03:00
Mounir Lamouri 06426cc202 Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Mounir Lamouri 12794928a0 Bug 595036 (1/2) - Update nsIXTFElementWrapper and inIDOMUtils API to use a PRUint64 value for intrinsic states. r+a=bz 2010-10-20 09:41:35 +02: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
Robert O'Callahan af4fec12f8 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-20 14:29:01 -05:00
Chris Jones 710798b9a7 Backed out changeset 7b3726c3a580 2010-08-19 19:04:08 -05:00
Robert O'Callahan 7dd66ea23a Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-19 13:49:35 -05:00
Craig Topper 4caec055d0 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky 54bc004d14 Bug 578696 part 11. Stop holding strong refs when calling ContentRemoved and remove the now-unused IMPL_STRONGREF_MUTATION_NOTIFICATION macro. r=sicking 2010-07-21 11:37:41 -04:00
Boris Zbarsky e3b2e5a289 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky 39d355ebfe Bug 578696 part 8. Stop holding strong refs when calling AttributeChanged. r=sicking 2010-07-21 11:33:32 -04:00
Alexander Surkov a233b0fd40 Bug 574312 - make accessible tree creation from parent to child always, r=marcoz, davidb, sr=neil 2010-07-01 11:18:08 +09:00
timeless@mozdev.org 1734c5aafc Bug 499134 - Crash with DOM Inspector [@ inDOMView::AttributeChanged(nsIDocument*, nsIContent*, int, nsIAtom*, int, unsigned int) ]. r=neil 2010-06-27 18:48:21 +02:00
Ms2ger@gmail.com 91560b026e Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Colby Russell 8f898a0e1c Bug 563558 - inDOMView contentRemoved implementation doesn't take into account hidden whitespace nodes. r=roc 2010-06-06 17:50:00 -04:00
Markus Stange 98b0d9be1f Bug 426082, part 2: Make nsEventStateManager::GetContentState return the state directly instead of using an outparam. r=dbaron 2010-05-31 19:49:04 +02: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 0466fc87f5 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04:00
Craig Topper 25d5518e18 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Jonas Sicking 0e6d5d8188 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Jonas Sicking c24e5442a9 Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
L. David Baron 647f4854de Add mochitest for bug 536379. 2009-12-31 10:56:33 -05:00
L. David Baron 4a4e444357 Ensure that it is safe to hand out CSS rules before doing so. (Bug 536379) r=bzbarsky 2009-12-31 10:56:33 -05:00
Boris Zbarsky 8b56c4f81d Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -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
Boris Zbarsky 229c0bea7c Bug 528134. Hand out the style context with the rulenode. r=dbaron 2009-11-25 00:35:55 -05:00
Boris Zbarsky 23154b2bd7 Bug 522601. Make inDeepTreeWalker closer to spec behavior and implement various unimplemented methods. r=sicking,sdwilsh 2009-10-20 13:27:46 -04:00
Benjamin Smedberg 667f63d102 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Benjamin Smedberg 36bc86429d Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Benjamin Smedberg ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
L. David Baron eacfdf386b Remove InspectorCSSUtils, part 4: Remove nsIInspectorCSSUtils and nsInspectorCSSUtils. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron a97b2f066a Remove InspectorCSSUtils, part 3: Remove the trivial methods and replace their callers with appropriate internal calls. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron 0777df2200 Remove InspectorCSSUtils, part 2: Move remaining substantive code to inDOMUtils. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
Neil Deakin 65d8462672 Bug 455590, use new drag and drop api with trees, r=neil,sr=smaug 2009-06-24 13:12:33 -04:00
Arpad Borsos 9c8455122d Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos 21896afffc Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Arpad Borsos 118ee75268 Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos 990fceee6e Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
L. David Baron f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Arpad Borsos 4d6cb32c22 Bug 399753 - Remove nsISupportsArray in the layout directory; r+sr=roc 2009-03-30 20:08:06 +02:00
Arpad Borsos 6629426d28 Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part; r+sr=roc 2009-03-12 08:26:29 +01:00
Karl Tomlinson b8e39184d7 backout dac7c3176b33 from bug 481881 2009-03-11 17:09:22 +13:00
Arpad Borsos c1e6f4a31e Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part r+sr=roc 2009-03-11 15:26:36 +13:00
Neil Rashbrook e0de92ba08 DOM Inspector bustage fix for bug 474369 r+sr=roc 2009-02-05 11:34:40 +00:00
Arpad Borsos c0f2dadc80 Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Mats Palmgren 359338c2f2 Test for bug 462789. 2008-12-16 14:16:34 +01:00
Mats Palmgren 8dd19018fd Add a null-check. b=462789 r+sr=dbaron 2008-12-16 14:16:33 +01:00
Mats Palmgren 36c04d1762 Add a few missing null-checks. Return error code from GetRuleLine() when it fails. b=462787 r+sr=dbaron 2008-12-16 12:26:42 +01:00
Benjamin Smedberg 5eb7ef79cd Bug 462381 - Build layout directories in parallel r=ted sr=roc 2008-10-31 09:07:15 -07:00
L. David Baron 1347910ac9 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
timeless@mozdev.org b0e4df4591 Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
timeless@mozdev.org 7f880e43ef reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org 022712406a Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
dougt@meer.net 6b3a7475bd layout insepctor build bustage when building on windows mobile. r=dbaron, a=beltzner 2008-02-20 14:39:46 -08:00
roc+@cs.cmu.edu 60a9f80a00 Bug 261081. Support official 'pre-wrap' value for CSS 'white-space' since we already support it well as '-moz-pre-wrap'. r+sr=dbaron,a=schrep 2008-02-19 18:07:48 -08:00
jag@tty.nl 05cdb6aefe Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
reed@reedloden.com 27f262680b Completely backout patch from Jonathan Steele in bug 399753 due to bustage. 2007-10-14 20:42:27 -07:00
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
rbs%maths.uq.edu.au 23b51fcbdd Bug 147189. Part 3: hide ignorable whitespace nodes without frames, e.g., in between <table>\n<tr>, r=caillon, sr=bzbarsky 2006-05-17 02:37:52 +00:00
bryner%netscape.com 8c160989af Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2006-05-17 02:37:51 +00:00
timeless%mozdev.org eda792df57 Bug 198512 FMM [@ inCSSValueSearch::~inCSSValueSearch]
r=caillon sr=heikki
2006-05-17 02:37:50 +00:00
dbaron%dbaron.org 637dfbddbf Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2006-05-17 02:37:49 +00:00
caillon%returnzero.com 55a00b127d 180551 - Add color, thickness, and invert to the flasher interface. They should not be passed around so often to its methods since they rarely change and really
belong on the interface to begin with.
r=timeless,sr=peterv
2006-05-17 02:37:48 +00:00
caillon%returnzero.com 235a80e8a2 Bug 163137. Make DOM inspector scroll to put an element in view upon selecting it in the DOM tree view. This was previously only working for HTML elements.
r=rbs, sr=bzbarsky
2006-05-17 02:37:47 +00:00
sicking%bigfoot.com c532fa8ac0 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2006-05-17 02:37:46 +00:00
bzbarsky%mit.edu 3c752c4794 Stop at the viewmanager root when computing offsets for flashing stuff. Bug
188210, r=caillon, sr=kin
2006-05-17 02:37:45 +00:00
caillon%returnzero.com 11a7fe7e34 Attempt to fix nebiros bustage by moving style struct access into nsIInspectorCSSUtils
r/a=timeless,jkeiser,#mozilla
bug 147189
2006-05-17 02:37:44 +00:00
caillon%returnzero.com 3beb6c7274 Bug 185647 - Setting pseudo class of a closed window crashes [@ inLayoutUtils::GetEventStateManagerFor]
r=timeless sr=tor
2006-05-17 02:37:43 +00:00
mkaply%us.ibm.com eefaf070cf OS/2 bustage - need get() 2006-05-17 02:37:42 +00:00
caillon%returnzero.com 451c27c8e2 Bug 147189. Part 2: Don't hide "significant" whitespace nodes.
r=bzbarsky sr=hewitt
2006-05-17 02:37:41 +00:00
caillon%returnzero.com a883c6c290 Allow the hiding of "empty" text nodes from DOM Inspector.
r=cbiesinger, sr=alecf, bug 147189
2006-05-17 02:37:40 +00:00
timeless%mozdev.org a8947e5619 Bug 153821 crash while inspecting an error window [@inLayoutUtils::GetPresShellFor]
r=caillon sr=bz
2006-05-17 02:37:39 +00:00
bzbarsky%mit.edu 8a4c6f574a Show style rules for things that are display:none and their
descendants.  Bug 166548, r=dbaron, sr=hewitt.
2006-05-17 02:37:38 +00:00
caillon%returnzero.com 3d7e9a357a Bug 177179
slightly optimize inDOMView::GetNodeTypeKey
r=timeless/jkeiser sr=bzbarsky a=roc+moz
2006-05-17 02:37:37 +00:00
dougt%netscape.com c3512c3962 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2006-05-17 02:37:36 +00:00
roc+%cs.cmu.edu 45bf2b50ca 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 2006-05-17 02:34:36 +00:00
dbaron%fas.harvard.edu d96517d0df 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 2006-05-17 02:34:35 +00:00
caillon%returnzero.com 6a59ff8bba Fix for bug 137334: DOM Inspecting the URL bar will crash. r=timeless, sr=hewitt 2006-05-17 02:34:34 +00:00
hewitt%netscape.com 1e2d5d9ba4 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2006-05-17 02:34:33 +00:00
timeless%mac.com fb2e67298b Bug 118528 Access Violation [@inDOMView::AppendKidsToArray] [aKids==0]->GetLength
r=bzbarsky@mit.edu sr=hewitt
2006-05-17 02:34:14 +00:00
varga%utcru.sk d20016bd43 80834 - [outliner scrollbar] if inbox has less than one page of messages, it will come up with a box where the scroll bar is
80548 - outliner scroll bar "disappears" in 3 stages

111101 - No scrollbox / slider / thumb in thread pane scrollbar

116269 - white scrollbars briefly show up in folder pane

116432 - Sometimes the twisty won't update after a click

116855 - Modify outliner builder syntax to match outliner content model
r=waterson, sspitzer, blake
sr=hyatt

99715 - convert category tree to use outliner
r=hixie
sr=blake
2006-05-17 02:34:13 +00:00
bzbarsky%mit.edu 12f2f8e8cb Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2006-05-17 02:34:12 +00:00
timeless%mozdev.org c90feaa590 Bug 180127 Inspector destructors unconditionally delete objects
r=caillon sr=bz
2006-05-17 02:34:11 +00:00
darin%netscape.com ff1e65cce0 fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2006-05-17 02:34:10 +00:00
darin%netscape.com 930047eb34 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2006-05-17 02:34:09 +00:00
dougt%netscape.com 0013bd4f42 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2006-05-17 02:34:08 +00:00
bryner%brianryner.com b925eedced 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. 2006-05-17 02:34:07 +00:00
dwitte%stanford.edu cd8cd346a3 removing bitmap/png, screen capturing, and boxmodel colorpicking functionality from DOM Inspector.
b=211096, r=caillon, sr=jst.
2006-05-17 02:34:06 +00:00
sicking%bigfoot.com 65d67e1ae8 Bug 162461: Make inLayoutUtils::GetContainerFor use nsIDOMWindowInternal::GetFrameElement
r=bz, sr=hewitt
2006-05-17 02:34:05 +00:00
bzbarsky%mit.edu aec83ce717 Bug 117564. Make Inspector flash the right spot when things are
positioned.  r=caillon, sr=hewitt.
2006-05-17 02:34:04 +00:00