Commit graph

134 commits

Author SHA1 Message Date
Guillaume BIENKOWSKI
f6ab749681 Fix another 64bit warning 2014-11-25 17:51:30 +01:00
Guillaume BIENKOWSKI
8c03c66710 Fix some 64 bit precision warnings 2014-11-25 17:22:43 +01:00
Gautier Pelloux-Prayer
31a5c7d669 Remove UICallCell french & russian too, and fix UICallCell to correctly size on tablet and resize avatar image on landscape 2014-11-20 11:59:10 +01:00
Gautier Pelloux-Prayer
bd3e023dff Remove duplicated memory frees from rebase and remove warnings for linphone-non-gpl target 2014-10-28 12:28:55 +01:00
Gautier Pelloux-Prayer
920d42946e Remove warnings generated by Xcode 2014-10-28 12:20:55 +01:00
Gautier Pelloux-Prayer
1b0737d139 Clean some warnings generated by xcode 2014-10-28 12:20:55 +01:00
Guillaume BIENKOWSKI
2c67a6c460 Remove isLCReady method and don't remove the core when going into background mode.
This removes a lot of code complexity and makes some strange simulator / device bugs workable (especially the very first start of the app).
2014-10-27 17:05:03 +01:00
Guillaume BIENKOWSKI
954dc2fedf Prepare for ARM64 compilation and remove loss-precision warnings where possible (possibly incomplete) 2014-10-27 12:22:41 +01:00
Guillaume BIENKOWSKI
1dc1abfa52 Fix some leaks in the new iOS8 interactive notifications system 2014-10-23 15:53:19 +02:00
Guillaume BIENKOWSKI
3256ee4388 Fix local notification being sent while in inactive mode. This would produce some bizarre behaviors, like auto answer the call when the notification drop down was down.
Also ditched the "respondsToSelector:@selector(isMultitaskingSupported)"  since this is needed for pre-iOS4 versions.
2014-10-17 11:19:32 +02:00
Guillaume BIENKOWSKI
d29f0629cf Final fix for bad UI at pristine first start 2014-10-15 15:44:56 +02:00
Guillaume BIENKOWSKI
9fd068be37 Fix last commit 2014-10-15 15:44:50 +02:00
Guillaume BIENKOWSKI
f81b7e1337 Possible fix for first boot error 2014-10-15 15:44:45 +02:00
Guillaume BIENKOWSKI
16bac17572 Limit "category" for local notifications with devices >= ios8 2014-10-03 16:18:21 +02:00
Guillaume BIENKOWSKI
dc04af32b4 Dynamically change the root view controller, so that when we transition from a portrait-only to a landscape-friendly view.
This allows to support both orientations for the iPhone.

We now use a RootViewController for this, instead of relying only on the PhoneMainView. The root view controller is in charge of swapping the portrait-only and the landscape PhoneMainView when needed.
It also inherits the view stack management, since we now have 2 phone main views.

This is a bit convoluted, but necessary to handle the ChatRoom and the InCall views for the iPhone
2014-10-02 16:27:23 +02:00
Guillaume BIENKOWSKI
8ab996a75d Use a storyboard to launch the main UI. This is needed for iOS 8 because otherwise, the main window will have bad dimensions in landscape. 2014-09-30 15:57:39 +02:00
Guillaume BIENKOWSKI
733405e0c6 Fix new notification handling behavior for messages 2014-09-22 14:31:10 +02:00
Guillaume BIENKOWSKI
375b6e3d39 Use new notification system for iOS8: answer/decline
calls and reply/mark read messages from within the 
notifications
2014-09-20 15:45:36 +02:00
Guillaume BIENKOWSKI
862a6dee1b Fix no network on push received 2014-07-08 11:50:03 +02:00
Guillaume BIENKOWSKI
399b01ba40 Auto answer by default when coming from a local notification 2014-05-22 17:26:55 +02:00
Guillaume BIENKOWSKI
4a136403b4 First version of internal storage use for iOS 2014-05-19 16:57:52 +02:00
Guillaume BIENKOWSKI
40a69c033c Fix memory leaks spotted by clang static analysis.
Refactored imageSharing to adopt objc conventions: the name of a method returning an allocated object has to contain 'new'
2014-05-14 16:12:59 +02:00
Guillaume BIENKOWSKI
66cd9e797a Removed dummy/false references to source code headers. We should be using exclusively the Header paths to include linphone-sdk files. 2014-05-12 14:56:15 +02:00
Simon Morlat
ba39301ffd fix start at boot (was broken)
protect launching at boot with a background task
and another background task in belle-sip to protect notifications of incoming messages and calls.
2014-04-27 14:49:48 +02:00
Simon Morlat
b03ebd695f bugfix again 2014-04-19 14:04:48 +02:00
Simon Morlat
eb077e7bd7 ignore unsollicited push notif (2nd fix) 2014-04-18 21:31:51 +02:00
Simon Morlat
f24bce0b10 prevent parasite remote notification to trigger a network down. 2014-04-18 19:57:22 +02:00
Simon Morlat
7f8237956b fix crash with NSDate not retained
Merge remote-tracking branch 'origin/endlessring'

