1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00
Commit Graph

195 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
6113551a3b Remove interaction core
One useless thread gone (the new subsystem does not need a thread).
2009-03-08 22:55:10 +02:00
Rémi Denis-Courmont
c3103fe448 Remove intf_UserProgress 2009-03-08 22:55:09 +02:00
Rémi Denis-Courmont
e598037c33 Remove intf_UserStringInput 2009-03-08 16:37:34 +02:00
Rémi Denis-Courmont
402e44d0ef Remove intf_UserYesNo 2009-03-08 12:35:49 +02:00
Rémi Denis-Courmont
7cba3abbd0 Remove intf_UserLoginPassword 2009-03-07 23:23:26 +02:00
Rémi Denis-Courmont
f6d917cb44 Remove __intf_UserFatal 2009-03-07 18:29:36 +02:00
Rémi Denis-Courmont
91082b5bd5 intf_UserWarn: remove dead code 2009-03-05 23:20:42 +02:00
Rémi Denis-Courmont
4525d69506 Custom lock for interaction 2009-03-05 18:37:57 +02:00
Jean-Baptiste Kempf
83ca53f73d Add .mlp and .ape in open file dialog. They work just fine. 2009-03-01 14:47:25 +01:00
Jean-Baptiste Kempf
195597f3f7 Don't believe Wikipedia: VLC supports perfectly well Wavepack files OUTSIDE of mkv. 2009-02-28 23:17:32 +01:00
Jean-Baptiste Kempf
fe83d5a4cb Add .rec files in open files. 2009-02-17 12:35:17 +01:00
Anthony Loiseau
63dcebf71f Sort by alphabetical order the extensions. 2009-02-11 02:09:26 +01:00
Anthony Loiseau
2c8cdc30b8 Add .iso to the video files extensions (untested)
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
2009-02-10 18:35:37 +02:00
Rémi Denis-Courmont
6a25e4f971 Interaction: remove dummy new state 2009-02-01 14:30:47 +02:00
Rémi Denis-Courmont
c00b6cab19 Interaction: avoid thread if there is no provider 2009-02-01 12:56:47 +02:00
Rémi Denis-Courmont
065f760877 Progress interaction: remove useless parameter 2009-02-01 00:18:14 +02:00
Rémi Denis-Courmont
647ff1a243 Interaction: remove (buggy and useless) dialog IDs 2009-02-01 00:04:40 +02:00
Rémi Denis-Courmont
484b0aa1c4 libvlc_InternalWait, libvlc_Quit: wait and signal libvlc exit 2009-01-24 20:57:47 +02:00
Antoine Cellerier
b7ccccfb9c Add support for config chain for interface modules 2009-01-19 23:40:11 +01:00
Rémi Denis-Courmont
ead147e1fa Hide interaction object layout 2009-01-12 22:57:01 +02:00
Rémi Denis-Courmont
61f37d78d9 Remove useless console type and pointer 2009-01-12 22:42:12 +02:00
Rémi Denis-Courmont
cffcf64f36 Cleanup interaction-capable interface registration
* Make registration thread-safe, and independent on vlc_list_find().
 * Fix use-after-free race condition when destroying the interface
   (interaction will be lost instead).
