Age | Commit message (Collapse) | Author |
|
|
|
xine_socket_cloexec() function.
|
|
This patch creates two utility functions:
int open_cloexec(pathname, flags)
int create_cloexec(pathname, flags, mode)
These return a file descriptor with the CLOEXEC flag set, to ensure
that the descriptor is not inherited across a fork/exec operation.
The sockets returned by:
_x_io_tcp_connect_ipv4()
_x_io_tcp_connect()
now also have their CLOEXEC flag set.
|
|
|
|
This requires that many other files include config.h themselves.
Also convert <config.h> to "config.h".
|
|
This does not incompatibly change the API and has no effect on the ABI.
--HG--
rename : src/xine-utils/xineutils.h => src/xine-utils/xine_mmx.h
|
|
|
|
Adjust translations for the spacing changes etc. which this introduces.
|
|
All the initialisation functions returning a new object instance that
was allocated through malloc() or calloc() can get the malloc
attribute so that the compiler can optimise their call.
|
|
Its result will be always the same during execution, as it depends on
the hardware present.
--HG--
extra : transplant_source : %F2%D1%1A%84%0F%D4%08%C0%12%09%1A%BBb%7Ef%CC%F2%FB%A3t
|
|
|
|
rather than just checking for GCC 3.
|
|
|
|
|
|
--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.
|
|
Taso N. Devetzis. [bug #1614406]
CVS patchset: 8438
CVS date: 2006/12/25 15:16:33
|
|
CVS patchset: 8420
CVS date: 2006/12/18 18:32:44
|
|
CVS patchset: 8344
CVS date: 2006/10/16 22:18:24
|
|
CVS patchset: 8291
CVS date: 2006/09/26 07:48:57
|
|
CVS patchset: 8290
CVS date: 2006/09/26 05:48:16
|
|
Optimise away _xine_buffer_strcat.
CVS patchset: 8073
CVS date: 2006/06/23 18:24:22
|
|
- rint, lrint, M_PI (ffmpeg and goom)
- avoid mkdir warnings
- check for older _GUID_DEFINED too
- ressurected generating inttypes, cleaned public os_types.h
- moved function redefiniton used only in the old MSVC to central place
Windows port update:
- build internal ffmpeg:
- workaround 'near' keyword problem
- proper using __declspec(dllimport)
Other changes:
- LIBFFMPEG_CFLAGS --> LIBFFMPEG_CPPFLAGS
CVS patchset: 7964
CVS date: 2006/04/08 16:42:23
|
|
CVS patchset: 7900
CVS date: 2006/02/14 19:12:16
|
|
Sorry about the breakage.
CVS patchset: 7855
CVS date: 2006/01/28 17:09:59
|
|
Windows ports updates:
- finished M$VC port update
- moved xine plugins back to normal location for Windows ports,
added relative directories (used relative to ${prefix}),
make sure it's thread-safe (but it's still hacky)
- fixed ugly bug with loading plugins, when working drive was differrent from
plugins directory
directory
- directory and subdirectory separator called as platform specific
- fix crash with newer win32 pthread (missing mutex_init in vo plugin), yes!
- small doc update
CVS patchset: 7712
CVS date: 2005/08/29 15:28:16
|
|
Windows ports fixes and improvements due to my current work on toxine:
- first experiments with external win32 pthreads,
more portable code (pthread_t may be a struct)
- headers refactored
- moved dirent win32 replacement to lib/, hide it for frontends,
used system version, if found, not used non-POSIX dirent->d_reclen
(this item doesn't work in MinGW), fix memleak in dvb
- separated settings for postproc and avcodec when using external ffmpeg
- check for malloc.h in public xine.m4, used it conditionally in xine headers
- replaced random() by POSIX more common rand()
- prevent one segfault in directx vo plugin, if fails
- M$VC port update
CVS patchset: 7709
CVS date: 2005/08/25 15:36:29
|
|
Compilation fixes for cross-compiling with MinGW32.
CVS patchset: 7231
CVS date: 2004/12/12 13:51:28
|
|
CVS patchset: 7087
CVS date: 2004/10/29 23:11:37
|
|
poor platforms, of course)
- fix a bug in generated xine-config for WIN32 and make it relocateable
under Windows
- MSVC port: update, fix some warnings, remove old unneeded files
- improve function for getting runtime directory, it will need next fix
yet (bug probably due to active volume drives)
CVS patchset: 7001
CVS date: 2004/09/26 22:54:51
|
|
- use replacement functions (macro AC_REPLACE_FUNCS and variable LTLIBOBJS),
each function is in a file placed into lib/ directory,
it was not necessary, but it looks nice, IMHO
- headers cleanups (this was needed):
- prototypes of replacement funtions and macros are placed
into separate os_internal.h (and included by config.h)
- drop include inttypes.h from public xine.h, replaced by custom
os_type.h, idea origins from Ogg/Vorbis public headers
- disable generating inttypes.h: generated replacement isn't enough for
xine-lib but nobody complained (and for M$VC we have special version)
- better including headers for win32, let dvdnav use its mutex wrapper
- updated M$VC port
Result:
- xine is compiled nicely by MinGW, CygWin and paritaly M$VC
- frontends in M$VC port don't require additional helping headers
- moved some platform specific things from xine-utils and win32/contrib
to lib/
Finally I can start with real coding. :-)
CVS patchset: 6982
CVS date: 2004/09/20 19:30:02
|
|
- usability MSVC for frontends
- remove unistd.h from public headers
- add configure option "--with-dxheaders"
- install .def file under WIN32
- MSVC port update (some people might want it)
CVS patchset: 6944
CVS date: 2004/09/06 18:34:37
|
|
- new flags added at the end, so the users can override them properly
- removed X11 libs and cflags from xine-config and libxine.pc
- removed replacing for setenv (thanks to Robin for the hint)
- better way for temporary disabling of w32dll module
- data directories will be different on Windows
- force installing catalogs with translation into XINE_LOCALEDIR
- timer linked in xine-engine (just central place for linking such stuff)
- adjusted load_plugins and remove reduntant WIN32 conditionals
- removed unused $(lib_thr)
CVS patchset: 6927
CVS date: 2004/09/01 18:19:49
|
|
List of some changes:
- replaced some _MSC_VER by more common WIN32
- define INTLDIR, remove -static flag for included intl
- shared more common CFLAGS with DEBUG_CFLAGS
- use WIN32_CFLAGS for all building
- separate some flags into THREAD_CFLAGS_CONFIG,
THREAD_CFLAGS_CONFIG and ZLIB_LIB_CONFIG for public xine-config,
automatically use internal libs if necessary
- don't warn about missing X for mingw and cygwin
- libw32dll disabled for WIN32 (making native loader would be
interesting, or porting wine code to Windows? :->)
- DVB and RTP disabled for WIN32, not ported yet
- fix build and fix a warning in cdda
- fix build for nosefart and libfaad
- implement configure option --disable-freetype
- sync libxine.pc and xine-config.in
- add -liberty to goom under WIN32
- move original build files from included phread and zlib into archives
and replace them by autotools
CVS patchset: 6910
CVS date: 2004/08/27 19:33:17
|
|
current locale.
- Add "-" into encoding names.
- Fix a typo.
CVS patchset: 6793
CVS date: 2004/07/14 18:51:29
|
|
CVS patchset: 6690
CVS date: 2004/06/14 16:36:40
|
|
no replacement, so it's used, but with configure check.
CVS patchset: 6503
CVS date: 2004/05/09 17:42:23
|
|
routines as well as the recently synced ffmpeg tree.
CVS patchset: 6454
CVS date: 2004/04/28 00:38:08
|
|
CVS patchset: 6436
CVS date: 2004/04/25 17:43:58
|
|
move M$VC specific header files into sparate directory
regenerate config.h for M$VC
compilation fixes
add some getchar()s into xineui.exe (popup dialogs would be better)
CVS patchset: 6338
CVS date: 2004/04/06 19:20:15
|
|
CVS patchset: 6316
CVS date: 2004/03/29 19:10:36
|
|
CVS patchset: 6309
CVS date: 2004/03/27 12:59:45
|
|
entry. Using automatic varaibles was also wrong.
CVS patchset: 6288
CVS date: 2004/03/18 16:50:00
|
|
(and I think they are not ANSI as well)
CVS patchset: 6209
CVS date: 2004/03/03 19:59:43
|
|
CVS patchset: 6008
CVS date: 2004/01/07 22:20:59
|
|
CVS patchset: 5955
CVS date: 2003/12/29 16:24:33
|
|
- external ffmpeg (with some patches) built by MINGW works, wow!
- cleanups (only one definition file for all plugins)
- working release build target
Notes to hybrid MINGW/MSVC build:
- CVS version of ffmpeg is compiled by MINGW (small patch for compilation
ffmpeg under MINGW, second for disabling flush because it crashes under
windows)
- libxine + xineui compiled by MSVC, additional patch into header files
of ffmpeg is needed - export all data with '__declspec(dllimport)'
CVS patchset: 5951
CVS date: 2003/12/26 18:37:58
|
|
aliasing assumptions can be made (malloc()-returned pointers never alias
anything), which can leed to further optimizations
CVS patchset: 5933
CVS date: 2003/12/21 14:14:39
|
|
* 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
|
|
CVS patchset: 5900
CVS date: 2003/12/13 01:47:35
|