Conflicts:
	Classes/LinphoneManager.h
2014-04-18 19:25:15 +02:00
Simon Morlat
7ebb7541ef update belle-sip so that background task is started during network operations
remove register-waiting background task at UI level
stop the video preview before going to background
remove NSUserDefault usage, everything goes to LpConfig
LinphoneManager has a LpConfig (configDb property) that is used everywhere, regardless of whether the core is started.
2014-04-18 17:46:43 +02:00
Guillaume BIENKOWSKI
c06a7ba562 Merge branch 'master' of git.linphone.org:linphone-iphone into endlessring
Conflicts:
	README
2014-04-18 17:01:13 +02:00
Guillaume BIENKOWSKI
2553dfe702 Use a short ring and repeat notifications for local notifications.
This fixes the endless ringing but also brings along other problems
2014-04-18 16:58:55 +02:00
Christophe Deschamps
0bd6b86f6b URL handler for remote configuration - linphone-config-http:// & linphone-config-https:// 2014-04-17 16:44:38 +02:00
Guillaume BIENKOWSKI
132288e8f1 Moved traces for silent push 2014-02-20 09:35:05 +01:00
Guillaume BIENKOWSKI
c2a66e3f60 Fix crash when receiving a silent remote notification when we were killed for memory pressure 2014-02-19 14:16:54 +01:00
Guillaume BIENKOWSKI
7b360ce5b9 Log termination 2014-02-19 11:16:07 +01:00
Jehan Monnier
0f08dc7f55 better management of push notif mode versus bg mode/voip socket 2014-02-18 15:48:03 +01:00
Guillaume BIENKOWSKI
d5dff4c452 Implement silent push support, with special string sent to the register server "IC_SIL".
Only works on iOS 7.
2014-01-30 16:42:26 +01:00
Guillaume BIENKOWSKI
3fa6568e0b Fix issue with incoming call view displayed when the call is answered. 2013-11-18 13:58:34 +01:00
Guillaume BIENKOWSKI
8c6e96eb80 Update the badge count to reflect ongoing calls.
This is useful in the case an incoming call is received but Linphone is
in the background.
Also disable ringing once the application gets in the foreground.
2013-11-18 12:12:26 +01:00
Guillaume BIENKOWSKI
03dfd7fc7b Solve the PR #1004, Can't answer call from lock screen if app is in background and we slide the bottom of the lockscreen (not the push)
What was happening: we would land into the dialer view, but with an incoming call in BG, which would confuse the UI.
2013-11-18 10:58:05 +01:00
Guillaume BIENKOWSKI
7f66de2e96 Fix local notification ring not stopping. 2013-11-05 14:17:38 +01:00
Guillaume BIENKOWSKI
7f9abfed95 Fix bug where the ring sound would not stop in case
of a push notification.
2013-10-09 10:31:48 +02:00
Guillaume BIENKOWSKI
bcfd661408 Fix status bar color when going to/coming from dialer on ipad 2013-10-07 15:22:33 +02:00
Guillaume BIENKOWSKI
81fe7d6bf9 Fix compatibility with older Xcode version 2013-10-02 12:28:19 +02:00
Guillaume BIENKOWSKI
70ad68906f Fix the statusbar color in iOS7. 2013-10-02 09:39:27 +02:00
Yann Diorcet
44fa43278f Remove useless calllog handling in didReceiveLocalNotification 2013-02-21 11:23:49 +01:00
Yann Diorcet
b672051864 Use calllog id as parameters for HistoryDetailsView
Fix issue when core is recreated
2013-02-21 11:02:19 +01:00
Simon Morlat
5a8f48fa5b update exosip and linphone, and use new call log apis. 2013-02-08 17:34:44 +01:00
Yann Diorcet
402ff3da1b Go to history details on missed call notification 2013-01-31 11:50:14 +01:00
Jehan Monnier
cc0983860c improve customazation process 2012-12-06 18:26:51 +01:00