[vlc-devel] [PATCHv3 0/4] Doubly linked lists

Rémi Denis-Courmont remi at remlab.net
Tue Jun 12 20:26:43 CEST 2018


- Fix theoretically invalid pointer arithmetic on empty list.
- Fix iteration after the first item is removed.
- Declare the iterator internally to lighten the boiler plate.

The following changes since commit 565d5c5087c1c4c25c25d0d079b81d3025abf207:

  nsis: Rework displayed file type (2018-06-12 16:23:10 +0200)

are available in the Git repository at:

  http://git.remlab.net/git/vlc.git 

for you to fetch changes up to 9f8c45d405000464808d0ae8853a3553c0f80401:

  input item: use vlc_list for per-category infos (2018-06-12 21:22:34 +0300)

----------------------------------------------------------------
Rémi Denis-Courmont (4):
      vlc_list: helpers for doubly linked lists
      test: add tests for vlc_list
      objects: use vlc_list helpers
      input item: use vlc_list for per-category infos

 include/vlc_input_item.h                  |   8 +-
 include/vlc_list.h                        | 261 ++++++++++++++++++++++++++++++
 modules/control/oldrc.c                   |   8 +-
 modules/gui/macosx/VLCPlaylistInfo.m      |   7 +-
 modules/gui/ncurses.c                     |   6 +-
 modules/gui/qt/components/info_panels.cpp |  11 +-
 modules/lua/libs/input.c                  |   9 +-
 src/Makefile.am                           |   3 +
 src/input/info.h                          |  50 +++---
 src/input/item.c                          |  10 +-
 src/misc/objects.c                        |  68 ++++----
 src/misc/variables.h                      |   6 +-
 src/test/list.c                           | 124 ++++++++++++++
 13 files changed, 476 insertions(+), 95 deletions(-)
 create mode 100644 include/vlc_list.h
 create mode 100644 src/test/list.c

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list