Staging
v0.5.1
Revision 2eca52d3e3eea2f82d20134466286f498b10aba3 authored by Filip Roséen on 04 March 2016, 16:04:14 UTC, committed by Jean-Baptiste Kempf on 05 March 2016, 21:20:49 UTC
In order to provide better runtime safety manual management of dynamic
memory has been removed from `class Tags` and `class SimpleTags`.

This includes introducing usage of `std::vector` as well as
`std::string`, while also removing data-members that are no longer
required.

 - SimpleTag::b_default has been removed since it was written to (at
   once place), but never read; the write has been replaced by a comment.

 - The ParseSimpleTag function has been changed to return `bool` instead
   of a pointer to signal whether parsing was successful. The result
   will be written to `pout_simple` (instead of being indirectly
   returned through a pointer).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
1 parent e527210
History
File Mode Size
test
.gitignore -rw-r--r-- 8 bytes
Makefile.am -rw-r--r-- 463 bytes
asprintf.c -rw-r--r-- 1.3 KB
atof.c -rw-r--r-- 1.2 KB
atoll.c -rw-r--r-- 1.2 KB
dirfd.c -rw-r--r-- 1.3 KB
fdopendir.c -rw-r--r-- 2.3 KB
ffsll.c -rw-r--r-- 1.3 KB
flockfile.c -rw-r--r-- 2.0 KB
freeaddrinfo.c -rw-r--r-- 1.6 KB
fsync.c -rw-r--r-- 1.3 KB
gai_strerror.c -rw-r--r-- 3.2 KB
getdelim.c -rw-r--r-- 2.0 KB
getpid.c -rw-r--r-- 1.3 KB
gettimeofday.c -rw-r--r-- 1.9 KB
gmtime_r.c -rw-r--r-- 3.1 KB
inet_pton.c -rw-r--r-- 2.0 KB
lldiv.c -rw-r--r-- 1.2 KB
localtime_r.c -rw-r--r-- 1.7 KB
nrand48.c -rw-r--r-- 1.9 KB
poll.c -rw-r--r-- 7.6 KB
posix_memalign.c -rw-r--r-- 1.8 KB
recvmsg.c -rw-r--r-- 2.1 KB
rewind.c -rw-r--r-- 1.2 KB
sendmsg.c -rw-r--r-- 2.0 KB
setenv.c -rw-r--r-- 1.7 KB
strcasecmp.c -rw-r--r-- 1.5 KB
strcasestr.c -rw-r--r-- 1.8 KB
strdup.c -rw-r--r-- 1.3 KB
strlcpy.c -rw-r--r-- 1.7 KB
strndup.c -rw-r--r-- 1.3 KB
strnlen.c -rw-r--r-- 1.3 KB
strnstr.c -rw-r--r-- 1.6 KB
strsep.c -rw-r--r-- 1.5 KB
strtof.c -rw-r--r-- 1.2 KB
strtok_r.c -rw-r--r-- 1.7 KB
strtoll.c -rw-r--r-- 2.7 KB
strverscmp.c -rw-r--r-- 3.0 KB
swab.c -rw-r--r-- 1.4 KB
tdestroy.c -rw-r--r-- 6.1 KB
timegm.c -rw-r--r-- 2.2 KB
timespec_get.c -rw-r--r-- 1.8 KB
vasprintf.c -rw-r--r-- 1.7 KB

back to top