Commit Graph

141 Commits

Author SHA1 Message Date
Fernando Jimenez
baefb10242 Bug 712809 - Tests for the B2G SMS database. r=philikon 2012-03-06 00:15:44 +01:00
Philipp von Weitershausen
fc80a2745d Bug 743635 - B2G SMS database initialization accesses Directory Provider off the main thread. r=mwu 2012-04-11 13:55:54 +08:00
Philipp von Weitershausen
8c5077d8b8 Back out changeset c1ede9f0319e (bug 743635). a=bustage 2012-04-10 19:02:39 +08:00
Philipp von Weitershausen
e21c4a86a4 Bug 743635 - B2G SMS database initialization freezes I/O thread. r=mwu 2012-04-10 09:42:50 +08:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Phil Ringnalda
fc1b2ed759 Back out 5c63b21280c2 (bug 733265) for build failures 2012-03-28 21:17:13 -07:00
Fernando Jiménez
66de251c1b Bug 733265 - B2G SMS DB tests. r=philikon 2012-03-28 20:47:05 -07:00
Mounir Lamouri
b8537a9154 Bug 739840 - Make nsDOMEventTarget subclasses inherit from nsDOMEventTargetHelper first. r=khuey 2012-03-28 10:29:14 -07:00
Yoshi Huang
82a50a5a43 Bug 733266 - B2G SMS DB: Use MSISDN from RIL as own phone number. [r=philikon] DONTBUILD because NPOTB 2012-03-17 22:23:17 +08:00
Fernando Jiménez
8eaa9d1584 Bug 733268 - B2G SMS DB: fix deleteMessage behaviour. r=philikon 2012-03-16 16:38:50 -07:00
Fernando Jiménez
d92cb6203d Bug 735536 - B2G SMS DB: Use new fangled IndexedDB string constants. r=philikon 2012-03-16 16:34:05 -07:00
Kyle Machulis
6df19ba2cf Bug 735017: Clean up namespaces and naming for gonk dom objects in gonk specific code - Patch 2: Change mozilla::dom::telephony to mozilla::dom::gonk for dom/system/gonk objects; r=bent 2012-03-14 15:43:26 -07:00
Kyle Machulis
9631320c07 Bug 735017: Clean up namespaces and naming for gonk dom objects in gonk specific code - Patch 1: Change dom/system/b2g to dom/system/gonk; r=philikon
--HG--
rename : dom/system/b2g/AudioManager.cpp => dom/system/gonk/AudioManager.cpp
rename : dom/system/b2g/AudioManager.h => dom/system/gonk/AudioManager.h
rename : dom/system/b2g/GonkGPSGeolocationProvider.cpp => dom/system/gonk/GonkGPSGeolocationProvider.cpp
rename : dom/system/b2g/GonkGPSGeolocationProvider.h => dom/system/gonk/GonkGPSGeolocationProvider.h
rename : dom/system/b2g/Makefile.in => dom/system/gonk/Makefile.in
rename : dom/system/b2g/RadioInterfaceLayer.js => dom/system/gonk/RadioInterfaceLayer.js
rename : dom/system/b2g/RadioInterfaceLayer.manifest => dom/system/gonk/RadioInterfaceLayer.manifest
rename : dom/system/b2g/SystemWorkerManager.cpp => dom/system/gonk/SystemWorkerManager.cpp
rename : dom/system/b2g/SystemWorkerManager.h => dom/system/gonk/SystemWorkerManager.h
rename : dom/system/b2g/net_worker.js => dom/system/gonk/net_worker.js
rename : dom/system/b2g/nsIAudioManager.idl => dom/system/gonk/nsIAudioManager.idl
rename : dom/system/b2g/nsIRadioInterfaceLayer.idl => dom/system/gonk/nsIRadioInterfaceLayer.idl
rename : dom/system/b2g/nsIWorkerHolder.idl => dom/system/gonk/nsIWorkerHolder.idl
rename : dom/system/b2g/nsRadioInterfaceLayer.h => dom/system/gonk/nsRadioInterfaceLayer.h
rename : dom/system/b2g/ril_consts.js => dom/system/gonk/ril_consts.js
rename : dom/system/b2g/ril_worker.js => dom/system/gonk/ril_worker.js
rename : dom/system/b2g/systemlibs.js => dom/system/gonk/systemlibs.js
rename : dom/system/b2g/tests/header_helpers.js => dom/system/gonk/tests/header_helpers.js
rename : dom/system/b2g/tests/test_ril_worker_buf.js => dom/system/gonk/tests/test_ril_worker_buf.js
rename : dom/system/b2g/tests/test_ril_worker_sms.js => dom/system/gonk/tests/test_ril_worker_sms.js
rename : dom/system/b2g/tests/xpcshell.ini => dom/system/gonk/tests/xpcshell.ini
2012-03-14 15:42:31 -07:00
Marco Bonardo
3e58667468 Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Olli Pettay
339e88ba7e Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent 2012-03-13 02:56:07 +02:00
Fernando Jiménez
7196c95c1d Bug 734366 - WebSMS: nsISmsDatabaseService.getNextMessageInList proccessId parameter should be optional. r=mounir 2012-03-12 16:44:28 -07:00
Fernando Jiménez
ec72d13403 Bug 734181 - [B2G] SMS database: filter with endDate but no startDate parameter throws an exception. r=philikon 2012-03-08 18:31:00 -08:00
Marco Bonardo
7d169993ad Merge inbound and central 2012-03-07 10:33:11 +01:00
David Mandelin
68c407c176 Bug 733260 followup: use uint32_t for array and string lengths, r=luke
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
Fernando Jimenez
740e52bc3f Bug 712809 - B2G SMS database. r=philikon 2012-03-06 00:19:00 +01:00
David Mandelin
5e02d0630c Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Nathan Froyd
600d5ef2d9 Bug 729269 - several sms interfaces shouldn't be marked [function]; r=mounir 2012-02-21 13:08:06 -08:00
David Mandelin
59dcf8cdf7 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
74afb56c79 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
ad7cda83f5 Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Philipp von Weitershausen
2c7484e17a Bug 729042 - SMS: Add nsISmsDatabaseService::saveIncomingMessage(). r=mounir 2012-02-22 09:55:01 +01:00
Philipp von Weitershausen
6fd0157dbb Bug 729104 - B2G SMS: Make SmsDatabaseService stub a JS component. r=mounir 2012-02-21 01:34:18 +01:00
Philipp von Weitershausen
ca4b6e55f5 Bug 720643 - B2G SMS: Notify SMS send success. r=qDot 2012-02-20 00:44:29 +01:00
Philipp von Weitershausen
15384020f4 Bug 720632 - Part 2: XPCOMtaminate SmsRequestManager. r=cjones,mounir 2012-02-20 00:44:29 +01:00
Philipp von Weitershausen
3e3cc86931 Bug 720632 - Part 1: nsISmsRequestManager. r=cjones,gal 2012-02-20 00:44:29 +01:00
Ed Morley
66df778f8d Backout 6c1ded13556d (bug 720643), 5cf0a12c1cf0, ac771e54d7ca & 3bb24b12b0d6 (bug 720632) for Android build failures 2012-02-16 23:18:45 +00:00
Philipp von Weitershausen
11447c3b9e Bug 720643 - B2G SMS: Notify SMS send success. r=qDot 2012-02-16 14:51:54 -08:00
Philipp von Weitershausen
11f25cd134 Bug 720632 - Part 2: XPCOMtaminate SmsRequestManager. r=cjones,mounir 2012-02-16 14:50:52 -08:00
Philipp von Weitershausen
bfa5239fb6 Bug 720632 - Part 1: nsISmsRequestManager. r=cjones,gal 2012-02-16 14:50:52 -08:00
Panagiotis Koutsourakis
e1c3ff7ece Bug 702388 - Convert some more Makefiles to use |TEST_DIRS += foo|; r=khuey 2012-02-10 21:06:56 +00:00
Mounir Lamouri
6244ec71a8 Bug 724855 - Add the missing nsIObserver interface to nsSmsManager r=smaug 2012-02-08 11:36:25 +01:00
Edmund Wong
5d7814eb00 Bug 693172 - Moved all subclasses of nsDOMEventTargetWrapperCache to nsDOMEventTargetHelper and then merged the classes. r=smaug 2012-02-08 10:53:33 +08:00
Philipp von Weitershausen
d2c5df02b2 Bug 719283 - Part 2: Add stub SmsDatabaseService for Gonk. a=bustage
--HG--
rename : dom/sms/src/fallback/SmsDatabaseService.cpp => dom/sms/src/ril/SmsDatabaseService.cpp
rename : dom/sms/src/fallback/SmsDatabaseService.h => dom/sms/src/ril/SmsDatabaseService.h
2012-01-19 12:55:31 -08:00
Philipp von Weitershausen
688cba43b2 Bug 719283 - Part 1: Fix SmsService for Gonk. a=bustage 2012-01-19 12:55:25 -08:00
Philipp von Weitershausen
4fd46c1261 Bug 711671 - Rename nsTelephonyWorker / nsITelephone to nsIRadioInterfaceLayer
--HG--
rename : dom/telephony/nsTelephonyWorker.js => dom/system/b2g/RadioInterfaceLayer.js
rename : dom/telephony/nsTelephonyWorker.manifest => dom/system/b2g/RadioInterfaceLayer.manifest
rename : dom/telephony/nsITelephone.idl => dom/system/b2g/nsIRadioInterfaceLayer.idl
rename : dom/telephony/nsTelephonyWorker.h => dom/system/b2g/nsRadioInterfaceLayer.h
rename : dom/telephony/ril_consts.js => dom/system/b2g/ril_consts.js
rename : dom/telephony/ril_worker.js => dom/system/b2g/ril_worker.js
2012-01-19 12:53:32 -08:00
Mounir Lamouri
3e20255230 No bug - Fix build bustage because of jsdate.h not being accessible anymore. Push on CLOSED TREE. rs=Ms2ger 2012-01-17 20:56:13 +01:00
Mounir Lamouri
f6db5c7f71 Bug 674725 - Part AU - Release message lists in case of GC. r=smaug,cjones 2012-01-17 19:43:08 +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
22f67f0dc2 Bug 674725 - Part AS - Remove SmsCursor.filter. r=sicking 2011-12-19 12:10:30 +01:00
Mounir Lamouri
b1b467501a Bug 674725 - Part AR - Handle reception of the next message in SmsRequestManager. r=smaug 2011-12-14 17:17:53 +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
8da89cea60 Bug 674725 - Part AP - Implementation of cursor.continue() in the DOM code. r=smaug 2012-01-17 19:42:39 +01:00
Mounir Lamouri
0d8edb3a86 Bug 674725 - Part AO - Show the first message of message list in SmsCursor. r=smaug,cjones 2011-12-19 12:07:03 +01:00
Mounir Lamouri
b0618017ec Bug 674725 - Part AN - Handling no messages in created message list. r=smaug,cjones 2011-12-19 12:04:53 +01:00
Mounir Lamouri
e69da24db7 Bug 674725 - Part AM - Implement SmsCursor. r=smaug 2012-01-10 20:45:03 +01:00
Mounir Lamouri
443fdc4369 Bug 674725 - Part AK - Create an Android Cursor when a message list is requested. r=cjones 2011-12-20 09:07:25 +01:00
Mounir Lamouri
e3df9e3b26 Bug 674725 - Part AJ - Create a message list when getMessages() is called. r=smaug 2012-01-17 19:42:05 +01:00
Mounir Lamouri
3dd005ea83 Bug 674725 - Part AI - Implement SmsFilter. r=smaug,mrbkap 2012-01-17 19:48:58 +01:00
Mounir Lamouri
0a06c9c6de Bug 674725 - Part AH - Allow to pass a SmsMessage or an id to delete(). r=mrbkap 2011-12-20 17:16:20 +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
62d46f00e4 Bug 674725 - Part AE - Implement DOM and IPC boilerplate for delete(). r=smaug 2012-01-17 19:41:22 +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
cf25b8fe64 Bug 674725 - Part AA - Implement DOM and IPC boilerplate for getMessage(). r=smaug 2011-12-20 16:58:58 +01:00
Mounir Lamouri
2a3063ef79 Bug 674725 - Part Z - Allow sending to multiple recipients with send(). r=mrbkap 2011-12-20 15:30:16 +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
09aa306692 Bug 674725 - Part W - Implement SmsRequestManager. r=smaug 2011-12-20 13:07:16 +01:00
Mounir Lamouri
23b313d5ec Bug 674725 - Part V - Implement SmsRequest. r=smaug,mrbkap 2012-01-10 20:37:11 +01:00
Mounir Lamouri
ad59da3942 Bug 674725 - Part T - WebSMS delivered event: DOM and IPC boilerplate. r=smaug 2012-01-10 20:36:25 +01:00
Mounir Lamouri
155b30c24f Bug 674725 - Part S - Implement WebSMS sent event. r=cjones,smaug 2012-01-10 20:34:50 +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
Mounir Lamouri
2400c65b0c Bug 674725 - Part Q - Implement SmsDatabaseService. r=smaug sr=cjones
--HG--
rename : dom/sms/src/SmsServiceFactory.cpp => dom/sms/src/SmsServicesFactory.cpp
rename : dom/sms/src/SmsServiceFactory.h => dom/sms/src/SmsServicesFactory.h
2012-01-10 20:19:56 +01:00
Mounir Lamouri
2e1d124967 Bug 712683 - Don't use GetMessage for SmsEvent implementation. r=mrbkap
This is fixing potential build errors on Windows because GetMessage is an
method defined in the global scope. Kind of sad and scary :(
2011-12-22 12:41:19 +01:00
Ms2ger
8f9952cbfe Bug 677079 - Part c: Stop installing jsdate.h; r=Waldo 2012-01-15 09:13:07 +01:00
Ben Turner
6d6badf6c0 Bug 714459 - 'Rename RadioManager / nsIRadioWorker'. r=mrbkap.
--HG--
rename : dom/system/b2g/RadioManager.cpp => dom/system/b2g/SystemWorkerManager.cpp
rename : dom/system/b2g/RadioManager.h => dom/system/b2g/SystemWorkerManager.h
rename : dom/system/b2g/nsIRadioWorker.idl => dom/system/b2g/nsIWorkerHolder.idl
extra : transplant_source : 2%ED%03%8F%C0%98%06%25%8EnIb%8BI%B0O%EB%BF%E0%A2
2012-01-09 15:18:23 -08:00
Philipp von Weitershausen
cf12c5b1e3 Bug 709568 - Part 1: nsISmsService for gonk and RIL <-> DOM glue for outgoing SMS. r=smaug 2011-12-24 06:02:52 +01:00
Philipp von Weitershausen
18b9645632 Bug 709568 - Part 0: Create SmsMessages from JS. r=smaug 2011-12-24 06:02:52 +01:00
Vivien Nicolas
410f52f412 Bug 711488 - Replace some forgotten PR_TRUE with true in dom/battery && dom/sms r=mounir 2011-12-19 10:11:16 +01:00
Michael Wu
1a41cf6a34 Bug 710029 - Assorted build system tweaks for B2G/Gonk. r=khuey 2011-12-16 13:26:32 -08:00
Mounir Lamouri
ff4a7f0cf3 Bug 674725 - Part O - Receiving SMS: Android backend. r=cjones 2011-11-24 14:10:20 +01:00
Mounir Lamouri
cdeea80ab9 Bug 674725 - Part N - Receiving SMS: IPC handling. r=cjones 2011-11-24 12:45:55 +01:00
Mounir Lamouri
d2bd8a981e Bug 674725 - Part M - Receiving SMS: DOM part. r=smaug 2011-11-25 01:48:57 +01:00
Mounir Lamouri
c464ab7113 Bug 674725 - Part L - Implement SmsEvent. r=smaug 2011-11-21 17:57:26 +01:00
Mounir Lamouri
691be6cb32 Bug 674725 - Part K - Implement SmsMessage. r=smaug 2011-11-22 10:34:21 +01:00
Mounir Lamouri
98c0c1714e Bug 674725 - Part J - Basic implementation of mozSms.send(). r=cjones 2011-11-21 00:00:46 +01:00
Mounir Lamouri
81a2fb6c4d Bug 674725 - Part I - Implement mozSms.getNumberOfMessagesForText(). r=smaug,cjones 2011-11-25 10:48:51 +01:00
Mounir Lamouri
5a826ed3ae Bug 674725 - Part H - Add a SmsService that handles IPC calls. r=smaug sr=cjones 2011-11-20 23:59:46 +01:00
Mounir Lamouri
321fb6bf58 Bug 674725 - Part G - Add PSms IPDL sub-protocol. r=smaug sr=cjones 2011-11-20 23:40:53 +01:00
Mounir Lamouri
a5255c1899 Bug 674725 - Part F - .mozSms returns null if the platform doesn't have SMS supports. r=smaug 2011-11-21 16:16:24 +01:00
Mounir Lamouri
4e9bc35faa Bug 674725 - Part E - SmsService stub. r=smaug sr=cjones 2011-11-20 23:30:04 +01:00
Mounir Lamouri
93dc354a70 Bug 674725 - Part D - Temporary security model for WebSms. r=smaug 2011-11-25 01:37:40 +01:00
Mounir Lamouri
75dbd88991 Bug 674725 - Part C - SmsManager stub. r=smaug 2011-11-20 23:23:20 +01:00
Mounir Lamouri
bc905fd780 Bug 674725 - Part B - Add .mozSms to navigator. r=smaug 2011-11-20 22:08:33 +01:00
Mounir Lamouri
ab6911197f Bug 674725 - Part A - Makefiles. r=smaug 2011-11-20 19:23:49 +01:00