Andrea Marchesini
d3cf11f109
Bug 1261693 - Implement HTMLInputElement::GetFiles, r=smaug
2016-05-31 12:54:24 +02:00
Wes Kocher
8249ffcbd2
Backed out 4 changesets (bug 1270310) for mass mochitest bustage CLOSED TREE
...
Backed out changeset ff9ace379d78 (bug 1270310 )
Backed out changeset 605790e5e611 (bug 1270310 )
Backed out changeset 4c302e1119e1 (bug 1270310 )
Backed out changeset 3e2d76bd1f08 (bug 1270310 )
2016-05-26 00:04:04 -07:00
Eric Rahm
cb79780013
Bug 1270310 - Part 4: Bypass line break conversion if element is single line. r=peterv
...
For single line text controls we shouldn't need to convert line breaks.
2016-05-05 15:52:28 -07:00
Eric Rahm
e69bdc29f2
Bug 1270310 - Part 3: Make string assignment in HTMLInputElement::GetValueInternal fallible. r=peterv
...
This makes the string assignment fallible and also adds checks for the return
value from GetValueInternal and GetValue.
2016-05-20 16:15:52 -07:00
Eric Rahm
288aaa8d36
Bug 1270310 - Part 1: Make allocation in ConvertStringLineBreaks fallible. r=froydnj, r=peterv
...
ConvertStringLineBreaks calls ConvertUnicharLineBreaksInSitu which uses
fallible allocation. We should make the potential allocation in |BeginWriting|
fallible as well and handle the failure. This also updates the callers to
|ConvertStringLineBreaks| to handle the error properly in release builds.
2016-05-05 15:50:35 -07:00
Wes Kocher
8bcdb6ce30
Backed out changeset 77c60a79313d (bug 1261693) for breaking test_basic.html on at least Android CLOSED TREE
2016-05-23 12:46:34 -07:00
Wes Kocher
e089e1ab3e
Backed out changeset 17e20404362d (bug 1258489)
2016-05-23 12:46:05 -07:00
Andrea Marchesini
6586afe162
Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug
2016-05-23 17:02:18 +02:00
Andrea Marchesini
d076c7faec
Bug 1261693 - Implement HTMLInputElement::GetFiles, r=smaug
2016-05-23 17:00:45 +02:00
Jeremy Chen
685cf4c3d8
Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
...
MozReview-Commit-ID: IIOT9jq8hOl
--HG--
extra : rebase_source : dfb3d874ce4419f32f13e662bd495e97ac9cac10
2016-05-23 11:26:03 +08:00
Olli Pettay
2eab9bb421
Bug 1273202, make sure to not keep objects alive too long because of some useless event dispatching, r=jwatt
...
--HG--
extra : rebase_source : 687d28c00589327d00a8fb0e652e8adb5aa6101b
2016-05-16 21:42:24 +03:00
Masayuki Nakano
3359bad586
Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
...
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.
MozReview-Commit-ID: IKjQ1nr8XYe
--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Andrea Marchesini
c2b21ae750
Bug 1261694 - HTMLInputElement::GetFilesAndDirectories should return a new promise object, r=smaug
2016-05-13 13:12:34 +02:00
Andrea Marchesini
6441b9d372
Bug 1258490 - Implement file.webkitrelativepath, r=smaug
2016-05-13 13:11:38 +02:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Jessica Jong
9066685a11
Bug 1206616 - Part 1: Fire input event for type=checkbox,radio,file. r=smaug
2016-04-25 19:52:00 +02:00
Masayuki Nakano
9170348baf
Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
...
MozReview-Commit-ID: G1WVCWkS0Lt
--HG--
extra : rebase_source : e4790266f4efa33269c073bca1d98f9e8e6c90d7
2016-04-19 01:33:23 +09:00
Andrea Marchesini
8e22a11655
Bug 1263992 - patch 1 - Remove DirectoryType enum, r=smaug
2016-04-18 03:32:30 -04:00
Andrea Marchesini
ed43c1f6e4
Bug 1258482 - FileList should contain only Files, not Directories, r=smaug
2016-04-12 08:51:52 -04:00
Andrea Marchesini
a8c342535b
Bug 1257180 - patch 2 - Directory can be sent via postMessage(), r=smaug
2016-04-12 08:51:04 -04:00
Sebastian Hengst
08c222b359
Backed out changeset 166555b48e77 (bug 1258482)
2016-04-12 17:56:00 +02:00
Jonathan Watt
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Andrea Marchesini
dfd731fd16
Bug 1258482 - FileList should contain only Files, not Directories, r=smaug
2016-04-12 08:51:52 -04:00
Andrea Marchesini
c6067c0a80
Bug 1258221 - patch 1 - File::CreateFromFile only for main-thread, r=smaug
2016-04-09 19:15:50 +01:00
Masayuki Nakano
57445d0047
Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
...
MozReview-Commit-ID: FLbows8davI
--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00
Takeshi Kurosawa
72bf333b0a
Bug 1259674 Part 1 rename InternalFocusEvent::fromRaise to InternalFocusEvent::mFrameRaise r=masayuki
...
MozReview-Commit-ID: FzLjVjDCqAa
--HG--
extra : rebase_source : 55ab306ade105dff57af9ab00d2a2d5290339440
2016-03-27 14:44:57 +09:00
Tetsuharu OHZEKI
8fe5a1b9d4
Bug 1259659 - rename from InternalUIEvent.detail to InternalUIEvent.mDetail. r=masayuki
...
MozReview-Commit-ID: FjqZ5D2NCFb
--HG--
extra : rebase_source : fad73cc04658b7891f6c5932f0da55db8ae1d615
2016-03-26 16:22:27 +09:00
Masayuki Nakano
cea0b9cf02
Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
...
MozReview-Commit-ID: 1SgMbTL8csl
--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Masayuki Nakano
8c8cbe0e4c
Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
...
MozReview-Commit-ID: 5q3QUPTf12Z
--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Andrea Marchesini
8d3c72ef64
Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug
2016-03-20 11:56:11 +01:00
Andrea Marchesini
548dc7f03a
Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug
2016-03-20 11:56:10 +01:00
Andrea Marchesini
18858bf144
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-20 11:56:10 +01:00
Ting-Yu Lin
22224242ba
Bug 1249556 - Implement toggling details by keyboard. r=smaug
...
The user can switch to the main <summary> by tab key, and toggle the
<details> by either 'space' key or 'enter' key.
'return' key is handled with 'keypress', and the 'space' key is handled
with 'keyup' like the HTMLInputElement.
MozReview-Commit-ID: HE6IduUGCpj
--HG--
extra : rebase_source : 34598d95f35bf6b5bd927457ee09e42eb6ec0a68
2016-03-19 20:37:09 +08:00
Phil Ringnalda
b47ec4d2bd
Backed out 8 changesets (bug 1173320) for adding dom/filesystem/tests/test_basic.html without making it work on Android
...
Backed out changeset 7e3a105b9160 (bug 1173320)
Backed out changeset 094819fbb07f (bug 1173320)
Backed out changeset 23b0e55ff1db (bug 1173320)
Backed out changeset 8bf8e2fcedad (bug 1173320)
Backed out changeset 3de390c6f47f (bug 1173320)
Backed out changeset fb298010e12e (bug 1173320)
Backed out changeset f1a965c2f796 (bug 1173320)
Backed out changeset 176128ba757f (bug 1173320)
2016-03-19 19:44:22 -07:00
Andrea Marchesini
6f10afaf24
Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug
2016-03-19 22:29:47 +01:00
Andrea Marchesini
2fdbbe6373
Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug
2016-03-19 22:29:46 +01:00
Andrea Marchesini
232e5767b0
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-19 22:29:46 +01:00
Mark Capella
f3821e32c6
Bug 1253534 - Suspicious code with probably reversed parms in call to IsSingleLineTextControl, r=mounir
2016-03-05 22:04:41 -05:00
Andrea Marchesini
2dd57b41c0
Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug
2016-02-24 00:01:01 +01:00
Wes Kocher
1a11ff119f
Backed out changeset 74f968e36041 (bug 1250148) for test_blobconstructor.html failures
...
--HG--
extra : commitid : 5I4oajo0G1j
2016-02-23 10:49:24 -08:00
Andrea Marchesini
7da3286f9d
Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug
2016-02-23 18:38:16 +01:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Ting-Yu Lin
2d02ad0652
Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
...
--HG--
extra : commitid : CcdpGdlMNIk
extra : rebase_source : 9c184cb8107bf6276c237d03d240f8755fd61553
2016-01-29 22:42:15 +08:00
Ting-Yu Lin
1889f6bc41
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
...
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Jonathan Watt
2e53e6103f
Bug 893332, part 3 - Don't assert range underflow state under the parser. r=baku
2016-01-27 22:51:54 +00:00
Jonathan Watt
9905a1b792
Bug 893332, part 2 - Update validity state before asserting range underflow state. r=baku
2016-01-27 22:51:54 +00:00
Andrea Marchesini
bf32b2ecd5
Bug 1162658 - Update FormData to match latest spec, r=smaug
2016-01-20 17:25:03 +00:00
Chris Peterson
c824bef9fe
Bug 1240265 - Annotate intentional switch fallthroughs in dom/. r=mrbkap
...
dom/base/Element.cpp:2920:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/Element.cpp:2935:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:6595:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7631:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7922:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsGlobalWindow.cpp:7573:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsXMLContentSerializer.cpp:1393:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/cache/AutoUtils.cpp:487:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3808:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3836:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/storage/DOMStorageDBThread.cpp:224:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/workers/ScriptLoader.cpp:1994:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
--HG--
extra : rebase_source : ba9bd93b2c65e2db05b26e7b4c203dd7710516f3
2015-11-25 23:26:32 -08:00
Andrea Marchesini
c3cb129593
Bug 1239280 - HTMLInputElement::GetFiles should work also if 'directory' attribute is set, r=smaug
2016-01-13 17:30:04 +00:00
Andrea Marchesini
0cf3581d9f
Bug 1234192 - OSFileSystem should not be shared between Directory objects, r=smaug
2016-01-13 14:59:06 +00:00
Andrea Marchesini
d4b954e4fa
Bug 1238515 - nsIFilePicker methods should clearly say when they return directories and files, r=smaug
2016-01-12 19:18:15 +00:00
Carsten "Tomcat" Book
de28b5128f
Backed out changeset b5e8cd00d7ef (bug 1238515) for Android Test failures
...
--HG--
extra : rebase_source : d7883a0923a22c676f26946ab8950a9bf01490a9
2016-01-12 14:15:08 +01:00
Andrea Marchesini
923de404a2
Bug 1238515 - nsIFilePicker methods should clearly say when they return directories and files, r=smaug
2016-01-12 10:23:13 +00:00
Andrea Marchesini
d64cfad447
Bug 1237595 - FormData ctor and form submission should create empty Blob/File when a input type=file is not set, r=smaug
2016-01-08 08:35:30 +00:00
Andrea Marchesini
c1e3e74d6e
Bug 1187157 - new FormData::get() should return an empty string if the file is not set - part 1, r=smaug
2016-01-07 09:54:00 +00:00
Andrea Marchesini
2cd3e0da6b
Bug 1233598 - HTMLInputElement must traverse/unlink the getFilesAndDirectories promise, r=smaug
2015-12-21 15:14:06 +00:00
Garrett Robinson
f97631d0c3
Bug 1194893 - Pref for default file upload directory. r=smaug
...
--HG--
extra : rebase_source : dafc24f3ed145ab406f77a82e2ec8162d695f134
2015-12-16 11:58:40 -08:00
Nathan Froyd
2496259426
Bug 1225923 - part 2 - fix AppendElement(nsDependentString(...)) call in HTMLInputElement.cpp; r=baku
...
I think the intent of this call is to not copy the filename data passed
in, but to simply convert it to a friendlier nsString container for
processing. We don't have to worry about the nsTArray<nsString>
overload of MozSetFileNameArray holding references to the strings
outside the call, as the elements of the array are copied into new
strings as appropriate.
2015-11-18 10:36:40 -05:00
Jonathan Watt
740627a24c
Bug 1209924 - Implement a general filtering mechanism for Directory::GetFilesAndDirectories, and add filtering of sensitive files/directories. r=baku
2015-10-09 15:59:40 +01:00
Jonathan Watt
b96e199943
Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
...
--HG--
extra : rebase_source : 836a5eff5b37398af019f3a29848ee42092939dc
2015-09-16 11:42:27 +01:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Andrew McCreight
ae5fe6a2ad
Bug 1210591, part 1 - Use nsVariantCC in various places. r=smaug
...
Most of these will end up in DataTransfer:mItems, so this is needed
for it to do anything useful.
2015-10-09 10:24:23 -07:00
Andrew McCreight
0ff7248107
Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
...
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.
I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Bobby Holley
fcde3e0716
Bug 1210293 - Remove legacy check from the XPIDL HTMLInputElement::SetUserInput. r=bz
2015-10-02 14:13:26 -07:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Jonathan Watt
d0d01ca3fc
Bug 1207570 - Make HTMLInputElement::GetFilesAndDirectories throw when the type is not file. r=baku
2015-09-02 10:00:48 +01:00
Jonathan Watt
ef5c78b025
Bug 1203588 - Return the same Promise object from HTMLInputElement.getFilesAndDirectories when possible. r=baku
2015-08-31 13:37:23 +01:00
Wes Kocher
0ceb5b85ae
Backed out changeset 19320abf76b1 (bug 1207088) for Werror bustage CLOSED TREE
2015-09-22 12:46:09 -07:00
Jonathan Watt
d62f457c73
Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
2015-08-27 20:19:37 +01:00
Masayuki Nakano
683794135c
Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
51d7268995
Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
52a7afe36c
Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab
Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug
2015-09-15 00:14:34 +09:00
Masayuki Nakano
7928f48bc1
Bug 895274 part.232 Rename NS_EDITOR_INPUT to eEditorInput r=smaug
2015-09-15 00:14:33 +09:00
Masayuki Nakano
93a08167ad
Bug 895274 part.214 Rename NS_SCROLLPORT_UNDERFLOW to eScrollPortUnderflow r=smaug
2015-09-12 01:19:27 +09:00
Masayuki Nakano
2237026931
Bug 895274 part.213 Rename NS_SCROLLPORT_OVERFLOW to eScrollPortOverflow r=smaug
2015-09-12 01:19:27 +09:00
Jonathan Watt
5101569e41
Bug 1201106 - Make sure that HTMLInputElement.files is always null if the 'directory' attribute is set. r=baku
2015-08-21 13:38:25 +01:00
Jonathan Watt
9e10f05732
Bug 1203090 - Ensure we always use '/' as the starting path separator for the DOM path of the Directorys initially returned by HTMLInputElement.getFilesAndDirectories. r=baku
2015-08-20 15:01:59 +01:00
Jonathan Watt
d2ceb3fc28
Bug 1202964 - Use the correct nsIFilePicker API for directory picking in HTMLInputElement::nsFilePickerShownCallback::Done. r=baku
2015-08-18 10:30:19 +01:00
Masayuki Nakano
5c484163a4
Bug 895274 part.72 Rename NS_UI_ACTIVATE to eLegacyDOMActivate r=smaug
2015-09-02 15:08:01 +09:00
Masayuki Nakano
35e18152d5
Bug 895274 part.70 Rename NS_BLUR_CONTENT to eBlur r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
cc5db3b160
Bug 895274 part.69 Rename NS_FOCUS_CONTENT to eFocus r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
2586c79eb1
Bug 895274 part.66 Rename NS_FORM_SELECTED to eFormSelect r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
8fa33d4666
Bug 895274 part.65 Rename NS_FORM_CHANGE to eFormChange r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
5bb3e1799f
Bug 895274 part.64 Rename NS_FORM_RESET to eFormReset r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
167dc4aade
Bug 895274 part.63 Rename NS_FORM_SUBMIT to eFormSubmit r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
7645260328
Bug 895274 part.34 Rename NS_MOUSE_OUT to eMouseOut r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
da4db5d296
Bug 895274 part.33 Rename NS_MOUSE_OVER to eMouseOver r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
a516285180
Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
b9439c75d9
Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
bd4bf17fbd
Bug 895274 part.29 Rename NS_MOUSE_EXIT_WIDGET to eMouseExitFromWidget r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
9895f90eca
Bug 895274 part.28 Rename NS_MOUSE_ENTER_WIDGET to eMouseEnterIntoWidget r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
db00b74a82
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187
Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
28c9f34179
Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
d311a11cc1
Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
0d22745cda
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Masayuki Nakano
24352f9317
Bug 930843 part.2 NS_UI_ACTIVATE event should be trusted event even if it's caused by an untrusted event r=smaug
2015-08-22 13:02:39 +09:00
Masayuki Nakano
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Aryeh Gregor
5aeef0231d
Bug 874842 - Return Event instead of nsIDOMEvent
2015-08-12 14:39:31 +03:00
Jeff Walden
1b62a9d07b
Bug 1158399 - Expose the [[DateValue]] field in Date objects only through a ClippedTime class that enforces prior TimeClip-ing on the given value. r=evilpie, r=bz, r=dhylands, r=mt, r=froydnj, r=khuey, r=baku, r=smaug
...
--HG--
extra : rebase_source : 803fe39f338b6b32cb0fe2be6cf4056bab57283a
2015-05-01 19:12:52 -07:00
Robert O'Callahan
d5d49432af
Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
...
We will pass the preparsed value into AttributeWillChange.
--HG--
extra : commitid : HCiY4DRKWkC
extra : rebase_source : aa17a819a20578322380d388299279e4e41a690b
2015-08-01 17:14:06 +12:00
Arnaud Bienner
52ee71547c
Bug 1186603 - Add a "Contains" method for string classes and use it in HTMLInputElement. r=nfroyd
2015-07-30 19:45:25 +02:00
Andrea Marchesini
367d4612a6
Bug 1185381 - Make FileList clonable - patch 1 - move code into FileList.h/.cpp, r=smaug
2015-07-22 17:03:07 +01:00
Arnaud Bienner
5bf0f0bca6
Bug 1155154 - Part 3 - Ignore file extension filters with characters that can be interpreted by the file picker. r=smaug
...
--HG--
extra : rebase_source : 3dfeafb7628689931ac54f00792c683670524d1f
2015-07-17 01:20:01 +02:00
Arnaud Bienner
95d74228ec
Bug 1155154 - Part 2 - Rename extension filter. r=smaug
...
--HG--
extra : rebase_source : df826837ee595a5dc24c052630d203cba855567d
2015-07-17 00:43:10 +02:00
Arnaud Bienner
5c2e081b9c
Bug 1155154 - Part 1 - Fix the check for duplicate filters when one filter is a subtring of another one. r=smaug
...
--HG--
extra : rebase_source : 76af94ccf36e23ccfbd6cb561da3019248591cba
2015-07-20 23:07:59 +02:00
Jonathan Watt
43ab228990
Bug 1164310, part 5 - Implement new anonymous content and layout pieces for directory picking via input elements. r=tnikkel
2015-07-10 18:56:36 +01:00
Jonathan Watt
b7bcad9074
Bug 1164310, part 4 - Implement the new HTMLInputElement API including the new Promise returning GetFilesAndDirectories. r=baku
2015-07-10 18:55:52 +01:00
Birunthan Mohanathas
a8939590de
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
Michael Layzell
a4bef7f27a
Bug 1167389 - Make FileList::mParent a smart pointer, and declare it to the cycle collector. r=ehsan
2015-07-07 06:38:00 -04:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Jonathan Watt
ceeaf8d937
Bug 1176849 - Make the file picker fatally assert if any of the objects returned by the file picker are not nsIDOMBlob objects. r=baku
2015-06-11 10:58:19 +01:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Masayuki Nakano
ecdd7a7f0f
Bug 549674 part.1 Commit composition string at setting value of <input> or <textarea> r=smaug
2015-06-18 23:56:20 +09:00
Jonathan Watt
a62bfe14df
Bug 1175860 - Add some documentation to UploadLastDir to make its workings clearer. r=baku
2015-06-08 14:01:01 +01:00
Jonathan Watt
04e51d3039
Bug 1173390 - Remove the majority of the old directory picker implementation to prepare for the new implementation under bug 1164310. r=baku
2015-06-06 12:41:47 +01:00
Matthew Noorenberghe
e4fd8ae196
Bug 1132211 - Dispatch an event when <input type=password> is added to a document (including outside of a form). r=smaug
...
--HG--
rename : browser/base/content/test/general/browser_bug771331.js => toolkit/components/passwordmgr/test/browser/browser_DOMFormHasPassword.js
rename : browser/base/content/test/general/browser_bug771331.js => toolkit/components/passwordmgr/test/browser/browser_DOMInputPasswordAdded.js
extra : commitid : BJD9IIOYbp0
2015-06-04 21:50:37 -07:00
Birunthan Mohanathas
180b572edb
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Andrea Marchesini
3f67e0bfd8
Bug 1167423 - patch 8 - Handle return values of FallibleTArray functions in HTMLInputElement, r=smaug
2015-05-25 12:50:15 +01:00
Andrea Marchesini
3aa189b5ff
Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan
...
--HG--
rename : dom/base/nsIDOMFile.idl => dom/base/nsIDOMBlob.idl
2015-05-18 14:52:26 +01:00
Andrea Marchesini
338c67e420
Bug 1163388 - patch 1 - make nsIDOMFile an empty interface, r=ehsan
2015-05-18 14:51:54 +01:00
Andrea Marchesini
f4538bb921
Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
...
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-12 13:11:03 +01:00
Andrea Marchesini
368a198972
Bug 1159401 - Split Blob and File classes, r=bz
2015-05-12 13:09:51 +01:00
Wes Kocher
983fcabeef
Backed out 2 changesets (bug 1159401) for b2g build bustage
...
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Wes Kocher
6b003ab737
Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE
...
--HG--
rename : dom/base/MultipartBlobImpl.cpp => dom/base/MultipartFileImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/base/MultipartFileImpl.h
2015-05-11 13:17:58 -07:00
Andrea Marchesini
49a0ee6938
Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
...
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-11 18:50:54 +01:00
Andrea Marchesini
91a8a35606
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
2390c704f8
Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
...
CLOSED TREE
--HG--
extra : histedit_source : a6c24f88b9c5a0cbcf2d44189fd359ddb20757b4%2C46613cfc309a9f0531e8c2475ac17877f606f231
2015-05-11 11:43:59 -04:00
Andrea Marchesini
48ecacaa74
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 15:20:06 +01:00
Anthony Tseng
6fe5a1137f
Bug 1158425 - Rename _SYNTH event names. r=smaug
...
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Mike Hommey
924c9eb636
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Boris Zbarsky
1540774b0c
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Ehsan Akhgari
51fd5c3de1
Bug 956530 - Clear the delayed caret data when clicking on a selected part of a text control if the focus event handler selects the control; r=roc
2015-04-14 08:29:11 -04:00
Jed Davis
ae42a23a28
Bug 1143934 - Disallow mozSetFileNameArray in content processes. r=ehsan
...
Summary of rationale: it never entirely worked, in that the File objects
it created would cause form submission to fail, and the longer-term plan
for content-process system-principal scripts is to remove APIs that allow
direct filesystem access.
2015-03-31 20:47:00 -04:00
Nathan Froyd
4c7234747e
Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan
2015-03-12 13:20:29 -04:00
Mike Hommey
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Jed Davis
5335bb72d5
Bug 1146116 - Clone File objects passed to mozSetFileArray into receiver's global. r=sicking
2015-03-27 08:41:00 -04:00
Blake Kaplan
5c1748cefe
Bug 1086684 - Stash the full path for file inputs to avoid doing IPC at inopportune times. r=ehsan/bent/gps
2015-03-27 13:12:37 -07:00
Matthew Noorenberghe
b2a7f5ef69
Bug 1120860 - Measure whether an <input type=password> is associated with a <form> in BindToTree. r=smaug
...
--HG--
extra : rebase_source : bbabe796a1ec1c6d545cec4dc61e51c3bba31624
2015-03-24 10:27:56 -07:00
Tooru Fujisawa
e44e20c93d
Bug 1144322 - Handle tabindex in overridden IsInteractiveHTMLContent methods. r=smaug
2015-03-23 18:02:33 +09:00
Ehsan Akhgari
883849ee32
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
Ryan VanderMeulen
aa74b23d94
Backed out changesets 992c504934d3 and 5832c2042614 (bug 1086684) for LSAN leaks.
...
CLOSED TREE
--HG--
extra : rebase_source : 1bada522a99be6a058723cbe24323dbaca27f8c9
2015-03-20 17:06:27 -04:00
Blake Kaplan
fc6395db41
Bug 1086684 - Stash the full path for file inputs to avoid doing IPC at inopportune times. r=ehsan
2015-03-20 12:04:58 -07:00