Age | Commit message (Collapse) | Author |
|
|
|
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
|
|
Instead of calling sprintf or snprintf with a "%s" format string, use
the proper strcpy, strncpy, strdup or strndup function.
|
|
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
|
|
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
|
|
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
|
|
CVS patchset: 8344
CVS date: 2006/10/16 22:18:24
|
|
CVS patchset: 8306
CVS date: 2006/09/26 21:54:40
|
|
default.
CVS patchset: 8223
CVS date: 2006/09/12 21:24:18
|
|
converting it to UTF-8 proper
CVS patchset: 7917
CVS date: 2006/03/03 12:59:31
|
|
CVS patchset: 7913
CVS date: 2006/03/01 23:34:58
|
|
reserves these names for use by the C implementation
CVS patchset: 7288
CVS date: 2004/12/20 21:22:18
|
|
CVS patchset: 7281
CVS date: 2004/12/19 19:28:58
|
|
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
|
|
i hope frontend developers are reading this...
CVS patchset: 7223
CVS date: 2004/12/12 00:39:14
|
|
CVS patchset: 6891
CVS date: 2004/08/17 22:17:30
|
|
CVS patchset: 5908
CVS date: 2003/12/14 00:33:36
|
|
va_arg two times in _x_message function.
CVS patchset: 5907
CVS date: 2003/12/14 00:28:02
|
|
* 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
|
|
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
|
|
XINE_ENGINE_INTERNAL for every file
CVS patchset: 5753
CVS date: 2003/11/16 15:41:15
|
|
CVS patchset: 5731
CVS date: 2003/11/15 13:01:00
|
|
CVS patchset: 5639
CVS date: 2003/10/30 05:00:03
|
|
CVS patchset: 5612
CVS date: 2003/10/26 23:51:36
|
|
Add a function to set integer stream infos.
CVS patchset: 5547
CVS date: 2003/10/19 19:45:03
|