Commit Graph

232 Commits

Author SHA1 Message Date
Mike Hommey
34c3b599f5 Bug 764021 - Cleanup Android use of StartupTimeline. r=blassey 2012-06-19 09:16:33 +02:00
Jeff Walden
09e6c025d8 Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted 2012-06-07 14:41:11 -07:00
Chris Peterson
e288a6606b Bug 765116 - Part 2: mozglue/android: fix gcc -pedantic warnings. r=glandium 2012-06-18 09:06:59 -07:00
Chris Peterson
cbc15fa28f Bug 765116 - Part 1: mozglue/android: fix gcc -Wall warnings. r=glandium 2012-06-18 09:07:07 -07:00
Mike Hommey
d05c760a77 Bug 735278 - Call destructors in reverse order of initializers in the linker. r=froydnj 2012-06-07 10:41:59 +02:00
Mike Hommey
62944180d5 Bug 580408 - Glue for jemalloc 3.0.0. r=khuey 2012-06-07 10:41:59 +02:00
Ms2ger
aea359ec17 Bug 558313 - Remove ipc/chromium/src/base/third_party/nspr for great justice; r=ted 2012-06-06 09:24:55 +02:00
Brad Lassey
c766b61ee2 bug 759146 - Looper throws uncaught exception on (some?) HTC Sense 4.0 phones (HTC Evo 4G LTE, HTC J, etc) r=snorp 2012-05-31 20:07:07 -04:00
Ed Morley
da18754c01 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
James Willcox
b194413562 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 12:10:49 -04:00
James Willcox
85579b42e5 Backout 814d564578d1 due to xul bustage 2012-05-30 11:58:50 -04:00
James Willcox
01990ace69 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 10:29:16 -04:00
Gervase Markham
d4eb7d5782 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
7407614648 Backout changeset 81c2e2ea2dbf (bug 746794) because of bug 758648 2012-05-25 18:21:03 +02:00
Mike Hommey
81d7a61a74 Bug 746794 - Always use the STL wrappers when #pragma visibility is supported. r=ted 2012-05-25 08:31:33 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Lucas Rocha
fb4ae8c5cf Bug 750950 - Kill any zombie processes if database is locked (r=blassey) 2012-05-11 17:09:04 +01:00
Kartikaya Gupta
3f5caf2fcb Bug 751262 - Guard against leaking memory if NewDirectByteBuffer fails. r=blassey 2012-05-10 13:15:56 -04:00
Mike Hommey
2eaae0a162 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
988a485ffb 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é
af97db1f76 Bug 749695 - building with --disable-jemalloc fails [r=mwu] 2012-04-30 09:32:57 -07:00
James Willcox
4b0d6b0c67 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
91480beb18 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
21de46a4de Bug 746444 - Add native function to force unlock on database file (r=blassey) 2012-04-24 16:34:03 -04:00
Ali Juma
45b0527065 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
5a7a52d29a Bug 745863 - Debug logging is not compiled out in NSSBridge. r=wesj 2012-04-17 11:25:54 +02:00
Wes Johnston
31d31d347e Bug 744816 - Fix leak encrypting passwords for android sync. r=rnewman 2012-04-16 09:14:18 -07:00
Wes Johnston
7df1e3cd22 Bug 740961 - Remove debug logging from nssbridge. r=mfinkle 2012-04-12 20:32:41 -07:00
Gian-Carlo Pascutto
4ef43a4fea Bug 743715 - Cannot build Fennec without jemalloc. r=glandium 2012-04-11 14:12:34 +02:00
Michael Wu
a740795b8b Bug 738561 - Cleanup mozglue for gonk, r=glandium 2012-03-29 18:32:44 -07:00
Cervantes Yu
01de3d9145 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
65c6b15f26 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
Wes Johnston
2ba46f571f Backed out changeset f5d6cc2e4726 2012-04-09 10:44:32 -07:00
Wes Johnston
e196e635a6 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
Mike Hommey
46646a522a 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
3b454dc61d bug 741284 - add async file request method r=kats 2012-04-05 01:50:06 -04:00
Mike Hommey
31cd5a39fe Bug 736963 - Move jemalloc'ed strdup/strndup definitions. r=jlebar,r=ted 2012-03-31 09:23:19 +02:00
Andreas Gal
2efaa0b831 fix mozglue/gonk/Makefile.in comment style (bug 739003, r=cjones) 2012-03-25 01:55:34 +01:00
Andreas Gal
31c8e953cd add mozglue support for gonk (bug 738559, r=glandium) 2012-03-23 00:40:14 -07:00
Mike Hommey
c862bf7314 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
61c99701de 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
50c889808a Merge mozilla-central into mozilla-inbound 2012-03-14 13:40:34 -04:00
Kartikaya Gupta
314843ddd5 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Benoit Girard
188ca471f6 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Mike Hommey
97fa126cb3 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
03875c9d65 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
0bb4ae5805 Bug 734046 - Don't export __aeabi_* symbols from libmozglue.so on ARM. r=ted 2012-03-13 09:47:03 +01:00
Mike Hommey
9acf72ba12 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
83961041e7 Merge mc->Maple 2012-03-09 11:13:30 -05:00
Benoit Girard
479f0b2fb1 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Kartikaya Gupta
8fd5e0c78c Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Kartikaya Gupta
bb76282045 Merge m-c 2012-02-27 15:06:35 -05:00
Mike Hommey
bb2d9a7a21 Bug 729883 - Avoid linker warnings when starting up on Android. r=tglek 2012-02-27 08:19:20 +01:00
Wes Johnston
eddf07cdb6 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Wes Johnston
fd5892fe08 Bug 718760 - Fix bustage by removing extra apk_mtime variable. r=glandium 2012-03-08 11:14:13 -08:00
Wes Johnston
ac77a0167d Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston
9a38d7ae94 Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey 2012-03-08 10:25:44 -08:00
Mike Hommey
ba812f1af5 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
eae609bdf1 Bug 729596 - Use ftruncate in szip instead of posix_fallocate. r=taras 2012-02-22 19:42:56 +01:00
Doug Turner
476b362925 merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Mike Hommey
821a1ccc7c 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
69c0ff5b33 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
af3eac834f 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
d8fa15fe94 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
5af592a8a5 Bug 686805 part 3 - Tool to generate seekable compressed streams. r=tglek 2012-02-22 08:12:15 +01:00
Mike Hommey
8ec8693b3e 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
826e3fb405 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
11dbe5c7e5 Fixup for bug 733087. rs=dougt 2012-03-06 09:54:17 +01:00
Jeff Muizelaar
a9e3f5f336 Bug 733087 - Support DT_FLAGS a little bit. r=glandium 2012-03-06 09:28:09 +01:00
Brad Lassey
34aa551009 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Doug Turner
222fba130c Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Mike Hommey
de41c8e811 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
0e533a8db4 Bug 721807 - APKOpen.cpp fails to compile on X86 android. r=glandium 2012-02-15 19:30:35 +09:00
Chris Peterson
25de32ef18 Bug 730527 - Fix compiler warnings in APKOpen.cpp. r=glandium 2012-02-24 18:49:56 -08:00
Wes Johnston
3620e4bf29 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
685f8484b2 Bug 726821 - Caching JNI class references should use a global reference. r=blassey 2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
17e01b33af Bug 726821 - Push Cursor usage down into native bridge code. r=blassey 2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
50142bc5c6 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
56145bf0f7 Bug 731961 - Include cstdio from Mappable.cpp for sprintf. r=glandium 2012-02-07 11:35:00 +02:00
Ali Juma
f9ebf5ebe2 Pause/resume composition on surface destruction/creation. 2012-02-06 13:57:06 -05:00
Patrick Walton
50c7df015c Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
cc6fa599ae Eliminate coupling between the software layer client and the rest of Fennec 2012-02-02 23:30:41 -08:00
Mike Hommey
5d8d471d8b 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
9ebec5c37a 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
5010227b30 Bug 729596 - Use ftruncate in szip instead of posix_fallocate. r=taras 2012-02-22 19:42:56 +01:00
Mike Hommey
8baf1eed25 Bug 727959 - Add symbol name to relocation errors in the linker. r=tglek 2012-02-21 08:10:43 +01:00
Mike Hommey
eb3d1bf070 Bug 720737 - Set MOZ_LINKER_CACHE instead of CACHE_PATH. r=blassey 2012-01-25 10:36:58 +01:00
Gian-Carlo Pascutto
5ecd89dce4 Bug 720461 - Fix loop logic in Android SQLiteBridge. r=dougt 2012-01-25 07:53:04 +01:00
Wes Johnston
ebb4e1e872 Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Matt Brubeck
c474d288db Back out bug 718760, bug 725052, bug 732069 because of broken Android build 2012-03-12 10:37:22 -07:00
Wes Johnston
625743d096 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
05bf1cffda Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Mike Hommey
ceab35d262 Fixup for bug 683127 part 11 to properly load sqlite3. rs=tbsaunde 2012-01-23 08:37:56 +01:00
Mike Hommey
55df65dcb7 Fixup for Bug 683127 part 11 to avoid crashing on places migration. rs=Ms2ger 2012-01-21 20:25:09 +01:00
Ed Morley
9ce42e0d3e Merge last green changeset of mozilla-inbound to mozilla-central 2012-01-21 02:31:32 +00:00
Jon Buckley
777e956cfd Bug 716397. Fix mozglue package warning on Linux. f=sgautherie r=khuey. 2012-01-20 12:49:23 +01:00
Gian-Carlo Pascutto
bda79511c0 Bug 713228 - Fix spurious semicolons in APKOpen.cpp. r=blassey 2012-01-19 21:21:36 +01:00
Gian-Carlo Pascutto
bf205a0e23 Bug 713228 - Add bridge to access our own SQLite libraries from Java. r=blassey 2012-01-19 21:19:56 +01:00
James Willcox
415c8cbfb3 Bug 719233 - Only use direct texturing on whitelisted devices r=blassey 2012-01-18 20:41:28 -05:00
Mike Hommey
4b40a0ba3c Fixup for Bug 683127 part 11. r=me 2012-01-20 09:58:14 +01:00
Mike Hommey
1bc3da9a7e Bug 683127 part 11 - Hook the new linker in Android initialization. r=blassey 2012-01-20 09:49:07 +01:00
Mike Hommey
aef323bb1b 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
da0affaf1e 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
c1f8abcc72 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
372473a08a 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
e108f8075e 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
edac6a0193 Bug 674725 - Part AT - Handle failures for getMessages(). r=smaug,cjones 2011-12-22 23:25:14 +01:00
Mounir Lamouri
6373b75baf 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
ddf8debb7b 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
f042517347 Bug 674725 - Part AG - Notify when delete() fails. r=smaug,cjones sr=sicking 2011-12-22 23:15:44 +01:00
Mounir Lamouri
824c6f01fb Bug 674725 - Part AF - Implement delete() on Android. r=cjones 2011-12-22 23:15:28 +01:00
Mounir Lamouri
93452310a6 Bug 674725 - Part AD - Notify when getMessage() fails. r=smaug,cjones sr=sicking 2011-12-22 23:14:45 +01:00
Mounir Lamouri
367ad7c015 Bug 674725 - Part AC - Implement getMessage() on Android. r=cjones 2011-12-22 23:08:58 +01:00
Mounir Lamouri
d095dd375a Bug 674725 - Part Y - Notify when send() fails. r=smaug,cjones sr=sicking 2011-12-22 23:06:35 +01:00
Mounir Lamouri
45bedebe10 Bug 674725 - Part X - Use SmsRequest for send() method. r=smaug,cjones 2012-01-13 14:26:50 +01:00
Mounir Lamouri
7a1bfa48dc Bug 674725 - Part U - Implement WebSMS delivered event for the Android backend. r=cjones 2012-01-13 14:26:24 +01:00
Mounir Lamouri
64e41e010c Bug 674725 - Part R - Save sent messages in the Android database. r=cjones 2012-01-13 14:25:47 +01:00
Mike Hommey
7d1eec64ac Bug 725230 - Enable and fix assertions in linker code. r=tglek 2012-02-13 15:49:45 +01:00
Mike Hommey
526bd939af 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
c893472974 Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage 2012-02-13 16:35:13 +01:00
Mike Hommey
c1b6200e80 Bug 725230 - Enable and fix assertions in linker code. r=tglek 2012-02-13 15:49:45 +01:00
Mike Hommey
ac9a4a0719 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
e04146f51d Bug 704682 - Add passwords content provider. r=blassey,gpascutto 2011-12-16 15:11:09 -08:00
Mike Hommey
5e56b8b5ff Fixup for bug 683127 part 4: Avoid RefPtr.h using JS_Assert. r=tglek 2012-01-11 19:36:35 +01:00
Mike Hommey
e1f53c699e 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
86663af6ae 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
402ad20521 Bug 683127 part 3 - Test for the Zip reader. r=tglek 2012-01-11 11:11:00 +01:00
Mike Hommey
e27024fab6 Bug 683127 part 2 - Build system glue for the new linker. r=khuey 2012-01-11 11:10:59 +01:00
Mike Hommey
edc43104b7 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
800d9dfc2b bug 715507 - GlobalHistory is accessing Gecko on the wrong thread r=dougt,kats 2012-01-05 16:14:23 -08:00
Mike Hommey
7a973ad797 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
567913809a 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