Commit graph

90 commits

Author SHA1 Message Date
Ghislain MARY
fc1fed70fe Merge branch 'master' into dev_turn 2016-06-01 14:56:52 +02:00
Jehan Monnier
7add04a59f Enable ipv6 by default on IOS 2016-05-26 13:57:03 +02:00
Sandrine Avakian
69a125b9fe Propagating structures renaming. 2016-05-25 14:10:23 +02:00
Ghislain MARY
d2b8cb2dd5 Fix compilation on Windows. 2016-05-23 17:37:30 +02:00
Sandrine Avakian
52b51b1ba7 Use default vfs. 2016-05-23 11:53:18 +02:00
Sandrine Avakian
6649418220 Cosmetic - renaming fun, moving doc . 2016-05-20 16:15:09 +02:00
Simon Morlat
57561bb120 fix compilation error with no sqlite support 2016-05-20 13:55:00 +02:00
Ghislain MARY
b6076942fc Add LinphoneNatPolicy API and deprecate LinphoneFirewallPolicy. 2016-05-20 10:50:54 +02:00
Sandrine Avakian
662df7811a Windows build fix. 2016-05-19 17:51:10 +02:00
Sandrine Avakian
7483daa610 Compatibility fixes. 2016-05-19 16:15:08 +02:00
Sandrine Avakian
722e490907 Renaming bctoolbox structures. 2016-05-18 17:12:27 +02:00
Sandrine Avakian
775692b7a2 Matching changes done in bctoolbox/bc_vfs.c . 2016-05-18 15:47:30 +02:00
Sandrine Avakian
6cfac0ff44 Using newly created functions bctbx_file_close_and_free, bctbx_file_create_and_open. in lpconfig.c.
Changing check on file descriptor return value : should be different from -1 if open was successful .
Using bctbx_file_open and bctbx_file_close in sqlite3bctbx_Open and sqlite3bctbx_Close.
Registers the VFS as default incall_log.c, friend.c and mesage_storage.c .
2016-05-17 11:11:49 +02:00
Sandrine Avakian
ae7e1b7b0f Fixing read bug and documenting. 2016-05-16 16:08:41 +02:00
Sandrine Avakian
16286e82e6 Adding Sync function in sqlite3_bctbx_vfs.
Fixing read functions error cases in lpconfig  and vfs .
2016-05-13 11:44:46 +02:00
Sandrine Avakian
c400e2f563 First use of sqlite3 bctbx custom vfs. 2016-05-12 10:36:58 +02:00
Sandrine Avakian
fb0d5cc30f Updating function names to match the definitions in bctoolbox. 2016-05-06 15:39:16 +02:00
Sandrine Avakian
80da8c3c9d Typo fix. 2016-05-04 16:22:31 +02:00
Sandrine Avakian
14849fa6a7 Harmonizing and modifying error codes returned by bcRead, bcWrite, bcClose.
Fixing errors in bcGetLine and bc_file_fprintf .
For the time being, bc_file_fprintf handles the offset update when writing to the file.
2016-05-04 14:42:15 +02:00
Sandrine Avakian
a25accb515 Adding bc_file API in lpconfig.
Used are : bc_file_read, bc_file_open, bc_file_close.
2016-04-29 17:08:46 +02:00
Sandrine Avakian
c29aeaf709 Update open/close file. 2016-04-27 17:29:26 +02:00
Sandrine Avakian
d3401f705d Merge branch 'master' of git://git.linphone.org/linphone into bc_vfs 2016-04-27 14:53:45 +02:00
Sylvain Berfini
be6d6b47b3 Added a way to not dump some chosen sections/entries when converting lpc to xml 2016-04-27 12:19:38 +02:00
Sandrine Avakian
faf2b3973a First input for bc_vfs. 2016-04-26 16:20:35 +02:00
Gautier Pelloux-Prayer
1537a5228a lpconfig: add lp_config_dump 2016-04-05 11:56:48 +02:00
François Grisez
872fe00eda Fixes crash when starting a call at the first time 2016-01-08 17:29:18 +01:00
Sylvain Berfini
e82e187f9b Added set overwrite flags for section for convenience 2015-11-19 16:50:30 +01:00
Sylvain Berfini
07fd8f61fa Added methods to set/get overwrite flag in LpConfig (used when dumping config as xml) 2015-11-19 16:28:14 +01:00
Sylvain Berfini
67c22d57ee Changes to be able to call lp_config_get_sections_names from python wrapper 2015-10-21 15:10:02 +02:00
Sylvain Berfini
f999712c5b Added new functions in lpconfig to dump xml and get a list of sections' names 2015-10-21 13:58:36 +02:00
Gautier Pelloux-Prayer
8dd252fd7b lpconfig: avoid duplicate comments in linphonerc 2015-10-05 11:50:42 +02:00
Ghislain MARY
61ac1f8173 Fix compilation warnings when building for Windows 10. 2015-10-01 14:29:00 +02:00
Gautier Pelloux-Prayer
8a2f20ceae tester: add before_each / after_each methods to check memory leaks and fix various ones 2015-09-22 13:54:29 +02:00
Margaux Clerc
e369f0e284 Disable realpath for android 2015-08-14 13:18:08 +02:00
Sylvain Berfini
6ef6e97043 Merge branch 'dev_bb10'
Conflicts:
	mediastreamer2
	oRTP
2015-08-13 16:33:16 +02:00
François Grisez
4b9bb8f8e9 Fixes fopen() calls on NULL paths and likely memory corrupions concerning dirname() missuses 2015-08-10 00:16:14 +02:00
Ghislain MARY
f3a4fc6b4a Fix build with Visual Studio. 2015-08-03 11:35:25 +02:00
François Grisez
6d3d8a8f3d Fix regression concerning the reading and the creation of .linphonerc
The .linphonerc file was not created at the first launch of Linphone.
The realpath function fails and returns NULL when passing a path which points on
an empty file.
2015-08-02 23:16:10 +02:00
Sylvain Berfini
a58201f10a Fix crash on bb10 with current realpath use 2015-08-01 18:17:47 +02:00
Gautier Pelloux-Prayer
4eda45d82d lpconfig.c: use lp_realpath stub beacuse windows does not support/implement realpath and use proper string allocator 2015-07-28 13:03:22 +02:00
Gautier Pelloux-Prayer
6ce479b312 lpconfig.c: when reading linphonerc, we must follow symlinks 2015-07-28 11:48:32 +02:00
Ghislain MARY
8722f8a990 Add Visual Studio project for Windows 10. 2015-07-03 16:56:14 +02:00
Gautier Pelloux-Prayer
4e974956cb lpconfig.c: fix ISO C90 error 2015-05-11 17:00:04 +02:00
Gautier Pelloux-Prayer
d6cdbe46c4 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
Ghislain MARY
9133e161dd Fix crash on Windows when no linphonerc file is configured. 2015-04-07 15:08:26 +02:00
Guillaume BIENKOWSKI
13db966940 Fix comment handling when the comment is the last item in at the end of a file without endline 2015-04-01 13:12:51 +02:00
Ghislain MARY
706ed3cfa1 Test if the filename of the lpconfig is not NULL before trying to read a relative file. 2015-03-23 11:47:32 +01:00
Simon Morlat
8f633b21fc fix stack overflow. 2014-12-18 16:17:26 +01:00
François Grisez
db5fc6ea89 Fix the reading of .linpohne.ecstate 2014-12-12 12:12:44 +01:00
Simon Morlat
d184192b9f fix linphonerc renaming for windows 2014-10-15 15:08:51 +02:00