Граф коммитов

9883 Коммитов

Автор SHA1 Сообщение Дата
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
Yoshi Huang fb57af4ae6 Bug 1191653 - Listen to clear-origin-data in nsPermissionManager. r=bholley 2015-10-13 10:27:42 +08:00
Carsten "Tomcat" Book 6ffd4fc09b Merge m-c to mozilla-inbound 2015-10-14 12:47:31 +02:00
Carsten "Tomcat" Book 0ecf764867 merge mozilla-inbound to mozilla-central a=merge 2015-10-14 12:46:09 +02:00
Daniel Holbert 225fa78d5c Bug 1181313: Remove some unnecessary logging statements for success conditions, in nsPermissionManager.cpp. r=bsmedberg 2015-10-13 17:19:06 -07:00
Ekanan Ketunuti d30806ea5e Bug 1213765 - Add preliminarily to the en-US dictionary. r=ehsan
--HG--
extra : amend_source : 0cef2913097daad80cdc55b45ba0554dbac73334
2015-10-12 15:21:51 +07:00
M Hamdy 67d215f8de Bug 606655 - delete cookies UI option AskMeEveryTime and its related comments and tests. r=mak
--HG--
extra : rebase_source : 242a074db54395e4b285110286e7692f26b57daa
2015-10-08 09:13:00 +02:00
Michael Layzell 430ced132c Bug 1211591 - Part 2: Tests for nsPermissionManager::RemovePermissionsForApp, r=jdm 2015-10-08 08:42:40 -04:00
Michael Layzell 4e925c38c8 Bug 1211591 - Part 1: Remove incorrect sql statement from nsPermissionManager::RemovePermissionsForApp, r=jdm
This initial query to clear the database was initially removed because of the removal of the appId column, and replaced with the following logic which parses the origin strings to obtain the appId property, and then removes those entries using `AddInternal`. Unfortunately, during a rebase, it appears as though the code crept back into the codebase.

