Commit Graph

166 Commits

Author SHA1 Message Date
Lucas Rocha
77a72c036b Bug 750950 - Kill any zombie processes if database is locked (r=blassey) 2012-05-11 17:09:04 +01:00
Kartikaya Gupta
2f23696854 Bug 751262 - Guard against leaking memory if NewDirectByteBuffer fails. r=blassey 2012-05-10 13:15:56 -04:00
Mike Hommey
4f93bd0355 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
9fda438cd4 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é
1154e7484d Bug 749695 - building with --disable-jemalloc fails [r=mwu] 2012-04-30 09:32:57 -07:00
James Willcox
22ddeff430 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
1e89bab7e7 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
0eac9baa3c Bug 746444 - Add native function to force unlock on database file (r=blassey) 2012-04-24 16:34:03 -04:00
Ali Juma
c40c713688 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
1caa4e6161 Bug 745863 - Debug logging is not compiled out in NSSBridge. r=wesj 2012-04-17 11:25:54 +02:00
Wes Johnston
c87af9265a Bug 744816 - Fix leak encrypting passwords for android sync. r=rnewman 2012-04-16 09:14:18 -07:00
Wes Johnston
a7fdde1ec1 Bug 740961 - Remove debug logging from nssbridge. r=mfinkle 2012-04-12 20:32:41 -07:00
Gian-Carlo Pascutto
30618dd6a5 Bug 743715 - Cannot build Fennec without jemalloc. r=glandium 2012-04-11 14:12:34 +02:00
Michael Wu
2c7e03bdf1 Bug 738561 - Cleanup mozglue for gonk, r=glandium 2012-03-29 18:32:44 -07:00
Cervantes Yu
a59d33371b 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
a004234b01 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
Wes Johnston
d605226018 Backed out changeset f5d6cc2e4726 2012-04-09 10:44:32 -07:00
Wes Johnston
19dd5922a5 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
Mike Hommey
8707a0e9c7 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
2f434bf365 bug 741284 - add async file request method r=kats 2012-04-05 01:50:06 -04:00
Mike Hommey
32fccdfe72 Bug 736963 - Move jemalloc'ed strdup/strndup definitions. r=jlebar,r=ted 2012-03-31 09:23:19 +02:00
Andreas Gal
1a6c88293d fix mozglue/gonk/Makefile.in comment style (bug 739003, r=cjones) 2012-03-25 01:55:34 +01:00
Andreas Gal
bc72a8ec29 add mozglue support for gonk (bug 738559, r=glandium) 2012-03-23 00:40:14 -07:00
Mike Hommey
6e80036c6d 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
11c327453c 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
9475dfbd3e Merge mozilla-central into mozilla-inbound 2012-03-14 13:40:34 -04:00
Kartikaya Gupta
4e638d7d12 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Benoit Girard
32745d1cc3 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Mike Hommey
e0db526ef8 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
211a2a503b 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
62a6f3c31e Bug 734046 - Don't export __aeabi_* symbols from libmozglue.so on ARM. r=ted 2012-03-13 09:47:03 +01:00
Mike Hommey
4a35c2f77d 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
fb79343e79 Merge mc->Maple 2012-03-09 11:13:30 -05:00
Benoit Girard
0f0612ce47 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Kartikaya Gupta
d5c3b7e98b Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Kartikaya Gupta
134e9fec76 Merge m-c 2012-02-27 15:06:35 -05:00
Mike Hommey
ef4d6baf1b Bug 729883 - Avoid linker warnings when starting up on Android. r=tglek 2012-02-27 08:19:20 +01:00
Wes Johnston
cf7e041e14 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Wes Johnston
efeccda967 Bug 718760 - Fix bustage by removing extra apk_mtime variable. r=glandium 2012-03-08 11:14:13 -08:00
Wes Johnston
5cf9cd63ef Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston
b5e7f2956c Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey 2012-03-08 10:25:44 -08:00
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