Vicamo Yang
a78b5b38c7
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
4144129728
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Ryan VanderMeulen
443e3884bc
Bug 799917 - Backout for various regressions.
2012-10-28 08:49:20 -04:00
Mike Conley
0786006062
Bug 790475 - Part 1: Allow inline spellcheck to operate through adjacent text nodes. r=ehsan.
2012-10-25 18:32:12 -04:00
Nick Hurley
3b308213ec
Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman
2012-10-22 10:51:07 -07:00
Peter Van der Beken
e4c543b77c
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Brian Smith
9a21ea4912
Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan
2012-10-18 15:55:48 -04:00
Mike Hommey
592eec87b2
Bug 799441 - Build GIO module in libxul. r=ted
2012-10-18 14:47:10 +02:00
Isaac Aggrey
220c75c473
Bug 794510: Part 3 - create NSPRFormatTime.h with temporarily undef'd NO_NSPR_10_SUPPORT for compatibility; r=ehsan
2012-10-11 13:16:29 -05:00
Mounir Lamouri
73a3557c9c
Bug 785632 - Remove the permission manager workaround for Gaia. r=jlebar
2012-09-25 23:50:17 +01:00
David Zbarsky
51eb0b9272
Fix some && within || warnings, no bug
2012-10-15 21:00:21 -04:00
Mats Palmgren
a1592dc47c
Bug 801330 - Make ISO2022JPCharLenTable large enough. r=smontagu
2012-10-14 19:10:04 +02:00
Mats Palmgren
1a014d5dce
Bug 801330 - Assert if charLenTable is too small. r=smontagu
2012-10-14 19:10:04 +02:00
Aryeh Gregor
aaf30c8f52
Bug 799917 - Make document.characterSet always lowercase; r=bz,f=hsivonen,smontagu
2012-10-14 10:13:19 +02:00
Andrew Quartey
3ca8d029a6
Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Trevor Saunders
000b6e89a1
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Aryeh Gregor
117e69b7e2
Bug 793866 - Missing null check in mozInlineSpellChecker::UpdateCurrentDictionary(); r=ehsan
2012-10-10 09:05:16 +02:00
Mario Alvarado [:marioalv]
63a6449387
Bug 783288 - Add 'conformant' to the spellchecker en-US dictionary; r=ehsan
2012-10-01 16:03:57 -06:00
Mounir Lamouri
701371086e
Bug 795136 - 2/2 - Add 'network-events' permission to access network-{upload,download} events. r=sicking
2012-09-30 14:48:40 +01:00
Isaac Aggrey
b95ab79e45
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Mounir Lamouri
97748e5b04
Bug 783408 - 4/4 - Tests. r=mconnor
...
--HG--
rename : extensions/cookie/test/test_app_uninstall.html => extensions/cookie/test/test_app_uninstall_permissions.html
2012-09-27 22:34:13 +01:00
Karl Tomlinson
140af6fa0a
b=713802 link gio extension against libxul for tracemalloc stack functions r=bsmedberg
...
--HG--
extra : transplant_source : %C8%A3o%BE%A0z%F7%C8%8A%E6%0E%D4s%7D%90%9C%D9%0F%06%7E
2012-09-27 13:47:19 +12:00
Terrence Cole
3eda1202a1
Bug 791322 - Move Rooted to js:: namespace; r=billm
...
These should not be part of the public API.
--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Chris Jones
423b0a4485
Back out bug 785632 for breaking several things (7de3b05cd7d8)
...
--HG--
extra : rebase_source : 316d258d39e86a760326c14f3196fff5319dc2b1
2012-09-25 21:21:35 -07:00
Mounir Lamouri
e95b56b36b
Bug 785632 - Remove the permission manager workaround for Gaia. r=jlebar
2012-09-25 23:50:17 +01:00
Mike Habicher
5b69de0f54
Bug 776934 - Add permissions check to camera API. r=jlebar
2012-09-21 06:32:18 -04:00
Ms2ger
abf742d34d
Merge PGO-green changeset from m-i to m-c.
2012-09-20 11:51:47 +02:00
Ms2ger
4cf7905fe1
Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted
2012-09-20 09:55:36 +02:00
David Zbarsky
2e22ef6983
Fix virtual dtor warning, no bug, blanket r=bz
2012-09-19 23:57:04 -04:00
Bobby Holley
6323aa5c6b
Bug 790905 - Make the compartment principal of autoconfig_glob match the principal passed to JS::Evaluate. r=bz
2012-09-19 11:15:24 +02:00
Jason Duell
fa09e23fb6
Bug 756648 - Implement "cookie jars" for apps. r=biesi,smaug
...
--HG--
rename : netwerk/test/unit_ipc/test_cookie_wrap.js => netwerk/test/unit_ipc/test_cookie_header_wrap.js
2012-09-18 12:04:04 -04:00
Monica Chew
24f244f851
Bug 770691 - Add plubming for per-site third party cookie blocking. r=mconnor sr=biesi,jduell,mconnor
...
--HG--
extra : rebase_source : 4ee3c16a72f0a557575349354060b76ca4e34031
2012-09-14 13:57:56 -07:00
Mounir Lamouri
0912706617
Bug 724878 - Make nsPermissionManager DB access (except init) async. r=jlebar
2012-09-08 15:48:20 +02:00
Mounir Lamouri
b04b02b2ff
Bug 787717 - r=bsmith
2012-09-19 18:25:17 +01:00
Ryan VanderMeulen
c03d084401
Merge m-c to inbound.
2012-09-05 23:03:09 -04:00
Makoto Kato
1356f06137
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Gregor Wagner
73f1c1f54c
Bug 778326 - Create Permission.txt that explains permisson-names and purpose. r=sicking DONTBUILD
2012-09-05 17:40:27 -07:00
Myk Melez
b4fdf2f847
bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice
2012-09-05 10:08:54 -07:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Mounir Lamouri
2d431e023d
Bug 786296 - Remove permissions when an app is uninstalled. r=jlebar,fabrice
2012-08-31 11:34:28 -03:00
Mounir Lamouri
85b675b337
Bug 769589 - Remove deprecated GetOriginatingURI from nsICookiePermission. r=mconnor sr=cbiesinger
2012-08-30 17:07:03 -03:00
Andrew McCreight
cc987a78b8
Bug 780979 - Compute length of char to freq order tables. r=smontagu
2012-08-29 06:48:15 -07:00
Philipp von Weitershausen
d158b5747c
Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Benjamin Peterson
74a1052eb5
Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst
2012-08-27 08:04:37 -04:00
Mounir Lamouri
11a64b3607
Bug 785631 - Temporarily allow permissions if they don't match the app/browserElement info. r=cjones
...
This is a workaround for Gaia.
2012-08-26 15:59:59 -03:00
Mounir Lamouri
3ed95c9cd2
Bug 784878 - Use version 2 by default when no version in found in permissions.sqlite. r=sicking
...
This is a patch to workaround the fact that talos has wrongly gerenated
permissions.sqlite files which don't have a user_version and are version 2.
This is going to be replaced by a MOZ_ASSERT by bug 784884.
2012-08-23 11:42:52 -07:00
Mounir Lamouri
69ac93d369
Bug 777072 - 7/7 - Tests. r=sicking
2012-08-23 11:38:51 -07:00
Mounir Lamouri
a263ac2cb9
Bug 777072 - 6/7 Update the Permission Manager database to save appId/isInBrowserElement. r=sicking
2012-08-23 11:38:26 -07:00
Mounir Lamouri
0eb75e0f22
Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:38:01 -07:00
Mounir Lamouri
a2e5fe652d
Bug 777072 - 4/7 - Update nsPermission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:37:31 -07:00
Mounir Lamouri
13f8b46e72
Bug 777072 - 3/7 - Update nsHostTable and nsHostEntry to make them aware of new security model. r=sicking,jlebar
2012-08-23 11:47:55 -07:00
Mounir Lamouri
25c6e98012
Bug 777072 - 2/7 - AddInternal() and CommonTestPermission() should use nsIPrincipal. r=sicking
2012-08-25 09:53:48 -07:00
Mounir Lamouri
418f10907f
Bug 777072 - 1/7 - Move the logic from methods taking URIs to method taking nsIPrincipals. r=sicking
2012-08-23 11:35:54 -07:00
Jan Beich
b09ed9fc3c
Bug 784776 - Don't assume NULL is numeric in Hunspell code. r=smaug
2012-08-26 08:58:37 -04:00
Ryan VanderMeulen
31b5d3335d
Merge m-c to inbound.
2012-08-24 16:18:09 -04:00
Luke Wagner
ad90af9ca5
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Mounir Lamouri
58293031d8
Bug 784878 - Use version 2 by default when no version in found in permissions.sqlite. r=sicking
...
This is a patch to workaround the fact that talos has wrongly gerenated
permissions.sqlite files which don't have a user_version and are version 2.
This is going to be replaced by a MOZ_ASSERT by bug 784884.
2012-08-23 11:42:52 -07:00
Mounir Lamouri
ad3b9fb923
Bug 777072 - 7/7 - Tests. r=sicking
2012-08-23 11:38:51 -07:00
Mounir Lamouri
65d035edc9
Bug 777072 - 6/7 Update the Permission Manager database to save appId/isInBrowserElement. r=sicking
2012-08-23 11:38:26 -07:00
Mounir Lamouri
f12bc57d40
Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:38:01 -07:00
Mounir Lamouri
d395e2f803
Bug 777072 - 4/7 - Update nsPermission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:37:31 -07:00
Mounir Lamouri
0e7ad1ee11
Bug 777072 - 3/7 - Update nsHostTable and nsHostEntry to make them aware of new security model. r=sicking,jlebar
2012-08-23 11:47:55 -07:00
Mounir Lamouri
713d808e20
Bug 777072 - 2/7 - AddInternal() and CommonTestPermission() should use nsIPrincipal. r=sicking
2012-08-23 11:36:28 -07:00
Mounir Lamouri
a120a68739
Bug 777072 - 1/7 - Move the logic from methods taking URIs to method taking nsIPrincipals. r=sicking
2012-08-23 11:35:54 -07:00
John Schoenick
9d11c4150f
Bug 781126 - Followup, remove accidental tabs. r=me DONTBUILD
2012-08-22 14:13:14 -07:00
Ehsan Akhgari
f22f8b7a49
Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg
2012-08-22 11:59:54 -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
John Schoenick
ae11e94460
Bug 781126 - Part 1 - Browser content policy should check TYPE_OBJECT at shouldProcess rather than shouldLoad. r=jst
2012-08-17 14:45:04 -07:00
Aryeh Gregor
061fd9f9ca
Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan
2012-08-13 16:49:48 +03:00
Aryeh Gregor
2d1471fe5d
Bug 751554 part 5 - Rename OperationID to EditAction; r=ehsan
2012-08-12 21:28:26 +03:00
Ryan VanderMeulen
c7b834b885
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
270b3586a0
Bug 719320 part.17 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on nsWidgetUtils r=smaug
2012-08-12 10:42:37 +09:00
Honza Bambas
15daadba69
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
Aryeh Gregor
d75065b649
Bug 751554 part 4 - Make nsEditor::OperationID an enum class; r=ehsan
2012-08-01 15:22:07 +03:00
Aryeh Gregor
275d0d4758
Bug 751554 part 3 - Fix OperationID type errors; r=ehsan
2012-08-01 15:20:59 +03: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
Aryeh Gregor
6378f5248d
Bug 777529 - Don't spellcheck Unicode numbers; r=ehsan
2012-07-31 11:50:04 +03: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
Martin Stransky
c3f188dc71
Bug 776490 - variable lock (lockPref) does not work, r=bzbarsky
2012-07-26 12:39:31 -04:00
Patrick McManus
b12bc44d80
bug 767158 - remove blocking dns call in sspi r=honzab
...
--HG--
extra : rebase_source : a313576f1262f25b6d299f815cedb0d8acc0b03f
2012-07-26 11:09:05 -04:00
Gregor Wagner
48bb60b4c6
Bug 776764 - Allow permissionDB parent directory to not be the default profile directory. r=fabrice
2012-07-24 11:22:14 -07:00
Ehsan Akhgari
4e23a5cb51
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 (gnome parts); blanket-r=bzbarsky
...
--HG--
extra : rebase_source : 54d5440012e3c8b1c2f84c176bf02e5f8a0ed604
2012-07-23 17:24:03 -04:00
Mounir Lamouri
d1caa102c7
Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking
2012-07-23 11:08:07 -07:00
Aryeh Gregor
1bb3c0a2c8
Bug 775914 - Don't copy nsEditor::OperationID into mozInlineSpellChecker; r=ehsan
2012-07-22 12:01:25 +03:00
Ehsan Akhgari
955e9823e8
Silence the warning about empty while body loop in clang (no bug)
2012-07-19 00:41:52 -04:00
Ehsan Akhgari
02852404fa
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 (spellchecker parts); blanket-r=bzbarsky
2012-07-19 00:39:40 -04:00
Mounir Lamouri
5464a18491
Bug 774819 - Handle system principals in nsPermissionManager when taking principals. r=sicking
2012-07-18 08:24:01 -07:00
Mounir Lamouri
e744d91b29
Bug 769586 - Make PopupWindowManager using principal to test permissions instead of URI. r=sicking
2012-07-15 18:37:31 -07:00
David Zbarsky
59051c7ccf
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 (extensions/cookie); r=mak
2012-07-12 14:07:26 -04:00
Ehsan Akhgari
914ba192ff
Bug 771976 - Make sure that mozSpellChecker's refcount doesn't go down prematurely; r=roc
2012-07-11 14:38:24 -04:00
Cameron McCormack
f1129dbe54
Bug 563191 - Fix clang warnings about string constants in nsAuthSambaNTLM::SpawnNTLMAuthHelper. r=ehsan
2012-07-12 11:05:02 +10:00