2009-01-11 19:06:47 +02:00
Jean-Baptiste Kempf
45b587d91d Add .rm and .rmvb extensions. 2008-12-19 00:26:18 +01:00
Rémi Denis-Courmont
f4dc16e6bd b_menu: remove unused variable 2008-12-16 23:04:36 +02:00
Rémi Denis-Courmont
78e7bd3059 b_menu_change: remove write-only variable 2008-12-16 23:01:43 +02:00
Jean-Baptiste Kempf
c7db9ba61a Add .nuv in interface and installer. 2008-09-17 11:53:37 -07:00
Rémi Denis-Courmont
36aca393c5 Remove intf_ShouldDie
libvlc kills the interfaces when it dies anyway.
2008-09-14 11:14:24 +03:00
Antoine Cellerier
88f22433f6 \o/ skins2 work on win32 \o/ <(°v°<)
Thanks a lot to ipkiss for providing the bisect builds and geal for his help.
2008-09-13 18:44:44 +02:00
Jean-Baptiste Kempf
16f240f8a6 Ogg extensions update as RFC 5334 recommends.
Ogg can be now: ogx, ogv, oga but we have to keep ogg and ogm for backward compatibility.
2008-09-12 14:17:04 -07:00
Rémi Denis-Courmont
9ba4d0ff87 psz_intf_switch was read-only: remove dead code 2008-08-28 19:25:57 +03:00
Rémi Denis-Courmont
915ba6e04d Use %s even if all strings are currently free of percent characters 2008-08-13 21:48:03 +03:00
Rémi Denis-Courmont
c0f4bfc5d8 Headers: use non-reserved identifiers for multi-inclusion protection 2008-08-11 19:34:48 +03:00
Jean-Baptiste Kempf
5d313c65e4 Add m2ts and mts to the interface dialog selectors.
Synchronise supported extensions.
2008-08-01 15:49:40 -07:00
Rémi Denis-Courmont
36ca011c05 Remove the main thread hack on platforms with non-idiotic toolkits 2008-07-24 22:00:26 +03:00
Rémi Denis-Courmont
420ab47bb7 wx -> qt 2008-07-06 14:09:18 +03:00
Jean-Baptiste Kempf
7b0d811f81 Add OMA to the interface
Since ffplay can read those files now :D
2008-06-24 22:36:48 -07:00
Rémi Denis-Courmont
138da1916e Remove the broken window embedding core code 2008-06-20 16:40:27 +03:00
Rémi Denis-Courmont
fbb8255dcf Remove __LIBVLC__ test 2008-06-06 19:07:55 +03:00
Rémi Denis-Courmont
ed2a403f13 Remove redumdant b_play code 2008-06-04 19:51:09 +03:00
Rémi Denis-Courmont
26c146e8ac intf_Create: remove unused parameters 2008-05-31 13:29:30 +03:00
Rémi Denis-Courmont
358c28c444 intf_Destroy(): use vlc_object_release() and a destructor instead
While reading this, you will find a bunch of:
  while (find (VLC_OBJECT_INTERFACE))
     release; release;

These are of course plain BUGS (which are neither introduced nor fixed
by this commit). Imagine, for instance, what happens if two threads run
the code above at the same time... they end up releasing the interface
once too many.
2008-05-28 20:56:15 +03:00
Rémi Denis-Courmont
9d85c35d50 Fix HAVE_ATTRIBUTE_FORMAT usage - refs #297 2008-05-26 19:58:57 +03:00
Jean-Baptiste Kempf
b95cac1c36 Update NEWS and interface string about the latest parsing for the subtitles.
Some comments about the naming of the subtitles (mplayer doesn't name as gnome-subtitles does, and none of them respect the main conventions)
Most of the subtitles format are now parsed. However, some styles are still discarded.
2008-05-21 14:18:17 -07:00
Jean-Baptiste Kempf
99c7892b37 Put psb in NEWS, interface and options. 2008-05-13 12:48:01 -07:00
Jean-Baptiste Kempf
b474765b04 Update the NEWS and the dialogs for the subtitles support. 2008-05-12 08:03:20 -07:00
Pierre d'Herbemont
449fd28aaf Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
2008-04-14 02:02:22 +02:00
Jean-Baptiste Kempf
e0bbc1967a Replace define by enum 2008-03-28 16:29:26 -07:00
Antoine Cellerier
0d3aa16a79 Add a psz_intf member to intf_thread_t. This holds the string given to module_Need to load the interface (which can then be used by the interface to know what name was used to load it). 2007-11-04 21:05:00 +00:00
Jean-Baptiste Kempf
fdb97b87d9 Add *.cdg to the format we use in the GUIs. 2007-10-23 17:18:15 +00:00
Pierre d'Herbemont
02857df064 interface.c: Support execution of the interface Run() method on first thread. 2007-09-20 14:28:00 +00:00
Rémi Denis-Courmont
f02445b5a3 Remove interface b_block property. 2007-09-15 15:27:13 +00:00
Rémi Denis-Courmont
25314fa74d If LibVLC is closing, any interface should close, not just the main one 2007-09-15 15:18:04 +00:00
Rémi Denis-Courmont
f464bb35e8 All: missing ATTRIBUTE_FORMAT
Now lets hunt the format warnings!
2007-09-11 20:32:27 +00:00
Jean-Baptiste Kempf
10c43fae52 Qt4 - add .mxf and .gxf to video files. 2007-09-03 21:10:56 +00:00
Jean-Baptiste Kempf
f02ba5409a Add .flv extension. Close #1256 2007-08-06 16:29:02 +00:00
Rémi Denis-Courmont
1fb95447a2 Spelling 2007-04-19 14:54:06 +00:00
Jean-Baptiste Kempf
c437827361 Add a define for the EXTENDED dialog for further use (skins2 ? ) 2007-04-01 20:49:52 +00:00
Clément Stenac
fbf4c8060d A bit of vlc/libvlc cleanup:
* libvlc sources and plugins now define __LIBVLC__ and headers exported to
  plugins (ie, include/vlc_*.h) check for this
* libvlc sources use the value of the "libvlc" component in vlc-config instead
  of vlc
* Apply flags directly to "libvlc" in configure.ac - might temporarily break win32 :)
2006-12-03 13:48:21 +00:00
Clément Stenac
d3fe7f2879 A bit of headers cleanup
* Headers in include must contain the structures and prototypes needed
  by the plugins and should be named vlc_*.
