Commit graph

105 commits

Author SHA1 Message Date
Gautier Pelloux-Prayer
ccb01b5306 new UI: update main bar 2015-07-22 15:33:31 +02:00
Gautier Pelloux-Prayer
246ae7af18 ChatRoomViewController.m: crash if failing to set display name in composing message 2015-07-15 13:37:58 +02:00
Gautier Pelloux-Prayer
540a47a53a clangformat: reformat all code style convention defined in .clang-format 2015-07-09 11:50:14 +02:00
Gautier Pelloux-Prayer
9d000cdfb9 Chat: fix message state icon by reworking file transfer a bit and add simultanous uploads/downloads tests 2015-06-26 15:20:18 +02:00
Gautier Pelloux-Prayer
9a0f9a649d FileTransfer: remove some debug code and fix camera upload too 2015-06-15 16:32:48 +02:00
Gautier Pelloux-Prayer
06375f58af filetransfer: rework file transfer to use latest API 2015-06-15 15:46:26 +02:00
Gautier Pelloux-Prayer
6637fc2127 Merge remote-tracking branch 'origin/dev_sendmsg' 2015-06-09 17:59:43 +02:00
Guillaume BIENKOWSKI
b6d8afe22e Migrate to ARC \o/ 2015-06-02 11:54:48 +02:00
Gautier Pelloux-Prayer
aefc92a0dd logging: everyone use LOGx functions to log 2015-04-17 11:33:29 +02:00
Guillaume BIENKOWSKI
f531662628 More tests for chat messages
+ better english for accessibility
+ make the symbols available for debug mode, so that we can gain access
to linphonemanager in unit tests
2015-01-24 23:55:11 +01:00
Guillaume BIENKOWSKI
6a82937bbd Fix crashes when sending chats to strange addresses 2015-01-19 10:47:05 +01:00
Guillaume BIENKOWSKI
e8f31f7efb Add a swipe gesture recognizer to go back from a chat 2014-11-26 15:57:07 +01:00
Guillaume BIENKOWSKI
8c03c66710 Fix some 64 bit precision warnings 2014-11-25 17:22:43 +01:00
Guillaume BIENKOWSKI
92608a5816 Use block-based animation in ChatRoomView and fix the scroll to the bottom when the keyboard hides 2014-11-25 14:10:13 +01:00
Guillaume BIENKOWSKI
8af2025ba5 Fix chat discrepancies with the "is composing" indicator 2014-11-21 16:31:18 +01:00
Gautier Pelloux-Prayer
1b0737d139 Clean some warnings generated by xcode 2014-10-28 12:20:55 +01:00
Guillaume BIENKOWSKI
24ee727736 Fix discrepancies spotted by analysis 2014-10-27 17:12:49 +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
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
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
5574cedaea Fix landscape start discrepancies on iPad for iOS8. 2014-09-30 15:57:39 +02:00
Guillaume BIENKOWSKI
af15a700b9 Fix problems of orientation for iOS8 on phone 2014-09-30 15:57:39 +02:00
Guillaume BIENKOWSKI
e9d76cfd41 Fix bad message_ref placement, which lead to crashes 2014-09-22 14:09:26 +02:00
Guillaume BIENKOWSKI
2d702f020e Update prototypes for new API of linphone chat messages 2014-09-11 12:12:10 +02:00
Guillaume BIENKOWSKI
d56dc2a972 Fix back button 2014-07-11 09:04:02 +02:00
Guillaume BIENKOWSKI
7467caa879 Progress commit on message file transfer:
- upload and download works,
- download only works for runtime messages. Messages pulled from DB will make belle-sip crash
- can't cancel the transfer for the moment (waiting for API to fix that)
2014-07-10 14:27:48 +02:00
Guillaume BIENKOWSKI
e6045a2c60 Removed / corrected code spotted by static analysis 2014-07-10 13:31:50 +02:00
Guillaume BIENKOWSKI
6caf717b59 Incomplete image transfert evolution 2014-07-03 14:44:42 +02:00
Guillaume BIENKOWSKI
1f8d455e77 Use app-data storage in Chat messages for image path storage.
Implemented with a JSON dictionary for subsequent evolution.
2014-06-03 18:09:33 +02:00
Guillaume BIENKOWSKI
8e0bc46556 Scroll to bottom when changing orientation in ChatRoomView 2014-05-23 11:59:20 +02:00
Guillaume BIENKOWSKI
72394dde77 Fix 0001217: bad rendering of chat view after "is-typing" notification.
The composing indicator wasn't taken in account when the keyboard was popping up/down.
2014-05-23 11:56:41 +02:00
Guillaume BIENKOWSKI
515a4a550b Better fix for empty chat list after attaching picture 2014-05-22 16:36:19 +02:00
Guillaume BIENKOWSKI
6b994368da Revert "Fix image sending, there is still an issue with the message state. Not sure why."
This reverts commit 42199f23dc.
2014-05-22 15:55:19 +02:00
Guillaume BIENKOWSKI
78e1ae145c Move the message add code after the send. 2014-05-22 15:55:12 +02:00
Guillaume BIENKOWSKI
42199f23dc Fix image sending, there is still an issue with the message state. Not sure why. 2014-05-22 11:24:18 +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
f6de70b5af Don't destroy chatrooms, they should be kept in-memory to handle message updates 2014-03-07 15:05:16 +01:00
Guillaume BIENKOWSKI
11f5400fa9 Fix chartroom exit and composition indicator glitching the list view 2014-03-07 14:52:33 +01:00
Guillaume BIENKOWSKI
bf7af8ccfa Better placement for "User is composing" in the ChatRoomView 2014-03-07 14:04:19 +01:00
Guillaume BIENKOWSKI
b4bfdb2e7e Better user compose detection 2014-03-06 14:33:23 +01:00
Guillaume BIENKOWSKI
b17d5a2d46 Enable remote typing indicator in the ChatRoom view 2014-03-06 12:57:40 +01:00
Guillaume BIENKOWSKI
a63542cd03 - Allow to resend a message that's not delivered correctly
- Allow select-all on uitextviews
2014-03-05 14:16:01 +01:00
Guillaume BIENKOWSKI
0e95a54e52 Handle sips: prefix as valid SIP address 2014-01-10 15:04:38 +01:00
Guillaume BIENKOWSKI
69f88f2825 Fix the chat not scrolling every time when a new
message is posted.
2013-10-21 16:04:42 +02:00
Guillaume BIENKOWSKI
4243965ce6 Fix contact header visible through iOS7 status bar 2013-10-07 09:15:00 +02:00
Jehan Monnier
7c89de0c81 Merge remote-tracking branch 'origin/master' into belle-sip 2013-03-15 08:24:50 +01:00
Jehan Monnier
23a54227aa first belle-sip version 2013-02-27 14:51:03 +01:00
Ghislain MARY
10f8b117f9 Handle chat initiation to an email address. 2013-02-27 13:58:25 +01:00
Yann Diorcet
7d2a79c25b Clean chatroom on core destroy 2013-02-21 11:06:37 +01:00