Neil Deakin
feedaa0986
Bug 798226, backout cd66c58db0f7 until the issue of the os adjusting the popup to fit onscreen can be solved.
2012-12-24 14:47:34 -05:00
Neil Deakin
69c347d7a1
Bug 821283, anchor for popup should be flipped for horizontal centred positions, as this was causing the arrow on the arrow panel to appear reversed in rtl, r=neil
2012-12-18 12:08:08 -05:00
Neil Deakin
e509508936
Bug 798226, rework arrow positioning and alignment code for arrow panels to be simpler, using the actual anchor/alignment position rather than guessing this from the coordinates, fix centred positioning in rtl, r=neil
2012-12-18 12:08:06 -05:00
Joe Drew
9269bc2fed
Bug 716140 - Merge imgIContainerObserver and imgIDecoderObserver since they aren't used in different places any more. r=jrmuizel
2012-12-18 11:37:15 -05:00
Ed Morley
3d39595be9
Bug 806655 - Mark image-size.xul random-if on Android
2012-12-17 13:21:18 +00:00
Trevor Saunders
54792f2e4d
bug 820182 - remove nsISupportsArray::ElementAt() uses r=ehsan
2012-12-11 11:16:42 -05:00
Masayuki Nakano
4581677d83
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09:00
Masayuki Nakano
dae57396e3
Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk
2012-12-16 10:26:03 +09:00
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Jeff Muizelaar
47c921e73e
Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
...
This doesn't switch all of the users yet, but is a step in the right
direction.
--HG--
extra : rebase_source : 91b4fef3f67586179c119208d000cf7629e04963
2012-10-12 08:43:01 -04:00
James H
f40664f116
Bug 685470 - Test. r=sicking
2012-12-05 21:43:09 -05:00
James H
3a996931f8
Bug 685470 - Prevent tooltips when a click occurs. r=sicking
2012-12-05 21:45:13 -05:00
Saurabh Anand
6de7befa37
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Ryan VanderMeulen
6c347360db
Backed out changesets 5a1ff68f37d9 and eed8b79a4803 (bug 685470) for mochitest-other timeouts.
2012-12-05 21:29:01 -05:00
James H
ad616c2af3
Bug 685470 - Test. r=sicking
2012-12-04 20:56:21 -05:00
James H
da1eb3e161
Bug 685470 - Prevent tooltips when a click occurs. r=sicking
2012-11-23 10:13:26 -05:00
Mats Palmgren
924e59e0d0
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Ms2ger
0a0b1561d2
Bug 810668 - Fix some gcc4.6 build warnings; r=bz
2012-12-02 09:54:55 +01:00
Daniel Holbert
d4f453adde
Bug 813358 part 4: Move frame-sorting logic from nsBoxFrame to nsLayoutUtils. r=dbaron
2012-11-30 15:25:33 -08:00
Daniel Holbert
29186733e9
Bug 813358 part 3: Templatize nsBoxFrame's frame-sorting methods, to make the comparison function customizable. r=dbaron
2012-11-30 15:25:33 -08:00
Daniel Holbert
b7c4466aa6
Bug 813358 part 2: To determine if a frame list is already sorted, just directly compare adjacent frames' GetOrdinal() values. r=dbaron
2012-11-30 15:25:32 -08:00
Daniel Holbert
7ccdd360a1
Bug 813358 part 1: Remove unnecessary nsBoxLayoutState argument from various XUL frame-sorting-related methods. r=dbaron
2012-11-30 15:25:32 -08:00
Kartikaya Gupta
215585f6a7
Bug 814418 - Fix some warnings about unused variables. r=ehsan
2012-11-30 11:06:37 -05:00
Boris Zbarsky
542ae8e2de
Bug 815671 part 3. Make nsXULPopupManager::GetVisiblePopups use an array out param instead of returning array object copies. r=roc
2012-11-29 11:14:13 -05:00
Robert O'Callahan
01b72b4b81
Bug 815593. Don't layerize images that exceed MaxTextureSize. r=mattwoodrow
...
--HG--
extra : rebase_source : f94300b24b90d063df095324663c9d8fa49e42e9
2012-11-28 15:34:45 +13:00
Matt Woodrow
c4935c5621
Bug 811927 - Allow conversion of nsDisplayBackgroundImage into ImageLayers. r=roc
2012-11-19 16:28:18 +13:00
Mark Hammond
650754ce74
No bug - fix incorrect comment I previously checked in. r=me, DONTBUILD
...
--HG--
extra : rebase_source : 94ffeccb246d2cf5bedde0b3bab141441e1379e6
2012-11-17 13:04:39 +11:00
Benoit Jacob
986ee1a065
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Robert O'Callahan
7b6e12bdcd
Bug 811173. Part 2: Add other cases for nsDisplayItems that snap their bounds. r=mattwoodrow
...
--HG--
extra : rebase_source : 716ea707140907ccbed6d739ef81db1256a7b51b
2012-11-13 11:56:47 -08:00
Karl Tomlinson
5082e63896
b=798157 use ARGB visuals only for popups that will be translucent r=roc
...
--HG--
extra : transplant_source : %87%9FFG%FA%9E%1D%12i%1C%B9%93%E5%F4%85%C8s%02%7B7
2012-11-13 18:04:42 -08:00
L. David Baron
bc5cfc9648
Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc
2012-11-07 11:55:53 -08:00
Mark Hammond
33d7a8ee3c
Bug 807571 - popup now resizes when sizeTo is called with the same height while open. r=enndeakin
2012-11-07 11:58:01 +11:00
Ms2ger
4dd22ae85f
Bug 807465 - Less QIs in nsXULPopupManager::UpdateMenuItems; r=Enn
2012-11-04 09:05:25 +01:00
Wes Johnston
f923e97685
Bug 790454 - Set touch target in touchstart. r=smaug
2012-11-02 12:59:20 -07:00
Mats Palmgren
7eb78c7eb5
Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc
2012-11-02 01:52:59 +01:00
Neil Deakin
e0e633faae
Bug 806781, null-check the document when updating menu items, r=neil
2012-10-30 15:55:03 -04:00
Neil Deakin
13b4a84a1e
Bug 793157, address extra review comments, r=neil
2012-10-30 15:55:00 -04:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Neil Deakin
dbb5179c04
Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats
2012-10-26 09:15:22 -04:00
Robert O'Callahan
128a8017a1
Bug 801488. Part 2: Don't Redraw; DLBI will handle everything. r=mattwoodrow
2012-10-26 14:39:31 +13:00
Robert O'Callahan
970b687590
Bug 801488. Don't flush notifications when dragging a XUL splitter. r=bzbarsky
2012-10-26 14:39:24 +13:00
Nikhil Marathe
1acf12dfe6
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Ryan VanderMeulen
f531358b85
Backout 1ebc3b1b8feb, 205c1c846d70 (bug 801488), and e4367fd2043f (bug 804323) due to b-c crashes.
2012-10-25 07:53:36 -04:00
Robert O'Callahan
a939ca0000
Bug 801488. Part 2: Don't Redraw; DLBI will handle everything. r=mattwoodrow
2012-10-25 00:34:55 +13:00
Robert O'Callahan
607ba35a14
Bug 801488. Don't flush notifications when dragging a XUL splitter. r=bzbarsky
2012-10-25 00:34:49 +13:00
Matt Woodrow
7722731676
Bug 803556 - Schedule a paint whenever we reflow a display root frame. r=roc
2012-10-25 12:04:41 +13:00
Neil Deakin
0417890336
Bug 793157, add a popup method to move a popup relative to an anchor after it has opened, r=neil
2012-10-23 08:11:13 -04:00
Neil Deakin
b71afe3531
Bug 792296, don't flush while getting popup state and calling other popup methods, r=neil
2012-10-23 08:11:09 -04:00
Neil Deakin
41349782e7
Bug 772808, Menuitems should inherit hidden attribute from commands, r=neil,smichaud
2012-10-19 16:04:07 -04:00
Matt Woodrow
c91003698d
Bug 750417 - Remove Redraw calls from nsSprocketLayout. r=roc
2012-10-17 10:30:37 +13:00
Jonathan Kew
542f0307b7
bug 794038 pt 1.2 - popup manager needs to use display pixels when constraining window to screen area. r=roc
2012-10-16 20:41:19 +01:00
Jonathan Kew
702db29c1c
bug 794038 pt 1.0 - use global display pixel coordinates to persist and restore XUL window position and size. r=roc
2012-10-16 20:41:19 +01:00
David Zbarsky
45f6f3a578
Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc
2012-10-15 01:42:40 -04:00
David Zbarsky
2798f40d68
Backout 784bb7c5ea9c (Bug 799407) for bustage
2012-10-15 02:14:34 -04:00
David Zbarsky
b26a495b99
Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc
2012-10-15 01:42:40 -04:00
Ehsan Akhgari
c8ab616341
Remove nsGridRowGroupLayout::mRowColumn because it is unused, no bug
2012-10-13 17:34:22 -04:00
Andrew Quartey
ea5e17dc9c
Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan
2012-10-12 13:29:10 -04:00
Josh Matthews
c8eb573b6f
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-12 12:11:23 -04:00
Josh Matthews
f905bcf9ea
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
b84562cef3
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
138935b14a
Back out bug 585385 for build bustage.
2012-10-11 21:58:24 -04:00
Josh Matthews
fcd1ce5c84
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
1d3700a537
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-11 21:34:23 -04:00
Josh Matthews
abbb0715c2
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-11 21:34:23 -04:00
Matt Woodrow
d3f89081ec
Bug 797059 - Schedule a paint when slider frames change position. r=roc
2012-10-11 18:44:59 +13:00
Matt Woodrow
a70a9063e5
Bug 797295 - Add support for the layer attribute to nsImageBoxFrame. r=roc
2012-10-11 18:44:59 +13:00
Ehsan Akhgari
4e49b86a4a
Merge mozilla-central into mozilla-inbound
2012-10-10 20:21:13 -04:00
Olli Pettay
76ea6cb8e7
Bug 733305, add a way to hide XBL, r=bz, a=abillings
...
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03:00
David Zbarsky
4085f74a3f
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Jeff Walden
85c3da4e2b
Eliminate a few nullptr-to-bool conversions to avoid a clang warning (which we upgrade to error) in some clang revs. No bug, r=sparky
...
--HG--
extra : rebase_source : 6b45c8e1dd07449a5ebc34704c19e05fe155f628
2012-10-09 16:14:42 -07:00
Abhishek Potnis
8dc8f06743
Bug 795504: Remove usages of PR_STATIC_CALLBACK from the tree; r=ehsan
2012-10-08 21:45:12 +05:30
David Keeler
26c7847d0b
Bug 788829 - Call SetSizeConstraints even if a popup is not open. r=enndeakin
2012-09-12 17:10:09 -07:00
Ed Morley
24678699d7
Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted
2012-10-06 16:46:09 +01:00
Andrew Quartey
6a3e28f73b
Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Jeff Muizelaar
62bb43ba59
Bug 792199. Only decode visible images immediately when switching to a tab. r=joe
...
This creates a new method 'StartDecoding' which does a RequestDecode and some
decoding of the image.
--HG--
extra : rebase_source : 89c1c2f40e3dfb6e025939ebf3257f81ce429501
2012-10-04 16:02:15 -04:00
Nathan Froyd
4519571cb1
Bug 796129 - remove prtypes #includes in layout/
2012-10-01 17:12:57 -04:00
Jonathan Kew
d4ed66097a
bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud
2012-09-29 12:36:09 +01:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
638b4002cb
Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc
2012-09-25 08:31:30 +12:00
Matt Woodrow
17610240f2
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Matt Woodrow
a980777bb7
Bug 539356 - Use rect invalidation in XUL tree's to avoid over invalidation. r=roc
2012-08-29 17:49:18 +12:00
Matt Woodrow
cee1aa3599
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Matt Woodrow
2d57efa896
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
2012-08-29 17:39:01 +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
53908eb696
Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc
2012-09-25 08:31:30 +12:00
Matt Woodrow
af81361caa
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Matt Woodrow
d2ce160824
Bug 539356 - Use rect invalidation in XUL tree's to avoid over invalidation. r=roc
2012-08-29 17:49:18 +12:00
Matt Woodrow
4d096475d2
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Phil Ringnalda
8166187203
Back out 85d6cbd01d39, 56fc051c1932, a2ad17b87332 (bug 781053) for OS X debug assertions and crashes
...
--HG--
extra : rebase_source : ab24a2f8e9eddcf33ea39344abb7afbf400bf6e0
2012-09-24 21:23:05 -07:00
Phil Ringnalda
02d5380784
Back out 8bd13443d0bc (bug 579517) to get a clean backout
...
--HG--
extra : rebase_source : 63c8087f0a6de5adeddb8762ff9e410b2b818e22
2012-09-24 21:21:10 -07:00
Ehsan Akhgari
f0b366783f
Bug 579517 follow-up: Remove NSPR types that crept in
2012-09-24 17:55:10 -04:00
Matt Woodrow
8570336fe7
Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc
2012-09-25 08:31:30 +12:00
Matt Woodrow
636d5256a9
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Chris Lord
b38c2c5cad
Bug 788202 - Add optional subdocument traversal to nsIFrame::List. r=bz
...
Add subdocument frame traversal to nsIFrame::List, controlled via an optional
flag.
2012-09-19 15:36:35 +01:00
Markus Stange
73d7477011
Bug 788189. Account for the context menu offset in the stored position of a context menu popup so that we don't end up in an infinite loop continually adding the context menu offset. r=enndeakin
2012-09-14 16:17:08 -05:00
Arnaud Sourioux
a84a1b22ad
Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron
2012-09-14 09:10:08 -07:00
Daniel Holbert
7c0205a99b
Bug 733186 helper-patch: Replace 2 spaces with 1 space between function-signature and implementation in a few spots, so that it's easier for a script to cleanly insert MOZ_OVERRIDE there. (whitespace-only, so DONTBUILD)
2012-09-13 12:40:48 -07:00
Mats Palmgren
62d67ea0e0
Bug 789824 - Apply min-/max-height constraints on -moz-box containers correctly. r=bz
2012-09-12 00:20:51 +02:00
Andrew Quartey
3b5af086c1
Bug 688895 - Add null check for widget in nsXULPopupManager::ShowTooltipAtScreen r=tn
2012-09-05 21:36:15 -04:00
Mike Hommey
9f50415300
Bug 784262 - Use generic install/copy rule in rules.mk. r=ted
2012-08-29 08:55:57 +02:00
Timothy Nikkel
3fcd173566
Bug 787818. Make sure the weak frame is alive after dispatching an event. r=mats
2012-09-04 14:57:28 -05:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Timothy Nikkel
92cbfb4790
Bug 786421. When hiding a popup panel don't bother sizing its view to zero because that is useless and confuses the widget sizing code. r=roc
...
Panels have a min size constraint set on them so when the view code tried to resize the widget to zero it would get bumped up to the min size. The view code would continue trying to resize the widget because of this.
2012-08-30 11:47:50 -05:00
Boris Zbarsky
bbba2e04b8
Bug 785754. Fix handling of max-height for frame classes that still seem to think that the mComputedMinHeight/mComputedMaxHeight of a reflow state are border-box heights, not content-box heights. r=mats
2012-08-27 15:46:23 -04:00
Neil Deakin
dac9eb2391
Bug 582719, remove unused GetParentMenu method that was missed by 1ca7e8b00fbb
2012-08-24 08:41:20 -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
Phil Ringnalda
5c6d6db828
Merge mozilla-central to mozilla-inbound
2012-08-19 11:20:45 -07:00
Kyle Huey
e5307f0a9a
Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar
2012-08-18 12:15:04 -07:00
Charly Molter
0ca4358d6c
Bug 776265 - changing the way ComputeHeightValue works to make it work just
...
like ComputeWidthValue already does. this fixes {min,max}-height + adding
reftests for {min,max}-{height,width} r=mats
2012-08-08 17:58:26 +02:00
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Robert O'Callahan
65cf9f8b41
Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
...
--HG--
extra : rebase_source : a6118e0eeea749a601e055741e35cdcd15d81e57
2012-08-10 23:17:06 +12:00
Masayuki Nakano
5c5f0a16d2
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
Ms2ger
75ab7efb95
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Aryeh Gregor
2fbc523d8e
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
David Zbarsky
b5d5ebe56a
[Bug 780439] Kill off the remains of nsIBox r=roc
2012-08-05 23:00:57 -04:00
David Zbarsky
03039446fa
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
Ms2ger
c75eefb90d
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
f4181983a1
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
27245512cd
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Neil Deakin
2b4b772866
Bug 357725, size constraints tests
2012-07-30 20:43:29 -04:00
Neil Deakin
b0640922cf
Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil
2012-07-30 20:43:29 -04:00
Neil Deakin
5ae1b87a02
Bug 582719, use nsQueryFrame for menus and popups rather than GetType, r=neil
2012-07-30 20:43:28 -04:00
Aryeh Gregor
c81630fddb
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Wes Johnston
10f3c8fa0e
Bug 773741 - Support touch events in resizers. r=enn
2012-07-27 15:01:12 -07:00
Makoto Kato
09b5cb509a
Bug 776447 - layout/xul/base/src/nsSliderFrame.cpp(595) : warning C4305: 'return' : truncation from 'nsresult' to 'bool'. r=enndeakin
2012-07-24 11:57:22 +09:00
Aryeh Gregor
65eef91085
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Matt Woodrow
63a43289be
Bug 741682 - Make nsTextBoxFrame::GetComponentAlphaBounds more accurate. r=roc
2012-07-23 15:00:36 +12:00
Masayuki Nakano
4c95259d7e
Bug 751749 part.2 Support Win key for a modifier of shortcut key and access key r=smaug, enn
2012-07-19 10:28:16 +09:00
Elika Etemad
5186834e80
Bug 774835: Refactor nsHTMLReflowState::ApplyMinMaxConstraints to separate behavior of width and height. [r=roc]
...
--HG--
extra : rebase_source : c6a25e9c19c65d86013ddf8afc15026ca02321c4
2012-07-18 10:26:05 -04:00
Wes Johnston
1936e3ec67
Bug 732052 - Allow slide frames to use touch events. r=smaug,enn
2012-07-09 09:55:35 -07:00
Ehsan Akhgari
92998ad05e
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more layout parts); r=roc
2012-07-11 00:03:55 -04:00
Wes Johnston
6528e0253a
Backout a7d1108f70fb, e32603f16465, 142b9df4d021,
2012-07-10 16:20:09 -07: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
Wes Johnston
b8fc760a2e
Bug 732052 - Allow slide frames to use touch events. r=smaug,enn
2012-07-09 09:55:35 -07:00
Masayuki Nakano
34bdb7d777
Bug 537230 part.1 Paint connection of complex style decoration lines smoothly r=roc
2012-07-04 14:59:50 +09: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
Jonathan Watt
970e60a384
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Mats Palmgren
21b1a88e69
Bug 575294. part=4/5 r=roc
2012-06-23 03:13:56 +02:00
Dão Gottwald
1bd5846b5c
Bug 767462 - Allow controlling outside-click event consumption with an attribute. r=enndeakin
...
--HG--
extra : rebase_source : 0afac7d049f96568390e283cb90f2f1a79ad7c5a
2012-06-22 22:07:26 +02:00
Ehsan Akhgari
65884fba1f
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
...
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Ehsan Akhgari
2050b687cc
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
...
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Timothy Nikkel
684f45d07b
Bug 414170. Add crashtest.
2012-06-13 11:41:42 -05:00
Ed Morley
865fc92be0
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Matt Woodrow
cee7c9d24b
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
...
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Olli Pettay
e160cfea86
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Robert O'Callahan
7b4d308d3c
Bug 731293. Remove nsFrameManager parameter from nsLayoutUtils::GetParentOrPlaceholderFor. r=mats
2012-06-09 00:22:25 +12:00
Mats Palmgren
f8e32e8cae
Back out bug 575294, bug 726264. (cset 1727de7d26ec, 6bcea3a628d8, 011c1c8e9cc7, 0be261a5042b, d51338c5cd0c)
2012-06-03 18:05:00 +02:00
Mats Palmgren
07de03112a
Bug 575294. part=3/4 r=roc
2012-06-02 01:41:54 +02:00
Joel Maher
bb1449586f
Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma
2012-06-01 08:42:38 -04:00
L. David Baron
edbd83838f
Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
6642be49cb
Remove nsStyleBorder::GetActualBorder, since it now does the same thing as nsStyleBorder::GetComputedBorder. (Bug 713643, patch 3) r=bzbarsky
2012-05-30 22:19:49 -07:00
Neil Rashbrook
4df0de2a9c
Bug 757330 Don't activate an empty menubar r=Enn
2012-05-30 08:33:20 +01:00
Neil Deakin
403c3ccc83
Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz
2012-05-23 14:46:04 -04:00
Mounir Lamouri
42705fc970
Bug 376649 - In GTK, F10 key should show active menubar item and open submenu. r=bz
...
--HG--
rename : toolkit/content/tests/widgets/test_menubar.xul => toolkit/content/tests/widgets/test_menubar_gtk.xul
rename : toolkit/content/tests/widgets/window_menubar.xul => toolkit/content/tests/widgets/window_menubar_gtk.xul
2012-05-22 01:31:17 +02:00
Ed Morley
83427f0fe0
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
6f318c955b
Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
...
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07: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
Robert O'Callahan
c16bb52076
Bug 754556. Use ScrollToCSSPixels in nsScrollBoxObject::ScrollTo/ScrollBy. r=matspal
2012-05-16 17:40:39 +12:00
Oleg Romashin
1a9ecd549b
Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
...
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Masayuki Nakano
12a8842b2b
Bug 749563 nsMenuBarListener should ignore consumed alt key events in its keydown and keyup event handlers r=enn
2012-05-10 08:25:48 +09:00
Simon Montagu
dccf22649b
Make dir=rtl reverse layout direction in horizontal orientation only. Bug 750551, r=dholbert
2012-05-07 12:17:41 -07:00
Ehsan Akhgari
e00b9cd4fb
Backout bug 750551 because of reftest oranges
...
--HG--
extra : rebase_source : 8947487094a48fb53c50a3c47bdc053db63a7759
2012-05-07 12:34:37 -04:00
Simon Montagu
1b15b7d513
Make dir=rtl reverse layout direction in horizontal orientation only. Bug 750551, r=dholbert
2012-05-07 07:27:44 -07:00
Mats Palmgren
52a697097e
Bug 751227 - Remove nsPresShell::mStackArena, make it a separate stack class. r=roc
2012-05-04 02:14:02 +02:00
Jonathan Kew
3fa80ac988
Bug 749658 - Distinguish scrollable from visual bounds for nsTextBoxFrame. r=roc
2012-04-29 20:34:09 -04:00
Ed Morley
0c3dbaac1d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-04-27 12:52:26 +01:00
Neil Rashbrook
ce83eb70a6
Bug 745447 XUL progress meter layout should match HTML r=Enn
2012-04-27 08:42:10 +01:00
Masayuki Nakano
5c0d118456
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Matt Woodrow
465e6ee513
Bug 746421 - Make nsTextBoxFrames overflow area include the LOOSE_INK_EXTENTS of the text. r=jfkthame
2012-04-27 12:24:54 +12:00
Robert O'Callahan
df01b1f9dc
Bug 735898. Part 6: Avoid nsIFrame::GetOffsetTo calls by caching a frame/offset pair in nsDisplayListBuilder, using the cache from nsDisplayListBuilder::ToReferenceFrame, and having BuildDisplayListForChild efficiently update the cached frame from parent to child when possible. Also, use display items' precalculated ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame where possible. r=mattwoodrow,a=blocking-fennec
2012-04-18 17:14:14 +12:00
L. David Baron
90733eea84
Add a font inflation data structure per block formatting context. (Bug 706193, patch 2) r=roc
...
This structure is per block formatting context because we have to make a
single inflation decision for things like consecutive runs of paragraphs
of text. Inflating some paragraphs and not others (within the same
sequence of adjacent paragraphs) based on the amount of text in each one
would be disastrous. Otherwise it's ideal for the units to be as small
as possible as long as they merge such sequences; therefore this uses a
definition corresponding to CSS's idea of elements that establish new
block formatting contexts.
2012-04-16 15:32:12 -07:00
Robert O'Callahan
7c34e38876
Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
...
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.
With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).
FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Mark Capella
7dbe0c1ec1
Bug 739524 - replace TreeViewChanged DOM event on direct call from XUL tree, r=tbsaunde, f=surkov
2012-04-02 20:31:10 +09:00
Phil Ringnalda
16b8634b73
Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE
2012-03-28 22:43:09 -07:00
Kyle Huey
33073664dc
Bug 737976: Remove nsINodeInfo. rs=bent
2012-03-28 19:07:37 -07:00
Masayuki Nakano
1ea5f117c3
Bug 703774 Cast the result of getAttribute() as Number before comparing the values r=enn
2012-03-29 00:20:13 +09:00
Alexander Surkov
d7940989f5
Bug 656225 - XUL listbox accessible tree doens't get updated, r=tbsaunde, bz
2012-03-27 16:29:51 +09: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
Daniel Holbert
efab9b17ef
Bug 640443: Allow positioned display:-moz-box elements to be containers for absolutely-positioned content. r=bz
2012-03-10 14:49:10 -08:00
Mats Palmgren
39a7d31397
Bug 728906 - Make nsIFrame::GetChildList return const nsFrameList&. r=bz
2012-03-08 02:57:37 +01:00
Mats Palmgren
d1874aa971
Bug 728913 - Remove the nsMenuFrame::mPopupFrame member and store it in a nsFrameList* frame property instead (as needed). r=bz
2012-03-08 02:57:37 +01:00
Nathan Froyd
68a79f10ae
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Serge Gautherie
190f19bce5
Bug 728541. (Av1) browser_bug703210.js: Add a missing removeEventListener(). r=smaug.
2012-02-18 21:49:14 +01:00
Masayuki Nakano
cdef5df025
Bug 625151 Reset accesskey state at blur and alt keydown r=enn
2012-02-14 09:56:03 +09:00
Karl Tomlinson
263607029d
b=724967 update mWidget before calling CaptureRollupEvents to handle rollup during the call r=enndeakin
...
--HG--
extra : rebase_source : 47e0d5e43884c3722a3517d1e631c790e95101ec
2012-02-14 09:19:50 +13:00
Neil Deakin
873e3dc344
Bug 707386, remove use of drag session from treebodyframe, r=neil
2012-02-07 13:02:33 -05:00
Makoto Kato
4062025098
Bug 691103 - nsBoxObject::SetPropertyAsSupports cannot recognize nsInterfaceHashtable.Init error. r=bz
2012-02-02 15:32:44 +09:00
Ms2ger
97967af56e
Merge m-c to m-i.
2012-01-25 11:06:40 +01:00
Ms2ger
fa49b00e76
Bug 718504 - Remove some GetChildAt callers; r=smaug
2012-01-25 08:50:07 +01:00
Mats Palmgren
d33bf8f71c
Bug 524925 - Consolidate overflow clipping checks to nsFrame::ApplyOverflowClipping(); and fix some code style nits. part=5/6 r=roc
2012-01-18 21:04:51 +01:00
L. David Baron
de8dc36651
Set inflation container and width correctly during reflow. (Bug 706609, patch 3) r=roc
...
This is the second of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00
Benjamin Stover
dc9cd57308
Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
...
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.
There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Markus Stange
40e50b090a
Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc
2011-12-23 22:52:21 -05:00
Kyle Huey
d382eb7335
Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc
2012-01-06 07:32:38 -05:00
Mats Palmgren
78d0f2c7ca
Bug 515530 - Remove nsHTMLContainerFrame. r=roc
2011-12-27 21:18:48 +01:00
Phil Ringnalda
2e8e3cc006
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Markus Stange
136f7cd4dd
Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc
2011-12-23 22:52:21 -05:00
Nicholas Nethercote
24d2c81ee1
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Matthew Schranz
3a92e01012
Bug 334573 - Renamed all references of nsPLDOMEvent to nsAsyncDOMEvent. r=sicking
...
--HG--
rename : content/events/public/nsPLDOMEvent.h => content/events/public/nsAsyncDOMEvent.h
rename : content/events/src/nsPLDOMEvent.cpp => content/events/src/nsAsyncDOMEvent.cpp
2011-12-17 01:02:05 -05:00
Masayuki Nakano
8efa64d73b
Bug 204786 Use LookAndFeel for delay to show tooltip r=roc+enndeakin
2011-12-16 18:18:48 +09:00
Masayuki Nakano
2872d3cc6b
Bug 706743 tooltip listener should ignore mousemove and mouseout events during drag r=enndeakin
2011-12-16 15:17:48 +09:00
Cameron McCormack
f24ad4ce1d
Bug 707054 - Remove event listener added in browser_bug703210.js. r=masayuki
2011-12-02 23:25:04 +11:00
Justin Lebar
02b09fb494
Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended.
2011-12-01 16:35:42 -05:00
Justin Lebar
9b26154c74
Backed out changeset 5d920a44a901 (bug 698002)
2011-12-01 15:43:07 -05:00
Timothy Nikkel
8ce4c15a30
Bug 668437. Part 5. Make the view bounds of a popup coincide with the client area of the widget. r=enndeakin,roc
2011-12-01 13:56:42 -06:00
Timothy Nikkel
e5d288b5ae
Bug 668437. Part 2. When placing popup widgets check if the client offset of the window has changed in addition to the top left of the window. r=enndeakin
2011-12-01 13:56:41 -06:00
Timothy Nikkel
0e3f3865eb
Bug 668437. Part 1. DeCOMtaminate nsMenuPopupFrame::GetWidget. r=enndeakin
2011-12-01 13:56:41 -06:00
Masayuki Nakano
095d71efb1
Bug 703210 part.2 Add test r=smaug
2011-11-30 21:44:53 +09:00
Masayuki Nakano
f5d589c40a
Bug 703210 XUL tooltip listener should use system event group for listening to content events r=smaug+enn
2011-11-29 13:39:21 +09:00
Scott Johnson
3a5d79700f
Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz
2011-11-28 14:11:01 -06:00
Scott Johnson
7836ef6414
Backed out changeset 068e3078ced6
2011-11-28 13:12:16 -06:00
Scott Johnson
8aa1b37a0b
Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz
2011-11-28 12:40:18 -06:00
Masayuki Nakano
b05d40e755
Bug 703150 Cannot drag scrollbar thumb if stopPropagation() of mousedown event is called r+sr=smaug
2011-11-25 10:09:58 +09:00
Ed Morley
ec227b4a78
Merge mozilla-central and mozilla-inbound
2011-11-24 09:08:33 +00:00
L. David Baron
5a12e5a841
When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc
2011-11-23 18:48:23 -08:00
Jeff Walden
df2b7cbc5c
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
...
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Scott Johnson
8d6fc0a70b
Bug 682077 - Backout of 332d4787b430 to troubleshoot crashes on Windows.
2011-11-23 13:40:08 -06:00
Neil Deakin
8adb1bec34
Bug 703260, part 2, remove view usage from popup manager's widget callbacks, r=mats
2011-11-21 12:53:20 -05:00
Neil Deakin
b15e9b4338
Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc
2011-11-21 12:53:20 -05:00
Masayuki Nakano
f8b16d9085
Bug 159346 part.3 Add new tests r=enndeakin
2011-11-18 08:41:35 +09:00
Masayuki Nakano
6b3f4ece7b
Bug 159346 part.2 Repeat scroll even if mouse cursor is outside of the pressed scrollbar button on gtk2 and qt r=enndeakin+roc
2011-11-18 08:41:35 +09:00
Masayuki Nakano
feacc0db44
Bug 159346 part.1 Scrollbar button should capture mouse events and do scroll only when cursor is on it r=enndeakin
2011-11-18 08:41:35 +09:00
Phil Ringnalda
47ec399c96
Backout changesets c9abc8ef4626, d62512892555, 69f89ee5d08f, c511af7d8f58, 6a6a560a1492, ac0ec1183d19, 46669afabd15, 74f32abaa8c0, f197554cf989, 0a2405eb5b90, b48954598d7d, e0a82577259c, 0235d1541e58, 450f2557d3a2, e24d196602bf, 03c2ea0eeba3, 7aca4ef8e538, 11ec362e780b, 4b92a3b96446 (bug 627842) for Windows crashtest assertions and Android reftest failures
...
--HG--
extra : rebase_source : fc8946055314369bfba5038ded32afcb00bf134d
2011-11-14 22:12:31 -08:00
L. David Baron
01956a72c7
When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc
2011-11-15 17:02:00 +13:00
Scott Johnson
23dffd4efe
Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz
...
--HG--
extra : rebase_source : 37becb5bb6a987fafb90a340284d284614dc64ae
2011-11-15 10:59:19 +13:00
Cameron McCormack
04b6a02159
Bug 652494 - Report uncaught JS exceptions in chrome mochitests as test failures. r=jmaher
2011-11-12 22:06:54 +11:00
Scott Johnson
2c5f87b48a
Bug 666446, Part 8/10 - Change xul tree implementation to utilize refresh driver based animations for performance improvements with animated images. [r=roc]
2011-11-09 13:39:16 -08:00
Scott Johnson
ec9c6e524d
Bug 666446, Part 5/10 - Change nsImageBoxFrame to register corresponding image with nsRefreshDriver to facilitate refresh driver-based animations. [r=roc]
2011-11-09 13:39:16 -08:00
Neil Deakin
3c91582697
Bug 696745, remove nsIMenuRollup and xul-popup-manager component, r=mats,sr=roc
2011-11-08 14:59:07 -05:00
Ed Morley
219d1eb56e
Merge mozilla-central and mozilla-inbound
2011-11-05 18:46:28 +00: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
Atul Aggarwal
1f3e8ff573
Bug 408630 - Updating nsTreeBodyFrame.cpp file from int to PRInt32/PRUint32 to avoid overflow; r=roc
2011-11-04 09:58:05 +05:30
Rail Aliiev
ac65d0d88e
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Justin Lebar
c23ef933c9
Merge backout
2011-11-02 20:11:25 -04:00
Justin Lebar
81c40942af
Back out bug 666446 due to Talos regression.
2011-11-02 20:11:01 -04:00
Scott Johnson
acc7f1a6b2
Bug 666446, Part 8/10 - Change xul tree implementation to utilize refresh driver based animations for performance improvements with animated images. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
aee1ec5290
Bug 666446, Part 5/10 - Change nsImageBoxFrame to register corresponding image with nsRefreshDriver to facilitate refresh driver-based animations. [r=roc]
2011-11-01 11:06:53 -04:00
Jesse Ruderman
b956e42ef5
Fix typo in assertion text (no bug, DONTBUILD)
2011-11-01 15:29:15 -07:00
Jesse Ruderman
667319597b
Remove trailing whitespace (no bug, DONTBUILD)
2011-11-01 15:28:48 -07:00
Jonathan Watt
66f54fe5a4
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Timothy Nikkel
406398810f
Bug 655263. Remove views from decks. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
f10d3e436c
Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
18d865bedc
Bug 658005. Part 1. Allowing query frame to work on deck frames. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
7e59bd107e
Bug 658001. Need to clear mouse capture if the capturing frame is inside a hidden deck panel. r=roc
2011-10-25 13:20:13 -05:00
Timothy Nikkel
5fd981457f
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-21 12:45:32 -05:00
Timothy Nikkel
f92f70e856
Backout 18f70ede04b0 (bug 694213).
2011-10-20 20:59:47 -05:00
Timothy Nikkel
b6640cbaf7
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-20 12:44:28 -05:00
Timothy Nikkel
0bd28c1700
Bug 695245. Misc view related code cleanup. Mostly dead code removal. r=roc
2011-10-19 14:10:13 -05:00
Marco Bonardo
ea7024ac8c
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-19 11:47:57 +02: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
Timothy Nikkel
677526acd7
Backout 8db8c9ce92c5 (bug 694213).
2011-10-18 00:41:10 -05:00
Timothy Nikkel
3b73722e00
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-17 19:56:03 -05:00
Timothy Nikkel
11a5712a38
Bug 695252. When switching cards in a deck we don't need to purge all thebes layer contents. r=roc
2011-10-18 12:48:29 -05:00
Benoit Girard
3805b3cd62
Bug 691354 - Enable test fix by changes. r=jmuizelaar
2011-10-17 13:09:03 -07: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
Peter Van der Beken
9fe2ac6cc5
Stop including nsDOMClassInfo.h all over the place.
...
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Nathan Froyd
c4ca76c065
Bug 687166 - GCC 4.6 build warning: "layout/xul/base/src/nsSplitterFrame.cpp:997: warning: variable current set but not used [-Wunused-but-set-variable]". r=smaug
2011-10-07 16:16:36 +01:00
Scott Johnson
31cf71b642
Backout cset 4ec20f190f00 from bug 666446 while we sort out regressions
2011-10-07 00:25:24 -07:00
Scott Johnson
793a9444dc
Backout cset 49d997bcdc60 from bug 666446 while we sort out regressions
2011-10-07 00:24:44 -07:00
Scott Johnson
3cc008f921
Bug 666446, Part 8/18 - Change xul tree implementation to utilize refresh driver based animations for performance improvements with animated images. [r=roc]
2011-10-03 13:39:05 -07:00
Scott Johnson
d3e9c17ae4
Bug 666446, Part 5/18 - Change nsImageBoxFrame to register corresponding image with nsRefreshDriver to facilitate refresh driver-based animations. [r=roc]
2011-10-03 13:39:05 -07:00
Ehsan Akhgari
c7d37d466b
Merge mozilla-central into mozilla-inbound
2011-09-29 17:26:09 -04:00
Neil Deakin
95bb3cbe91
Bug 659338, move resizer test to chrome, but leave content-specific test as a content test
2011-09-29 16:05:10 -04:00
Neil Deakin
b1922df50d
Bug 683394, resizer in content check is reversed, r=neil
2011-09-29 16:05:10 -04:00
Neil Deakin
75f9212928
Bug 680431, this test is calling finish() twice preventing the next test from running, f=smaug
2011-09-29 16:05:10 -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
Alexander Surkov
85f57ffd5d
Bug 673958 - rework accessible focus handling, r=enndeaking, marcoz, tbsaunde, matspal, f=marcoz
...
--HG--
rename : accessible/tests/mochitest/test_aria_activedescendant.html => accessible/tests/mochitest/events/test_focus_aria_activedescendant.html
rename : accessible/tests/mochitest/events/test_focus.html => accessible/tests/mochitest/events/test_focus_dialog.html
rename : accessible/tests/mochitest/events/test_focusdoc.html => accessible/tests/mochitest/events/test_focus_doc.html
rename : accessible/tests/mochitest/events/test_focus.xul => accessible/tests/mochitest/events/test_focus_general.xul
rename : accessible/tests/mochitest/states/test_comboboxes.xul => accessible/tests/mochitest/states/test_expandable.xul
rename : accessible/tests/mochitest/test_nsIAccessible_selects.html => accessible/tests/mochitest/states/test_selects.html
2011-09-28 10:46:11 +09:00
Benoit Girard
55511ee95e
Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe
...
--HG--
extra : rebase_source : b5458fa13fc6277560eb0ebc3e4e31f6c04b4e6c
2011-09-19 13:05:15 -07:00
Jonathan Kew
ee56ede693
bug 686497 - avoid passing excessively long wavy-underline path to cairo for stroking. r=roc
2011-09-16 20:23:29 +01:00
Ehsan Akhgari
2b29cd6201
Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky
2011-05-12 00:04:30 -04:00
Jonas Sicking
bd83880bfe
Bug 684927 - unchecked null pointer in nsMenuBarListener::KeyUp; r=smaug
2011-09-12 14:00:59 -04:00
Daniel Holbert
49bf432c49
Bug 686257: remove now-unused variable 'presContext' from nsMenuPopupFrame::Init to fix gcc warning. r=masayuki
2011-09-11 20:12:07 -07:00
Masayuki Nakano
2bc2cb55f3
Bug 669028 part.12 layout/xul should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:13 +09:00
Ms2ger
ccea776176
Bug 684807 - Annotate crashtest assertions on Android; r=philor
2011-09-06 18:35:43 +02:00
Phil Ringnalda
bd29b3736e
Bug 634759 followup followup, remove the bug numbers that explain removed annotations DONTBUILD
2011-08-29 19:32:13 -07:00
Benjamin Stover
8679696257
Bug 634759 Followup: Mark unexpected passes as expected r=me
2011-08-29 13:42:35 -07:00
Kyle Huey
c1cd337d77
Back out f19404f45022 (Bug 680431) for perma-orange.
2011-08-29 09:02:42 -04:00
Neil Deakin
a68212b96b
Bug 680431, test_bug511075.html is calling finish() twice, f-smaug
2011-08-29 07:51:35 -04:00
Peter Van der Beken
9b95098efe
Fix for bug 682539 (Add nsTreeColumn::mNext to CC). r=smaug.
2011-08-28 16:07:26 +02:00
Ms2ger
0b1536d069
Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug
2011-08-26 09:43:49 +02:00
Mats Palmgren
f1c56f2e22
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
2c56109b0d
Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
...
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Mats Palmgren
605a290f3b
Bug 653649 - New way of getting child lists from frames. (part 2/5) r=roc sr=dbaron
...
Implement GetChildList(ChildListID) and GetChildLists(nsTArray<ChildList>*)
for various frame classes. Remove GetAdditionalChildListName(PRInt32)
methods and associated macros and list index constants.
2011-08-24 22:54:29 +02:00
Neil Deakin
decfc79ff9
Bug 533460 - Allow custom panels/windows to be used as drag/drop feedback images. r=karlt,josh,roc
2011-04-25 18:37:20 -07:00
Matt Brubeck
eb3dcefecf
Merge last green changeset from mozilla-central to mozilla-inbound
2011-08-19 16:26:25 -07:00
L. David Baron
0d83f6cb50
Annotate reftest for bug 442228 as failing on Android.
2011-08-19 16:19:13 -07:00
L. David Baron
7a9efed392
Add reftest for bug 677091.
...
This tests a situation similar to the one in the preference dialog in
bug 677091, though in this case the bug is exhibited by the label
overflowing its container (an hbox with a background) rather than
wrapping.
2011-08-19 15:02:49 -07:00
Kyle Huey
fa3c2e7eb4
Bug 555482: Allow resetting resizers by double-clicking on the resizer. r=Enn
2011-08-18 10:25:36 -04:00
L. David Baron
84b8b6bf64
Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
...
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -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
Ms2ger
3fea5b3901
Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar
2011-08-11 15:29:58 +02:00
Ms2ger
4ca9cbc0f3
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Mats Palmgren
f70d28ee47
Bug 663375 - When text color is darkened, darken text-decoration color too. r=dbaron
2011-08-09 17:14:36 +02:00
Neil Deakin
e06780eb02
Bug 585069, support ratio scaling for xul images, r=dbaron
2011-08-05 15:24:24 -04:00
Neil Deakin
0c777f178e
Bug 524545, popups with large margins appearing offscreen, r=roc
2011-08-05 15:24:24 -04:00
Masayuki Nakano
bfc72b90bf
Bug 675865 backout new dragginf for selection handling code from Mozilla8 r=smaug (backed out patches are: bug 552707, bug 644621, bug 670058, bug 670508, bug 671319)
2011-08-03 12:39:02 +09:00
Michael Wu
884dbf88ee
Bug 675561 - Calls to GetMetric should pass a pointer to PRInt32, not PRBool, r=roc
2011-08-01 18:20:52 -07:00
David Zbarsky
6739221259
Bug 583533 - Implement AccessKeyLabel attribute r=smaug, ui-review=faaborg
2011-07-31 21:43:54 +02:00
Marco Bonardo
76e359171e
Bug 674578 - Support resizer[dir="bottomstart"].
...
r=enn
2011-07-29 11:38:41 +02:00
Marco Bonardo
763aa4b97e
Bug 674862 - nsResizerFrame may deanchor panels.
...
r=enn
2011-07-29 11:38:39 +02:00
Michael Wu
46a170c5f0
Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc
2011-07-26 23:43:37 -07:00
Masayuki Nakano
a9ad2b5a29
Bug 673315 part.1 selection change reason must be MOUSEUP_REASON when dragging for selection finishes normally r=smaug
2011-07-24 23:26:40 +09: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
Alexander Surkov
22b36958c8
Bug 671504 - get rid nsIPresShell::gAccessibilityIsActive, r=roc
2011-07-19 17:30:19 +09:00
Matheus Kerschbaum
b0c1f89ef4
Bug 579571 - Remove --enable-timeline support. r=tglek
2011-07-17 12:07:42 +02:00
Mats Palmgren
f76aa662d8
Bug 576174 - "ASSERTION: Losing track of existing primary frame". r=bzbarsky
2011-07-15 16:24:58 +02:00
Ms2ger
8c78d3f478
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Simon Montagu
c5979d144a
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
2011-04-13 12:23:49 +03:00
Neil Deakin
50590dd164
Bug 670148, remove nsIBoxLayout, r=roc
2011-07-11 10:05:10 -04:00
Neil Deakin
46aa977563
Bug 670148, remove nsIScrollbarFrame, r=roc
2011-07-11 10:05:09 -04:00
Neil Deakin
bf5ff724ae
Bug 670148, remove nsIMenuFrame, r=roc
2011-07-11 10:05:07 -04:00
Jan Varga
915189b4a2
Bug 295285 - onpopupshowing does not expose accesskeys (event.shiftKey) r=enn
2011-07-09 09:41:32 +02:00
Masayuki Nakano
35028f63a8
Bug 552707 While we're expanding selection by dragging, the selection root element should capture mouse events and all scrollable elements should be scrollable r=roc+smaug, ui=faaborg
2011-07-06 11:16:18 +09:00
Neil Deakin
41bf190190
Bug 666927, clean up nsBoxFrame::GetLayoutManager to return value, r=roc
2011-07-04 10:39:10 -04:00
Michael Ventnor
94ab78043d
Bug 669015 - Fix regressed text-shadow in XUL r=roc
2011-07-04 14:59:19 +10:00
Marco Bonardo
434e057510
Merge mozilla-inbound and mozilla-central
2011-07-02 10:39:08 +02:00
Marco Bonardo
232fe57625
Merge Places and mozilla-central
2011-07-01 18:26:04 +02:00
Michael Ventnor
64902ac945
Fix reftest failures from bug 666689
2011-07-01 18:21:46 +10:00
Michael Ventnor
62ab64069b
Implement text-shadow for the text-overflow marker text (ellipsis) r=roc
2011-07-01 16:43:11 +10:00
Marco Bonardo
986b94d168
Bug 668319 - Allow to set opacity on ::-moz-tree-cell-text.
...
r=roc
2011-06-30 15:33:58 +02:00
Ehsan Akhgari
86da6932d3
Merge mozilla-central and mozilla-inbound
2011-06-30 05:08:20 -04:00
Jonas Sicking
77e1745e86
Bustage fix for bug 664058
2011-06-29 11:54:46 -07:00
Jonas Sicking
2ed50de013
Bug 664058: Remove Add/RemoveEventListenerByIID from nsXULPopupManager. r=smaug
2011-06-29 11:07:48 -07:00
Marco Bonardo
e1de548d00
Merge last green changeset from mozilla-central to mozilla-inbound
2011-07-01 23:56:44 +02:00
Jonas Sicking
c433e9bba4
Bug 664058: Remove Add/RemoveEventListenerByIID from nsMenuBarListener. r=smaug
2011-06-30 14:20:02 -07:00
Jonas Sicking
e7aebf77db
Bug 664058: Remove Add/RemoveEventListenerByIID from nsXULTooltipListener. r=smaug
2011-06-30 14:19:40 -07:00
Ehsan Akhgari
2a3dbb4205
Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
...
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Jonas Sicking
51a3281678
Bug 664058: Remove Add/RemoveEventListenerByIID from nsSplitterFrame. r=smaug
2011-06-28 10:59:14 -07:00
Jonas Sicking
a3ec770366
Bug 664058: Remove Add/RemoveEventListenerByIID from nsImageMap and nsSliderFrame. r=smaug
2011-06-28 10:59:14 -07:00
L. David Baron
17c6a77daf
Make nsMenuFrame::SizeToPopup consider its own border/padding properly, by increasing the popup's content's width by the larger of its own border/padding or the popup's scrollbar, rather than only the latter. (Bug 623922) r=enndeakin
2011-06-29 14:39:21 -07:00
Kai Liu
c2150118cc
Bug 659993: Part 1: Expose a function to determine if a menuitem is a part of a menulist (and if so, what type). r=bzbarsky
2011-06-24 14:00:35 -07:00
Jonas Sicking
cd52437ea7
Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug
2011-06-23 19:18:01 -07:00
Marco Bonardo
f946eba841
Bug 664127 - Allow to set opacity on ::-moz-tree-image.
...
r=roc
2011-06-23 14:35:07 +02:00
Joel Maher
8bce810e48
Bug 663853 - move layout/xul/test/*.xul to mochitest-chrome. r=mats, a=test-only
2011-06-19 11:56:44 -04:00
Olli Pettay
91010d2a7b
Bug 664430 - Make sure PopupManager doesn't keep objects alive after xpcom-shutdown, r=enndeakin
...
--HG--
extra : rebase_source : 137f6507926c47686d9542f97b6d518599e5ed0f
2011-06-18 12:11:36 +03:00
Jonas Sicking
e3e6dd6825
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
L. David Baron
a31f5ce4a7
Address missed review comment from bug 644514 patch 1: remove unused macro. r=bzbarsky
2011-06-12 18:52:32 -07:00
Joel Maher
b1bf64d03f
Bug 653145 - move layout/xul/base/test/* mochitests to mochitest-chrome to avoid enablePrivileges. r=bzbarsky, a=test-only
2011-06-09 11:10:11 -04:00
Neil Deakin
f9daca5776
Bug 577377, add a means to get the screen rectangle of a popup, r=neil
2011-06-03 15:38:23 -04:00