I'm not sure why this codepath wasn't ever tested before bkelly noticed it, but we should probably add a test of some form which actually runs the RemovePermissionsForApp codepath, to ensure that it actually works.
2015-10-08 08:42:38 -04:00
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Ethan Tseng bb095c04f4 Bug 1165267 - Part 1: Replace appId and inBrowser by originAttributes v2. r=honzab 2015-09-03 18:22:51 +08:00
Michael Layzell 2070870d99 Bug 1195492 - Remove the backup moz_hosts table and the moz_hosts_is_backup marker table, r=ehsan 2015-10-03 14:30:52 -04:00
Yoshi Huang 836f7732eb Bug 1210459: Add originAttributes for tests that implement nsILoadContext. r=bholley 2015-09-30 18:14:12 -07:00
Jorg K 367c572f4b Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan 2015-09-29 08:25:00 +02:00
Jorg K 1e378ea69e Bug 1205983 - Remove all observer code from nsEditor. r=ehsan 2015-09-28 23:53:00 +02:00
Mike Hommey d72ba2a81c Bug 1209391 - Remove build/unix/uniq.py. r=mshal 2015-09-30 11:51:46 +09:00
Carsten "Tomcat" Book 3b7a3c96c4 Backed out 2 changesets (bug 1205983) for memory leaks on a CLOSED TREE
Backed out changeset f2c49c0ab84f (bug 1205983)
Backed out changeset a81630dba992 (bug 1205983)
2015-09-29 13:58:35 +02:00
Jorg K 41a777b2d2 Bug 1205983 - Remove all observer code from nsEditor. r=ehsan
--HG--
extra : rebase_source : 3a3375a44d16d1a4a93c670c5ed44adefe6dbb9e
2015-09-28 23:53:00 +02:00
Jorg K 92731da747 Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan
--HG--
extra : rebase_source : 71701166ea470c001fba64241545b03361df8a44
2015-09-28 13:28:00 +02:00
Ehsan Akhgari a07e70aab0 Bug 1208885 - Remove mozGenericWordUtils; r=smaug
Found by Viva64.  In the future we need to add support for more
langauges, but right now mozGenericWordUtils doesn't provide any value.
2015-09-28 09:08:40 -04:00
Mike Kaply e7b959b233 Bug 1193625 - Fallback to ASCII if AutoConfig UTF-8 conversion fails. r=Mossop, mrbkap 2015-09-28 08:04:47 -05:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Ehsan Akhgari 59c135c176 Bug 1198078 - Add support for TYPE_INTERNAL_SERVICE_WORKER; r=ckerschb,tanvi 2015-09-16 19:15:30 -04:00
Christoph Kerschbaumer 11958f19c8 Bug 1205151 - Use channel->Open2() in extensions/cookie/nsPermissionManager.cpp (r=sicking) 2015-09-15 19:47:27 -07:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
sajitk 2b31623cab Bug 1200065 - Split Mozilla specific code from extensions/spellcheck/hunspell directory to glue directory and adjusted moz.build files. r=glandium
--HG--
rename : extensions/spellcheck/hunspell/src/PRemoteSpellcheckEngine.ipdl => extensions/spellcheck/hunspell/glue/PRemoteSpellcheckEngine.ipdl
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineChild.cpp => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineChild.cpp
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineChild.h => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineChild.h
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineParent.cpp => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineParent.cpp
rename : extensions/spellcheck/hunspell/src/RemoteSpellCheckEngineParent.h => extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineParent.h
rename : extensions/spellcheck/hunspell/src/hunspell_alloc_hooks.h => extensions/spellcheck/hunspell/glue/hunspell_alloc_hooks.h
rename : extensions/spellcheck/hunspell/src/hunspell_fopen_hooks.h => extensions/spellcheck/hunspell/glue/hunspell_fopen_hooks.h
rename : extensions/spellcheck/hunspell/src/moz.build => extensions/spellcheck/hunspell/glue/moz.build
rename : extensions/spellcheck/hunspell/src/mozHunspell.cpp => extensions/spellcheck/hunspell/glue/mozHunspell.cpp
rename : extensions/spellcheck/hunspell/src/mozHunspell.h => extensions/spellcheck/hunspell/glue/mozHunspell.h
rename : extensions/spellcheck/hunspell/src/mozHunspellAllocator.h => extensions/spellcheck/hunspell/glue/mozHunspellAllocator.h
rename : extensions/spellcheck/hunspell/src/mozHunspellDirProvider.cpp => extensions/spellcheck/hunspell/glue/mozHunspellDirProvider.cpp
rename : extensions/spellcheck/hunspell/src/mozHunspellDirProvider.h => extensions/spellcheck/hunspell/glue/mozHunspellDirProvider.h
2015-09-11 07:44:00 +02:00
Jorg K dd4cd7d08c Bug 697981 - Prevent reloading of spelling dictionary on unfocused editors; r=roc 2015-09-15 11:35:10 +05:30
Michael Layzell fe31896607 Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-12 17:56:44 -04:00
Kaustabh Datta Choudhury 2a080acfd0 Bug 1162003 - Enable run-by-dir mode on Fx desktop debug & ASAN builds. r=jmaher 2015-09-10 09:52:00 +02:00
Joel Maher af2cf10bce backout 06bb0c1766f1 for more frequent bc failures 2015-09-09 07:55:37 -04:00
Kaustabh Datta Choudhury eeaa15095f Bug 1162003 - Enable run-by-dir mode on Fx desktop debug & ASAN builds. r=jmaher 2015-09-09 05:42:04 -04:00
Ekanan Ketunuti beb0ebaae0 Bug 1202600 - Add Fukushima to the en-US dictionary. r=ehsan
--HG--
extra : transplant_source : H%06%F8T%A5%93%3AV%CAy%E2E%B1%23%B4%5B%9B%A2M%C7
2015-09-08 16:24:47 +07:00
Christoph Kerschbaumer 109257c376 Bug 1195168 - Use channel->ascynOpen2 src/nsAutoConfig.cpp (r=sicking) 2015-09-03 13:31:56 -07:00
Christoph Kerschbaumer 6eac97dd9e Bug 1197926 - Use channel->Open2() in extensions/pref/autoconfig/src/nsReadConfig.cpp (r=sicking) 2015-09-02 11:38:28 -07:00
Ekanan Ketunuti cdcd4cc89c Bug 1200508 - Add dialogs to the en-US dictionary. r=ehsan 2015-09-01 11:51:54 +07:00
Nicholas Nethercote f44287005f 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.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Ehsan Akhgari bf2e647675 Bug 1199540 - Update the en-US dictionary to SCOWL 2015.08.24 2015-08-27 23:06:54 -04:00
Ekanan Ketunuti 35859eed5f Bug 1199532 - Add disassembly, disassembler to the en-US dictionary. r=ehsan 2015-08-28 08:34:02 +07:00
Yoshi Huang e6070e9062 Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley 2015-08-18 15:01:42 +08:00
Yoshi Huang 4347bb2318 Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Bobby Holley edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Ryan VanderMeulen 292c7111d0 Bug 1170484 - Skip the new test on Mulet as well.
--HG--
extra : rebase_source : 66777ac0a46c77298c5a4bee815f03dd92fca208
2015-08-24 14:25:48 -04:00
Bobby Holley 268566e18f Bug 1170484 - Followup fix to make the guard object actually a guard object. r=me CLOSED TREE 2015-08-24 10:01:47 -07:00
Bobby Holley bb40e2959b Bug 1170484 - Test. r=ehsan 2015-08-24 08:42:04 -07:00
Bobby Holley d9d8ef80a5 Bug 1170484 - Use {Begin,End}PlaceHolderTransaction from mozInlineSpellCheck::ReplaceWord. r=ehsan
Both InsertText and DeleteSelection do a placeholder transaction. When the placeholder
transaction depth drops to zero, we fire input events (which in turn does a microtask
checkpoint). So we can prevent that from happening mid-operation by scoping a larger
placeholder transaction around both calls.
2015-08-24 08:42:03 -07:00
Yoshi Huang de47f4b89f Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley 2015-08-24 01:18:00 -04:00
Yoshi Huang 12efacfa8c Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Ehsan Akhgari 10a0e4dd34 Bug 1194319 - Correctly deal with all possible ways that initializing the permission manager DB connection can fail; r=mystor 2015-08-18 18:52:00 -04:00
Ehsan Akhgari ef2bd61403 Bug 1195983 - Remove some dead code from the permission manager; r=mystor 2015-08-18 18:51:59 -04:00
Arnaud Bienner 2755fa9a57 Bug 1190086 - Use new String::Contains(char) method more widely r=froydnj
--HG--
extra : rebase_source : 81df1495200d3734ea1c4c13818ae764a445f4b3
2015-08-14 00:49:15 +02:00
Michael Layzell 7022197117 Bug 1189070 - Don't discard localhost or IP address entries from the permissions database when migrating, r=ehsan 2015-08-11 15:09:52 -04:00
Ehsan Akhgari 8d5db0758d Bug 1184298 - Remove a spammy spellchecker warning 2015-08-10 23:54:42 -04:00
Ryan VanderMeulen eca62c99b5 Bug 863738 - Skip test_cookies_persistence.js for frequent failures. r=tanvi
CLOSED TREE
2015-08-07 12:16:47 -04:00
Ekanan Ketunuti 67a0b7a8c8 Bug 1192054 - Add subsumption to the en-US dictionary. r=ehsan 2015-08-07 08:43:44 +07:00
Christoph Kerschbaumer 1c05a94924 Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource (r=sicking,ehsan) 2015-08-06 11:17:24 -07:00
Carsten "Tomcat" Book 7d6f90f702 Backed out 2 changesets (bug 1191107, bug 1180273) for causing xpcshell and m-oth testfailures on a CLOSED TREEi IGNORE IDL
Backed out changeset c5f710ed8718 (bug 1191107)
Backed out changeset d98d82f9981b (bug 1180273)
2015-08-06 08:39:05 +02:00
Christoph Kerschbaumer cb37e46dd2 Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource - IGNORE IDL (r=sicking,ehsan) 2015-08-05 12:58:05 -07:00
Birunthan Mohanathas 7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Mike Kaply 68b080c7c5 Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap
--HG--
extra : rebase_source : 4527671894b43e60e16d4b6be5e6af55b68b6ebe
2015-07-28 13:57:55 -05:00
Carsten "Tomcat" Book ce5ca9b688 Backed out changeset 0afe24f16cf4 (bug 1152512) for bustage 2015-07-28 14:38:01 +02:00
Mike Kaply 1acb520ff0 Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap 2015-07-28 07:13:26 -05:00
Michael Layzell 6c34c15ee2 Bug 1185239 - Test migration logic in the non-presence of a nsINavHistoryService 2015-07-23 17:57:51 -04:00
Michael Layzell 97694630c4 Bug 1186034 - Part 2: Tests for new permission manager migration pathways
--HG--
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-5.js => extensions/cookie/test/unit/test_permmanager_migrate_4-7.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_5-6.js => extensions/cookie/test/unit/test_permmanager_migrate_5-7a.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-5.js => extensions/cookie/test/unit/test_permmanager_migrate_5-7b.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-5.js => extensions/cookie/test/unit/test_permmanager_migrate_6-7a.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-5.js => extensions/cookie/test/unit/test_permmanager_migrate_6-7b.js
2015-07-23 17:57:47 -04:00
Michael Layzell 835e532032 Bug 1186034 - Part 1: Re-migrate users with permissions-database versions 5/6 to prevent dataloss 2015-07-23 17:57:43 -04:00
Michael Layzell 9d189a192f Bug 1186909 - Use eTLD+1 rather than host for the history query lookup for nsIPermissionManager migrations 2015-07-23 17:57:39 -04:00
Michael Layzell 25ed3b884f Bug 1186946 - Warn on history service call failure in nsPermissionManager migrations 2015-07-23 17:57:35 -04:00
Carsten "Tomcat" Book 468e64bc33 Backed out changeset 89fbd9f70cf8 (bug 1186034) for xpcshell failures in test_permmanager_migrate_4-7.js 2015-07-23 11:50:42 +02:00
Carsten "Tomcat" Book 61079c977d Backed out changeset 45f326aa8cd6 (bug 1186034)
--HG--
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-7.js => extensions/cookie/test/unit/test_permmanager_migrate_4-5.js
2015-07-23 11:50:03 +02:00
Michael Layzell 017f9a9077 Bug 1186034 - Part 2: Tests for new permission manager migration pathways. r=ehsan
--HG--
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-5.js => extensions/cookie/test/unit/test_permmanager_migrate_4-7.js
2015-07-22 12:52:00 +02:00
Michael Layzell cab40a9f9c Bug 1186034 - Part 1: Re-migrate users with permissions-database versions 5/6 to prevent dataloss. r=ehsan 2015-07-22 13:43:00 +02:00
Jorg K 65f20661ad Bug 345852 - Save personal dictionary when a word is added or removed. r=ehsan 2015-07-22 02:06:00 -04:00
Wes Kocher 2dfd2a2881 Merge inbound to central, a=merge 2015-07-21 15:49:23 -07:00
Andrew McCreight 621e57b2b7 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 11:31:44 -07:00
Michael Layzell a5a383b50b Bug 1185343 - Part 2: Test for migration from schema 5->6 for permission manager. r=ehsan 2015-07-21 08:54:00 -04:00
Michael Layzell fa53b28865 Bug 1185343 - Part 1: Use new table moz_perms for permissions, and leave unmigrated permission data in moz_hosts for back-compat. r=ehsan 2015-07-21 10:23:00 -04:00
Michael Layzell f2b2c890cd Bug 1185340 - Greatly improve efficiency of permissions.sqlite migration on large permissions databases. r=ehsan 2015-07-20 10:58:00 -04:00
Ehsan Akhgari 37ef28c23d Bug 1185986 - Don't hold the observer service alive from nsPermissionManager; r=jdm
In order to fully ensure that leaking the permission manager service
will not leak the observer service, let's kill this reference completely.

