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
Simon Morlat
08539a0895
atomically sync the lpconfig on disk
2014-10-15 10:57:08 +02:00
Sylvain Berfini
a7e257bcab
Fix compil for windows phone
2014-09-23 11:20:00 +02:00
Ghislain MARY
36de60130b
Fix compilation on Windows.
2014-09-10 10:00:56 +02:00
François Grisez
112b93a790
Fix compilation for CentOS
2014-09-10 09:35:51 +02:00
François Grisez
92792ef19f
Fix compilation with MinGW
2014-09-09 13:28:13 +02:00
François Grisez
75eee41a76
Fix bug #1426 : Echo cancelation state blob is too big for being in linphonerc
...
The state of the echo canceler is stored in a file beside .linphonerc
The file is named .linphone.ecstate
2014-09-09 12:27:19 +02:00
Guillaume BIENKOWSKI
3c32fd4397
Fix remote provisioning zero-length values. Fixes #1457 again.
2014-09-04 16:10:34 +02:00
Guillaume BIENKOWSKI
6de4c89510
Don't allow values to be empty in a linphonerc file.
...
Added unit tests for this.
Fixes #1457
2014-09-04 15:35:44 +02:00
Simon Morlat
da54b475d7
improve management of comments in linphonerc parser
2014-05-21 15:43:58 +02:00
Ghislain MARY
28e99d08e1
Fix compilation with Visual Studio.
2014-04-22 16:34:43 +02:00
Simon Morlat
c1ef06eb8f
add refcounting to LpConfig
2014-04-18 16:05:37 +02:00
Guillaume BIENKOWSKI
08645f8eea
Add lp_config_new_from_buffer
2014-04-11 16:21:02 +02:00
Simon Morlat
3013fd8ae2
allow configuration of root_ca before provisioning, so that it can be used for https fetching
2014-03-26 17:51:47 +01:00
Sylvain Berfini
7630d39863
Added possibility to set parameters key=value for sections
2014-03-07 15:46:07 +01:00
Sylvain Berfini
cac1551acd
Reworked lpconfig global default values section to have one default value for each section + use proxy default value when creating proxy config
2014-03-03 10:54:56 +01:00
Ghislain MARY
92f81c8d07
Use right functions to free and duplicate strings.
2014-02-03 17:47:50 +01:00
Ghislain MARY
ec2838cc96
Free memory allocated by ortp_strdup() with ortp_free() instead of free() to prevent crashes on Windows.
2014-01-15 14:50:44 +01:00
Simon Morlat
c53e94d504
update documentation for linphone-deps generation on windows
...
fix compile errors with mingw
2013-08-13 09:47:38 +02:00
Ghislain MARY
9c66aeb8b2
Merge branch 'master' of git.linphone.org:linphone into belle-sip
2013-04-11 14:02:08 +02:00
Ghislain MARY
dfb316ea7c
Add the linphone_core_new_with_config() function to instantiate a LinphoneCore given an already existing LpConfig.
...
This enables the creation of the LpConfig before creating the LinphoneCore.
It is useful on some systems to read some configuration parameters and perform some customization before creating the LinphoneCore.
The LpConfig can now also be created given a factory config filename using the new lp_config_new_with_factory() function.
2013-04-11 15:41:43 +02:00
Ghislain MARY
6702bf8a32
Merge branch 'master' of git.linphone.org:linphone into belle-sip
2013-04-02 15:52:21 +02:00
Ghislain MARY
63117d28af
Use correct mode parameter to fopen() call ("r+" instead of "rw").
2013-04-02 15:41:14 +02:00
Jehan Monnier
d69d96a0ca
Merge remote-tracking branch 'public/master' into belle-sip
2013-03-15 17:50:37 +01:00
Simon Morlat
e1552ee1ee
add automatic tone user indications
2013-03-14 13:27:53 +01:00
Jehan Monnier
9d3f8f7d94
fix android build
2013-03-04 18:51:54 +01:00
Jehan Monnier
33ebb44b85
fix build issue from wp8 build
2013-03-04 17:26:28 +01:00
Sylvain Berfini
c3ebf99f5e
Fix compilation for WP8
2013-02-27 17:28:15 +01:00
Guillaume Beraudo
83ea53b599
Patch preventing chmod on /dev/null
2013-01-22 18:10:45 +01:00
Yann Diorcet
4a1e994326
Improve the lpconfig functions
2013-01-16 14:35:37 +01:00
Simon Morlat
cd9c2c4e09
fix bug in file config parser preventing to reset values.
2012-10-15 15:35:05 +02:00
Ghislain MARY
d5f8a6f933
Add handling of ranges in the config file.
2012-10-11 15:39:12 +02:00
Simon Morlat
d676eb51df
implement dscp settings from config file and gtk interface
2012-09-14 17:39:27 +02:00