summaryrefslogtreecommitdiff
path: root/src/xine-engine/info_helper.c
AgeCommit message (Collapse)Author
2008-08-06Really fix the metadata bug...Darren Salt
2008-05-09Use size_t to keep the value returned by strlen().Diego 'Flameeyes' Pettenò
When using a variable to store the result of strlen(), make sure its type is size_t just like the function returns, rather than using a smaller type like int. --HG-- extra : transplant_source : %B0%D5%3B%D7%1Dy%0A%7E%7D%7C%023%08%B2%CE%D3t%0B3%D7
2008-05-07Use proper string functions in place of sn?printf.Diego 'Flameeyes' Pettenò
Instead of calling sprintf or snprintf with a "%s" format string, use the proper strcpy, strncpy, strdup or strndup function.
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
The xine_xmalloc() function is going to be deprecated, as its behaviour is rarely needed as such, and it's thus misused. With this, almost all uses of xine_xmalloc() with static size (for instance the value returned by sizeof()) or with a size that is guaranteed not to be zero (like strlen()+1) are replaced with calls to either calloc(1, ...) or malloc(). malloc() is used whenever the allocated memory is going to be immediately overwritten, while calloc() is used in every other case, as it sets the whole memory area to zero. --HG-- extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2006-10-16Fixed several warnings (but warnings due to APIs not solved).František Dvořák
CVS patchset: 8344 CVS date: 2006/10/16 22:18:24
2006-09-26Fix an off-by-one, found by Coverity Scan CID 118.Diego 'Flameeyes' Pettenò
CVS patchset: 8306 CVS date: 2006/09/26 21:54:40
2006-09-12Fixed iconv warnings on FreeBSD, fixed build w/o iconv but require it as ↵František Dvořák
default. CVS patchset: 8223 CVS date: 2006/09/12 21:24:18
2006-03-03- Check if the string is in UTF-8, and the encoding badly reported beforeBastien Nocera
converting it to UTF-8 proper CVS patchset: 7917 CVS date: 2006/03/03 12:59:31
2006-03-01- no need to convert to UTF-8 if the "from" encoding is already UTF-8Bastien Nocera
CVS patchset: 7913 CVS date: 2006/03/01 23:34:58
2004-12-20remove all local names beginning with double underscore, because C99Michael Roitzsch
reserves these names for use by the C implementation CVS patchset: 7288 CVS date: 2004/12/20 21:22:18
2004-12-19fix leakMiguel Freitas
CVS patchset: 7281 CVS date: 2004/12/19 19:28:58
2004-12-12_x_meta_info_set_encoding sounded like it was setting the "encoding" notMiguel Freitas
the "meta_info". _x_meta_info_set_generic must be clearer. (feel free to change if you have a better name, this function is not yet used) CVS patchset: 7225 CVS date: 2004/12/12 00:47:15
2004-12-12ok, so now metadata *IS* UTF-8.Miguel Freitas
i hope frontend developers are reading this... CVS patchset: 7223 CVS date: 2004/12/12 00:39:14
2004-08-17Stay within array boundsJames Stembridge
CVS patchset: 6891 CVS date: 2004/08/17 22:17:30
2003-12-14can't use strdup for '\0' separated meta infosDaniel Caujolle-Bert
CVS patchset: 5908 CVS date: 2003/12/14 00:33:36
2003-12-14add _x_meta_info_set_multi function, will be used very soon. Don't parse ↵Daniel Caujolle-Bert
va_arg two times in _x_message function. CVS patchset: 5907 CVS date: 2003/12/14 00:28:02
2003-12-13Update win32 MSVC build:František Dvořák
* internal names cleanup * http input plugin uses http_helper.c * fix change in audio_directx * MSVC stoped compile xineui because of 'this', mysterious * change non-constand array lengths to malloc/free, it good for such old compilers as my MSVC 6.0 * change lprintf macro for MSVC to compile again (I don't know, how use variable number of macro arguments in MSVC...) * merge compiling of xine-utils and xine-engine CVS patchset: 5902 CVS date: 2003/12/13 11:35:07
2003-11-16New stream/meta info (safe) stuff.Daniel Caujolle-Bert
BIG NOTE: use helpers to access to these informations (get/set/reset): _x_{stream,meta}_info_{get,set,reset}() are for internal use, don't use *_public() ones from inside the beast ;-) Some wrongly names "xine_" fonction renaming. CVS patchset: 5757 CVS date: 2003/11/16 23:33:42
2003-11-16actually not every engine file uses internals, so we do not need to defineMichael Roitzsch
XINE_ENGINE_INTERNAL for every file CVS patchset: 5753 CVS date: 2003/11/16 15:41:15
2003-11-15more helper functions cleanup (stream info, meta info)Miguel Freitas
CVS patchset: 5731 CVS date: 2003/11/15 13:01:00
2003-10-30tighten up some functions to make xine less prone to crashingMike Melanson
CVS patchset: 5639 CVS date: 2003/10/30 05:00:03
2003-10-26Code review from Daniel.Thibaut Mattern
CVS patchset: 5612 CVS date: 2003/10/26 23:51:36
2003-10-19Rename meta_helper info_helper.Thibaut Mattern
Add a function to set integer stream infos. CVS patchset: 5547 CVS date: 2003/10/19 19:45:03