This patch also moves the registration of the observers to after the
IsChildProcess() check, since the profile observer notifications do not fire
in the child process.
2015-07-21 13:40:34 -04:00
Ryan VanderMeulen fb3e0b058e Backed out changeset 553a3e1e7b18 (bug 1176341) for bustage.
CLOSED TREE
2015-07-21 13:00:55 -04:00
Andrew McCreight 5cbc3abf39 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 09:44:37 -07:00
Michael Layzell f53ae1b46e Bug 1185239 - Feature-check for the Places API in nsPermissionManager migration code; r=ehsan 2015-07-18 17:05:12 -04:00
Ehsan Akhgari 1a7515c6f8 Bug 1184397 - Release the observer service when the permission manager shuts down; r=jdm 2015-07-17 15:57:26 -04:00
Ryan VanderMeulen a33e05c88c Merge inbound to m-c. a=merge 2015-07-17 10:26:22 -04:00
Wes Kocher 801de8e6d3 Backed out changeset 7b3074ad5644 (bug 1184397) to hopefully fix the xpcshell bustage 2015-07-16 16:35:08 -07:00
Ryan VanderMeulen e5e20485f9 Merge m-c to fx-team. a=merge 2015-07-16 16:23:27 -04:00
Birunthan Mohanathas 659e44ce89 Bug 1182408 - Part 3: Use nsTHashTable::Iterator in mozPersonalDictionary. r=ehsan 2015-07-14 10:53:23 -07:00
Birunthan Mohanathas d029488550 Bug 1182408 - Part 2: Use nsTHashTable::Iterator in nsPermissionManager. r=ehsan 2015-07-15 12:58:08 -07:00
Birunthan Mohanathas 6329372a9d Bug 1182408 - Part 1: Move permission key checks out of loop. r=ehsan 2015-07-14 10:53:12 -07:00
Wes Kocher ff2f0d32cf Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Michael Layzell 52f1ea5402 Bug 1172080 - Part 2: Use ^ instead of ! to delimit originAttributes from the URI in nsIPrincipal.origin, r=bholley 2015-07-14 15:06:42 -04:00
Michael Layzell 4e4701aa65 Bug 1165263 - Part 2: Update unit tests for nsPermissionManager to reflect new internals, r=ehsan 2015-07-14 15:06:34 -04:00
Michael Layzell c05bef0d22 Bug 1165263 - Part 1: Update nsPermissionManager to use origins instead of hosts internally, r=ehsan 2015-07-14 15:06:33 -04:00
Michael Layzell 369527316f Bug 817007 - Part 1: Remove <file> hack from the permission manager, r=ehsan 2015-07-14 15:06:31 -04:00
Michael Layzell 18a0810f4e Bug 1173523 - Part 10: Update nsIPermission and nsIPermissionManager tests to use new API for nsIPermission, r=ehsan 2015-07-14 15:06:26 -04:00
Michael Layzell 567aeb78e9 Bug 1173523 - Part 2: Tests for new methods nsIPrincipal::MatchesURI and nsIPrincipal::Matches, r=ehsan 2015-07-14 15:06:16 -04:00
Michael Layzell 56a5f8273e Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan 2015-07-14 15:06:15 -04:00
Ekanan Ketunuti 3515ae935a Bug 1183765 - Add crappiness to our en-US dictionary. r=ehsan
CLOSED TREE
2015-07-15 08:34:14 +07:00
Michael Layzell 017f50b6d7 Bug 1172080 - Part 2: Use ^ instead of ! to delimit originAttributes from the URI in nsIPrincipal.origin, r=bholley 2015-07-16 14:50:07 -04:00
Michael Layzell f182adf1c4 Bug 1165263 - Part 2: Update unit tests for nsPermissionManager to reflect new internals, r=ehsan 2015-07-16 14:49:53 -04:00
Michael Layzell 0d0c859546 Bug 1165263 - Part 1: Update nsPermissionManager to use origins instead of hosts internally, r=ehsan 2015-07-16 14:49:51 -04:00
Michael Layzell 278d558546 Bug 817007 - Part 1: Remove <file> hack from the permission manager, r=ehsan 2015-07-16 14:49:46 -04:00
Michael Layzell ec7f71eae3 Bug 1173523 - Part 10: Update nsIPermission and nsIPermissionManager tests to use new API for nsIPermission, r=ehsan 2015-07-16 14:49:39 -04:00
Michael Layzell e757604c6f Bug 1173523 - Part 2: Tests for new methods nsIPrincipal::MatchesURI and nsIPrincipal::Matches, r=ehsan 2015-07-16 14:49:24 -04:00
Michael Layzell 9d564ec2dd Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan 2015-07-16 14:49:22 -04:00
Ehsan Akhgari 025cee7b63 Bug 1184397 - Release the observer service when the permission manager shuts down; r=jdm 2015-07-16 13:39:28 -04: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
Geoff Brown 52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Wes Kocher d8780b2a3f Backed out changeset 74293125739a (bug 1176341) 2015-07-10 12:48:20 -07:00
Andrew McCreight 8047284e97 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-10 07:41:33 -07:00
Dragana Damjanovic 7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02: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
Michael Layzell 6265522c59 Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan 2015-07-03 17:12:27 -04:00
Michael Layzell 3eb46d5372 Bug 1170200 - Part 1: Change the API for nsIPermissionManager::Remove() to accept a URI instead of a string; r=ehsan 2015-07-03 17:12:17 -04:00
Ehsan Akhgari 4484832cb5 Backout bug 1170200 because of test failures on a CLOSED TREE 2015-07-03 16:43:47 -04:00
Michael Layzell 39a5778c7e Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan 2015-07-03 14:18:23 -04:00
Michael Layzell 0e9fa18ac8 Bug 1170200 - Part 1: Change the API for nsIPermissionManager::Remove() to accept a URI instead of a string; r=ehsan 2015-07-03 14:17:11 -04:00
Andrew McCreight f4abeb8aba Bug 886459, part 1 - Remove unused includes of nsIJSRuntimeService.h. r=bholley 2015-06-26 18:44:13 -07: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
Ehsan Akhgari 72aef1875b Bug 1175122 - Add more assertions to the in-tree content policy implementations to ensure that they receive external content policy types; r=baku 2015-06-16 11:38:53 -04:00
Ehsan Akhgari 8f750a75b2 Bug 1174307 - Add some internal content policy types for the purpose of reflecting them on RequestContext; r=sicking
These new content policy types will be internal ones that we will map
to external nsContentPolicyTypes before passing them to content policy
implementations.
2015-06-15 15:40:26 -04:00
Mike Perry 97f6857b2c Bug 967812 - Pref to make Permissions Manager memory-only. r=ehsan
This patch exposes a pref 'permissions.memory_only' that isolates the
permissions manager to memory, preventing it from writing to disk.
2015-06-11 11:00:00 -04:00
Eric Rahm 75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm f50b813989 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Marcos Caceres 8fc79cb285 Bug 1089255 - Implement and test manifest-src CSP directive. r=bholley, r=dveditz, r=ckerschb
---
 dom/base/nsContentPolicyUtils.h                    |   1 +
 dom/base/nsDataDocumentContentPolicy.cpp           |   3 +-
 dom/base/nsIContentPolicy.idl                      |   2 +-
 dom/base/nsIContentPolicyBase.idl                  |   7 +-
 dom/base/nsISimpleContentPolicy.idl                |   2 +-
 dom/base/test/csp/browser.ini                      |   4 +
 dom/base/test/csp/browser_test_web_manifest.js     | 265 +++++++++++++++++++++
 .../csp/browser_test_web_manifest_mixed_content.js |  55 +++++
 dom/base/test/csp/file_CSP_web_manifest.html       |   6 +
 dom/base/test/csp/file_CSP_web_manifest.json       |   1 +
 .../test/csp/file_CSP_web_manifest.json^headers^   |   1 +
 dom/base/test/csp/file_CSP_web_manifest_https.html |   4 +
 dom/base/test/csp/file_CSP_web_manifest_https.json |   1 +
 .../csp/file_CSP_web_manifest_mixed_content.html   |   9 +
 .../test/csp/file_CSP_web_manifest_remote.html     |   8 +
 dom/base/test/csp/file_csp_testserver.sjs          |  14 +-
 dom/base/test/csp/mochitest.ini                    |   7 +
 dom/base/test/moz.build                            |   5 +-
 dom/fetch/InternalRequest.cpp                      |   3 +
 dom/fetch/InternalRequest.h                        |   2 +-
 .../security/nsIContentSecurityPolicy.idl          |   3 +-
 dom/ipc/manifestMessages.js                        |  25 +-
 dom/security/nsCSPUtils.cpp                        |   7 +
 dom/security/nsCSPUtils.h                          |  10 +-
 dom/security/nsMixedContentBlocker.cpp             |   1 +
 dom/webidl/CSPDictionaries.webidl                  |   1 +
 extensions/permissions/nsContentBlocker.cpp        |   6 +-
 netwerk/mime/nsMimeTypes.h                         |   1 +
 28 files changed, 439 insertions(+), 15 deletions(-)
 create mode 100644 dom/base/test/csp/browser.ini
 create mode 100644 dom/base/test/csp/browser_test_web_manifest.js
 create mode 100644 dom/base/test/csp/browser_test_web_manifest_mixed_content.js
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json^headers^
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.json
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_mixed_content.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_remote.html
2015-06-02 15:42:19 -04:00
Carsten "Tomcat" Book 5471309381 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)

