Commit Graph

903 Commits

Author SHA1 Message Date
Gregor Wagner
0866142fbb Bug 823709 - Remove assertion: !mStrongDatabase at IndexedDBChild.cpp r=bent 2013-11-18 22:16:05 -08:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Tom Schuster
f052cdba92 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Ms2ger
29adada2a2 Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage. 2013-11-17 16:39:25 +01:00
Tom Schuster
a12aa024e6 Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz 2013-11-16 13:31:36 +01:00
Vendelin Ruzicka
bc27c1246d Bug 921478 - Part 2: Convert test_contacts_upgrade.html to real chrome mochitest. r=bent
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.html => dom/contacts/tests/test_contacts_upgrade.xul
2013-11-19 08:36:33 +01:00
Jan Varga
340148eccf Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Carsten "Tomcat" Book
52bb79098d Backed out changeset 5cda44ae1ba0 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE
--HG--
rename : dom/indexedDB/test/test_globalObjects_content.html => dom/indexedDB/test/test_globalObjects.html
rename : dom/indexedDB/test/test_globalObjects_chrome.xul => dom/indexedDB/test/test_globalObjects.xul
rename : dom/indexedDB/test/unit/test_globalObjects_xpc.js => dom/indexedDB/test/unit/test_globalObjects.js
2013-11-19 11:41:52 +01:00
Carsten "Tomcat" Book
32eb548902 Backed out changeset e07cab8a2732 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_upgrade.html
2013-11-19 11:41:29 +01:00
Vendelin Ruzicka
df3a7a6432 Bug 921478 - Part 2: Convert test_contacts_upgrade.html to real chrome mochitest. r=bent
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.html => dom/contacts/tests/test_contacts_upgrade.xul
2013-11-19 08:36:33 +01:00
Jan Varga
0d595eff6d Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Ben Turner
1200b8c5d1 Backout 8e3b6d7159c2, bug 929274, for test failures. 2013-11-14 10:58:05 -08:00
Ben Turner
c600c2b3be Bug 929274 - 'InvalidStateError when accessing transaction.error after aborted transaction'. r=janv. 2013-10-22 03:41:56 -07:00
Ms2ger
786aa40195 No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Ms2ger
bd6c1c7dc9 Bug 931459 - Move LOCAL_INCLUDES to moz.build in dom/; r=mshal 2013-11-11 09:04:11 +01:00
Andrea Marchesini
5dfe234eb4 Bug 933351 - IDBRequest should not write warning messages about callee when created by IPC IDB, r=janv, f=bholley 2013-11-04 12:57:53 +00:00
Nathan Froyd
e2ede970d2 Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan 2013-10-01 15:25:07 -04:00
Tim Taubert
aa3436c8cf Bug 932898 - Fix leaks in DOM tests; r=smaug CLOSED TREE 2013-10-31 02:30:00 +00:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Terrence Cole
05b45c0c0f Bug 929800 - Handlify the structured clone interface; r=sfink,smaug
--HG--
extra : rebase_source : 4f21dd799ad27dc665997d4912996a500ae8a2f2
2013-10-22 17:18:32 -07:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Joshua Cranmer
df0c3131ef Bug 900526, part 4: Migrate FINAL_TARGET and XPI_NAME to moz.build, r=gps 2013-10-21 13:09:06 -05:00
Steve Fink
6472996e52 Bug 925916 - Handlify WrapNative, r=smaug 2013-10-11 22:02:39 -07:00
Ms2ger
ae8c899faf Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Ms2ger
9d5ce8dfb7 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Masayuki Nakano
0823bd31f1 Bug 920377 part.31 Get rid of nsEvent r=roc 2013-10-02 12:46:04 +09:00
Jan Varga
44b5ad85cf Bug 922837 - In IndexedDatabaseManager.cpp:235: Assertion failure: js::GetObjectClass(aGlobal)->flags & (1<<7) (Not a global object!). r=bholley 2013-10-02 15:34:58 +02:00
Ryan VanderMeulen
e5b66a5e17 Merge m-c to b2g-inbound. 2013-09-30 16:30:26 -04:00
Gregory Szorc
89c902c7b2 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
c44d9c8614 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley
74e3d6ce30 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
47e946bebe Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
3d0a157ac2 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ben Turner
983128e384 Bug 920800 - 'Add openKeyCursor() to IDBObjectStore'. r=janv.
--HG--
extra : transplant_source : H%ED%F8%E08%98/%26%0F%82%9C%0E%B0l%92%A6%C0%A1%A3%B4
2013-09-25 16:11:47 -07:00
Jan Varga
23ce3971fb Bug 832883 - Move IDBKeyRange to WebIDL and define indexedDB/IDBKeyRange in all the spots. r=khuey,bent (initial work done by Ms2ger) 2013-09-28 13:25:46 +02:00
Masayuki Nakano
d6963ba8d1 Bug 920377 part.12 Get rid of nsScriptErrorEvent r=roc 2013-09-27 15:20:56 +09:00
Wes Kocher
7abcf76c02 Backed out changeset 87a72129c007 (bug 920800) for indexedDB failures 2013-09-26 16:54:01 -07:00
Ben Turner
3bac3a71aa Bug 920800 - 'Add openKeyCursor() to IDBObjectStore'. r=janv.
--HG--
extra : transplant_source : %15%9F%F7%CE%81%09%84%04%8D%B9H%A3D%B5%FD%F8myPV
2013-09-25 16:11:47 -07:00
Ben Turner
e67fcd8bf1 Bug 920633 - 'Add getAllKeys() to IDBObjectStore'. r=janv.
--HG--
extra : transplant_source : %F9%EA0%88%91%15%ADW%92Ae%CEY%29%A9%E4%1A%88Qo
2013-09-24 10:14:16 -07:00
Ben Turner
fcdca3203a Bug 920179 - 'Add resolve hook for IndexedDB constructors on non-window globals'. r=bholley.
--HG--
extra : transplant_source : %05%A0%9Av%A5%14%09%B1%3B%9E2%0B%80%CD%EA%F8%A8%D6%A4t
2013-09-25 16:10:57 -07:00
Ryan VanderMeulen
85b2edc046 Backed out 3 changesets (bug 920179, bug 920633, bug 920800) for Windows |make package| crashes on a CLOSED TREE.
Backed out changeset bb0041643a0f (bug 920800)
Backed out changeset 24818d9b7470 (bug 920633)
Backed out changeset d49b0f47b05a (bug 920179)
2013-09-26 14:22:43 -04:00
Ben Turner
12170df49b Bug 920800 - 'Add openKeyCursor() to IDBObjectStore'. r=janv. 2013-09-25 16:11:47 -07:00
Ben Turner
c3dc99499b Bug 920633 - 'Add getAllKeys() to IDBObjectStore'. r=janv. 2013-09-24 10:14:16 -07:00
Ben Turner
5445873afd Bug 920179 - 'Add resolve hook for IndexedDB constructors on non-window globals'. r=bholley.
--HG--
extra : transplant_source : 77%C6F%3FlL%0F%C2%DE36.%5DA%0D%F6H%0B%24
2013-09-25 16:10:57 -07:00
Masayuki Nakano
2f532b885b Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Ehsan Akhgari
9890a8c148 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Ehsan Akhgari
b91ba4ba3a Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Ehsan Akhgari
dee6c12c6f Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Benoit Jacob
43fcdc2ede Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-19 09:54:42 -04:00
Benoit Jacob
b268087442 Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Andrea Marchesini
b1e3c18e72 Bug 916094 - Assertions removed from IDBFactory::Create() when it's used in JS from chrome in IPC. r=bent 2013-09-19 14:45:25 +02:00
Jon Coppeard
e29ed058ae Bug 917843 - Handlify JS identifier APIs r=billm 2013-09-19 08:54:02 +01:00
Jon Coppeard
97f8bee930 Bug 917295 - GC: Handlify public date APIs r=terrence r=bz 2013-09-19 08:54:01 +01:00
Wes Kocher
818ff844d4 Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Wes Kocher
ee41ec25e3 Backed out changeset 040522aacba4 (bug 913847) 2013-09-18 17:18:56 -07:00
Benoit Jacob
af97fdd40d Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Benoit Jacob
18df240efb Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Ehsan Akhgari
d2564b10a0 Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky 2013-09-17 12:49:07 -04:00
Boris Zbarsky
9cc662a2d6 Bug 915971. Rename FooReturnValue unions to OwningFoo, because we use them for more than just return values. r=dzbarsky 2013-09-17 11:16:02 -04:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
46e38d15e3 Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent 2013-06-03 18:14:37 +08:00
Jan Varga
a0a5a93567 Bug 915629 - Chrome doesn't need to check the indexedDB permission. r=bent 2013-09-13 13:19:25 +02:00
Tom Schuster
195b18c157 Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug 2013-09-12 15:24:11 -04:00
Masatoshi Kimura
9923e59734 Bug 915202 - Remove a hack enabling DOMException in xpcshell. r=khuey 2013-09-12 22:16:22 +09:00
Dan Gohman
586b9aee99 Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Jan Varga
67195df918 Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
2013-09-11 06:18:36 +02:00
Kyle Huey
025c388bda Bug 911258: Part 3 - Convert exceptions to WebIDL. r=bz 2013-09-08 20:28:49 -07:00
Ehsan Akhgari
3956f8e1f5 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Bobby Holley
0fcc3886ab Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
Ms2ger
7e4c55fad5 Bug 909003 - Part f: Remove some includes from IDBFactory.h; r=bz 2013-09-06 08:43:23 +02:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
cf2028664c Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage 2013-09-04 21:49:16 -07:00
Bobby Holley
e903e0f569 Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Andrew McCreight
3228f67147 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Andrew McCreight
d168e85a9e Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz 2013-08-27 15:39:02 -07:00
Andrew McCreight
dbe5cdd3b0 Backed out changeset 365053e73efa for build bustage on this CLOSED TREE. 2013-08-27 09:54:01 -07:00
Andrew McCreight
a93fe393a9 Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug 2013-08-20 14:19:33 -07:00
Boris Zbarsky
9e1e6a8b84 Bug 908576 part 3. Get rid of PrototypeIDMap structs. r=smaug 2013-08-23 22:42:41 -04:00
Kyle Huey
537b616499 Bug 906812: Remove nsISupports usage from IndexedDB WebIDL. r=sicking 2013-08-22 22:17:10 -07:00
Kyle Huey
bf31d78a83 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Nicholas Nethercote
9ec228491f Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Ms2ger
dd3ed79f0d Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
2fab82586f Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
ec08decbf0 Bug 906343 - Remove the last reference to XPCSHELL_TESTS in a Makefile; r=gps 2013-08-22 08:55:53 +02:00
Ehsan Akhgari
2a87c95927 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Thomas Zimmermann
8e0163128a Bug 904637: Only disconnect IndexDBParents once, r=bent
IndexDBParent::Disconnect can only be called once. During
shutdown of an app, it can happen that Disconnect of an
instance has been run before. In this case, we run from
the Disconnect method immediately.
2013-08-20 10:27:30 +02:00
Trevor Saunders
86d20580f1 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Gregory Szorc
918eef7c37 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
a7872e972f Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE. 2013-08-14 15:12:20 -04:00
Brian O'Keefe
3dadb0e396 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Gregory Szorc
260d3a8e7c Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Ms2ger
8790603e09 No bug - Remove an obsolete reference to quickstubs in dom/indexedDB/Makefile.in 2013-08-14 08:53:53 +02:00
Ms2ger
3791cfd9e8 Bug 900677 - Remove IDBEventTargetSH; r=bz 2013-08-14 08:53:46 +02:00
Trevor Saunders
a8a12176ad bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Nicholas Nethercote
849635b8f1 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
aa5919539d Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
David Zbarsky
65f4c1ef28 Bug 889734 - Clean up indexedDB ipdl files r=bent
--HG--
rename : dom/indexedDB/ipc/PIndexedDBIndex.ipdl => dom/indexedDB/ipc/IndexedDBParams.ipdlh
2013-08-06 08:44:01 -04:00
Nicholas Nethercote
c1d8302699 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Jon Coppeard
da8c061053 Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug 2013-08-05 14:02:47 +01:00
Jon Coppeard
0f31f8c399 Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz 2013-08-05 14:01:53 +01:00
Jon Coppeard
ef396b7874 Bug 899973 - GC: Convert the rest of the JS property API to use MutableHandleValue for out params - browser changes r=bz 2013-08-02 13:15:39 +01:00
Ms2ger
aaa8d8915a Merge m-c to inbound. 2013-08-02 11:40:30 +02:00
Ms2ger
ed2a9cfb16 Backout changeset 531f544bc9ce for breaking B2G tests. 2013-08-02 11:38:49 +02:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
468d7dab87 Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey 2013-08-02 09:09:15 +02:00
Ms2ger
d5d5885d4c Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8 2013-08-02 09:04:01 +02:00
Bobby Holley
595cbc9fd5 Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke 2013-08-01 18:38:47 -07:00
Mike Hommey
ca80cd82ad Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Andrea Marchesini
4cf68c1978 Bug 887524 - Move IDBRequest to WebIDL, r=janv 2013-08-01 00:28:15 +02:00
Andrea Marchesini
ebeb72d6f9 Bug 891944 - Move IDBCursor to WebIDL, r=janv 2013-08-01 00:28:13 +02:00
Andrea Marchesini
20617169ee Bug 888596 - Move IDBDatabase to WebIDL, r=janv 2013-07-31 17:48:46 +02:00
Andrea Marchesini
9dbd04ea78 Bug 892065 - Move IDBIndex to WebIDL, r=janv 2013-07-31 17:48:40 +02:00
Andrea Marchesini
ef616d1baf Bug 888597 - Move IDBObjectStore to WebIDL, r=janv 2013-07-31 17:48:36 +02:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

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 "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Bobby Holley
99246966e4 Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bobby Holley
08f9b6fd28 Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke 2013-07-29 16:45:26 -07:00
Andrea Marchesini
a1a1e17579 Bug 888598 - Move IDBTransaction to WebIDL, r=janv 2013-07-29 19:12:21 +02:00
Jon Coppeard
fd4d274d46 Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
ac22f0d0ad Backed out changeset ae8d72538dee (bug 897484) for b2g bustage 2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Ms2ger
87cac1ab60 Bug 896275 - Use MOZ_THIS_IN_INITIALIZER_LIST in dom/; r=mounir 2013-07-24 09:41:03 +02:00
Boris Zbarsky
76a7d33bf7 Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv 2013-07-22 08:15:43 -04:00
Joshua Cranmer
bb26e8f816 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
f44c71b4ef Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Ryan VanderMeulen
4033000ea2 Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE. 2013-07-22 18:18:17 -04:00
Boris Zbarsky
a0654061a1 Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv 2013-07-22 08:15:43 -04:00
Bobby Holley
42bde9bf07 Bug 887334 - Enter a compartment in indexedDB's ThreadLocalJSRuntime. r=bent 2013-07-17 11:53:54 -07:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Ehsan Akhgari
250df2ac8d Bug 890405 - Remove nsIIDBVersionChangeEvent; r=janv 2013-07-11 13:36:42 -04:00
Ehsan Akhgari
f6d334b2c9 Backed out changeset 121171dddc5b (bug 890405) for Jetpack test failures
Landed on a CLOSED TREE
2013-07-11 13:33:19 -04:00
David Keeler
a462fa93db bug 842384 - speculative fix: maybe browser_bug839193.js needs a window.focus() r=bent 2013-07-02 14:09:10 -07:00
Ehsan Akhgari
c1a956dbb8 Bug 890405 - Remove nsIIDBVersionChangeEvent; r=janv,Mossop 2013-07-11 11:33:37 -04:00
Tim Taubert
b919e9d555 Bug 891806 - part 4 - replace 'yield;' with 'yield undefined;' in dom/; r=smaug 2013-07-10 23:52:35 +02:00
Olli Pettay
6767d0a1a8 bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
David Zbarsky
7c1e9e4d0f Bug 885804: Renaming in content/dom r=jlebar 2013-07-08 11:48:39 -04:00
Ehsan Akhgari
3c0afe53b2 Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug 2013-07-05 13:57:28 -04:00
Ehsan Akhgari
362e8b3898 Backed out changeset 170e1863b9b6 (bug 890382) because of xpcshell test failures 2013-07-04 20:59:44 -04:00
Ehsan Akhgari
7fce3192db Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug 2013-07-04 18:12:39 -04:00
Mike Shal
2f5d43999f Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Ms2ger
5ee433e133 Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv 2013-07-01 09:02:37 +02:00
Ben Turner
8cfacdc312 Bug 888105 - '.DS_Store files can screw up origin initialization.' r=janv. 2013-06-29 19:25:15 -07:00
Justin Lebar
09d2312322 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00