Ed Morley
6cf4e96cb1
Merge mozilla-central to mozilla-inbound
2012-05-30 18:24:56 +01:00
James Willcox
dbd1c52af7
Bug 727421 - Implement full screen support for Flash on Android r=blassey
2012-05-30 12:10:49 -04:00
James Willcox
0eee056855
Backout 814d564578d1 due to xul bustage
2012-05-30 11:58:50 -04:00
James Willcox
1822c63ae0
Bug 727421 - Implement full screen support for Flash on Android r=blassey
2012-05-30 10:29:16 -04:00
Gervase Markham
68d38d677f
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Mike Hommey
b8fba82334
Backout changeset 81c2e2ea2dbf (bug 746794) because of bug 758648
2012-05-25 18:21:03 +02:00
Mike Hommey
e2ba79894d
Bug 746794 - Always use the STL wrappers when #pragma visibility is supported. r=ted
2012-05-25 08:31:33 +02:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Lucas Rocha
6ebfacf1f0
Bug 750950 - Kill any zombie processes if database is locked (r=blassey)
2012-05-11 17:09:04 +01:00
Kartikaya Gupta
35db8c3ada
Bug 751262 - Guard against leaking memory if NewDirectByteBuffer fails. r=blassey
2012-05-10 13:15:56 -04:00
Mike Hommey
a29da17198
Fixup for bug 736564 - Ship libmemory.a in the SDK instead of libjemalloc.a. r=ted
2012-05-04 09:46:27 +02:00
Mike Hommey
4079d49a02
Bug 736564 - Ship mozglue and jemalloc libraries in the SDK. r=bsmedberg,r=ted
...
As one import library on Windows, as one shared library on OSX and Android,
and as two separate static libraries on systems where mozglue is a static
library.
2012-05-03 08:36:12 +02:00
Fabrice Desré
2d07fe18c1
Bug 749695 - building with --disable-jemalloc fails [r=mwu]
2012-04-30 09:32:57 -07:00
James Willcox
bb4ddac382
Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey
2012-04-27 16:04:47 -04:00
Mike Hommey
2967371558
Bug 747033 - Implement dl_iterate_phdr in the custom linker. r=froydnj
...
--HG--
rename : mozglue/linker/CustomElf.h => mozglue/linker/Elfxx.h
2012-04-25 09:05:02 +02:00
Lucas Rocha
eb62535d0d
Bug 746444 - Add native function to force unlock on database file (r=blassey)
2012-04-24 16:34:03 -04:00
Ali Juma
ed64e52133
Bug 733596 - Tell the compositor about the new surface size on surface change. r=bgirard a=blocking-fennec
2012-04-20 11:46:30 -04:00
Gian-Carlo Pascutto
5398c66783
Bug 745863 - Debug logging is not compiled out in NSSBridge. r=wesj
2012-04-17 11:25:54 +02:00
Wes Johnston
55cbc2d002
Bug 744816 - Fix leak encrypting passwords for android sync. r=rnewman
2012-04-16 09:14:18 -07:00
Wes Johnston
cc5a1a065c
Bug 740961 - Remove debug logging from nssbridge. r=mfinkle
2012-04-12 20:32:41 -07:00
Gian-Carlo Pascutto
12e5d134c7
Bug 743715 - Cannot build Fennec without jemalloc. r=glandium
2012-04-11 14:12:34 +02:00
Michael Wu
f55a78b2b8
Bug 738561 - Cleanup mozglue for gonk, r=glandium
2012-03-29 18:32:44 -07:00
Cervantes Yu
dc31ed139f
Bug 741272 - Implement raise() using pthread_kill() so the signal will be sent to the the caller thread instead of a random thread in the thread group. r=blassey,khuey
2012-04-02 17:59:29 +08:00
Wes Johnston
2990565a83
Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr
2012-04-09 10:08:37 -07:00
Wes Johnston
206d8691e9
Backed out changeset f5d6cc2e4726
2012-04-09 10:44:32 -07:00
Wes Johnston
eea4dccc79
Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr
2012-04-09 10:08:37 -07:00
Mike Hommey
609e12c771
Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey
2012-04-05 09:20:53 +02:00
Brad Lassey
88fa428f0d
bug 741284 - add async file request method r=kats
2012-04-05 01:50:06 -04:00
Mike Hommey
3ef23117af
Bug 736963 - Move jemalloc'ed strdup/strndup definitions. r=jlebar,r=ted
2012-03-31 09:23:19 +02:00
Andreas Gal
0984b1f802
fix mozglue/gonk/Makefile.in comment style (bug 739003, r=cjones)
2012-03-25 01:55:34 +01:00
Andreas Gal
e37f0c92fe
add mozglue support for gonk (bug 738559, r=glandium)
2012-03-23 00:40:14 -07:00
Mike Hommey
6853dfab1c
Bug 737084 - Do pthread_atfork in jemalloc on mac and android. r=blassey,r=khuey
2012-03-22 08:01:51 +01:00
Phil Ringnalda
6454be7a84
Back out bf4b1d3c624e (bug 732069) on suspicion of causing increased failure to start the browser during tests
2012-03-17 12:32:44 -07:00
Ehsan Akhgari
2a6c344efd
Merge mozilla-central into mozilla-inbound
2012-03-14 13:40:34 -04:00
Kartikaya Gupta
a96a6f4142
Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES
2012-03-14 11:18:15 -04:00
Benoit Girard
dc6ea71b7e
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Mike Hommey
c0c28f2fae
Bug 734832 - Forcibly export a __dso_handle symbol from libmozglue.so on android. r=blassey
2012-03-13 09:49:18 +01:00
Mike Hommey
b3973a5b27
Bug 734812 - Make the linker error out when text relocations are defined with DF_TEXTREL. r=nfroyd
2012-03-13 09:48:20 +01:00
Mike Hommey
41648906db
Bug 734046 - Don't export __aeabi_* symbols from libmozglue.so on ARM. r=ted
2012-03-13 09:47:03 +01:00
Mike Hommey
b00b3342a2
Bug 727959 - Ignore 0xffffffff entries the x86 Android NDK puts in .{init,fini}_array. r=tglek
2012-03-14 10:53:21 +01:00
Benoit Girard
9612045323
Merge mc->Maple
2012-03-09 11:13:30 -05:00
Benoit Girard
1d55c5f593
Merge mc->Maple
2012-03-07 11:10:45 -05:00
Kartikaya Gupta
1847cf91b3
Merge m-c again to pick up 75deec1f1a7b
2012-02-28 14:37:26 -05:00
Kartikaya Gupta
45668a01d2
Merge m-c
2012-02-27 15:06:35 -05:00
Mike Hommey
bc546e0b47
Bug 729883 - Avoid linker warnings when starting up on Android. r=tglek
2012-02-27 08:19:20 +01:00
Wes Johnston
7c24489789
backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512
2012-03-08 12:32:01 -08:00
Wes Johnston
8fa7947691
Bug 718760 - Fix bustage by removing extra apk_mtime variable. r=glandium
2012-03-08 11:14:13 -08:00
Wes Johnston
500986fc9c
Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith
2012-03-08 10:25:44 -08:00
Wes Johnston
67b65ba3a2
Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey
2012-03-08 10:25:44 -08:00
Mike Hommey
471d20d072
Bug 727959 - Don't error out when missing symbol for PLT relocations is weak. r=nfroyd
2012-03-08 08:29:39 +01:00
Mike Hommey
e0e5b9e7f9
Bug 729596 - Use ftruncate in szip instead of posix_fallocate. r=taras
2012-02-22 19:42:56 +01:00
Doug Turner
754c5d2cbb
merge with mozilla-central:
2012-02-22 09:30:09 -08:00
Mike Hommey
ca520fa83e
Bug 727960 - When extracting libraries, reuse cached library if it is newer than the apk. r=tglek
2012-02-22 08:12:15 +01:00
Mike Hommey
5d7637edeb
Bug 728071 part 2 - Include application.ini.h in APKOpen.cpp instead of nsAndroidStartup.cpp. r=blassey
2012-02-22 08:12:15 +01:00
Mike Hommey
8c5b3643ce
Bug 686805 part 6 - Add functions to display stats about seekable compressed streams. r=tglek
2012-02-22 08:12:15 +01:00
Mike Hommey
942b661343
Bug 686805 part 4 - Make the linker load libraries with on-demand decompression when they are seekable compressed streams. r=tglek,r=sewardj
2012-02-22 08:12:15 +01:00
Mike Hommey
ee92560165
Bug 686805 part 3 - Tool to generate seekable compressed streams. r=tglek
2012-02-22 08:12:15 +01:00
Mike Hommey
3c9f465103
Bug 686805 part 2 - Use a SIGSEGV signal handler to handle segmentation faults happening in loaded libraries address space. r=tglek,r=sewardj
2012-02-22 08:12:15 +01:00
Mike Hommey
524ce82972
Bug 686805 part 1 - Make Mappable::munmap, Mappable1stPagePtr::munmap and MappedPtr::munmap private. r=tglek
2012-02-22 08:12:15 +01:00
Mike Hommey
5773947c34
Fixup for bug 733087. rs=dougt
2012-03-06 09:54:17 +01:00
Jeff Muizelaar
7cbebe89b8
Bug 733087 - Support DT_FLAGS a little bit. r=glandium
2012-03-06 09:28:09 +01:00
Brad Lassey
e5e9a2b04c
merge from mozilla-central
2012-02-18 17:29:33 -05:00
Doug Turner
3f133bfdd1
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Mike Hommey
d31a431d14
Bug 723939 part 1 - When reserving memory for the loaded library, ensure correct alignment for future MAP_SHARED mappings. r=tglek
2012-02-17 08:55:36 +01:00
Thomas G Eaton
d9aa65b9ba
Bug 721807 - APKOpen.cpp fails to compile on X86 android. r=glandium
2012-02-15 19:30:35 +09:00
Chris Peterson
6ac95cb7a3
Bug 730527 - Fix compiler warnings in APKOpen.cpp. r=glandium
2012-02-24 18:49:56 -08:00
Wes Johnston
b20553a2d2
Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey
...
* * *
Bug 718760 - Fix bustage by removing extra apk_mtime variable. r=glandium
2012-03-08 10:25:44 -08:00
Gian-Carlo Pascutto
b8ddd76b92
Bug 726821 - Caching JNI class references should use a global reference. r=blassey
2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
8995700bac
Bug 726821 - Push Cursor usage down into native bridge code. r=blassey
2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
9a734b7d69
Bug 727264 - Add an extra argument to pass more SQLite query results. Cleanup & simplify bridge. r=blassey
2012-02-27 12:28:21 +01:00
Tor Lillqvist
c30de3580b
Bug 731961 - Include cstdio from Mappable.cpp for sprintf. r=glandium
2012-02-07 11:35:00 +02:00
Ali Juma
32e4aa0206
Pause/resume composition on surface destruction/creation.
2012-02-06 13:57:06 -05:00
Patrick Walton
1e1b06f118
Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform()
2012-02-03 18:35:58 -08:00
Patrick Walton
08a46d3640
Eliminate coupling between the software layer client and the rest of Fennec
2012-02-02 23:30:41 -08:00
Mike Hommey
f4d721b1f0
Bug 727202 - Wrap malloc and free to use jemalloc in GeckoAppShell.{allocate,free}DirectBuffer. r=blassey
2012-02-16 09:02:25 +01:00
Kartikaya Gupta
b448de886d
Bug 735344 - Use a refcounted pointer to Zip so that the delete doesn't crash Fennec. Also remove some spurious logging. r=glandium
2012-03-13 14:59:53 -04:00
Mike Hommey
86098226ec
Bug 729596 - Use ftruncate in szip instead of posix_fallocate. r=taras
2012-02-22 19:42:56 +01:00
Mike Hommey
7b29e7253a
Bug 727959 - Add symbol name to relocation errors in the linker. r=tglek
2012-02-21 08:10:43 +01:00
Mike Hommey
be671dceba
Bug 720737 - Set MOZ_LINKER_CACHE instead of CACHE_PATH. r=blassey
2012-01-25 10:36:58 +01:00
Gian-Carlo Pascutto
99084ce2d7
Bug 720461 - Fix loop logic in Android SQLiteBridge. r=dougt
2012-01-25 07:53:04 +01:00
Wes Johnston
dce4c7adfa
Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith
2012-03-08 10:25:44 -08:00
Matt Brubeck
60b540afa7
Back out bug 718760, bug 725052, bug 732069 because of broken Android build
2012-03-12 10:37:22 -07:00
Wes Johnston
b3517c8987
Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey
...
* * *
Bug 718760 - Fix bustage by removing extra apk_mtime variable. r=glandium
2012-03-08 10:25:44 -08:00
Wes Johnston
f345491778
Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith
2012-03-08 10:25:44 -08:00
Mike Hommey
1216e0cd98
Fixup for bug 683127 part 11 to properly load sqlite3. rs=tbsaunde
2012-01-23 08:37:56 +01:00
Mike Hommey
267d203aea
Fixup for Bug 683127 part 11 to avoid crashing on places migration. rs=Ms2ger
2012-01-21 20:25:09 +01:00
Ed Morley
23deb13da3
Merge last green changeset of mozilla-inbound to mozilla-central
2012-01-21 02:31:32 +00:00
Jon Buckley
70e8c9bde5
Bug 716397. Fix mozglue package warning on Linux. f=sgautherie r=khuey.
2012-01-20 12:49:23 +01:00
Gian-Carlo Pascutto
f8cf6df8e7
Bug 713228 - Fix spurious semicolons in APKOpen.cpp. r=blassey
2012-01-19 21:21:36 +01:00
Gian-Carlo Pascutto
dd4a47e3ef
Bug 713228 - Add bridge to access our own SQLite libraries from Java. r=blassey
2012-01-19 21:19:56 +01:00
James Willcox
9dc935a3ce
Bug 719233 - Only use direct texturing on whitelisted devices r=blassey
2012-01-18 20:41:28 -05:00
Mike Hommey
e70b3f73c7
Fixup for Bug 683127 part 11. r=me
2012-01-20 09:58:14 +01:00
Mike Hommey
c36e15d671
Bug 683127 part 11 - Hook the new linker in Android initialization. r=blassey
2012-01-20 09:49:07 +01:00
Mike Hommey
8fd7ef9ab5
Bug 683127 part 10 - Allow debug symbols to be found under gdb without extracted libraries. r=tglek,r=mwu
2012-01-20 09:49:03 +01:00
Mike Hommey
30eed017b6
Bug 683127 part 9 - Allow to temporarily extract Elf files from a Zip archive for e.g. valgrind. r=tglek
2012-01-20 09:48:50 +01:00
Mike Hommey
4b71ba5dc0
Bug 683127 part 8 - Allow to load Elf files from a Zip archive. r=tglek,r=sewardj
2012-01-20 09:48:44 +01:00
Mike Hommey
61d63022fa
Bug 683127 part 7 - Use a custom Elf linker for libraries given with an absolute path name. r=sewardj
2012-01-20 09:48:44 +01:00
Mike Hommey
9907ad2018
Bug 683127 part 5 - Initial Elf Loader, wrapping around dlopen/dladdr/dlsym/dlclose. r=tglek,r=sewardj
2012-01-20 09:48:39 +01:00
Mounir Lamouri
e4d5e1b762
Bug 674725 - Part AT - Handle failures for getMessages(). r=smaug,cjones
2011-12-22 23:25:14 +01:00
Mounir Lamouri
732bf07b75
Bug 674725 - Part AQ - Read the next message in the list (Android backend). r=cjones
2011-12-22 23:16:59 +01:00
Mounir Lamouri
dcbad0bb56
Bug 674725 - Part AL - Store Android Cursors to keep track of created message lists. r=cjones
2011-12-22 23:16:22 +01:00
Mounir Lamouri
b9b285610f
Bug 674725 - Part AG - Notify when delete() fails. r=smaug,cjones sr=sicking
2011-12-22 23:15:44 +01:00
Mounir Lamouri
9271bc326b
Bug 674725 - Part AF - Implement delete() on Android. r=cjones
2011-12-22 23:15:28 +01:00
Mounir Lamouri
bbb4a45fc6
Bug 674725 - Part AD - Notify when getMessage() fails. r=smaug,cjones sr=sicking
2011-12-22 23:14:45 +01:00
Mounir Lamouri
608642548a
Bug 674725 - Part AC - Implement getMessage() on Android. r=cjones
2011-12-22 23:08:58 +01:00
Mounir Lamouri
54a820fdb5
Bug 674725 - Part Y - Notify when send() fails. r=smaug,cjones sr=sicking
2011-12-22 23:06:35 +01:00
Mounir Lamouri
fcf1028f48
Bug 674725 - Part X - Use SmsRequest for send() method. r=smaug,cjones
2012-01-13 14:26:50 +01:00
Mounir Lamouri
7ed9793b94
Bug 674725 - Part U - Implement WebSMS delivered event for the Android backend. r=cjones
2012-01-13 14:26:24 +01:00
Mounir Lamouri
830ad36747
Bug 674725 - Part R - Save sent messages in the Android database. r=cjones
2012-01-13 14:25:47 +01:00
Mike Hommey
00ba5188c0
Bug 725230 - Enable and fix assertions in linker code. r=tglek
2012-02-13 15:49:45 +01:00
Mike Hommey
229a4401e7
Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey
2012-02-13 15:48:23 +01:00
Mike Hommey
78f3656b4b
Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage
2012-02-13 16:35:13 +01:00
Mike Hommey
7fb8e3198a
Bug 725230 - Enable and fix assertions in linker code. r=tglek
2012-02-13 15:49:45 +01:00
Mike Hommey
b5d2448f11
Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey
2012-02-13 15:48:23 +01:00
Wes Johnston
24b43eb2a9
Bug 704682 - Add passwords content provider. r=blassey,gpascutto
2011-12-16 15:11:09 -08:00
Mike Hommey
ca0ce519e1
Fixup for bug 683127 part 4: Avoid RefPtr.h using JS_Assert. r=tglek
2012-01-11 19:36:35 +01:00
Mike Hommey
df3551e535
Bug 683127 - Don't try to log the offset, since it is no longer used. Fixes debug Android build failure; rs=edmorley
2012-01-11 17:53:15 +00:00
Mike Hommey
0b7ee328f5
Bug 683127 part 4 - Use the new ELF linker Zip reader in the old linker. r=tglek
2012-01-11 11:11:02 +01:00
Mike Hommey
86a77d5f01
Bug 683127 part 3 - Test for the Zip reader. r=tglek
2012-01-11 11:11:00 +01:00
Mike Hommey
267baef435
Bug 683127 part 2 - Build system glue for the new linker. r=khuey
2012-01-11 11:10:59 +01:00
Mike Hommey
9f367588bb
Bug 683127 part 1 - Simple Zip reader for the new ELF Linker. r=tglek,r=mwu
2012-01-11 11:10:55 +01:00
Brad Lassey
7b96734cea
bug 715507 - GlobalHistory is accessing Gecko on the wrong thread r=dougt,kats
2012-01-05 16:14:23 -08:00
Mike Hommey
5e5e05de2d
Bug 709776 - Move tri-licensed Android library parts under mozglue/. r=blassey
...
--HG--
rename : other-licenses/android/APKOpen.cpp => mozglue/android/APKOpen.cpp
rename : other-licenses/android/APKOpen.h => mozglue/android/APKOpen.h
rename : other-licenses/android/Makefile.in => mozglue/android/Makefile.in
rename : other-licenses/android/nsGeckoUtils.cpp => mozglue/android/nsGeckoUtils.cpp
2011-12-12 16:22:25 +01:00
Mike Hommey
e53de290fb
Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
...
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozglue.def.in
2011-12-28 08:24:02 +01:00