qemu-trivial.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] util/uri: Simplify the code, remove unused functions
@ 2024-01-22 19:17 Thomas Huth
  2024-01-22 19:17 ` [PATCH 1/5] util/uri: Remove the unused "target" argument from uri_string_unescape() Thomas Huth
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Thomas Huth @ 2024-01-22 19:17 UTC (permalink / raw)
  To: qemu-devel, Paolo Bonzini; +Cc: Stefan Weil, qemu-trivial

The URI function uri_string_unescape() has some overlap with functions
from the glib, so we can simplify our code here quite a bit.
While at it, I also noticed that there are many unused functions in
here which we likely can drop nowadays (it's better to use the functions
from glib anyway).

Thomas Huth (5):
  util/uri: Remove the unused "target" argument from
    uri_string_unescape()
  util/uri: Simplify uri_string_unescape()
  util/uri: Remove the uri_string_escape() function
  util/uri: Remove unused functions uri_resolve() and
    uri_resolve_relative()
  util/uri: Remove unused macros ISA_RESERVED() and ISA_GEN_DELIM()

 include/qemu/uri.h |   5 +-
 util/uri.c         | 843 +--------------------------------------------
 2 files changed, 16 insertions(+), 832 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-01-23 11:21 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22 19:17 [PATCH 0/5] util/uri: Simplify the code, remove unused functions Thomas Huth
2024-01-22 19:17 ` [PATCH 1/5] util/uri: Remove the unused "target" argument from uri_string_unescape() Thomas Huth
2024-01-22 20:45   ` Stefan Weil
2024-01-23  5:45   ` Philippe Mathieu-Daudé
2024-01-22 19:17 ` [PATCH 2/5] util/uri: Simplify uri_string_unescape() Thomas Huth
2024-01-22 21:22   ` Stefan Weil
2024-01-23  6:01     ` Thomas Huth
2024-01-23 10:25   ` Paolo Bonzini
2024-01-23 11:21     ` Thomas Huth
2024-01-22 19:17 ` [PATCH 3/5] util/uri: Remove the uri_string_escape() function Thomas Huth
2024-01-22 20:59   ` Stefan Weil
2024-01-23  6:03     ` Thomas Huth
2024-01-22 19:17 ` [PATCH 4/5] util/uri: Remove unused functions uri_resolve() and uri_resolve_relative() Thomas Huth
2024-01-22 21:03   ` Stefan Weil
2024-01-22 19:17 ` [PATCH 5/5] util/uri: Remove unused macros ISA_RESERVED() and ISA_GEN_DELIM() Thomas Huth
2024-01-22 21:04   ` Stefan Weil
2024-01-23  5:50   ` Philippe Mathieu-Daudé
2024-01-22 19:22 ` [PATCH 0/5] util/uri: Simplify the code, remove unused functions Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).