[vlc-devel] [PATCH 00/10][RFC][WIP] libcloudstorage integration

Diogo Silva dbtdsilva at gmail.com
Thu Aug 17 03:08:08 CEST 2017


These patches were the necessary steps to integrate the libcloudstorage
project into VLC.
Some of those patches are not directly implementing the module
that integrates the libcloudstorage, such as:
* HTTP: Modification HTTP module in order to be able to send other types of requests
(rather than only GETs) that I'm not sure if it is the proper way to implement
it or not;
* Dialog: possibility to spawn a browser;
* Keystore: add a function to delete credentials.
The rest of the modifications are directly related with the access or services
discovery module.

Diogo Silva (10):
  keystore: add the possibility to delete credentials
  http: resource is now able to invoke other methods rather than only
    GETs
  http: the connection will now sent a payload if requested
  dialog: add new dialog that spawns a browsers if the user allows
  cloudstorage: add access module integrating libcloudstorage
  qt: add cloudstorage integration and improved sidebar sub-trees logic
  cloudstorage: sd: add services discovery module
  cloudstorage: access: custom-made html pages to the http server
    responses (personalized for VLC)
  cloudstorage: replaced microhttpd dependency by using vlc_httpd
  cloudstorage: replaced curl dependency by using functions from http
    module

 NEWS                                               |   2 +
 configure.ac                                       |   5 +
 include/vlc/libvlc_dialog.h                        |   8 +
 include/vlc_dialog.h                               |  36 +++
 include/vlc_keystore.h                             |  14 +
 lib/dialog.c                                       |   9 +
 modules/MODULES_LIST                               |   3 +-
 modules/access/Makefile.am                         |  18 ++
 modules/access/cloudstorage.cpp                    |  56 ++++
 modules/access/cloudstorage/access.cpp             | 266 +++++++++++++++++
 modules/access/cloudstorage/access.h               |  53 ++++
 modules/access/cloudstorage/provider_callback.h    | 114 ++++++++
 modules/access/cloudstorage/provider_http.cpp      | 289 +++++++++++++++++++
 modules/access/cloudstorage/provider_http.h        |  89 ++++++
 .../access/cloudstorage/provider_http_stream.cpp   |  96 +++++++
 modules/access/cloudstorage/provider_http_stream.h |  30 ++
 modules/access/cloudstorage/provider_httpd.cpp     | 222 +++++++++++++++
 modules/access/cloudstorage/provider_httpd.h       | 109 +++++++
 modules/access/cloudstorage/services_discovery.cpp | 315 +++++++++++++++++++++
 modules/access/cloudstorage/services_discovery.h   |  55 ++++
 modules/access/http/file.c                         |   4 +-
 modules/access/http/h1conn.c                       |  15 +-
 modules/access/http/h2conn.c                       |  26 +-
 modules/access/http/live.c                         |   3 +-
 modules/access/http/message.c                      |   3 +-
 modules/access/http/message.h                      |   2 +-
 modules/access/http/resource.c                     |   8 +-
 modules/access/http/resource.h                     |   4 +-
 modules/gui/qt/components/playlist/selector.cpp    | 287 ++++++++++++++-----
 modules/gui/qt/components/playlist/selector.hpp    |  51 +++-
 modules/gui/qt/dialogs/external.cpp                |  18 +-
 modules/gui/qt/dialogs/external.hpp                |   3 +
 .../qt/pixmaps/playlist/sidebar-icons/cloud.png    | Bin 0 -> 252 bytes
 .../qt/pixmaps/playlist/sidebar-icons/cloud.svgz   | Bin 0 -> 448 bytes
 modules/gui/qt/vlc.qrc                             |   1 +
 po/POTFILES.in                                     |  12 +
 share/Makefile.am                                  |  13 +-
 share/cloudstorage/amazons3_login.html             |  52 ++++
 share/cloudstorage/amazons3_success.html           |  31 ++
 share/cloudstorage/default_error.html              |  32 +++
 share/cloudstorage/default_success.html            |  33 +++
 share/cloudstorage/mega_login.html                 |  47 +++
 share/cloudstorage/mega_success.html               |  31 ++
 share/cloudstorage/owncloud_login.html             |  51 ++++
 share/cloudstorage/owncloud_success.html           |  31 ++
 src/interface/dialog.c                             |  37 +++
 src/libvlccore.sym                                 |   3 +
 src/misc/keystore.c                                |  34 ++-
 48 files changed, 2513 insertions(+), 108 deletions(-)
 create mode 100644 modules/access/cloudstorage.cpp
 create mode 100644 modules/access/cloudstorage/access.cpp
 create mode 100644 modules/access/cloudstorage/access.h
 create mode 100644 modules/access/cloudstorage/provider_callback.h
 create mode 100644 modules/access/cloudstorage/provider_http.cpp
 create mode 100644 modules/access/cloudstorage/provider_http.h
 create mode 100644 modules/access/cloudstorage/provider_http_stream.cpp
 create mode 100644 modules/access/cloudstorage/provider_http_stream.h
 create mode 100644 modules/access/cloudstorage/provider_httpd.cpp
 create mode 100644 modules/access/cloudstorage/provider_httpd.h
 create mode 100644 modules/access/cloudstorage/services_discovery.cpp
 create mode 100644 modules/access/cloudstorage/services_discovery.h
 create mode 100644 modules/gui/qt/pixmaps/playlist/sidebar-icons/cloud.png
 create mode 100644 modules/gui/qt/pixmaps/playlist/sidebar-icons/cloud.svgz
 create mode 100644 share/cloudstorage/amazons3_login.html
 create mode 100644 share/cloudstorage/amazons3_success.html
 create mode 100644 share/cloudstorage/default_error.html
 create mode 100644 share/cloudstorage/default_success.html
 create mode 100644 share/cloudstorage/mega_login.html
 create mode 100644 share/cloudstorage/mega_success.html
 create mode 100644 share/cloudstorage/owncloud_login.html
 create mode 100644 share/cloudstorage/owncloud_success.html

--
2.14.1


More information about the vlc-devel mailing list