Konstantin Pavlov
020f9e535e
logger: add --syslog-ident parameter.
By default VLC uses "vlc" as syslog ident but in case more than one VLC
is logging this may not be enough.
This commit introduces --syslog-ident parameter which allows setting of
the ident.
Based on patch by Georgi Chorbadzhiyski <gf@unixsol.org>.
13 years ago
Rémi Denis-Courmont
dde93dd573
Rename msg_item_* to vlc_log_* (cosmetic)
(This is needed for the next change.)
13 years ago
Rémi Denis-Courmont
9ee42fca3a
logger: use vlc_LogSet()
13 years ago
Rémi Denis-Courmont
aa1a821d4f
libvlc: simplify logging callback
Remove static data, and keep each callback correctly scoped to its
LibVLC instance.
13 years ago
Rémi Denis-Courmont
ca923dceb2
Separate string list and string list callback
The configuration system cannot store both a static list and a dynamic
one (and AFAIK, it never could). It only makes to use either a static
list or a callback.
14 years ago
Rémi Denis-Courmont
88bc3a7ec7
msg_Subscribe: expose structure to plugins
This eliminates one error case that nobody dealt with anyway.
14 years ago
Rafaël Carré
4644b70670
logger: fix HTML mode
14 years ago
Jean-Baptiste Kempf
c9d6d6dabe
Logger: prefer 'VLC' over 'vlc'
14 years ago
Felix Paul Kühne
64637de275
logger: fixed default log location on OS X
14 years ago
Rafaël Carré
8d2f07b0b9
logger: don't use NULL FILE* on android
14 years ago
Rafaël Carré
091552e8ad
Revert "logger: store in the context which logging mode is being used"
This reverts commit e50cfac2d3 .
This undid modifications made in f83d51d4b1
14 years ago
Rafaël Carré
e50cfac2d3
logger: store in the context which logging mode is being used
Don't close a NULL FILE* on android
14 years ago
Rafaël Carré
2e86bc8f27
logger: cascade if/else for different modes
14 years ago
Rafaël Carré
7c6abb2045
logger: move Apple related define where it is used
14 years ago
Rafaël Carré
9acc769230
logger: remove unused defines
14 years ago
Rémi Denis-Courmont
bf52416f89
logger: do not enumerate choices (wrong) in long text
14 years ago
Rafaël Carré
a43414d06f
logger: support android
14 years ago
Rémi Denis-Courmont
a7c6b3bf4d
logger: output UTF-8 in text mode and prefix with a Byte Order Mark
15 years ago
Rémi Denis-Courmont
409e6544d3
logger: use <strong> rather than <b> in strict HTML
15 years ago
Rémi Denis-Courmont
2ba959747d
Use standard putc_unlocked() instead of fputc_unlocked()
15 years ago
Rémi Denis-Courmont
f83d51d4b1
logger: dispatch message directly to the correct function + clean up
15 years ago
Rémi Denis-Courmont
63d1c692a8
Push log message formatting to subscribers
This avoids allocating memory and formatting debug messages when none
of the subscribers care about them.
15 years ago
Rémi Denis-Courmont
55af05f319
Remove msg_cb_data_t and simplify accordingly
15 years ago
Rémi Denis-Courmont
fad10ee530
Fix namespace, remove useless variable and clean up msg_* functions()
15 years ago
Rémi Denis-Courmont
9f1762006c
Update message callback
- remove always zero overruns counter,
- constify message pointer.
15 years ago
Rémi Denis-Courmont
f2fd47b4b4
No need to copy msg_item_t.psz_header
15 years ago
Rémi Duraffort
fd46322593
logger: use var_inherit.
16 years ago
Rémi Denis-Courmont
f98a66cea0
add_integer: remove callback parameter
16 years ago
Rémi Denis-Courmont
cecde7fc23
add_savefile: remove callback parameter
16 years ago
Rémi Denis-Courmont
3204d23260
Remove legacy parameter from add_string()
16 years ago
Rémi Denis-Courmont
963630ba6e
split add_file into add_loadfile and add_savefile
The preference panel needs to know which of open or save file dialog
it should use. Here we have 27 load and 4 save cases, plus 2 fonts
that were not correctly marked as such in projectM.
16 years ago
Rémi Duraffort
cad39a6be2
Use var_Inherit.
16 years ago
Rafaël Carré
a6367fb75f
logger: fix verbosity
16 years ago
Rémi Denis-Courmont
cc856b0f65
logger: output to file in local character set
16 years ago
Ilkka Ollakka
c78699e53d
Revert "Revert "redundant includes of vlc_playlist.h""
This reverts commit eca93931a3 .
and fixes taglib compile
16 years ago
Jakob Leben
eca93931a3
Revert "redundant includes of vlc_playlist.h"
This reverts commit 61db9aad01 .
16 years ago
Jakob Leben
61db9aad01
redundant includes of vlc_playlist.h
16 years ago
Rémi Denis-Courmont
7e45ab1b28
utf8_* -> vlc_* (sed roxxors)
16 years ago
Rémi Denis-Courmont
d601e4ed29
Split file path functions out of vlc_charset.h into vlc_fs.h
16 years ago
Rémi Denis-Courmont
cdf54698d5
misc: use var_Inherit
16 years ago
Pierre Ynard
40c3a9fd60
logger: build fix
17 years ago
Pierre d'Herbemont
7fda3fd95b
logger: Remove what seems to be useless.
17 years ago
Pierre d'Herbemont
98fa929dae
logger: Allow log-verbose to override --verbose.
17 years ago
Rafaël Carré
6787c516bd
logger: disable thread cancellation in callback
fix a deadlock where the thread would be cancelled while still holding
message bank lock
17 years ago
Pierre Ynard
099ecfa6a9
WinCE: remove header redefinition
If this flag is not defined, then put it back, but at least with a
proper #ifdef ...
17 years ago
Pierre Ynard
1ded4c43f2
logger: fix warning
17 years ago
Rémi Denis-Courmont
e0abdc4fa4
Put log files to documents
Or maybe we should put them on the desktop? home directory seemed lame.
17 years ago
Rémi Denis-Courmont
08d89300a6
Add a directory type parameter to config_GetHomeDir
This will avoid adding plenty of config_GetFoobarDir exports later.
Also make config_GetHomeDir return a heap-allocated string.
17 years ago
Pierre d'Herbemont
2053866380
logger: Flag unused param.
17 years ago
Rémi Denis-Courmont
9f89ad4231
Fix free() warning
17 years ago