<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">Unsubscribe</span></p><br>Sent from Tom's iPhone</div><div><br>On Mar 30, 2017, at 2:07 AM, Build System <<a href="mailto:donotreply@danplanet.com">donotreply@danplanet.com</a>> wrote:<br><br></div><blockquote type="cite"><div><span>Greetings,</span><br><span></span><br><span>A new daily build of CHIRP is available. This includes changes made</span><br><span>directly to the tree yesterday, and may include additional features,</span><br><span>bug fixes, and/or bugs. If you are interested in trying it, grab it</span><br><span>from the following location:</span><br><span></span><br><span> <a href="http://trac.chirp.danplanet.com/chirp_daily/daily-20170330">http://trac.chirp.danplanet.com/chirp_daily/daily-20170330</a></span><br><span></span><br><span></span><br><span>A list of the changes included in this build (since the last daily)</span><br><span>follows:</span><br><span></span><br><span>Changes for Build #473</span><br><span>[Tom Hayward <<a href="mailto:tom@tomh.us">tom@tomh.us</a>>] Fix edge test so high bound is within valid_bands. #4689</span><br><span></span><br><span>[SASANO Takayoshi <<a href="mailto:uaa@mx5.nisiq.net">uaa@mx5.nisiq.net</a>>] patch for bug#4687, discard echoback immediately to avoid</span><br><span>OS's serial RX buffer overflow.</span><br><span></span><br><span>[Tom Hayward <<a href="mailto:tom@tomh.us">tom@tomh.us</a>>] Natively support null-terminated strings in Browser. #4685</span><br><span></span><br><span>When a bitwise char array that contains a null character is requested in the</span><br><span>Browser, there is an error:</span><br><span></span><br><span>Traceback (most recent call last):</span><br><span> File "/home/tom/src/chirp.hg/chirp/ui/radiobrowser.py", line 313, in _tree_click</span><br><span> e = CharArrayEditor(item)</span><br><span> File "/home/tom/src/chirp.hg/chirp/ui/radiobrowser.py", line 123, in __init__</span><br><span> self._build_ui()</span><br><span> File "/home/tom/src/chirp.hg/chirp/ui/radiobrowser.py", line 206, in _build_ui</span><br><span> ent.set_text(str(self._element))</span><br><span>TypeError: Gtk.Entry.set_text() argument 1 must be string without null bytes, not str</span><br><span></span><br><span>This error results in the char array contents not being displayed at all. All</span><br><span>we get is the attribute name.</span><br><span></span><br><span>Radios commonly store strings shorter than the maximum length with null</span><br><span>characters filling the remaining space. This is so common the browser should be</span><br><span>able to display it.</span><br><span></span><br><span>This change strips the null characters off the char array so that Gtk doesn't</span><br><span>freak out. This results in the string being displayed correctly.</span><br><span></span><br><span>The side effect is that the null characters are discarded on change. If the</span><br><span>field is edited in the browser, Chirp fills the empty chars with spaces, not</span><br><span>null characters like were there originally. Visually there is no difference,</span><br><span>but the stored data are different.</span><br><span></span><br><span></span><br></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>chirp_users mailing list</span><br><span><a href="mailto:chirp_users@intrepid.danplanet.com">chirp_users@intrepid.danplanet.com</a></span><br><span><a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_users">http://intrepid.danplanet.com/mailman/listinfo/chirp_users</a></span><br><span>This message was sent to <a href="mailto:tbkell@mchsi.com">tbkell@mchsi.com</a> at <a href="mailto:tbkell@mchsi.com">tbkell@mchsi.com</a></span><br><span>To unsubscribe, send an email to <a href="mailto:chirp_users-unsubscribe@intrepid.danplanet.com">chirp_users-unsubscribe@intrepid.danplanet.com</a></span></div></blockquote></body></html>