* Headers in include/vlc must contain the structures and prototypes
  needed by external libvlc clients

* Moved and renamed some things in headers. 
   - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
   - Removed snapshot.h (merged in vlc_vout.h)
   - Removed vlc_spu.h (merged in vlc_osd.h)
   - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
   - Moved all internal headers to src
   - Merged vlc_video.h and video_output.h and move private things to src
   - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
     (meta headers for use in modules, and often implying too large 
     dependencies)
* Removed some useless dependencies
* Unexported a bunch of functions and structures used only in src/
  (--> Still some work here)
* Finally made input_thread_t and input_source_t (mostly) private. 
  Added input_GetItem to fetch the input_item of an input_thread
* Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol 
  prefix

This commit has a 99% probability of breaking the build, 0.1% of killing
your cat and 0% of getting you hot chicks.
2006-11-26 14:20:34 +00:00
Rémi Denis-Courmont
da7262d767 Fix another bunch of warnings 2006-11-13 15:43:19 +00:00
Clément Stenac
a06213d7f4 * Get rid of the Manager thread by making blocking interfaces listen to
p_libvlc->b_die
  Not implemented for OS X as I am not sure, please check if it is feasible.
* Don't run the dummy interface
2006-09-24 09:34:57 +00:00
Christophe Mutricy
19f019c7e4 Add a "Media Files" extension list + i18n 2006-09-23 12:36:02 +00:00
Clément Stenac
dfb262bd3d File type filters and implementation in WX. Refs:#24
Thanks to Steven Sheehy and sorry for the delay :)
2006-05-28 12:04:19 +00:00
Clément Stenac
11bfb4643b Add separate audio and video popup menus 2006-04-18 21:24:36 +00:00
Clément Stenac
5681d3bef8 Strings in include/ (Refs:#438) 2006-03-28 13:57:36 +00:00
Clément Stenac
a1e597bf00 * Make ParseOption (from input) a global service (var_OptionParse)
* Add i_options/pp_options to intf_Create

* add global options to enable file-logging and syslog (Refs:#508)
2006-01-22 17:12:24 +00:00
Antoine Cellerier
2cb472dba0 FSF address change. 2006-01-12 23:10:04 +00:00
Clément Stenac
15354b0406 * Handle dialogs needing answer
* Handle interfaces not providing interaction correctly
* Add a new helper to request authentication
* Add return codes
2005-12-11 16:06:19 +00:00
Clément Stenac
29c81fbc22 Replace function callback by variable callback. 2005-12-09 10:17:41 +00:00
Clément Stenac
1f319885ef Interaction facility (Refs:#27) 2005-12-06 19:09:20 +00:00
Clément Stenac
5afb060fb5 Very beginning of the interaction framework (Refs:#27) 2005-12-05 15:51:39 +00:00
Antoine Cellerier
7b885b9bdb Put licensing terms instead of description in about boxes 2005-11-23 15:00:47 +00:00
Clément Stenac
7e39490ef6 p( vlc.getInterfaces().getInterface( "wxwidgets" ).isBroken() ) = 1/2
aka : merge the big wx changes from branch
2005-11-02 19:20:34 +00:00
Antoine Cellerier
e34daedfae VLC update checker in the wxWidgets interface (in help menu)
xml files used for the updates are located at http://update.videolan.org

extensive testing ... code cleaning ... would be greatly appreciated
2005-07-24 21:03:20 +00:00
Rémi Denis-Courmont
fe087a3828 Make Zorglub less unhappy 2005-07-09 06:17:09 +00:00
Rémi Denis-Courmont
85b29bdc28 Copyright fixes
(da big courmischage)
2005-07-08 18:12:44 +00:00
Clément Stenac
12f48a5b24 Add directory in wxWidgets
Update TODO
2004-11-13 23:06:53 +00:00
Sam Hocevar
a705ab3377 * include/vlc_interface.h src/libvlc.h: typography. 2004-11-03 00:05:22 +00:00
Gildas Bazin
f49468a228 * src/libvlc.c, include/vlc_interface.h: don't open a win32 console when using a cygwin shell. 2004-10-01 12:24:16 +00:00
Cyril Deguet
de0246807e * all: removed obsolete b_blocking in intf_dialogs_arg_t 2004-08-24 18:43:41 +00:00
Gildas Bazin
a5ee53f774 * include/vlc/vlc.h: added a b_play parameter to the libvlc VLC_AddIntf() prototype.
When true, the interface will automatically start playing the playlist when (and only when) it is ready. (particularly useful for embedded vouts).
* src/libvlc.c, src/vlc.c: new VLC_AddIntf() prototype.
* src/interface/interface.c: if the interface doesn't support "playing on start", do it ourselves.
* modules/gui/wxwindows/wxwindows.cpp: implement "play on start".
2004-04-20 15:05:24 +00:00
Gildas Bazin
a2edf51799 * include/vlc_interface.h: forgot that in last commit. 2004-04-11 12:22:06 +00:00
Gildas Bazin
d8f54d49fb * src/video_output/vout_intf.c: new vout_ControlWindow() function.
* modules/gui/wxwindows/video.cpp: implement vout_ControlWindow().
* modules/video_output/directx/events.c, modules/video_output/x11/xcommon.c:
  + call vout_ControlWindow() when resizing in embedded mode.
  + implemented a VOUT_REPARENT/CLOSE mode in Control() so the interface can signal that it closes its video window.
2004-04-02 16:08:29 +00:00
Gildas Bazin
36b86f5b99 * src/input/*:
+ new input_Control() function (doesn't do much for now).
   + started bookmarks support through input_Control().
   + new --bookmarks={name=foo,bytes=foo,time=foo},{...} config option.

* src/video_output/*:
   + started support for embeddable vouts (vout_RequestWindow()/vout_ReleaseWindow())
   + new --video-x/y config options
2004-03-23 23:44:49 +00:00
Clément Stenac
dcaa5aab85 Add description for demux2 (Closes:#1780) 2004-03-15 17:06:17 +00:00
Gildas Bazin
e9050e582a * modules/gui/wxwindows/*: make sure we re-use the streaming wizard so the user selection doesn't get lost each time it is opened. 2004-03-01 18:31:13 +00:00
Clément Stenac
6de15a630f * Strings review in include/
* Removed trailing spaces
2004-01-25 18:17:08 +00:00
Clément Stenac
84b846bf8c * src/playlist/* && Makefile.am
- splitted the enormous playlist.c file
   - implemented a better item group system: groups have a name
     and must be created before use by
      playlist_CreateGroup( p_playlist, "newgroupname")

* modules/misc/sap.c
   - Create our own playlist group ("SAP") and use it

* modules/access/slp.c
   - Create our own playlist group ("SLP") and use it

* modules/demux/util/id3tag.c
   - Trigger playlist update when we have parsed our tag

* modules/gui/wxwindows/interface.cpp
   - Fixed the about box by using vlc_wraptext
   - Added the simple open and the streaming wizard icons
           *** Icons need to be changed ! ***
   - Added the visualization to the extended gui

* modules/gui/wxwindows/preferences.cpp && include/vlc_help.h
   - Enlarged the window to fit the wrapped text
   - Added help for audio encoders

* modules/gui/wxwindows/stream.cpp  & open.cpp & include/vlc_interface.h
   - Created a "streaming wizard" window (3-step streaming)

* modules/gui/wxwindows/iteminfo.cpp:
   - Group change is now based on the name

* modules/gui/wxwindows/playlist.cpp
   - Added author and group columns to the listview
   - Redesigned the window
   - Added the Sort menu with several criteria (title, author, group)
   - Added up/down buttons to move an item in the playlist
   - Added the group menu to enable/disable a group in an understandable way


TODO:
-----

* playlist core :
   - Implement advanced sort capabilities  (multi-criteria)
   - File format to save the new features
   - export playlist (to M3U, eg)
   - more robust group creation (duplicates check, ...)

* wxWindows playlist:
   The idea of a treeview seems impossible, because of wxWindow's treeview,
   that don't allow multi-selection, and, as far as I know, multi-columns.
   - Provide a frontend to advanced sort (when it's done :-) )
   - Allow moving items by drag & drop (well, if possible, haven't checked yet)
   - Allow moving several items at once
   - Customizable listview (ability to remove/move columns)
   - Find a solution to the focus problem
     (when you change track, the selected one scrolls at the
      bottom of the visible screen)

* wxWindows interface:
   - New icons, our icons begin to get old and not so pretty
   - Find a solution for the volume bar (nobody understands what it is)
2003-10-29 17:32:55 +00:00
Gildas Bazin
3a5ec777c6 * modules/gui/wxwindows/*: don't forget to delete the timer.
Use wxApp::OnExit() to cleanup the dialogs provider.
   Added a "Miscellaneous" section to the menu. Added a "Switch interface" and "Add interface" entries to this menu.
* modules/gui/skins/src/*: dialog providers have object types of VLC_OBJECT_DIALOGS.
   Don't forget to attach/detach the dialogs provider to its parent intf.
   Work around a bug in imlib2 when we close the plugin.
* src/misc/objects.c, include/vlc_objects.h: added VLC_OBJECT_DIALOGS for dialogs providers.
* src/interface/interface.c, include/vlc_interface.h: added 2 object variables to switch/add interfaces on the fly (intf-switch and intf-add).
2003-10-14 22:41:41 +00:00
Clément Stenac
402252afb6 Added some Doxygen doc 2003-09-18 17:54:02 +00:00
Gildas Bazin
d246063ae6 * include/vlc_config.h: removed unused config stuff.
* include/vlc_interface.h, modules/gui/wxwindows/interface.cpp: new common INTF_ABOUT_MSG message shared by interfaces.
2003-08-30 13:59:15 +00:00
Gildas Bazin
ae65b15b7b * modules/gui/wxwindows/*, include/vlc_interface.h: new generic "open file" dialog.
* modules/gui/skins/*: use the new generic "open file" dialog to load skins.
2003-07-20 10:38:49 +00:00
Gildas Bazin
5a90c35825 * modules/gui/wxwindows/*: enable popup menu support in the "dialogs provider". 2003-07-17 18:58:23 +00:00
Gildas Bazin
035792d566 * modules/gui/wxwindows/*: The wxwindows interface is now a "dialogs provider" module as well as a normal "interface".
Dialog providers expose an api that allow other modules to use the GUI dialogs the module provides (open dialogs, etc...).
   + misc small enhancements.

* modules/gui/skins/*: completely removed the dependancy on the wxwindows code (which also eliminates the need for the basic_skins module).
   The skins module will now try to load a "dialogs provider" to display the open, messages, file info and preferences dialogs.
2003-07-17 17:30:40 +00:00
Sam Hocevar
e01eb15e2a * include/interface.h: renamed this file to vlc_interface.h to avoid name
collisions with a couple of plugins.
2003-06-24 13:33:49 +00:00