Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-07-13 | cpp: Array: Make sure the array passed to array_fill ist passed by reference | liujianfengv | 1 | -1/+1 | |
When creating a new Array object, for example through PList::Node::FromPlist(plist_t node), the array_fill function is called from Array() constructor in line 51. It seems that the intended way of calling array_fill() is to pass the _array object by reference, however it is actually passed by value. Thus the changes to the array object made by array_fill() are discarded when the function returns. This commit passes the _array by reference so we keep the changes. | |||||
2021-06-22 | [clang-tidy] cpp: Use correct type for loop variable | Rosen Penev | 1 | -4/+2 | |
Found with bugprone-too-small-loop-variable Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2021-06-22 | [clang-tidy] cpp: Turn reference operators to const | Rosen Penev | 1 | -1/+1 | |
Found with cppcoreguidelines-c-copy-assignment-signature Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-06-03 | c++: Switch to c++ headers | Rosen Penev | 1 | -2/+2 | |
[clang-tidy]Found with hicpp-deprecated-headers Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-06-03 | c++: Remove redundant initialization | Rosen Penev | 1 | -1/+1 | |
[clang-tidy] Found with readability-redundant-member-init Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-06-03 | c++: Add closing namespace comment | Rosen Penev | 1 | -1/+1 | |
[clang-tidy] Found with google-readability-namespace-comments Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2019-05-19 | plist_array_get_item_index(): return UINT_MAX instead of 0 when node can't ↵ | Nikias Bassen | 1 | -0/+4 | |
be found | |||||
2019-01-21 | plist: Add iterator for #PLIST_ARRAY nodes | Nikias Bassen | 1 | -22/+16 | |
Similar to #PLIST_DICT, an iterator can now be used for #PLIST_ARRAY nodes. Get an iterator with plist_array_new_iter() and use plist_array_next_item() to iterate over the elements. | |||||
2014-09-20 | Added const to Array.GetSize(), and to 3 Node methods. | Aaron Burghardt | 1 | -2/+2 | |
2014-09-20 | Change Clone() to be const, which required constructors with const ↵ | Aaron Burghardt | 1 | -2/+2 | |
references and a const GetValue(). | |||||
2014-05-20 | Rename "index" variable as it shadows global declaration on older systems | Martin Szulecki | 1 | -2/+2 | |
2009-11-28 | Remove last includes of non-existing Utils.h | Martin Szulecki | 1 | -1/+0 | |
2009-11-11 | Fix removal of the Utils class. | Jonathan Beck | 1 | -3/+3 | |
2009-11-10 | Remove wrongly exposed SetParent method. | Jonathan Beck | 1 | -2/+2 | |
2009-11-04 | Add GetNodeIdex and GetNodeKey methods. | Jonathan Beck | 1 | -0/+8 | |
2009-10-28 | Format sources to ANSI style using AStyle (astyle --style=ansi). | Jonathan Beck | 1 | -26/+26 | |
2009-10-28 | Fix build for MSVC9. | Jonathan Beck | 1 | -2/+3 | |
2009-10-26 | Add Set/Get Parent and a helper to create a Node from a plist_t. | Jonathan Beck | 1 | -99/+8 | |
2009-10-16 | Fix Node lifecycle and change argument as reference to const reference. | Jonathan Beck | 1 | -18/+18 | |
2009-10-15 | Fix various mistakes in C++ bindings. | Jonathan Beck | 1 | -3/+42 | |
2009-10-13 | Add C++ binding. | Jonathan Beck | 1 | -0/+194 | |