wireshark/epan/dissectors/asn1
Ahmad Fatoum b478df61f5 Qt: Provide both file save and open preferences
This is a breaking change.

prefs_register_filename_preference hasn't been differentiating
between files to be saved and ones to be opened.

On GTK, a neutral dialog is used, so no problems there.
On Qt, a save dialog has been always used, even in dissectors that
were reading configuration files without modification.

prefs_register_filename_preference now takes an argument to indicate
whether UI could be a save dialog with a warning on overwriting
a file, or whether it's a general purpose open file dialog.

Qt now does this. Previously no warning was shown on overwriting a file,
so it may be used for opening files too without irritating the user.
This has been changed, as non-destructive reads should now use
the open dialog.

Dissectors were changed accordingly.

Change-Id: I9087fefa5ee7ca58de0775d4fe2c0fdcfa3a3018
Reviewed-on: https://code.wireshark.org/review/21086
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2017-04-17 10:51:10 +00:00
..
HI2Operations Remove Makefile.common files 2016-06-30 11:04:17 +00:00
acp133 Remove Makefile.common files 2016-06-30 11:04:17 +00:00
acse Convert GHashTable -> wmem_map_t for ASN.1 disseectors 2017-01-30 02:25:24 +00:00
ansi_map Convert GHashTable -> wmem_map_t for ASN.1 disseectors 2017-01-30 02:25:24 +00:00
ansi_tcap Convert GHashTable -> wmem_map_t for ASN.1 disseectors 2017-01-30 02:25:24 +00:00
atn-cm Remove Makefile.common files 2016-06-30 11:04:17 +00:00
atn-cpdlc Remove Makefile.common files 2016-06-30 11:04:17 +00:00
atn-ulcs Remove Makefile.common files 2016-06-30 11:04:17 +00:00
c1222 Make Libgcrypt a mandatory dependency 2017-02-13 18:35:47 +00:00
camel Convert GHashTable -> wmem_map_t for ASN.1 disseectors 2017-01-30 02:25:24 +00:00
cdt Remove Makefile.common files 2016-06-30 11:04:17 +00:00
charging_ase Remove Makefile.common files 2016-06-30 11:04:17 +00:00
cmip Use col_append_str() for fixed strings 2017-04-03 05:32:17 +00:00
cmp Rename tvb_new_subset() to tvb_new_subset_length_caplen(). 2017-01-10 06:19:37 +00:00
cms Rewrite dissectors to use Libgcrypt functions. 2017-03-02 23:58:05 +00:00
credssp Remove Makefile.common files 2016-06-30 11:04:17 +00:00
crmf Remove Makefile.common files 2016-06-30 11:04:17 +00:00
dap Have TPKT support a TCP port range preference instead of having "subdissectors?" register their own. 2016-09-16 14:58:24 +00:00
disp Have TPKT support a TCP port range preference instead of having "subdissectors?" register their own. 2016-09-16 14:58:24 +00:00
dop Dissectors don't need a journey of self discovery. 2016-12-31 07:31:42 +00:00
dsp Have TPKT support a TCP port range preference instead of having "subdissectors?" register their own. 2016-09-16 14:58:24 +00:00
ess uat: add a reset callback. 2017-01-12 12:39:15 +00:00
ftam Remove Makefile.common files 2016-06-30 11:04:17 +00:00
goose ASN.1 dissectors - don't try to find yourself. 2016-07-01 14:26:20 +00:00
gprscdr GPRSCDR: remove obsolete ASN.1 files 2016-10-31 22:03:00 +00:00
gsm_map [GSM MAP] Update to 3GPP TS 29.002 V14.3.0 (2017-03). 2017-04-13 16:40:11 +00:00
h225 Convert GHashTable -> wmem_map_t for ASN.1 disseectors 2017-01-30 02:25:24 +00:00
h235 Remove Makefile.common files 2016-06-30 11:04:17 +00:00
h245 Use col_append_str() for fixed strings 2017-04-03 05:32:17 +00:00
h248 h248: convert GTree to wmem_tree. 2017-02-01 16:14:01 +00:00
h282 Remove Makefile.common files 2016-06-30 11:04:17 +00:00
h283 Convert most UDP dissectors to use "auto" preferences. 2016-10-13 02:51:18 +00:00
h323 Remove Makefile.common files 2016-06-30 11:04:17 +00:00
h450 Don't do any Decode As stuff for dissector tables not used with Decode As. 2016-08-31 00:08:01 +00:00
h450-ros Remove Makefile.common files 2016-06-30 11:04:17 +00:00
h460 h460: use wmem for strdup. 2017-02-01 16:14:13 +00:00
h501 Convert most UDP dissectors to use "auto" preferences. 2016-10-13 02:51:18 +00:00
hnbap Don't do any Decode As stuff for dissector tables not used with Decode As. 2016-08-31 00:08:01 +00:00
idmp Register reassembly tables 2017-01-29 13:29:04 +00:00
ilp Combine Decode As and port preferences for tcp.port dissector table. 2016-10-08 02:44:53 +00:00
inap Convert range API to always use wmem memory. 2017-01-07 00:44:10 +00:00
isdn-sup Remove Makefile.common files 2016-06-30 11:04:17 +00:00
kerberos Qt: Provide both file save and open preferences 2017-04-17 10:51:10 +00:00
lcsap Don't do any Decode As stuff for dissector tables not used with Decode As. 2016-08-31 00:08:01 +00:00
ldap [LDAP] Add a couple of OID translations. 2017-03-10 14:02:45 +00:00
logotypecertextn Remove Makefile.common files 2016-06-30 11:04:17 +00:00
lpp LPP: use unit strings 2016-12-17 17:24:22 +00:00
lppa LPPa: upgrade dissector to v13.1.0 2016-10-10 21:23:46 +00:00
lppe Remove Makefile.common files 2016-06-30 11:04:17 +00:00
lte-rrc LTE RRC: do not display twice RRCConnectionReestablishmentReject in info column 2017-04-13 11:23:36 +00:00
m2ap M2AP: use unit strings 2016-12-18 03:04:20 +00:00
m3ap M3AP: use unit strings 2016-12-18 03:03:19 +00:00
mms Remove Makefile.common files 2016-06-30 11:04:17 +00:00
mpeg-audio mpeg-audio: fix spelling typo found by lintian 2016-10-26 20:16:44 +00:00
mpeg-pes Rename tvb_new_subset() to tvb_new_subset_length_caplen(). 2017-01-10 06:19:37 +00:00
mudurl Add MUD-URL manufacturer usage description certificate extension. 2017-01-07 20:11:39 +00:00
nbap NBAP: fix malformed packet error when having a single byte BindingID 2017-04-10 12:58:28 +00:00
novell_pkis Remove Makefile.common files 2016-06-30 11:04:17 +00:00
ns_cert_exts Remove Makefile.common files 2016-06-30 11:04:17 +00:00
ocsp Remove Makefile.common files 2016-06-30 11:04:17 +00:00
p1 Add T.61 character set support 2016-10-22 03:16:11 +00:00
p7 Have TPKT support a TCP port range preference instead of having "subdissectors?" register their own. 2016-09-16 14:58:24 +00:00
p22 Add T.61 character set support 2016-10-22 03:16:11 +00:00
p772 Remove Makefile.common files 2016-06-30 11:04:17 +00:00
pcap Convert range API to always use wmem memory. 2017-01-07 00:44:10 +00:00
pkcs1 Remove Makefile.common files 2016-06-30 11:04:17 +00:00
pkcs12 Make Libgcrypt a mandatory dependency 2017-02-13 18:35:47 +00:00
pkinit Remove Makefile.common files 2016-06-30 11:04:17 +00:00
pkix1explicit Add T.61 character set support 2016-10-22 03:16:11 +00:00
pkix1implicit pkix1implicit: Make sure distribution takes in all the files. 2016-08-05 07:06:42 +00:00
pkixac Remove Makefile.common files 2016-06-30 11:04:17 +00:00
pkixproxy Remove Makefile.common files 2016-06-30 11:04:17 +00:00
pkixqualified Remove Makefile.common files 2016-06-30 11:04:17 +00:00
pkixtsp pkixtsp: add support for dissecting CMS signature time-stamps 2016-12-15 07:27:43 +00:00
pres Convert GHashTable -> wmem_map_t for ASN.1 disseectors 2017-01-30 02:25:24 +00:00
q932 Don't do any Decode As stuff for dissector tables not used with Decode As. 2016-08-31 00:08:01 +00:00
q932-ros Remove Makefile.common files 2016-06-30 11:04:17 +00:00
qsig qsig: Remove unnecessary hash table functionality 2017-01-28 15:01:55 +00:00
ranap [RANAP] Update to 3GPP TS 25.413 V13.2.0 (2016-06) 2017-03-21 16:45:09 +00:00
rnsap RNSAP: Call right RRC dissectors for payload. 2017-03-17 11:20:45 +00:00
ros ros (asn1): fix this condition has identical branches [-Werror=duplicated-branches] found by gcc7 2017-03-24 09:52:07 +00:00
rrc [UMTS RRC] Added dissection of "Cell Identity" 2017-03-27 04:09:22 +00:00
rrlp Remove Makefile.common files 2016-06-30 11:04:17 +00:00
rtse Convert GHashTable -> wmem_map_t for ASN.1 disseectors 2017-01-30 02:25:24 +00:00
rua Don't do any Decode As stuff for dissector tables not used with Decode As. 2016-08-31 00:08:01 +00:00
s1ap S1AP: fix dissection of Reroute NAS Request message 2017-03-17 19:11:13 +00:00
sabp SABP: add support for messages >= 16KB 2016-11-14 09:40:06 +00:00
sbc-ap Don't do any Decode As stuff for dissector tables not used with Decode As. 2016-08-31 00:08:01 +00:00
smrse Combine Decode As and port preferences for tcp.port dissector table. 2016-10-08 02:44:53 +00:00
snmp Rewrite dissectors to use Libgcrypt functions. 2017-03-02 23:58:05 +00:00
spnego Rewrite dissectors to use Libgcrypt functions. 2017-03-02 23:58:05 +00:00
sv ASN.1 dissectors - don't try to find yourself. 2016-07-01 14:26:20 +00:00
t38 Register reassembly tables 2017-01-29 13:29:04 +00:00
t124 Don't do any Decode As stuff for dissector tables not used with Decode As. 2016-08-31 00:08:01 +00:00
t125 Remove Makefile.common files 2016-06-30 11:04:17 +00:00
tcap dissector: fix typo reponse -> response 2017-03-19 16:50:01 +00:00
tetra Convert most UDP dissectors to use "auto" preferences. 2016-10-13 02:51:18 +00:00
ulp ULP: follow-up of gda5cad4 2016-12-17 14:49:09 +00:00
wlancertextn Remove Makefile.common files 2016-06-30 11:04:17 +00:00
x2ap X2AP: replace non ASCII characters in ASN.1 source files 2017-01-13 12:48:05 +00:00
x509af Remove Makefile.common files 2016-06-30 11:04:17 +00:00
x509ce Remove Makefile.common files 2016-06-30 11:04:17 +00:00
x509if Remove Makefile.common files 2016-06-30 11:04:17 +00:00
x509sat Add T.61 character set support 2016-10-22 03:16:11 +00:00
x721 Remove Makefile.common files 2016-06-30 11:04:17 +00:00
.gitignore
CMakeLists.txt Add MUD-URL manufacturer usage description certificate extension. 2017-01-07 20:11:39 +00:00
CMakeListsCustom.example.txt
Custom.make
Makefile.am Add MUD-URL manufacturer usage description certificate extension. 2017-01-07 20:11:39 +00:00
Makefile.inc Remove Makefile.common files 2016-06-30 11:04:17 +00:00