Daniel Holbert
bdad1e8b01
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
268082eeb3
Bug 814418 - Fix some warnings about unused variables. r=ehsan
2012-11-30 11:06:37 -05:00
Boris Zbarsky
1ed8fa1969
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
4fd3be0cc7
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
5dc466f953
Bug 811927 - Allow conversion of nsDisplayBackgroundImage into ImageLayers. r=roc
2012-11-19 16:28:18 +13:00
Mark Hammond
1211a5f6ca
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
a1d7e0f511
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
bed3e28e39
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
f779bed777
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
0f4a543158
Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc
2012-11-07 11:55:53 -08:00
Mark Hammond
69679aa9db
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
42569d835b
Bug 807465 - Less QIs in nsXULPopupManager::UpdateMenuItems; r=Enn
2012-11-04 09:05:25 +01:00
Wes Johnston
d1940c82a8
Bug 790454 - Set touch target in touchstart. r=smaug
2012-11-02 12:59:20 -07:00
Mats Palmgren
6f7901eebf
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
6dd208b092
Bug 806781, null-check the document when updating menu items, r=neil
2012-10-30 15:55:03 -04:00
Neil Deakin
7f7a4c6096
Bug 793157, address extra review comments, r=neil
2012-10-30 15:55:00 -04:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Neil Deakin
c56bc18541
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
9252f6adb2
Bug 801488. Part 2: Don't Redraw; DLBI will handle everything. r=mattwoodrow
2012-10-26 14:39:31 +13:00
Robert O'Callahan
25f02f5e88
Bug 801488. Don't flush notifications when dragging a XUL splitter. r=bzbarsky
2012-10-26 14:39:24 +13:00
Nikhil Marathe
36f99c3113
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Ryan VanderMeulen
3150bb83c2
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
dd42c402ce
Bug 801488. Part 2: Don't Redraw; DLBI will handle everything. r=mattwoodrow
2012-10-25 00:34:55 +13:00
Robert O'Callahan
e931c22bfd
Bug 801488. Don't flush notifications when dragging a XUL splitter. r=bzbarsky
2012-10-25 00:34:49 +13:00
Matt Woodrow
05fe77431e
Bug 803556 - Schedule a paint whenever we reflow a display root frame. r=roc
2012-10-25 12:04:41 +13:00
Neil Deakin
63abc12c82
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
d7944e2171
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
dc3b24d024
Bug 772808, Menuitems should inherit hidden attribute from commands, r=neil,smichaud
2012-10-19 16:04:07 -04:00
Matt Woodrow
1c995bf725
Bug 750417 - Remove Redraw calls from nsSprocketLayout. r=roc
2012-10-17 10:30:37 +13:00
Jonathan Kew
c5e7186020
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
942fc8cf67
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
52e0277cdc
Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc
2012-10-15 01:42:40 -04:00
David Zbarsky
47da3f3432
Backout 784bb7c5ea9c (Bug 799407) for bustage
2012-10-15 02:14:34 -04:00
David Zbarsky
92d607b47a
Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc
2012-10-15 01:42:40 -04:00
Ehsan Akhgari
c4db3e7dff
Remove nsGridRowGroupLayout::mRowColumn because it is unused, no bug
2012-10-13 17:34:22 -04:00
Andrew Quartey
790ec84feb
Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan
2012-10-12 13:29:10 -04:00
Josh Matthews
80112a2809
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
36511684e4
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
2c57ae944e
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
08a5eceeeb
Back out bug 585385 for build bustage.
2012-10-11 21:58:24 -04:00
Josh Matthews
ae359191a3
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
de69f2ada1
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
f3459980ad
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
5f6b511601
Bug 797059 - Schedule a paint when slider frames change position. r=roc
2012-10-11 18:44:59 +13:00
Matt Woodrow
479663fd71
Bug 797295 - Add support for the layer attribute to nsImageBoxFrame. r=roc
2012-10-11 18:44:59 +13:00
Ehsan Akhgari
5a7253fa1e
Merge mozilla-central into mozilla-inbound
2012-10-10 20:21:13 -04:00
Olli Pettay
69e091e8e4
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
307c734c43
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Jeff Walden
c8bc078730
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
6f931b9ad7
Bug 795504: Remove usages of PR_STATIC_CALLBACK from the tree; r=ehsan
2012-10-08 21:45:12 +05:30
David Keeler
625cfdeb9c
Bug 788829 - Call SetSizeConstraints even if a popup is not open. r=enndeakin
2012-09-12 17:10:09 -07:00
Ed Morley
cc9e8c3305
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
9f926a0d71
Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Jeff Muizelaar
fa081a82fc
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
e888ba80f4
Bug 796129 - remove prtypes #includes in layout/
2012-10-01 17:12:57 -04:00
Jonathan Kew
2cf5d23c2c
bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud
2012-09-29 12:36:09 +01:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
3fb0e93449
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
28ef42bcbf
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Matt Woodrow
07dd94ec3a
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
958ce7d98d
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Matt Woodrow
f4205ce848
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
2012-08-29 17:39:01 +12:00
Ed Morley
c863356300
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
8b36b9562b
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
297a694be4
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Matt Woodrow
67300b89af
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
c73c0db2f1
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Phil Ringnalda
dd13abdce5
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
a74c209e3e
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
2f19f537bf
Bug 579517 follow-up: Remove NSPR types that crept in
2012-09-24 17:55:10 -04:00
Matt Woodrow
35030f54e2
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
addff1531c
Bug 781053 - Part 1 - Allow conversion of nsImageBoxFrame to an ImageLayer. r=roc
2012-09-25 08:29:14 +12:00
Chris Lord
8a10cc33bd
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
21e524c8f8
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
815396c1bb
Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron
2012-09-14 09:10:08 -07:00
Daniel Holbert
dc95fd1f4f
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
9d0260d0a7
Bug 789824 - Apply min-/max-height constraints on -moz-box containers correctly. r=bz
2012-09-12 00:20:51 +02:00
Andrew Quartey
630769d107
Bug 688895 - Add null check for widget in nsXULPopupManager::ShowTooltipAtScreen r=tn
2012-09-05 21:36:15 -04:00
Mike Hommey
d4d87778e3
Bug 784262 - Use generic install/copy rule in rules.mk. r=ted
2012-08-29 08:55:57 +02:00
Timothy Nikkel
583a8c4363
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
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Timothy Nikkel
6188c0ff9d
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
8ec001feea
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
77315c2961
Bug 582719, remove unused GetParentMenu method that was missed by 1ca7e8b00fbb
2012-08-24 08:41:20 -04:00
Ehsan Akhgari
0fd9123eac
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
00e466bc6f
Merge mozilla-central to mozilla-inbound
2012-08-19 11:20:45 -07:00
Kyle Huey
806819677e
Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar
2012-08-18 12:15:04 -07:00
Charly Molter
db958503bc
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
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Robert O'Callahan
d53617a13e
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
c748a0f833
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
Ms2ger
3f950b5744
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Aryeh Gregor
f41637535d
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
David Zbarsky
72cd4190b0
[Bug 780439] Kill off the remains of nsIBox r=roc
2012-08-05 23:00:57 -04:00
David Zbarsky
d50e4a7565
[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
c7a5b33778
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e
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
babf67cce2
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Neil Deakin
61df386477
Bug 357725, size constraints tests
2012-07-30 20:43:29 -04:00