Rémi Denis-Courmont
2b7581cdb8
LUA: do not blindly cast object to interface thread ( fix #3396 )
16 years ago
Rémi Denis-Courmont
30aaaa4a20
LUA: store p_intf->p_sys separately
16 years ago
Rémi Denis-Courmont
c1d3b2601d
LUA: avoid leading underscores
16 years ago
Rémi Duraffort
a63042d425
lua_playlist: Use the title of the item and fallback to the name if this one is empty (better for some sd like icecast).
16 years ago
Rémi Duraffort
d139be2b6d
Lua: use config_StringEscape.
16 years ago
Rémi Duraffort
bca37187e2
Lua: escape the lua modules names ( fix #3492 )
16 years ago
Rémi Duraffort
d77b62ee22
Lua: fix #3492 , and commas around the name and longname.
16 years ago
Rémi Duraffort
078feead12
Lua: fix a crash (the command is already freeed).
16 years ago
Rémi Duraffort
c12e97cbe7
Lua_ext: fix race condition.
16 years ago
Ilkka Ollakka
186273ab98
audioscrobbler: check video-es also in playingchange
some video seemed to go pass and sended to last.fm otherwise.
16 years ago
Ilkka Ollakka
9e3623e082
freetype: don't create/show fontcache dialog if config is upto date
This is still blind fix, don't have windows box to test atm. So don't blame
me when it eats your cat and runs to riviera with your money and gf (and free
to revert in those cases). Don't remember if that check works correctly in
windows side.
16 years ago
Rémi Duraffort
158be7e57e
Lua: fix interface selection.
16 years ago
Rémi Duraffort
0b4f577dc7
Growl: do not get the configuration for every item (get if at opening time only).
16 years ago
Rémi Duraffort
1f3432f3c2
Growl: cosmetics.
16 years ago
Rémi Duraffort
49f13e0e08
Growl: fix a second buffer overflow.
16 years ago
Rémi Duraffort
6af8bf05b7
growl: fix a buffer overflow.
16 years ago
Rémi Duraffort
5ef889a453
Grow: fix crash when the password is NULL.
16 years ago
Rémi Duraffort
7b7d26d88a
Growl: fix bad memset.
16 years ago
Rémi Duraffort
ed6f4ee4be
Growl: cosmetics.
16 years ago
Rémi Duraffort
0c33ffc1b3
growl: fix pontential use after free (var_delcallbacl called to late).
16 years ago
Jean-Philippe André
8b61de26db
Lua: do not click a button twice in a row
Fixes #3364 (big bug on buttons)
It is not possible to click the same button twice in a row (while the
script is actually running), but other buttons can be clicked.
16 years ago
Jean-Philippe André
3e21c73fa8
Lua: fix default value of drop-down lists
Fix #3370
16 years ago
Srikanth Raju
14707cbaca
Lua: Avoid segmentation fault on recv() fail
Signed-off-by: Jean-Philippe André <jpeg@videolan.org>
16 years ago
Srikanth Raju
2bb90c75be
Lua: Implement net.connect_tcp
Signed-off-by: Jean-Philippe André <jpeg@videolan.org>
16 years ago
Jean-Philippe André
6ee0699ed2
Lua: fix previous commit ( 83ab54255)
16 years ago
Jean-Philippe André
68c015a6c7
Lua: new function "set_title()" for dialogs
Partial fix for #3304
16 years ago
Jean-Philippe André
6e0f1ce2ff
Lua: rename d:close() to d:delete() and d:flush() to d:update()
Avoids confusion between dialog:close() and the "close()" hook
Partially fix #3304
16 years ago
Jean-Philippe André
83ab54255b
Lua: Extensions, fix position of buttons
Fix #3375
16 years ago
Rémi Denis-Courmont
b63326b733
Rename linked_with_a_crap_library_which_uses_atexit()
In several cases, it is not used because of atexit().
16 years ago
Fabio Ritrovato
b56560d764
Lua SD: check if p_input exists before using it
16 years ago
Fabio Ritrovato
18cb2997f3
Lua: fix typo on previous commit
16 years ago
Fabio Ritrovato
0074c723d0
Lua: don't use empty strings for metas ( close #3403 )
16 years ago
Fabio Ritrovato
a569473aa6
Lua SD: don't open the playlist lib
16 years ago
Rémi Denis-Courmont
438bc9c600
MSN: fix assertion ( fixes #2930 )
16 years ago
Rémi Denis-Courmont
fb3c1a2898
LUA: (really) fix infinite loop
16 years ago
Rémi Denis-Courmont
ac8243334c
Thread-safe random numbers for session IDs
16 years ago
Pierre d'Herbemont
503a7851c5
luasd: Force a garbage collect at the end of Run().
Generally the core won't call Close() until the end of vlc's life. Hence
it's our last chance to gc collect before the end of vlc's life.
This gets important because some sd (freebox...) will open a vlc.stream
which (and that's an other issue) will eat 12MB at creation for a cache
that will never be completely filed. It also mean that if you vlc.stream
N small files, we may consume N * 12MB until finally lua decides to garabge
collect. And because we don't teach lua that vlc.stream takes 12MB this
is not likely to happen.
16 years ago
Pierre d'Herbemont
138f082938
luasd: Fix a leak.
16 years ago
Rémi Denis-Courmont
6b8a408fdb
utf8_lstat -> vlc_lstat for consistency
16 years ago
Antoine Cellerier
83655cec3f
Prefer use of function references for buttons
Use of function references rather than function names to store button
actions. This allows using all kinds of functions, including non global
ones. Note that the old mechanism using global function names is not
supported anymore. Existing scripts will need to be fixed (-> just
remove the quotes around the function name).
16 years ago
Antoine Cellerier
874015cce3
Lua: Misc simplifications.
16 years ago
Antoine Cellerier
4822a79c71
Change vlc.stream() and vlc.memory_stream() error reporting to behave like lua's io.open() or loadfile() functions.
16 years ago
Antoine Cellerier
31b16162b2
Revert "Use pushliteral instead of pushstring where possible. Saves a strlen call."
This reverts commit d69b5e6098 .
16 years ago
Antoine Cellerier
d69b5e6098
Use pushliteral instead of pushstring where possible. Saves a strlen call.
16 years ago
Fabio Ritrovato
a3670b8f94
Lua SD: fix leaking
16 years ago
Antoine Cellerier
b8d7defe17
Don't use printf to print debug output.
16 years ago
Antoine Cellerier
725a1777f4
Don't add share directory to lua search path on windows. Fixes #3320 .
16 years ago
Antoine Cellerier
67cfc81471
Fix NULL pointer dereferencing due to c58a5af740.
16 years ago
Antoine Cellerier
af632723ca
Kill warning.
16 years ago
Antoine Cellerier
725f76a196
Kill warnings about unused variables. (jpeg?)
16 years ago