Commit graph

72 commits

Author SHA1 Message Date
Ronan Abhamon
2f1be97c10 fix(c-tools): fix a memory leak on getResolvedCListFromCppList 2018-03-06 15:39:31 +01:00
Ronan Abhamon
28d0c79a81 feat(wrapper): add noreturn tog on abort 2018-02-20 08:38:11 +01:00
Ghislain MARY
de13310b03 Fix const bug in getCppPtrFromC that was causing an infinite loop. 2018-02-12 17:48:33 +01:00
Ronan Abhamon
42035bb700 feat(c-tools): set the cpp ptr type on belle sip object name 2018-01-29 16:00:24 +01:00
Ronan Abhamon
26ad07a02e feat(core): update date of some files 2018-01-15 09:17:54 +01:00
Ronan Abhamon
d52977ded6 feat(src): add a _L prefix on each include guard 2018-01-08 12:15:15 +01:00
Ronan Abhamon
b9be1a84f3 feat(c-tools): avoid some memory leaks, free wrapped objects when possible 2017-12-15 09:18:00 +01:00
Ronan Abhamon
d8b0a722dc fix(callbacks): do not unref chat messagegit status! It's a shared ptr now!!! 2017-12-14 11:15:07 +01:00
Ronan Abhamon
d41e2d5df5 fix(core): coding style, avoid spaces => use tabs instead, alignment... 2017-11-22 11:18:41 +01:00
Danmei Chen
eb0fa39f97 Add test for MD5 and SHA-256 in register_test. Tests SHA-256 are supported with flexisip 2017-11-21 17:10:02 +01:00
Ronan Abhamon
a97c048420 feat(EventLog): refactoring, use IdentityAddress and rename time arg 2017-11-16 17:06:12 +01:00
Ronan Abhamon
f18fcbdf2f feat(c-wrapper): misc =>
- use correct macro in Wrapped DialPlan
  - add a type verification in c object declaration (compil time)
  - reset c back pointer if belle sip object is destroyed before cpp object
2017-11-07 10:13:59 +01:00
Ronan Abhamon
3df2ee859e feat(c-tools): reset back ptr when belle sip object is destroyed 2017-11-06 18:16:14 +01:00
Sylvain Berfini
ce8805e463 Fixed compil 2017-11-06 17:40:35 +01:00
Sylvain Berfini
f47dd800b8 Fix crash temporarily, leak instead 2017-11-06 17:39:09 +01:00
Ronan Abhamon
b8be3fa05b fix(c-wrapper): add private on some functions, owner is by default External 2017-11-06 15:53:28 +01:00
Ronan Abhamon
e37f307c5f fix(c-tools): use only one assert for test defined type in c object declaration 2017-11-06 15:24:18 +01:00
Ronan Abhamon
fcbce75165 feat(c-wrapper): deal with floating references 2017-11-06 15:06:09 +01:00
Ronan Abhamon
c26031d755 feat(c-chat-room): provide a way to get history events 2017-10-24 18:03:20 +02:00
Ronan Abhamon
be1d6f99ed feat(Event): events are now shared 2017-10-24 11:15:46 +02:00
Ronan Abhamon
0e62f94557 feat(MainDb): rename tester 2017-10-23 11:29:37 +02:00
Ronan Abhamon
2941e64e3e feat(Core): provide a low-level BaseObject 2017-10-19 15:50:47 +02:00
Sylvain Berfini
dc0da30d75 More work on the DialPlan object 2017-10-16 10:13:07 +02:00
Sylvain Berfini
aace7e6869 Another compilation fix 2017-10-11 16:17:31 +02:00
Jehan Monnier
6e734e6b0b Add Gruu implementation completion from master in dev_refactor_cpp branch 2017-10-10 11:58:48 +02:00
Ghislain MARY
81340cfcb8 Fix license headers. 2017-10-05 15:09:09 +02:00
Ghislain MARY
6beb962517 Move the new sal code in the src folder, respect the file naming conventions and add missing license headers. 2017-10-05 10:52:09 +02:00
Ronan Abhamon
ef62012c6e feat(Object): avoid usage of share_from_this 2017-10-03 13:36:48 +02:00
Ronan Abhamon
c699446974 fix(c-wrapper): use shared_from_this 2017-10-02 17:12:06 +02:00
Ronan Abhamon
429a231cb0 fix(c-wrapper): use abort instead of fatal 2017-10-02 17:08:50 +02:00
Sylvain Berfini
18f0782b46 Take a ref when creating a bctbx_list of C pointers from a std::list of shared_ptr 2017-10-02 16:58:13 +02:00
Sylvain Berfini
c58a241901 Do not exit on fatal, otherwise we don't get a backtrace 2017-10-02 14:32:14 +02:00
Ronan Abhamon
33d7a384af feat(General): remove LINPHONE_NAMESPACE 2017-10-02 12:31:36 +02:00
Ronan Abhamon
4e798d8b32 feat(c-wrapper): L_GET_PRIVATE supports CPP_TYPE parameter 2017-09-29 10:51:51 +02:00
Ronan Abhamon
e783a88a31 feat(c-wrapper): little optimization on getCBackPtr 2017-09-28 15:33:50 +02:00
Sylvain Berfini
7e55f79924 Check if given shared_ptr is null in getCBackPtr 2017-09-28 15:28:20 +02:00
Ronan Abhamon
2b1f9ea105 fix(c-wrapper): L_EXPAND is necessary for windows in the macro chooser case 2017-09-28 14:30:54 +02:00
Ronan Abhamon (Windaube)
7d10862c7f feat(windaube): fix L_GET_CPP_PTR_FROM_C and L_GET_PRIVATE with L_EXPAND for Windows 2017-09-28 12:13:20 +02:00
Ronan Abhamon
68b9c2f425 feat(c-wrapper): add runtime checks on getCppPtrFromC in debug mode 2017-09-27 14:29:02 +02:00
Ronan Abhamon
e46b4630da feat(c-wrapper): deal with shared from this 2017-09-27 12:14:37 +02:00
Ronan Abhamon
1cff67c57a feat(c-wrapper): setCppPtrFromC is more secure, check types 2017-09-27 10:56:57 +02:00
Ronan Abhamon
7a54c7fe29 feat(c-wrapper): better names 2017-09-27 09:33:56 +02:00
Ronan Abhamon
a67a7fbcc3 feat(c-wrapper): IsDefinedCppObject check inheritance and consistency between cpp and c objects \o/ 2017-09-26 17:43:25 +02:00
Ronan Abhamon
57de771a28 feat(c-wrappper): check types at compile time in all functions 2017-09-26 16:03:28 +02:00
Ronan Abhamon
f3b3015dbc feat(c-wrapper): setCppPtrFromC is more secure, check types 2017-09-26 15:55:26 +02:00
Ronan Abhamon
20690528fb feat(c-wrapper): getCppPtrFromC is more secure, check types 2017-09-26 15:47:52 +02:00
Ronan Abhamon
325653641b feat(c-wrapper): add an optional parameter CPP_TYPE on L_GET_PRIVATE_FROM_C_OBJECT 2017-09-26 14:33:49 +02:00
Ronan Abhamon
fc75fdef79 feat(c-wrapper): L_GET_CPP_PTR_FROM_C_OBJECT supports optional cpp type parameter 2017-09-26 12:12:36 +02:00
Ghislain MARY
ba9152a69d Use CPP_OBJECT name for argument of macro that expects a C++ object. 2017-09-25 16:44:48 +02:00
Ronan Abhamon
ec1c1dbbe6 feat(c-wrapper): provide better usage on list macros 2017-09-25 13:43:32 +02:00