Rémi Denis-Courmont
aa1a821d4f
libvlc: simplify logging callback
...
Remove static data, and keep each callback correctly scoped to its
LibVLC instance.
2013-03-18 23:15:21 +02:00
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.
2012-08-15 10:50:48 +03:00
Rémi Denis-Courmont
88bc3a7ec7
msg_Subscribe: expose structure to plugins
...
This eliminates one error case that nobody dealt with anyway.
2012-04-18 23:31:19 +03:00
Rafaël Carré
4644b70670
logger: fix HTML mode
2012-04-18 15:03:22 -04:00
Jean-Baptiste Kempf
c9d6d6dabe
Logger: prefer 'VLC' over 'vlc'
2012-04-15 18:38:18 +02:00
Felix Paul Kühne
64637de275
logger: fixed default log location on OS X
2012-03-14 18:18:05 +01:00
Rafaël Carré
8d2f07b0b9
logger: don't use NULL FILE* on android
2012-01-25 04:00:46 -05:00
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
2012-01-25 04:00:00 -05:00
Rafaël Carré
e50cfac2d3
logger: store in the context which logging mode is being used
...
Don't close a NULL FILE* on android
2012-01-25 01:47:07 -05:00
Rafaël Carré
2e86bc8f27
logger: cascade if/else for different modes
2012-01-25 01:38:32 -05:00
Rafaël Carré
7c6abb2045
logger: move Apple related define where it is used
2012-01-25 01:36:57 -05:00
Rafaël Carré
9acc769230
logger: remove unused defines
2012-01-25 01:36:57 -05:00
Rémi Denis-Courmont
bf52416f89
logger: do not enumerate choices (wrong) in long text
2012-01-22 19:00:24 +01:00
Rafaël Carré
a43414d06f
logger: support android
2012-01-22 03:33:59 -05:00
Rémi Denis-Courmont
a7c6b3bf4d
logger: output UTF-8 in text mode and prefix with a Byte Order Mark
2011-09-22 16:47:17 +03:00
Rémi Denis-Courmont
409e6544d3
logger: use <strong> rather than <b> in strict HTML
2011-09-22 16:31:50 +03:00
Rémi Denis-Courmont
2ba959747d
Use standard putc_unlocked() instead of fputc_unlocked()
2011-08-21 11:23:57 +03:00
Rémi Denis-Courmont
f83d51d4b1
logger: dispatch message directly to the correct function + clean up
2011-08-21 00:06:10 +03:00
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.
2011-08-20 23:34:43 +03:00
Rémi Denis-Courmont
55af05f319
Remove msg_cb_data_t and simplify accordingly
2011-08-19 23:38:37 +03:00
Rémi Denis-Courmont
fad10ee530
Fix namespace, remove useless variable and clean up msg_* functions()
2011-08-19 23:38:37 +03:00
Rémi Denis-Courmont
9f1762006c
Update message callback
...
- remove always zero overruns counter,
- constify message pointer.
2011-05-11 19:41:57 +03:00
Rémi Denis-Courmont
f2fd47b4b4
No need to copy msg_item_t.psz_header
2011-05-11 19:41:56 +03:00
Rémi Duraffort
fd46322593
logger: use var_inherit.
2010-12-03 12:05:56 +01:00
Rémi Denis-Courmont
f98a66cea0
add_integer: remove callback parameter
2010-10-22 21:10:50 +03:00
Rémi Denis-Courmont
cecde7fc23
add_savefile: remove callback parameter
2010-10-22 21:09:52 +03:00
Rémi Denis-Courmont
3204d23260
Remove legacy parameter from add_string()
2010-10-22 21:09:47 +03:00
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.
2010-10-14 19:29:15 +03:00
Rémi Duraffort
cad39a6be2
Use var_Inherit.
2010-10-09 09:58:33 +02:00
Rafaël Carré
a6367fb75f
logger: fix verbosity
2010-07-28 16:11:52 +02:00
Rémi Denis-Courmont
cc856b0f65
logger: output to file in local character set
2010-07-22 20:25:48 +03:00
Ilkka Ollakka
c78699e53d
Revert "Revert "redundant includes of vlc_playlist.h""
...
This reverts commit eca93931a3
.
and fixes taglib compile
2010-06-11 22:32:25 +03:00
Jakob Leben
eca93931a3
Revert "redundant includes of vlc_playlist.h"
...
This reverts commit 61db9aad01
.
2010-06-11 21:21:49 +02:00
Jakob Leben
61db9aad01
redundant includes of vlc_playlist.h
2010-06-11 19:45:33 +02:00
Rémi Denis-Courmont
7e45ab1b28
utf8_* -> vlc_* (sed roxxors)
2010-02-07 15:25:29 +02:00
Rémi Denis-Courmont
d601e4ed29
Split file path functions out of vlc_charset.h into vlc_fs.h
2010-02-07 15:19:37 +02:00
Rémi Denis-Courmont
cdf54698d5
misc: use var_Inherit
2010-01-23 20:04:48 +02:00
Pierre Ynard
40c3a9fd60
logger: build fix
2010-01-01 00:57:52 +01:00
Pierre d'Herbemont
7fda3fd95b
logger: Remove what seems to be useless.
2009-12-31 17:05:14 +01:00
Pierre d'Herbemont
98fa929dae
logger: Allow log-verbose to override --verbose.
2009-12-31 17:05:13 +01:00
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
2009-09-30 18:21:50 +02:00
Pierre Ynard
099ecfa6a9
WinCE: remove header redefinition
...
If this flag is not defined, then put it back, but at least with a
proper #ifdef ...
2009-08-31 17:07:14 +02:00
Pierre Ynard
1ded4c43f2
logger: fix warning
2009-08-31 11:10:22 +02:00
Rémi Denis-Courmont
e0abdc4fa4
Put log files to documents
...
Or maybe we should put them on the desktop? home directory seemed lame.
2009-08-26 01:00:44 +03:00
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.
2009-08-24 21:27:31 +03:00
Pierre d'Herbemont
2053866380
logger: Flag unused param.
2009-08-20 16:43:25 +02:00
Rémi Denis-Courmont
9f89ad4231
Fix free() warning
2009-08-03 20:13:36 +03:00
JP Dinger
208aeca0a6
Clean up syslog handling in logger: Use only one list of facilities, and get the default facility from that list.
2009-07-27 11:44:55 +02:00
Rémi Denis-Courmont
9f2fb76258
Kill a few relocations
2009-06-03 19:38:34 +03:00
Pierre Ynard
3b68fc1354
logger: add a --syslog-facility option
...
"daemon" is kept as the default, other accepted values are for now
"user" and "local0" through "local7"
2009-05-27 11:29:49 +02:00