Commit Graph

275 Commits

Author SHA1 Message Date
Mike Hommey
361a60f8b4 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
3bf06f8b2d Bug 729596 - Use ftruncate in szip instead of posix_fallocate. r=taras 2012-02-22 19:42:56 +01:00
Doug Turner
0aea58f84d merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Mike Hommey
3d8bc03c87 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
8d28677bfb 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
1e0e261382 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
e7516c8cad 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
fcd37595c8 Bug 686805 part 3 - Tool to generate seekable compressed streams. r=tglek 2012-02-22 08:12:15 +01:00
Mike Hommey
92cc953984 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
239a544403 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
c0d232df2d Fixup for bug 733087. rs=dougt 2012-03-06 09:54:17 +01:00
Jeff Muizelaar
6762bb3af8 Bug 733087 - Support DT_FLAGS a little bit. r=glandium 2012-03-06 09:28:09 +01:00
Brad Lassey
9e55996669 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Doug Turner
b66a0f8126 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Mike Hommey
ac45ce455a 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
17f65c17d1 Bug 721807 - APKOpen.cpp fails to compile on X86 android. r=glandium 2012-02-15 19:30:35 +09:00
Chris Peterson
25de198b98 Bug 730527 - Fix compiler warnings in APKOpen.cpp. r=glandium 2012-02-24 18:49:56 -08:00
Wes Johnston
896668eaea 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
9320025538 Bug 726821 - Caching JNI class references should use a global reference. r=blassey 2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
a132129a4d Bug 726821 - Push Cursor usage down into native bridge code. r=blassey 2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
8fc091bd34 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
1d6f66c98d Bug 731961 - Include cstdio from Mappable.cpp for sprintf. r=glandium 2012-02-07 11:35:00 +02:00
Ali Juma
c7be76443f Pause/resume composition on surface destruction/creation. 2012-02-06 13:57:06 -05:00
Patrick Walton
acf57d7d37 Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
13458c16d5 Eliminate coupling between the software layer client and the rest of Fennec 2012-02-02 23:30:41 -08:00
Mike Hommey
a3b11d2747 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
fe5be9ae3c 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
209c46958e Bug 729596 - Use ftruncate in szip instead of posix_fallocate. r=taras 2012-02-22 19:42:56 +01:00
Mike Hommey
32dfe6f4a3 Bug 727959 - Add symbol name to relocation errors in the linker. r=tglek 2012-02-21 08:10:43 +01:00
Mike Hommey
2dbd7b5621 Bug 720737 - Set MOZ_LINKER_CACHE instead of CACHE_PATH. r=blassey 2012-01-25 10:36:58 +01:00
Gian-Carlo Pascutto
e21cbaf86b Bug 720461 - Fix loop logic in Android SQLiteBridge. r=dougt 2012-01-25 07:53:04 +01:00
Wes Johnston
84c48ba2cf Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Matt Brubeck
cc3760f150 Back out bug 718760, bug 725052, bug 732069 because of broken Android build 2012-03-12 10:37:22 -07:00
Wes Johnston
e87040c949 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
91d4fd947c Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Mike Hommey
685377aa5e Fixup for bug 683127 part 11 to properly load sqlite3. rs=tbsaunde 2012-01-23 08:37:56 +01:00
Mike Hommey
9b20785e96 Fixup for Bug 683127 part 11 to avoid crashing on places migration. rs=Ms2ger 2012-01-21 20:25:09 +01:00
Ed Morley
43229a8c0c Merge last green changeset of mozilla-inbound to mozilla-central 2012-01-21 02:31:32 +00:00
Jon Buckley
f924de20af Bug 716397. Fix mozglue package warning on Linux. f=sgautherie r=khuey. 2012-01-20 12:49:23 +01:00
Gian-Carlo Pascutto
d57453072b Bug 713228 - Fix spurious semicolons in APKOpen.cpp. r=blassey 2012-01-19 21:21:36 +01:00
Gian-Carlo Pascutto
86a031a384 Bug 713228 - Add bridge to access our own SQLite libraries from Java. r=blassey 2012-01-19 21:19:56 +01:00
James Willcox
43d0cd88c2 Bug 719233 - Only use direct texturing on whitelisted devices r=blassey 2012-01-18 20:41:28 -05:00
Mike Hommey
4ec263e37b Fixup for Bug 683127 part 11. r=me 2012-01-20 09:58:14 +01:00
Mike Hommey
5d84f48491 Bug 683127 part 11 - Hook the new linker in Android initialization. r=blassey 2012-01-20 09:49:07 +01:00
Mike Hommey
49c2097241 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
8ea2a12034 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
71c38e1b7f 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
2cbbea95da 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
c697155254 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
51107564e9 Bug 674725 - Part AT - Handle failures for getMessages(). r=smaug,cjones 2011-12-22 23:25:14 +01:00
Mounir Lamouri
09da127c98 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
4dac706233 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
97a37fb5c9 Bug 674725 - Part AG - Notify when delete() fails. r=smaug,cjones sr=sicking 2011-12-22 23:15:44 +01:00
Mounir Lamouri
92cf45e8cd Bug 674725 - Part AF - Implement delete() on Android. r=cjones 2011-12-22 23:15:28 +01:00
Mounir Lamouri
ef742879a6 Bug 674725 - Part AD - Notify when getMessage() fails. r=smaug,cjones sr=sicking 2011-12-22 23:14:45 +01:00
Mounir Lamouri
a300600e0c Bug 674725 - Part AC - Implement getMessage() on Android. r=cjones 2011-12-22 23:08:58 +01:00
Mounir Lamouri
0c18bf7a81 Bug 674725 - Part Y - Notify when send() fails. r=smaug,cjones sr=sicking 2011-12-22 23:06:35 +01:00
Mounir Lamouri
32b8a98ec5 Bug 674725 - Part X - Use SmsRequest for send() method. r=smaug,cjones 2012-01-13 14:26:50 +01:00
Mounir Lamouri
932753cdba Bug 674725 - Part U - Implement WebSMS delivered event for the Android backend. r=cjones 2012-01-13 14:26:24 +01:00
Mounir Lamouri
205528614d Bug 674725 - Part R - Save sent messages in the Android database. r=cjones 2012-01-13 14:25:47 +01:00
Mike Hommey
b05271bf64 Bug 725230 - Enable and fix assertions in linker code. r=tglek 2012-02-13 15:49:45 +01:00
Mike Hommey
3f5c329700 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
de636eb93e Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage 2012-02-13 16:35:13 +01:00
Mike Hommey
ecd0fb5a52 Bug 725230 - Enable and fix assertions in linker code. r=tglek 2012-02-13 15:49:45 +01:00
Mike Hommey
4262e5f87c 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
814df39458 Bug 704682 - Add passwords content provider. r=blassey,gpascutto 2011-12-16 15:11:09 -08:00
Mike Hommey
a64772878f Fixup for bug 683127 part 4: Avoid RefPtr.h using JS_Assert. r=tglek 2012-01-11 19:36:35 +01:00
Mike Hommey
64218ab968 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
bd0bb64a97 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
62e71d96a6 Bug 683127 part 3 - Test for the Zip reader. r=tglek 2012-01-11 11:11:00 +01:00
Mike Hommey
9566b1ff05 Bug 683127 part 2 - Build system glue for the new linker. r=khuey 2012-01-11 11:10:59 +01:00
Mike Hommey
5da1ffc948 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
88e3637cca bug 715507 - GlobalHistory is accessing Gecko on the wrong thread r=dougt,kats 2012-01-05 16:14:23 -08:00
Mike Hommey
aca5fadae8 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
1f4341fcce 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