Nicholas Nethercote
15a618076e
Bug 1207944 (part 4) - Use SetColor(const Color&) when setting from an nscolor. r=jwatt.
...
In various places SetColor() gets passed an nscolor. These are converted
(either implicitly or explicitly) to a gfxRBGA, and then to a gfx::Color.
This patch changes all these cases to avoid the middle step, by (a)
constructing a gfx::Color directly instead of an nscolor, or (b) by converting
an nscolor with Color::FromABGR().
2015-09-23 23:41:30 -07:00
Bobby Holley
53f8074964
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Milan Sreckovic
29cba1f707
Bug 1203626 - remove the unused argument from nsTreeBodyFrame::GetTwistyRect. r=mattwoodrow
2015-09-10 10:55:00 +02:00
Masayuki Nakano
37ab7e510c
Bug 895274 part.214 Rename NS_SCROLLPORT_UNDERFLOW to eScrollPortUnderflow r=smaug
2015-09-12 01:19:27 +09:00
Masayuki Nakano
9162c56b9d
Bug 895274 part.213 Rename NS_SCROLLPORT_OVERFLOW to eScrollPortOverflow r=smaug
2015-09-12 01:19:27 +09:00
Matthew Noorenberghe
cbc7636c97
Bug 1192492 - Support masking of passwords in XUL tree columns. r=Enn,smaug
...
rs=smaug on the webidl change
IGNORE IDL due to only adding a const
2015-09-07 14:25:45 -07:00
Masayuki Nakano
c8eb585412
Bug 895274 part.83 Rename NS_DRAGDROP_EXIT to eDragExit r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
c2cd71bd9d
Bug 895274 part.82 Rename NS_DRAGDROP_ENTER to eDragEnter r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
86446073e8
Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
d1d3799b5a
Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug
2015-09-02 15:08:01 +09:00
Nicholas Nethercote
12fec02dfb
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Masayuki Nakano
3591262e6b
Bug 895274 part.34 Rename NS_MOUSE_OUT to eMouseOut r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
e3283f38f9
Bug 895274 part.33 Rename NS_MOUSE_OVER to eMouseOver r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
329427650a
Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
00917e86c7
Bug 895274 part.17 Rename NS_SCROLL_EVENT to eScroll r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
5473d2dcb9
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Robert O'Callahan
5bde6d4aaa
Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
2015-07-25 18:01:19 +12:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Kyle
facb381b27
Bug 1178971 - Changed line snapping behaviour depending on even/odd-ness of stroke width. r=mstange
2015-07-07 14:56:23 -04:00
Dragana Damjanovic
f5e3e71a6d
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Jan de Mooij
c291b790a9
Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie
2015-06-30 21:10:04 -07:00
Simon Montagu
a0cb8aabfb
Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn
2015-05-12 01:49:25 -07:00
Anthony Tseng
fde5de9cff
Bug 1158425 - Rename _SYNTH event names. r=smaug
2015-05-01 22:06:00 -04:00
Ehsan Akhgari
97b9cb988d
Bug 1156108 - Make nsTreeColumns::mFirstColumn an nsRefPtr; r=roc
2015-04-19 16:44:13 -04:00
Nathan Froyd
023e3d5c3f
Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan
2015-03-31 10:03:49 -04:00
Mats Palmgren
76c9d4c6d0
Bug 1149215 - Remove nsLayoutUtils::GetWholeImageDestination that use unitless nsIntSize. r=dholbert
2015-04-03 19:48:12 +00:00
Mats Palmgren
fe65991446
Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc
2015-03-30 11:36:14 -04:00
Carsten "Tomcat" Book
1dadb1db1d
Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks
2015-03-30 15:04:09 +02:00
Mats Palmgren
6258bed9a3
Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc
2015-03-30 10:37:33 +00:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Kearwood (Kip) Gilbert
e20ff29bf9
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
2015-03-25 11:40:31 -07:00
Wes Kocher
b24a6dd7bc
Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
...
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood (Kip) Gilbert
53c1d882e8
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
2015-03-25 11:40:31 -07:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Carsten "Tomcat" Book
084dc455f3
Backed out changeset fdd33ef9606e (bug 969250) for m5 test failures
2015-03-11 10:33:52 +01:00
Kearwood (Kip) Gilbert
c1456fb0f3
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v5 Patch). r=roc
2015-03-03 17:40:00 +01:00
L. David Baron
c6da2fcee3
Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc
2015-03-03 17:03:19 -08:00
Andrea Marchesini
32945f7a0f
Bug 1134280 - Get rid of Tag() - patch 2.11 - layout/xul - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
6b10d5e43e
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Timothy Nikkel
82d699c555
Bug 1134293. Report the bounds of a tree body as needing component alpha and support disable component alpha in the text it might draw if asked. r=roc
2015-02-24 17:51:25 -06:00
Karsten Düsterloh
37d99b0584
Bug 1116952 - "Treelines fragments after bug 1105104". r=jwatt
2015-02-04 17:55:00 +01:00
Ryan VanderMeulen
f0f490902e
Bug 1119818 - Bump various UUIDs that were missed when IDL changes landed. r=jib, r=jdm, r=gavin, r=bz, a=me
2015-01-12 10:44:18 -05:00
Geoff Lankow
ccc287c39f
Bug 1114297 - Improve performance of nsTreeBodyFrame::AdjustForCellText for very long strings; r=smontagu
2015-01-11 00:07:58 +13:00
Mats Palmgren
6e2b90ea60
Bug 1116753 - Remove the nsIPresShell* param from remaining frame ctors that still have it. r=roc
2015-01-06 09:27:56 +00:00
Jonathan Watt
1184547a38
Bug 1105104 - Fix the painting of XUL tree connector lines. r=Bas
2014-11-28 15:28:17 +00:00
Sid Stamm
29bcaaf68b
Bug 704320 - apply referrer policies to image loads (r=seth)
2014-11-18 08:46:53 -05:00
Jonathan Watt
2ae60576c4
Bug 1091323 - Convert the nsLayoutUtils helpers that paint images and take an nsRenderingContext to take a gfxContext instead. r=seth
2014-11-01 10:45:09 +00:00
Jonathan Watt
b431664247
Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel
2014-10-31 20:08:49 +00:00
Jonathan Watt
38d8f2dd23
Bug 1088781 - Rename nsLayoutUtils::GetStringWidth to nsLayoutUtils::AppUnitWidthOfStringBidi. r=dholbert
2014-10-26 17:57:49 +00:00