--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm a9afd68cef Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm 141e0ff4a2 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Wes Kocher 4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm dc090e3fe5 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Ehsan Akhgari 9c6df9d16f Bug 1168802 - Update the en-US dictionary to SCOWL 2015.05.18 2015-05-27 08:12:59 -04:00
Ekanan Ketunuti fcde6fa0d5 Bug 1167912 - Add eldritch to the en-US dictionary. r=ehsan
--HG--
extra : rebase_source : 01ab107ade1df66d95108aac795bdd307b969870
2015-05-26 10:33:53 +07:00
Botond Ballo 2e2a504271 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Phil Ringnalda 49dd872168 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo 9934d127c1 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
Christoph Kerschbaumer 6b24d4a573 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update newChannel2 (r=sicking,paolo) 2015-05-21 19:52:03 -07:00
Eric Rahm 3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Rex Hung 5ad5ccc859 Bug 1124126 - Retry database connection for the case of corrupted permissions.sqlite. r=bsmedberg 2015-05-20 23:09:00 -04:00
Bobby Holley 3b6ba803a8 Bug 1165162 - Serialize originSuffix into .origin. r=gabor,sr=sicking
We also provide an opt-out for the original behavior, and use it in various
consumers that look like they need fixing up. Most of the usage here is in
code with persistence considerations, where we may need some sort of migration
path.
2015-05-20 17:11:49 -07:00
Eric Rahm 4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Jed Davis ead6235994 Bug 1157950 - Don't opt in to permission DB corruption and data loss. r=ehsan 2015-04-24 14:28:00 -04:00
Neil Rashbrook cf42e317ab Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-16 09:07:10 +01:00
Bobby Holley e61971d74b Bug 1164292 - Switch nsIPrincipal::origin to ACString. r=gabor 2015-05-15 11:51:51 -07:00
Wes Kocher 3c714c42eb Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds 2015-05-14 16:35:18 -07:00
Neil Rashbrook ae441fafa2 Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-15 00:00:33 +01:00
Eric Rahm bb8bdad0fd Bug 1164620 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj 2015-05-14 10:13:24 -07:00
Eric Rahm 682623740c Bug 1164620 - Part 1: Remove instances of #ifdef PR_LOGGING in various places. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07:00
Ekanan Ketunuti 84cf869290 Bug 1160730 - Add composited, compositing and compositeness to the en-US dictionary. r=ehsan 2015-05-11 10:34:22 +07:00
Ehsan Akhgari 5c6c077a96 Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan
--HG--
rename : layout/base/tests/bug646382-1.html => editor/reftests/spellcheck-non-latin-arabic-ref.html
2015-05-08 22:45:16 -04:00
Ehsan Akhgari 71fdc7e35a Bug 1137544 - Update the en-US dictionary based on the SCOWL 2015.04.24 wordlist using the new scripts 2015-05-03 23:08:11 -04:00
Kevin Atkinson cdffec50e9 Bug 1137544 - Generate 5-mozilla-added and 5-mozilla-removed to aid in submitting changes upstream; r=ehsan 2015-05-03 23:08:05 -04:00
Kevin Atkinson aea82ef5c9 Bug 1137544 - Upgrade en-US.dic dictionary to upstream version 2015.02.15; r=ehsan 2015-05-03 23:08:02 -04:00
Kevin Atkinson 65f235a3ae Bug 1137544 - New scripts to upgrade en-US.dic to the latest upstream version; r=ehsan
--HG--
rename : extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/hunspell-en_US-20081205.dic => extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/orig/en_US.dic
2015-05-03 23:07:59 -04:00
Kevin Atkinson ffa9034638 Bug 1137544 - Backout changeset ece86f9a9c3b and d594db3c891b in order to redo dictionary update; r=ehsan 2015-05-03 23:04:50 -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
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Boris Zbarsky d36060dc11 Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv 2015-04-27 09:18:52 -04: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
Kyle Huey 0f81e8288a Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan 2015-04-25 07:23:54 -07:00
Wes Kocher 65b94d7a9d Backed out changeset 022beda1707c (bug 1158366) for wError build bustage 2015-04-24 16:52:52 -07:00
Kyle Huey cdd7af4cfa Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan 2015-04-24 16:09:30 -07:00
Mike Kaply 8cbff2f82a Bug 138009 - Remove unused platform.js, now with packaging goodness, r=mossop 2015-04-24 14:10:09 -05:00
Andrea Marchesini 085da9302a Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
Ryan VanderMeulen af11787a35 Backed out changeset d38346a423b5 (bug 138009) for packaging bustage.
CLOSED TREE
2015-04-17 15:16:49 -04:00
Mike Kaply d5a8c9eb75 Bug 138009 - Remove unused platform.js, r=mossop
--HG--
extra : rebase_source : 53f5ff9a7033f37beee87f8866012e7645d25627
extra : amend_source : 1655b5a84813c919b69c52800916aba7d6dc96d5
2015-04-10 16:01:08 -05:00
Németh László 39caf57915 Bug 318040 - Accept abbreviated words without dots to workaround incomplete tokenization. r=ehsan
--HG--
extra : rebase_source : 4192e282330f6249645a11e307c1f62078c05a1c
2014-08-05 08:01:00 -04:00
Ekanan Ketunuti 969d3c3454 Bug 1151296 - Add misandry, misandrist to the en-US dictionary. r=ehsan
--HG--
extra : transplant_source : %03%402%9BY%A1%9Ak%EA%E8a%8D%94%7F%11t%40%AC%D8%E4
2015-04-09 15:02:44 +07:00
Mike Kaply f28fecc47f Bug 1137799 - AutoConfig file should be read as UTF-8, not ASCII, r=mossop 2015-04-08 13:33:46 -05: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
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00: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
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Chih-Kai (Patrick) Wang 22287fd2c7 Bug 1129315 - require app processes update permissions after forked from nuwa. r=jdm 2015-03-12 16:53:22 +08:00
Ehsan Akhgari a878938970 Bug 983817 follow-up: Add the fix for the bug to the hunspell patches directory
DONTBUILD
2015-03-11 22:03:05 -04:00
Alex Henrie bb3d8e3081 Bug 1134537 - Delete GnomeVFS extension. r=roc
--HG--
extra : rebase_source : faa7677e584fb14cb41e4682f1281b222e4e28c6
2015-03-09 21:12:58 -06:00
Andrea Marchesini 2c4f63331f 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
Ting-Yu Lin eacb4adcf8 Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Ekanan Ketunuti 574e00c2b0 Bug 1133363 - Part 2 - add new words to en-US dictioanry. r=ehsan 2015-02-17 16:04:04 +07:00
Ekanan Ketunuti b03a9ad8cf Bug 1133363 - Part 1 - add missing /M suffix to en-US dictionary. r=ehsan 2015-02-17 16:04:04 +07:00
Carsten "Tomcat" Book f17167d40f Backed out changeset 271171d2c620 (bug 1133363) for m4 test failures 2015-02-25 10:33:00 +01:00
Carsten "Tomcat" Book 23a3e982b4 Backed out changeset 4f2bdb9b4d5e (bug 1133363) 2015-02-25 10:32:35 +01:00
Ekanan Ketunuti 9606f18e2b Bug 1133363 - Part 2 - add new words to en-US dictioanry. r=ehsan 2015-02-17 16:04:04 +07:00
Ekanan Ketunuti 0edc5b229d Bug 1133363 - Part 1 - add missing /M suffix to en-US dictionary. r=ehsan 2015-02-17 16:04:04 +07:00
Christoph Kerschbaumer f3e352240e Bug 1119005 - No need to branch on NewChannelinternal callsites anymore - callsite updated (r=sicking) 2015-02-19 11:47:59 -08:00
Anish 45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Christoph Kerschbaumer e83e426f75 Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in extensions/ (r=ehsan) 2015-02-17 10:09:16 -08:00
Jan Horak ca4ceed59a Bug 1129859 - Wrong dictionary chosen when lang attribute is en-US on some Linux distros. r=roc
--HG--
rename : extensions/spellcheck/hunspell/tests/unit/data/1463589_utf.aff => extensions/spellcheck/hunspell/tests/unit/data/1463589-utf.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/1463589_utf.dic => extensions/spellcheck/hunspell/tests/unit/data/1463589-utf.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/1463589_utf.sug => extensions/spellcheck/hunspell/tests/unit/data/1463589-utf.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/1463589_utf.test => extensions/spellcheck/hunspell/tests/unit/data/1463589-utf.test
rename : extensions/spellcheck/hunspell/tests/unit/data/1463589_utf.wrong => extensions/spellcheck/hunspell/tests/unit/data/1463589-utf.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.aff => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.dic => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.good => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.good
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.sug => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.test => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.test
rename : extensions/spellcheck/hunspell/tests/unit/data/allcaps_utf.wrong => extensions/spellcheck/hunspell/tests/unit/data/allcaps-utf.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.aff => extensions/spellcheck/hunspell/tests/unit/data/base-utf.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.dic => extensions/spellcheck/hunspell/tests/unit/data/base-utf.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.good => extensions/spellcheck/hunspell/tests/unit/data/base-utf.good
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.sug => extensions/spellcheck/hunspell/tests/unit/data/base-utf.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.test => extensions/spellcheck/hunspell/tests/unit/data/base-utf.test
rename : extensions/spellcheck/hunspell/tests/unit/data/base_utf.wrong => extensions/spellcheck/hunspell/tests/unit/data/base-utf.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/colons_in_words.aff => extensions/spellcheck/hunspell/tests/unit/data/colons-in-words.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/colons_in_words.dic => extensions/spellcheck/hunspell/tests/unit/data/colons-in-words.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/colons_in_words.test => extensions/spellcheck/hunspell/tests/unit/data/colons-in-words.test
rename : extensions/spellcheck/hunspell/tests/unit/data/condition_utf.aff => extensions/spellcheck/hunspell/tests/unit/data/condition-utf.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/condition_utf.dic => extensions/spellcheck/hunspell/tests/unit/data/condition-utf.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/condition_utf.good => extensions/spellcheck/hunspell/tests/unit/data/condition-utf.good
rename : extensions/spellcheck/hunspell/tests/unit/data/condition_utf.test => extensions/spellcheck/hunspell/tests/unit/data/condition-utf.test
rename : extensions/spellcheck/hunspell/tests/unit/data/condition_utf.wrong => extensions/spellcheck/hunspell/tests/unit/data/condition-utf.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/digits_in_words.aff => extensions/spellcheck/hunspell/tests/unit/data/digits-in-words.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/digits_in_words.dic => extensions/spellcheck/hunspell/tests/unit/data/digits-in-words.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/digits_in_words.test => extensions/spellcheck/hunspell/tests/unit/data/digits-in-words.test
rename : extensions/spellcheck/hunspell/tests/unit/data/digits_in_words.wrong => extensions/spellcheck/hunspell/tests/unit/data/digits-in-words.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.aff => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.dic => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.good => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.good
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.sug => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.test => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.test
rename : extensions/spellcheck/hunspell/tests/unit/data/ngram_utf_fix.wrong => extensions/spellcheck/hunspell/tests/unit/data/ngram-utf-fix.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat.aff => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat.dic => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat.good => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat.good
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat.test => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat.test
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat.wrong => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat2.aff => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat2.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat2.dic => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat2.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat2.good => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat2.good
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat2.test => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat2.test
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_cpdpat2.wrong => extensions/spellcheck/hunspell/tests/unit/data/opentaal-cpdpat2.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.aff => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.dic => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.good => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.good
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.sug => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.test => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.test
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword1.wrong => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword1.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.aff => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.dic => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.good => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.good
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.sug => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.test => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.test
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_forbiddenword2.wrong => extensions/spellcheck/hunspell/tests/unit/data/opentaal-forbiddenword2.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.aff => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.dic => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.good => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.good
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.sug => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.test => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.test
rename : extensions/spellcheck/hunspell/tests/unit/data/opentaal_keepcase.wrong => extensions/spellcheck/hunspell/tests/unit/data/opentaal-keepcase.wrong
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom.aff => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom.dic => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom.good => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom.good
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom.test => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom.test
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom2.aff => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom2.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom2.dic => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom2.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom2.good => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom2.good
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_bom2.test => extensions/spellcheck/hunspell/tests/unit/data/utf8-bom2.test
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.aff => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.aff
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.dic => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.dic
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.good => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.good
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.sug => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.sug
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.test => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.test
rename : extensions/spellcheck/hunspell/tests/unit/data/utf8_nonbmp.wrong => extensions/spellcheck/hunspell/tests/unit/data/utf8-nonbmp.wrong
extra : rebase_source : 09ef9975419ce11e104ce2792c2f0f3364f6db8d
2015-02-13 00:38:00 +01:00
Magnus Melin cb8cf22e82 Bug 1073095 - nsPermissionManager.cpp references a browser path by default in kDefaultsUrlPrefName. Make the permissions.manager.defaultsUrl pref overridable. r=benjamin
--HG--
rename : browser/app/default_permissions => browser/app/permissions
2015-02-13 23:32:41 +02:00
L. David Baron ace9185d6f Bug 983817 - Pad heap allocations passed to flag_qsort() on x86 Linux to work around gcc bug affecting Ubuntu packages. r=froydnj
My biggest concern for review of this patch is whether the #ifdef will
correctly catch what Ubuntu is using to compile Firefox.  Does anybody
know how to confirm that Ubuntu is compiling with gcc, and that these
#ifdefs are correct?

--HG--
extra : transplant_source : %CB%A0%0A%F6Y%93%0Cp%EBY%40%E20%95%0E%3E%AD%0F%9E%12
2015-02-10 10:10:49 +11:00
Mike Hommey a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Jon Coppeard c17c1bd7eb Bug 1107639 - Use two phase construction rather than Maybe<PersistentRooted> r=terrence 2015-01-23 10:23:57 +00:00
Ekanan Ketunuti 8fc921b016 Bug 1123650 - Add teriyaki to the en-US dictionary. r=ehsan 2015-01-21 09:43:01 +07:00
Daniel Holbert adf8648f8e Bug 1122051: Convert extremely-spammy-during-mochitests NS_ENSURE_TRUE in SpellCheckRange() to a simple check-and-return. r=ehsan 2015-01-15 18:11:31 -08:00
Ehsan Akhgari 1e88271572 Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
Wes Kocher 4a8e595770 Backout c034dba7a417 2015-01-12 14:46:48 -08:00