IRC log for #brlcad on 20120124

00:11.29 *** join/#brlcad DarkCalff (DC@173.231.40.98)
01:27.41 CIA-130 BRL-CAD: 03n_reed * r49002 10/brlcad/trunk/src/libbu/test_sscanf.c: add more float-type tests
01:45.56 CIA-130 BRL-CAD: 03starseeker * r49003 10/brlcad/trunk/CMakeLists.txt: obsolete comment
02:25.44 CIA-130 BRL-CAD: 03brlcad * r49004 10/brlcad/trunk/src/mged/cmd.c: looks like a case where '%*s' is being used incorrectly. it's not strncpy, so use a vls to get that intended result.
02:26.52 *** join/#brlcad louipc (~louipc@archlinux/fellow/louipc)
02:39.49 CIA-130 BRL-CAD: 03brlcad * r49005 10/brlcad/trunk/src/mged/mged.c: simplify, pull the free up to after Tcl_Eval() since we're done with it
03:57.19 CIA-130 BRL-CAD: 03brlcad * r49006 10/brlcad/trunk/src/mged/mged.c: looks like console tab-completion in mged also relied on '%*s' strncat behavior, though not critically so (wipes out the previous command line)
04:00.35 CIA-130 BRL-CAD: 03brlcad * r49007 10/brlcad/trunk/src/mged/mged.c: feature LONG time in the making. improve tab expansion padding a trailing space if we get down to only one match remaining. improved usability ftw.
04:00.58 CIA-130 BRL-CAD: 03starseeker * r49008 10/brlcad/trunk/misc/CMake/ (44 files): Have a go at standardizing the case of built-in CMake function calls in our .cmake files, for readibility improvement. Not hitting the CMakeLists.txt files yet.
04:08.00 *** join/#brlcad jordisayol (~jordisayo@unaffiliated/jordisayol)
04:14.09 CIA-130 BRL-CAD: 03starseeker * r49009 10/brlcad/trunk/ (93 files in 93 dirs): Take a stab at the CMakeLists.txt files (probably not complete)
04:14.31 starseeker brlcad: probably not perfect, but hopefully that will help some
04:18.21 brlcad wow, I wouldn't have expected all-lower from you given it was nearly all upper :)
04:18.44 brlcad I like it though, less of a wall of shouting text
04:19.00 brlcad should be more clear what is logic and what the vars are
04:21.04 starseeker nods
04:21.54 starseeker didn't have any particular attachment to one or the other - Tom mentioned he didn't care for all caps when we were discussing the DocBook stuff, and I had read somewhere that all things being equal, lower case is easier to read
04:22.31 starseeker sorts out rather well, once I look at it - will take a little getting used to, but no biggie
04:23.53 starseeker probably the lower case instances are when I needed to read something more clearly to understand it :_)
04:23.59 starseeker :-) even
04:25.42 starseeker for darn sure I don't want to make it *intentionally* hard to read
04:30.22 CIA-130 BRL-CAD: 03brlcad * r49010 10/brlcad/trunk/src/mged/mged.c:
04:30.22 CIA-130 BRL-CAD: wow, and all that for nothing. the input string is wiped out, but a call to
04:30.22 CIA-130 BRL-CAD: bu_vls_trunc() does it even better and is already being called. maybe a vestige
04:30.22 CIA-130 BRL-CAD: holdover from when it was a buffer instead of a vls and nobody noticed.
04:30.23 CIA-130 BRL-CAD: something a little fishy but looks like it's working nicely.
04:31.13 brlcad starseeker: you sure? job security! :)
04:31.41 starseeker <snort> I'm quite sure it will be impenetrable despite my best efforts
04:32.38 starseeker has been swimming in CMake for so long now it feels natural, which means writing up docs is automatically a challenge
04:38.46 CIA-130 BRL-CAD: 03starseeker * r49011 10/brlcad/trunk/ (33 files in 33 dirs): few more upper->lower conversions
05:46.29 *** join/#brlcad Technicus (~Technicus@24-196-36-61.dhcp.stpt.wi.charter.com)
05:59.35 CIA-130 BRL-CAD: 03brlcad * r49012 10/brlcad/trunk/src/tclscripts/mged/text.tcl: even if line is empty, let tab-completion still do its job. return all registered commands. improved usability consistent with unix command prompt behavior.
06:02.16 CIA-130 BRL-CAD: 03brlcad * r49013 10/brlcad/trunk/NEWS:
06:02.16 CIA-130 BRL-CAD: improved tab-completion behavior in mged. now once you have a match, it will
06:02.16 CIA-130 BRL-CAD: auto-append a space after the command so you're ready for the next argument.
06:02.16 CIA-130 BRL-CAD: also, hitting tab on an empty line will return all registered commands instead
06:02.16 CIA-130 BRL-CAD: of silently doing nothing.
06:06.04 CIA-130 BRL-CAD: 03brlcad * r49014 10/brlcad/trunk/src/tclscripts/lib/Command.tcl: do the same for archer. looks like entirely duplicate code fortunately/unfortunately so same fix applies to make an empty tab-expansion return all registered commands.
06:12.09 CIA-130 BRL-CAD: 03brlcad * r49015 10/brlcad/trunk/src/tclscripts/lib/Command.tcl: apply similar usability enhancement to archer as was done for mged. if there's only one match remaining, then add a space after our match so the user is saved a keystroke.
07:04.21 CIA-130 BRL-CAD: 03brlcad * r49016 10/brlcad/trunk/NEWS:
07:04.21 CIA-130 BRL-CAD: improved tab-completion behavior for mged and archer. now once you have a
07:04.21 CIA-130 BRL-CAD: match, it will auto-append a space after the command so you're ready for the
07:04.21 CIA-130 BRL-CAD: next argument. also, hitting tab on an empty line will return all registered
07:04.22 CIA-130 BRL-CAD: commands instead of silently doing nothing. untested for archer (non-gui atm)
07:22.52 CIA-130 BRL-CAD: 03brlcad * r49017 10/brlcad/trunk/src/mged/mged.c:
07:22.52 CIA-130 BRL-CAD: handle a slew of '%*s' bu_loggers that seemed to assume strncpy behavior with
07:22.52 CIA-130 BRL-CAD: the size being a max (it's a min). probably all benign (possibly even
07:22.52 CIA-130 BRL-CAD: unnecessary code) given they all merely blank out some portion of the input
07:22.52 CIA-130 BRL-CAD: prompt, but preserves behavior until more extensive testing can occur.
07:36.45 CIA-130 BRL-CAD: 03brlcad * r49018 10/brlcad/trunk/src/mged/mged.c: replace a slew of bu_vls_init() calls with static initializers.
07:38.45 CIA-130 BRL-CAD: 03brlcad * r49019 10/brlcad/trunk/src/bwish/input.c: more of the same, even identical code to mged, assumptions of '%*s' acting like strncpy and being a minimum. keep doing the explicit copy regardless of the need to preserve behavior until more direct testing can occur.

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.