<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - No way to filter devices"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63807#c19">Comment # 19</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - No way to filter devices"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63807">bug 63807</a>
              from <span class="vcard"><a class="email" href="mailto:marcandre.lureau@gmail.com" title="Marc-Andre Lureau <marcandre.lureau@gmail.com>"> <span class="fn">Marc-Andre Lureau</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=63807#c17">comment #17</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=63807#c14">comment #14</a>)
> > (In reply to <a href="show_bug.cgi?id=63807#c5">comment #5</a>)
> > > (In reply to <a href="show_bug.cgi?id=63807#c4">comment #4</a>)
> > > > (In reply to <a href="show_bug.cgi?id=63807#c2">comment #2</a>)
> > > > > (In reply to <a href="show_bug.cgi?id=63807#c1">comment #1</a>)
> > > > > > This is fixed by this commit, closing:
> > > > > > <a href="http://cgit.freedesktop.org/spice/spice-gtk/commit/">http://cgit.freedesktop.org/spice/spice-gtk/commit/</a>
> > > > > > ?id=0ebcc23c0642d2bddcb05ed4152497c99cb3ca1d
> > > > > 
> > > > > Sorry but you are not getting away that easy. :) As I pointed out on IRC,
> > > > > its a very ugly API if you are asking apps to give you a very cryptic string
> > > > > for filter. Surely you can add some enums/flags and allow apps to filter
> > > > > through that. If you fail in that, at the very least add some docs
> > > > > explaining the syntax of the filter string you are expecting from apps.
> > 
> > Sure, but a string is a *lot* more flexible, friendly for humans, and you
> > can still get errors if it is malformed.

> At runtime, yes. What if you had to change string format tomorrow? How would
> you resolve the issue of existing binaries of Boxes (and other using apps)
> breaking against it?</span >

Just like printf? it won't break.

<span class="quote">> Also, IDEs won't help you with autocompletion with such dynamic strings
> either, which they would if you provide a proper static API. I am very
> surprised with your assertions here since I know that you are a great
> developer with lots of experience. :(</span >

I already explained myself, there are tradeoffs here. If you want a stricter
API, you can implement it on top.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>