Commit Graph

215 Commits

Author SHA1 Message Date
Olli Pettay
a86b1a4d43 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
2a602a5685 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
b7753477cf 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
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab 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
d8e503c38b 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
4b973d587a Bug 678768: Fix out-of-order init list for nsFontFace constructor. r=jfkthame 2011-08-14 10:39:56 -07:00
Malini Das
a0832b693a 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
e306b1b5aa 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
2e1dfaef9e Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Ehsan Akhgari
ee5215c7a6 Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri
5937d63965 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00
Mounir Lamouri
b088e154d6 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
d2f5a3b4c3 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-18 17:05:10 -07:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Marco Bonardo
81d8214139 Merge Places and mozilla-central 2011-06-18 11:24:57 +02:00
Jonathan Kew
69e6166360 bug 467669 - pt 7 - tests for the font-face inspection API. r=roc 2011-06-16 07:31:38 +01:00
Jonathan Kew
f9cb8da613 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
a7411a0c9d bug 467669 - pt 5 - expose WOFF metadata (if present) for downloaded fonts. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
b0ae7172d2 bug 467669 - pt 4 - expose additional attributes for downloaded fonts. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
0bc82a4ba2 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
a1f20e4fc8 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
57533f6cff 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
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Boris Zbarsky
48e3edf8fc Bug 598833 part 6. Get rid of nsEventStateManager::GetContentState. r=smaug 2011-05-31 21:46:56 -04:00
Colby Russell
4afe79d492 Bug 609549. Add inIDOMUtils::getChildrenForNode. r=bz 2011-05-31 09:51:09 +12:00
Ehsan Akhgari
13d84f740f Backout bug 467669 and bug 660088 2011-06-15 16:52:48 -04:00
Jonathan Kew
8cc6bbfd24 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
be3ae9b1a0 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
ba1202c246 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
d5411cefc7 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
eacb2d87b0 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
15913e950c 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
e4e073884b 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
b5b41f66d9 Bug 658904 - Remove nsIDOMDocumentStyle; r=roc,jst 2011-05-26 10:18:43 +02:00
Craig Topper
17b6db1001 Bug 648925 - Part 4: DeCOMtaminate GetDOMRule and GetDOMRuleWeak. r=bzbarsky 2011-04-07 23:36:09 -07:00
Dylan Helling
ba871e0cb4 Bug 557726. Allow passing a pseudo-element argument to getCSSStyleRules in inspector utils. r=bzbarsky 2011-05-05 17:12:04 -04:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Ehsan Akhgari
d2a61eb331 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
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
David Zbarsky
5ecf0a2bd3 Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri
b4cf8cd184 Backed out changeset c1a7c1bc1aeb due to busted build. 2011-04-20 22:26:06 +02:00
David Zbarsky
c4d29900ed Bug 610305: decom nsEventStateManager r=smaug 2011-04-20 21:42:33 +02:00
Zack Weinberg
647b7a0bfe 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
f5a0843ac7 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
5ef6bf26cf 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
72d7c1f754 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
a8cd49d408 Bug 601352 - Console does not scroll expression result into view, r+a=roc 2010-10-28 13:01:37 -03:00
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Mounir Lamouri
2b014a77e8 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
27271a8a8f 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
06241c1e45 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
921ef38edc Backed out changeset 7b3726c3a580 2010-08-19 19:04:08 -05:00
Robert O'Callahan
210184cb84 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
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky
93922db9e1 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
998b474e42 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
8cfe0849e3 Bug 578696 part 8. Stop holding strong refs when calling AttributeChanged. r=sicking 2010-07-21 11:33:32 -04:00
Alexander Surkov
c5fe0f01fb 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
d37657c2c1 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
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Colby Russell
4a05952811 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
5e59cfef32 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
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky
ca01cf3893 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
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Jonas Sicking
3175f89133 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
1a6c0165bf 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
2178a29eb2 Add mochitest for bug 536379. 2009-12-31 10:56:33 -05:00
L. David Baron
0050e304d7 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
b3883855ac 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
cc6eb188e6 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
2d9ec777ba Bug 528134. Hand out the style context with the rulenode. r=dbaron 2009-11-25 00:35:55 -05:00
Boris Zbarsky
4fe287e289 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
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Benjamin Smedberg
0df64c6bc4 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
2e9438fd2f 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
9cec8d1994 Remove InspectorCSSUtils, part 4: Remove nsIInspectorCSSUtils and nsInspectorCSSUtils. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron
86aa2537d6 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
a55abf81a2 Remove InspectorCSSUtils, part 2: Move remaining substantive code to inDOMUtils. (Bug 371655) r=bzbarsky 2009-08-10 15:52:29 -07:00
Neil Deakin
463ebf9287 Bug 455590, use new drag and drop api with trees, r=neil,sr=smaug 2009-06-24 13:12:33 -04:00
Arpad Borsos
497b2e227d 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
ef105af6ce Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Arpad Borsos
cd1887abfd Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos
3773b464cf 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
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Arpad Borsos
460de5285f Bug 399753 - Remove nsISupportsArray in the layout directory; r+sr=roc 2009-03-30 20:08:06 +02:00
Arpad Borsos
b8c7bb681a 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
6a5bf5d169 backout dac7c3176b33 from bug 481881 2009-03-11 17:09:22 +13:00
Arpad Borsos
27f29d685d 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
c9149a66b3 DOM Inspector bustage fix for bug 474369 r+sr=roc 2009-02-05 11:34:40 +00:00
Arpad Borsos
829f9f024a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Mats Palmgren
242af8a01e Test for bug 462789. 2008-12-16 14:16:34 +01:00
Mats Palmgren
74190286c5 Add a null-check. b=462789 r+sr=dbaron 2008-12-16 14:16:33 +01:00
Mats Palmgren
6a52c50ce4 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
b1918bb2c3 Bug 462381 - Build layout directories in parallel r=ted sr=roc 2008-10-31 09:07:15 -07:00
L. David Baron
2c2f6ed495 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
d7e775a7be 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
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org
8074fda8ae 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
e91b8853ab 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
407f4669ea 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
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
reed@reedloden.com
7e8456e8f3 Completely backout patch from Jonathan Steele in bug 399753 due to bustage. 2007-10-14 20:42:27 -07:00
reed@reedloden.com
2d9ccdb82c 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
a17a03f2ea 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
405192dc25 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
a4c90a1d9d 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
e3c4baccae 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
04f25bd738 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
e3566c42dd 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
ba05ce501d 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
32d3d359f4 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
2e25a321f8 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
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00