public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] 77a506: shared/queue: Add way to iterate over queue contents
@ 2026-04-03  9:31 hadess
  0 siblings, 0 replies; only message in thread
From: hadess @ 2026-04-03  9:31 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1076877
  Home:   https://github.com/bluez/bluez
  Commit: 77a506817b36dd00a1b24a1a6b1d0ed3182542e3
      https://github.com/bluez/bluez/commit/77a506817b36dd00a1b24a1a6b1d0ed3182542e3
  Author: Bastien Nocera <hadess@hadess.net>
  Date:   2026-04-03 (Fri, 03 Apr 2026)

  Changed paths:
    M src/shared/queue.c
    M src/shared/queue.h
    M unit/test-queue.c

  Log Message:
  -----------
  shared/queue: Add way to iterate over queue contents

There were no accessors that would give us an iteratable structure,
leaving us with just *_foreach() constructs that are cumbersome.

Add a way to get the first entry in the queue.


  Commit: 2583ddbff91a7777ad4b4c055f1726dc5d4cb895
      https://github.com/bluez/bluez/commit/2583ddbff91a7777ad4b4c055f1726dc5d4cb895
  Author: Bastien Nocera <hadess@hadess.net>
  Date:   2026-04-03 (Fri, 03 Apr 2026)

  Changed paths:
    M plugins/neard.c
    M src/adapter.c
    M src/device.c
    M src/device.h
    M src/eir.c
    M src/eir.h
    M unit/test-eir.c

  Log Message:
  -----------
  shared: Remove glib dependency from src/shared/ad.c

src/shared/ad.c includes src/eir.h, which uses glib, which means that
the non-glib shared library can't be used without linking to glib.

Use our own queue implementation to remove the glib linked-list usage.


  Commit: 74ebe5ad98596a577e72cf9fb508024d2087f667
      https://github.com/bluez/bluez/commit/74ebe5ad98596a577e72cf9fb508024d2087f667
  Author: Bastien Nocera <hadess@hadess.net>
  Date:   2026-04-03 (Fri, 03 Apr 2026)

  Changed paths:
    M src/shared/queue.h

  Log Message:
  -----------
  shared/queue: Fix warning when compiling ad.c

Both ad.c and eir.h include queue.h as both use the struct declared in
this header. Quiet the warnings with a stanza that means it will be
ignored second time around.


  Commit: 3f0f9ad6e79f9e299f7534131367d03af1cf9466
      https://github.com/bluez/bluez/commit/3f0f9ad6e79f9e299f7534131367d03af1cf9466
  Author: Bastien Nocera <hadess@hadess.net>
  Date:   2026-04-03 (Fri, 03 Apr 2026)

  Changed paths:
    M src/shared/csip.c
    M src/shared/rap.c

  Log Message:
  -----------
  shared: Remove unneeded glib includes

glib was included, but no glib functions or data types were being used,
so remove those includes.


Compare: https://github.com/bluez/bluez/compare/77a506817b36%5E...3f0f9ad6e79f

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-03  9:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03  9:31 [bluez/bluez] 77a506: shared/queue: Add way to iterate over queue contents hadess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox