[Wireshark-dev] Warnings when loading preferences

2012-08-01 Thread Stig Bjørlykke
Hi. After upgrading my local wireshark to latest trunk I get some warnings from my preferences. I suspect someone rewrote the preference format without handling / converting old values? The user should not loose the preferences when upgrading, just because we changed the format. 12:33:02

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-01 Thread mmann78
The code won't look as clean, but I can add the backwards compatibility functionality. -Original Message- From: Stig Bjørlykke To: Developer support list for Wireshark Sent: Wed, Aug 1, 2012 6:51 am Subject: [Wireshark-dev] Warnings when loading preferences Hi. After upgradi

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-01 Thread Anders Broman
: [Wireshark-dev] Warnings when loading preferences The code won't look as clean, but I can add the backwards compatibility functionality. -Original Message- From: Stig Bjørlykke To: Developer support list for Wireshark Sent: Wed, Aug 1, 2012 6:51 am Subject: [Wireshark-dev] Warnings when lo

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-01 Thread Stig Bjørlykke
On Wed, Aug 1, 2012 at 2:50 PM, Anders Broman wrote: > Is it worth it when you can just resave your preferences? The user may have several profiles with different settings, and will have to update all profiles with new settings again. I think we should try preserving the preferences instead of gi

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-01 Thread mmann78
make the code look a little ugly, but is certainly acheivable. -Original Message- From: Stig Bjørlykke To: Developer support list for Wireshark Sent: Wed, Aug 1, 2012 9:12 am Subject: Re: [Wireshark-dev] Warnings when loading preferences On Wed, Aug 1, 2012 at 2:50 PM, Anders Bro

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-01 Thread Anders Broman
-Original Message- From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Stig Bjørlykke Sent: den 1 augusti 2012 15:06 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Warnings when loading preferences On Wed, Aug 1

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-01 Thread Stig Bjørlykke
On Wed, Aug 1, 2012 at 3:29 PM, wrote: > Technically the prefences aren't "obsolete", they are just renamed for > (internally) optimized code. We already handle a lot of renamed preferences in set_pref(). -- Stig Bjørlykke __

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-01 Thread Stig Bjørlykke
On Wed, Aug 1, 2012 at 3:38 PM, Anders Broman wrote: > And as a consequence we have a few of these cluttering up the code, should > those live forever or > Can the be removed after a suitable amount of time? We should at least support one major upgrade :) -- Stig Bjørlykke ___

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-01 Thread Kurt Knochner
would it make sense to add version sections to the preferences file? Parsing the preference file would a bit more work, but one could separate the modified preferences in a proper way from each other. Extra benefit: One could use the same preference file with different (older) versions of

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-01 Thread Evan Huus
On Wed, Aug 1, 2012 at 9:55 AM, Kurt Knochner wrote: > would it make sense to add version sections to the preferences file? Parsing > the > preference file would a bit more work, but one could separate the modified > preferences > in a proper way from each other. > > Extra benefit: One could use t

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-08 Thread mmann78
This should be fixed in r44359 -Original Message- From: Stig Bjørlykke To: Developer support list for Wireshark Sent: Wed, Aug 1, 2012 6:51 am Subject: [Wireshark-dev] Warnings when loading preferences Hi. After upgrading my local wireshark to latest trunk I get some warnings from

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-08 Thread Michael Tuexen
; To: Developer support list for Wireshark > Sent: Wed, Aug 1, 2012 6:51 am > Subject: [Wireshark-dev] Warnings when loading preferences > > Hi. > > After upgrading my local wireshark to latest trunk I get some warnings > from my preferences. > I suspect someone rewrote

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-08 Thread mmann78
Fixed in r44370 -Original Message- From: Michael Tuexen To: Developer support list for Wireshark Sent: Wed, Aug 8, 2012 5:47 pm Subject: Re: [Wireshark-dev] Warnings when loading preferences It seems that there is a problem with the new prefs and hiding columns feature in the

Re: [Wireshark-dev] Warnings when loading preferences

2012-08-09 Thread Michael Tuexen
n r44359 > > > > -Original Message- > > From: Stig Bjørlykke < > s...@bjorlykke.org > > > > To: Developer support list for Wireshark < > wireshark-dev@wireshark.org > > > > Sent: Wed, Aug 1, 2012 6:51 am > > Subject: [Wireshark-dev