Wireshark-commits: [Wireshark-commits] rev 48960: /trunk/ /trunk/epan/: uat-int.h uat.c uat_load.l

Date: Mon, 22 Apr 2013 02:10:50 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48960

User: mmann
Date: 2013/04/21 07:10 PM

Log:
 Add a "hidden" array of UAT entry data to allow separation between UAT file syntax errors and "syntactically correct, but invalid field".  Now UAT files load all entries into the "hidden" array (raw_data), but only adds valid ones to the user_data, which is used by the dissectors.
 This is a start to fixing bug 7471 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7471) and is being committed to get the new ABI/API in before the 1.10 release.
 What remains is the "GUI portion" (GTK+qt) to indicate to users which UAT entries are invalid.

Directory: /trunk/epan/
  Changes    Path          Action
  +5 -2      uat-int.h     Modified
  +71 -10    uat.c         Modified
  +8 -3      uat_load.l    Modified

Directory: /trunk/ui/gtk/
  Changes    Path          Action
  +6 -6      uat_gui.c     Modified

Directory: /trunk/plugins/stats_tree/
  Changes    Path                  Action
  +1 -1      pinfo_stats_tree.c    Modified

Directory: /trunk/
  Changes    Path                Action
  +1 -1      airpcap_loader.c    Modified