linphone-iphone/coreapi
François Grisez 36eea822d2 Add a cache for unread messagaes count in LinphoneChatRoom
That fix a performance issue when typing a message. The sqlite database
was accessed each time a character was typed in order to mark all
preceeding messages as read. That was done even if all message was marked
as read.

This patch add cache for unread messages count. Then, the count is only carried out
at the first call of linphone_chat_room_get_unread_messages_count(). This function
is used in linphone_chat_room_mark_as_read() to prevent database from being accessed
if all messages are already marked as read.
2015-07-22 23:56:19 +02:00
..
bellesip_sal Answer 500 server internal error in case of unexpected request arriving at core level 2015-06-25 12:20:04 +02:00
help Do not use absolute path in install instructions of CMake. 2015-03-13 14:27:50 +01:00
ldap Add missing symbol exports. 2015-02-27 17:33:00 +01:00
plugins/buddylookup Do not use deprecated autotools macros. 2013-01-16 10:38:12 +01:00
.gitignore Include git version in liblinphone version if available. 2012-10-25 17:16:07 +02:00
account_creator.c Fix setup wizard which was broken by last commit. 2015-06-09 15:47:39 +02:00
account_creator.h Change account creator and xmlrpc API so that Python wrapper generation works correctly. 2015-06-09 15:18:37 +02:00
address.c add tests to check sips and ipv6 support of flexisip 2015-02-02 18:13:55 +01:00
authentication.c Add a config parameter to avoid linphone to save authentication data 2015-03-19 14:18:22 +01:00
buffer.c Always store a NULL character at the end of a LinphoneBuffer. 2014-12-11 15:58:58 +01:00
buffer.h Working file transfer in Python. 2014-12-10 16:35:19 +01:00
call_log.c Add Visual Studio project for Windows 10. 2015-07-03 16:56:14 +02:00
call_log.h compute call log duration since connected state instead of from call creation 2014-10-20 22:49:40 +02:00
call_params.c implement re-invite from multicast to unicast call. 2015-05-13 09:15:29 +02:00
call_params.h implement re-invite from multicast to unicast call. 2015-05-13 09:15:29 +02:00
callbacks.c callbacks.c: use state string not state id in text_delivery_update 2015-07-15 14:38:48 +02:00
chat.c Add a cache for unread messagaes count in LinphoneChatRoom 2015-07-22 23:56:19 +02:00
CMakeLists.txt Merge branch '3.8.x' 2015-07-02 16:47:56 +02:00
conference.c quality_reporting: avoid crash if hanging up too soon in LinphoneCallOutgoingInit state 2015-07-16 11:57:03 +02:00
contact_providers_priv.h Moved belle sip object includes into private.h 2014-01-09 09:38:16 +01:00
contactprovider.c Moved belle sip object includes into private.h 2014-01-09 09:38:16 +01:00
contactprovider.h Add missing symbol exports. 2015-02-27 17:33:00 +01:00
content.c Merge remote-tracking branch 'linphone-public/master' into dev_lime 2015-02-26 22:46:24 +01:00
content.h Merge remote-tracking branch 'linphone-public/master' into dev_lime 2015-02-26 22:46:24 +01:00
dict.c cleanups, add network simulation api to liblinphone 2015-02-24 18:11:12 +01:00
ec-calibrator.c add new function to play a file locally, in or out of calls. 2014-03-04 22:58:56 +01:00
enum.c purge out p2pproxy 2010-01-20 15:44:30 +01:00
enum.h purge out p2pproxy 2010-01-20 15:44:30 +01:00
event.c Quality reporting: add test for custom route PUBLISH 2015-06-22 14:37:31 +02:00
event.h cleanups, add network simulation api to liblinphone 2015-02-24 18:11:12 +01:00
fonis.c purge out p2pproxy 2010-01-20 15:44:30 +01:00
friend.c Add ref counting on LinphoneFriend 2015-04-14 17:04:48 +02:00
gitversion.cmake Handle download of rootca.pem when building with CMake. 2014-11-28 11:14:03 +01:00
info.c Merge remote-tracking branch 'linphone-public/master' into dev_lime 2015-02-26 22:46:24 +01:00
lime.c Fix compilation when LIME is disabled 2015-03-19 00:21:07 +01:00
lime.h Fix compilation when LIME is disabled 2015-03-19 00:21:07 +01:00
linphone_tunnel.cc cleanups, add network simulation api to liblinphone 2015-02-24 18:11:12 +01:00
linphone_tunnel.h -update tunnel documentation 2015-03-17 14:38:15 +01:00
linphone_tunnel_config.c Merge branch 'master' of git.linphone.org:linphone into upnp 2013-01-17 15:34:58 +01:00
linphone_tunnel_stubs.c fix compilation without tunnel 2014-11-15 11:38:06 +01:00
linphonecall.c Use void* for window ids. 2015-07-20 12:16:26 +02:00
linphonecore.c add LINPHONE_VIDEO_DISPLAY_AUTO/NONE to avoid manipulating scalar values directly 2015-07-22 12:04:29 +02:00
linphonecore.h add LINPHONE_VIDEO_DISPLAY_AUTO/NONE to avoid manipulating scalar values directly 2015-07-22 12:04:29 +02:00
linphonecore_jni.cc Fix JNI video windowID 2015-07-21 11:10:00 +02:00
linphonecore_utils.h Merge branch 'master' of git.linphone.org:linphone into belle-sip 2013-04-23 10:53:00 +02:00
linphonefriend.h Add ref counting on LinphoneFriend 2015-04-14 17:04:48 +02:00
linphonepresence.h Doxygen: replace invalid @returns with @return 2015-01-09 11:42:05 +01:00
localplayer.c Use void* for window ids. 2015-07-20 12:16:26 +02:00
lpc2xml.c Improved strict compilation flags 2014-09-11 15:46:05 +02:00
lpc2xml.h Moved lpc2xml and xml2lpc from tools to coreapi 2014-02-11 16:48:01 +01:00
lpconfig.c Add Visual Studio project for Windows 10. 2015-07-03 16:56:14 +02:00
lpconfig.h lpconfig.c: add lp_config_relative_file_exists and use it to avoid false-positive logs for .linphone.ecstate file 2015-05-11 10:27:23 +02:00
lsd.c add new function to play a file locally, in or out of calls. 2014-03-04 22:58:56 +01:00
Makefile.am Restore option to enable/disable the assistant. 2015-06-11 16:14:14 +02:00
message_storage.c Add a cache for unread messagaes count in LinphoneChatRoom 2015-07-22 23:56:19 +02:00
misc.c Define ENABLE_NLS instead of HAVE_INTL when internationalization is available 2015-07-07 14:04:39 +02:00
offeranswer.c Fix bug in AVPF features negotiation + add tests to prevent regressions on this matter. 2015-06-03 10:19:35 +02:00
offeranswer.h replace tabs with spaces and remove trailing spaces 2014-04-22 17:22:51 +02:00
player.c Add a destroy function to the Linphone Player Interface 2014-10-15 14:34:15 +02:00
presence.c Add Visual Studio project for Windows 10. 2015-07-03 16:56:14 +02:00
private.h Add a cache for unread messagaes count in LinphoneChatRoom 2015-07-22 23:56:19 +02:00
proxy.c proxy: add linphone_proxy_config_normalize_phone_number and linphone_proxy_config_normalize_sip_uri to ease high level API usage 2015-07-17 16:37:44 +02:00
quality_reporting.c quality_reporting: avoid crash if hanging up too soon in LinphoneCallOutgoingInit state 2015-07-16 11:57:03 +02:00
quality_reporting.h proxy.c: fix quality reporting collector address check - sip:collector.linphone.org is a valid collector endpoint as well 2015-06-02 14:33:13 +02:00
remote_provisioning.c Fix crash when passing "http://" as remote provisioning URI 2015-06-24 14:02:40 +02:00
sal.c fix memory leak and windows build 2015-06-05 12:14:56 +02:00
siplogin.c fix some bugs, update translations 2014-02-14 15:16:46 +01:00
sipsetup.c Rework assistant for asynchronous XML-RPC requests. 2015-06-08 15:52:44 +02:00
sipsetup.h Handle XML-RPC request in liblinphone directly instead of using libsoup. 2015-06-08 15:43:55 +02:00
test_ecc.c Merge branch 'master' of git.linphone.org:linphone into belle-sip 2013-04-23 10:53:00 +02:00
test_lsd.c mingw bugfixes 2010-09-20 21:20:39 +02:00
test_numbers.c add function to extract ccc from e164 number 2012-11-23 10:38:15 +01:00
TunnelManager.cc fix compile issue 2015-02-24 18:22:41 +01:00
TunnelManager.hh enable ice with tunnel 2014-12-22 21:47:35 +01:00
upnp.c use ms_new0 2014-11-22 11:31:23 +01:00
upnp.h Merge branch 'master' of git.linphone.org:linphone into belle-sip 2013-03-08 15:01:22 +01:00
vtables.c add missing file 2015-03-10 15:34:01 +01:00
xml.c Implement RFC3994: Indication of Message Composition for Instant Messaging. 2014-01-03 15:01:18 +01:00
xml2lpc.c replace tabs with spaces and remove trailing spaces 2014-04-22 17:22:51 +02:00
xml2lpc.h Moved lpc2xml and xml2lpc from tools to coreapi 2014-02-11 16:48:01 +01:00
xmlrpc.c Change account creator and xmlrpc API so that Python wrapper generation works correctly. 2015-06-09 15:18:37 +02:00
xmlrpc.h Change account creator and xmlrpc API so that Python wrapper generation works correctly. 2015-06-09 15:18:37 +02:00