IRC log for #brlcad on 20130828

00:35.19 *** join/#brlcad caen23 (~caen23@92.85.89.89)
01:05.45 starseeker narrows down the CMake Ninja issue and moves on to seeing what the crash on Windows 8 is about...
01:28.28 starseeker ...if visual studio will ever finish updating...
01:43.57 starseeker yay
01:44.17 starseeker big friggin update...
01:57.28 starseeker aaaand the windows build is busted
02:13.27 Notify 03BRL-CAD:starseeker * 57189 (brlcad/trunk/CMakeLists.txt brlcad/trunk/src/libbu/date-time.c): Looks like we will need _gmtime_s on Windows?
02:14.08 Notify 03BRL-CAD:starseeker * 57190 brlcad/trunk/src/librt/search.c: Ah, right, gcc doesn't like C++ comments in C
02:18.32 Notify 03BRL-CAD:brlcad * 57191 brlcad/trunk/HACKING: extensive updating and expansion of the testing and debugging section in response to tom's questions on the mailing list. explain the three types of tests, give examples, and talk about manual testing too.
02:25.49 Notify 03BRL-CAD:starseeker * 57192 brlcad/trunk/CMakeLists.txt: Neither gmtime_s nor _gmtime_s works as a function test - try the symbol check.
02:29.13 brlcad starseeker: how about just #define gmtime_r _gmtime_s in config_win.h ?
02:30.27 brlcad no need for conditionals or tests if it's a fully compatible interface
02:30.56 brlcad that said, we should probably be using gmtime() instead of gmtime_r() for c89 compliance
02:31.27 Notify 03BRL-CAD:starseeker * 57193 (brlcad/trunk/CMakeLists.txt brlcad/trunk/src/libbu/date-time.c): Looks like it's gmtime_s
02:31.42 starseeker brlcad: it's not fully compatible (argument order is reversed)
02:31.57 *** join/#brlcad PrezKennedy (~DarkCalf@173.231.40.99)
02:32.26 starseeker doesn't gmtime have issues in parallel situations?
02:33.15 brlcad just reversed? a macro
02:33.33 brlcad #define gmtime_r(x, y) _gmtime_s(y, x)
02:33.45 brlcad there's at least one other example of that iirc
02:34.34 starseeker let me give it a try and see if it actually builds - if it does I'll try to do the macro in config_win.h
02:35.20 brlcad given how close we are to "upgrading" to c99, I can play a blind eye to gmtime() at least until we hit a build failure
02:35.48 starseeker shrugs - if we go with gmtime it's probably all moot then
02:36.34 brlcad gmtime() is a simple change, just requires a semaphore lock/unlock to call and copy the static buffer, all of 5 lines of code
02:36.44 brlcad which file is that?
02:36.55 starseeker date-time.c
02:36.58 starseeker in libbu
02:37.11 starseeker just added today, IIRC
02:37.14 brlcad got it
02:37.38 starseeker if you've got that I'll move on to fixing the dm point thing
02:38.31 brlcad yeah, got it -- just gimme a sec
02:38.54 starseeker no problem - sorry for all the thrashing
02:46.05 brlcad date, just build testing now
02:47.42 brlcad s/date/done/
02:48.55 Notify 03BRL-CAD:starseeker * 57194 brlcad/trunk/src/libdm/dm-wgl.c: Variable names appear to be different between wgl and ogl (why??)
02:52.21 Notify 03BRL-CAD:brlcad * 57195 brlcad/trunk/include/bu.h: add a new semaphore for the new date-time interface. doesn't need to lock on the same syscall interface, just needs to be enough to protect multiple reads from the static struct memory that is returned.
02:52.53 Notify 03BRL-CAD:brlcad * 57196 brlcad/trunk/src/libbu/date-time.c: call gmtime() instead of gmtime_r() for c89+ compliance and greater portability. makes things really simple for windows too (they provide gmtime())
02:53.00 starseeker hah - that's cool, newer Windows gives you a plot as a function of time of the rate of file deletions per second, with a line identifying the current value
02:53.43 starseeker brlcad: I'll yank the CMake stuff then
02:54.33 starseeker brlcad: thanks!
02:54.34 Notify 03BRL-CAD:starseeker * 57197 brlcad/trunk/CMakeLists.txt: Using gmtime now, don't need this
02:55.47 Notify 03BRL-CAD:brlcad * 57198 brlcad/trunk/src/conv/3dm/3dm-g.cpp: convert the name field to a bu_vls to eliminate the fixed object name limit. untested but fairly benign.
02:58.13 Notify 03BRL-CAD:starseeker * 57199 brlcad/trunk/HACKING: CmakeLIsts.txt -> CMakeLists.txt
02:58.20 starseeker (save carl the trouble ;-)
03:02.15 Notify 03BRL-CAD:starseeker * 57200 (brlcad/trunk/misc/perl/CMakeLists.txt brlcad/trunk/src/other/CMakeLists.txt): Mark items as advanced so they don't show in the default CMake gui interface.
03:06.18 Notify 03BRL-CAD:brlcad * 57201 (brlcad/trunk/include/bu.h brlcad/trunk/src/libbu/date-time.c): since the function doesn't specifically match the std library gmtime function in behavior or arguments, it really shouldn't be named identically. how about bu_utctime()?
03:29.30 Notify 03BRL-CAD:phoenixyjll * 57202 brlcad/trunk/src/libbrep/boolean.cpp: Find seaming curves and share edges.
03:31.43 Notify 03BRL-CAD:phoenixyjll * 57203 brlcad/trunk/src/libbrep/boolean.cpp: Eliminate dead code.
03:32.17 Notify 03BRL-CAD:brlcad * 57204 brlcad/trunk/include/bu.h: make it clear that the arg is the result, doxygen comment shouldn't be @file so it gets associated with the function that follows (@file only useful for multi-function source files that warrant an intro on the package they belong with.
03:34.33 Notify 03BRL-CAD:brlcad * 57205 brlcad/trunk/src/libbu/date-time.c: instead of a completely different string, how about instead returning a 'null' time entry ala SQL. this way it's formatted correctly and can be evaluated as an error, but is otherwise syntactically safe/consistent if anything is set up to parse the result.
03:56.35 starseeker bugger - it's crashing in Tk
03:58.09 starseeker tkWinDialog.c line 1037
03:59.55 starseeker guess I'll have to see if there are any Win specific Tcl/Tk fixes for newer systems
04:02.58 starseeker mutter... I've been avoiding Tcl/Tk upgrades, there are some known issues...
04:03.12 starseeker oh well, at least we're building
04:12.49 brlcad suspected it had nothing to do with the other changes
04:17.21 brlcad starseeker: if you want to try a fix, could try changing the two (int)buffer casts into (LPARAM)buffer
04:18.02 brlcad Tk's int cast there may be screwing up the pointer on 64-bit windows
04:19.49 brlcad then if it works, you can submit the patch ;)
04:22.31 Notify 03BRL-CAD:starseeker * 57206 brlcad/trunk/src/other/tk/win/tkWinDialog.c: Cheat and grab the tkWinDialog.c file from 8.5.14 - this allows MGED to successfully run on Windows 8 when built with Visual Studio 11.
04:23.43 starseeker brlcad: we're a few versions behind on the 8.5 series - looks like they already got it :-)
04:26.43 starseeker huzza - first successful build and MGED/Archer run on Windows 8 + Visual Studio 2012!
04:27.22 brlcad cool
04:27.35 Notify 03BRL-CAD:brlcad * 57207 brlcad/trunk/src/conv/3dm/3dm-g.cpp: consolidate the uuid string size into one place and initialize them to zero.
04:27.57 brlcad ah yeah, looks like the cast was the problem
04:30.26 Notify 03BRL-CAD:brlcad * 57208 brlcad/trunk/src/conv/asc/asc2g.c: reduce scope
04:32.13 Notify 03BRL-CAD:phoenixyjll * 57209 brlcad/trunk/src/libbrep/boolean.cpp: Deal with singular trims and closed trims.
04:32.47 starseeker cool http://www.isprs.org/proceedings/xxxvi/3-w19/papers/060.pdf
04:35.31 Notify 03BRL-CAD:brlcad * 57210 (brlcad/trunk/src/conv/comgeom/solid.c brlcad/trunk/src/conv/cy-g.c brlcad/trunk/src/conv/dem-g.c): more var scope reduction
05:13.02 Notify 03BRL-CAD:brlcad * 57211 brlcad/trunk/src/conv/dxf/bot-bldxf.c: reduce var scope
05:32.08 Notify 03BRL-CAD:brlcad * 57212 (brlcad/trunk/include/bu.h brlcad/trunk/src/conv/stl/g-stl.c and 53 others): rename the now-bu_-prefixed ntohd/ntohf/htond/htonf functions as belonging to the 'cv' data conversion package since their arguments are more similar (they convert arrays of values). proper would have been to match the style of the [nh]to[gn][ls]-style functions taking just one value and returning it as a
05:32.10 Notify uint32_t/uint64_t accordingly, like the new windows functions now do (which we probably can/should leverage in our implementation).
05:41.42 brlcad left as an exercise for the reader
06:30.06 Notify 03BRL-CAD:phoenixyjll * 57213 brlcad/trunk/src/libbrep/boolean.cpp: ws.
08:13.22 Notify 03BRL-CAD:phoenixyjll * 57214 brlcad/trunk/src/libbrep/boolean.cpp: More work trying to pass ON_Brep::IsValid() - the loop's first trim's m_vi[0] should be equal to the last's m_vi[1], and use ON_ZERO_TOLERANCE to determine singular trims, and set the vertex's tolerance to 0.0.
08:39.57 *** join/#brlcad Ch3ck_ (~Ch3ck@195.24.220.16)
09:07.18 Ch3ck_ brlcad: starseeker: ``Erik: I wish to create the pull interface on BRL-CAD. I just wish to know to files i'll be dealing here. grepped xpush and push to see which files and directories were called and got(src/mged, src/tclscripts, src/libtclcad, src/archer, src/libged/wdb_obj.c, src/rt, regress, doc). I just wish to know which ones are the most important since i'm trying to integrate the pull into archer(src/archer). Waiting for your guidance. ;)
09:52.06 Notify 03BRL-CAD Wiki:Phoenix * 6056 /wiki/User:Phoenix/GSoc2013/Reports: /* Week 11 */
10:51.54 Ch3ck_ join #ublab
11:37.52 Notify 03BRL-CAD Wiki:BurtFindley * 0 /wiki/User:BurtFindley:
11:43.05 Notify 03BRL-CAD Wiki:BurtFindley * 6057 /wiki/Students_at_University_Level: writing
11:50.38 Ch3ck_ gotta go get some ATP! ;)
12:27.21 Notify 03BRL-CAD:brlcad * 57215 (brlcad/trunk/src/conv/dxf/dxf-g.c brlcad/trunk/src/conv/dxf/g-dxf.c): reduce var scope
12:31.25 Notify 03BRL-CAD:brlcad * 57216 brlcad/trunk/src/conv/g-dot.c: reduce var scope, total is unused
12:35.04 Notify 03BRL-CAD:brlcad * 57217 brlcad/trunk/src/conv/g-vrml.c: close the texture file fd, reduce var scope
13:02.31 Notify 03BRL-CAD:brlcad * 57218 (brlcad/trunk/src/conv/enf-g.c brlcad/trunk/src/conv/fast4-g.c): reduce var scope
13:04.20 Notify 03BRL-CAD:brlcad * 57219 brlcad/trunk/src/conv/g-xxx.c: completely rework the template converter to avoid forward decls, eliminate the globals, and actually utilize the user data struct
13:05.38 Notify 03BRL-CAD:brlcad * 57220 brlcad/trunk/src/conv/CMakeLists.txt: enable continuous compilation of the g-xxx example so that the sources stay up-to-date. include walk_example as a sample app.
13:06.21 Notify 03BRL-CAD:brlcad * 57221 brlcad/trunk/src/conv/g-xxx_facets.c: reduce var scope
13:19.06 *** join/#brlcad Notify (~notify@66-118-151-70.static.sagonet.net)
13:51.59 *** join/#brlcad Notify (~notify@66-118-151-70.static.sagonet.net)
13:52.02 Notify 03BRL-CAD:indianlarry * 57222 (brlcad/branches/nurbs/CMakeLists.txt brlcad/branches/nurbs/HACKING and 119 others): Merging trunk into branch 'nurbs' r:57144:57221
14:02.10 *** join/#brlcad Notify (~notify@66-118-151-70.static.sagonet.net)
14:11.01 *** join/#brlcad Notify (~notify@66-118-151-70.static.sagonet.net)
14:24.32 *** join/#brlcad Notify (~notify@66-118-151-70.static.sagonet.net)
14:25.26 Notify 03BRL-CAD:indianlarry * 57223 brlcad/branches/nurbs/src/librt/primitives/brep/brep.cpp: Initial pullback using first order derivative (WIP currently tetsing resolving known trim points still have a handful of points that don't resolve generally due to singularities in the Jacobian plan to brute force those points through subdivsion for now )
14:56.37 zero_level hey do any one have a experience with 'expr: syntax error' in bash.
15:01.19 brlcad zero_level: of course, what's up?
15:01.27 brlcad usually it means one of the parameters is empty
15:02.30 brlcad try printing the command in the script, e.g.,
15:02.36 brlcad cmd="expr ..."
15:02.39 brlcad echo $cmd
15:02.41 brlcad $cmd
15:03.29 zero_level i am getting this error in
15:03.31 zero_level $P2B -B 1.0 $BASE2.pix > $BASE2.bw
15:03.50 brlcad no you're not
15:04.18 zero_level i tried echo before and after this line.
15:04.33 zero_level is wondering.
15:05.24 brlcad again, echo the exact command
15:05.35 brlcad you can also then try running that exact command outside of the script
15:05.47 brlcad echo "$P2B -B 1.0 $BASE2.pix > $BASE2.bw"
15:06.22 brlcad put that in the script, see what it prints, then run what it printed manually
15:29.27 Notify 03BRL-CAD:tbrowder2 * 57224 brlcad/trunk/include/bu.h: remove spurious period
16:12.55 Ch3ck_ brlad: still waiting for your response
16:18.43 Notify 03BRL-CAD Wiki:Harman052 * 6058 /wiki/User:Harman052/GSoc2013/Logs:
16:26.50 zero_level brlcad : I checked and I am not getting syntax error for that line.
17:04.41 Notify 03BRL-CAD Wiki:NyahCh3ck20 * 6059 /wiki/User:NyahCh3ck20/GSoc2013/Coding_Repor: /* Aug 26 - Sept 01 */
17:12.05 ``Erik brlcad: routing issue seems to have magically cleared up
17:23.17 Notify 03BRL-CAD:tbrowder2 * 57225 (brlcad/trunk/include/bu.h brlcad/trunk/src/libbu/date-time.c): change signature and intent of bu_utctime; eliminate need for time.h in bu.h; change some attr struct vars to integral instead of char*
17:38.39 *** join/#brlcad kesha (~kesha@49.249.17.122)
17:42.10 Notify 03BRL-CAD:tbrowder2 * 57226 brlcad/trunk/src/libbu/avs.c: add func to update attr creation or modification times
17:42.30 Notify 03BRL-CAD Wiki:IIIzzzaaakkk * 6060 /wiki/User:Izak/GSOC_2013_logs: /* August 26th to August 27th */
17:44.35 *** join/#brlcad caen23 (~caen23@92.85.86.129)
17:52.16 Notify 03BRL-CAD:n_reed * 57227 (brlcad/trunk/src/libdm/dm-ogl.c brlcad/trunk/src/libdm/dm-wgl.c): Address r57194 concern. Need to declare temporary variables for wgl (missed in copy-paste from ogl). Localize them to make their transience clear.
18:28.30 Notify 03BRL-CAD:starseeker * 57228 brlcad/trunk/src/conv/step/g-step/ON_Brep.cpp: Closed curves are apparently a problem for some importers, so we'll need to set up to split curves and edges at need.
18:33.01 *** join/#brlcad kesha_ (~kesha@49.249.17.122)
18:36.49 zero_level ``Erik , brlcad : the variable Failed has an issue in regress/dsp/run-dsp-case-set-1.sh, run-dsp-case-set-2.sh, run-dsp-case-set-3.sh
18:40.02 zero_level As per your advise, I used echo to print that command.
18:43.31 zero_level c/Failed/"Failed"
18:50.02 *** join/#brlcad caen23_ (~caen23@92.81.177.236)
19:09.28 Notify 03BRL-CAD:tbrowder2 * 57229 brlcad/trunk/src/libbu/avs.c: need the time.h header for the time func and vars
19:11.57 Ch3ck_ runs home ;)
19:15.03 Notify 03BRL-CAD:starseeker * 57230 (brlcad/trunk/src/conv/step/g-step/ON_Brep.cpp brlcad/trunk/src/conv/step/g-step/ON_Brep.h brlcad/trunk/src/conv/step/g-step/g-step.cpp): Going to need a struct for parameters and info - start setting it up.
19:20.50 Notify 03BRL-CAD Wiki:Vladbogolin * 6061 /wiki/User:Vladbogolin/GSoC2013/Logs: /* Week 11 */
19:24.55 *** join/#brlcad kesha_ (~kesha@49.249.17.122)
19:31.24 Notify 03BRL-CAD:starseeker * 57231 (brlcad/trunk/src/conv/step/g-step/ON_Brep.cpp brlcad/trunk/src/conv/step/g-step/ON_Brep.h): Moving things into struct - will allow easier passing of info between functions
19:39.04 Notify 03BRL-CAD Wiki:KeshaSShah * 6062 /wiki/User:KeshaSShah/GSoC13/Reports: /* Week 10 */
19:42.14 Notify 03BRL-CAD:starseeker * 57232 brlcad/trunk/src/conv/step/g-step/ON_Brep.cpp: Simplify some function parameter lists
19:56.14 Notify 03BRL-CAD:tbrowder2 * 57233 (brlcad/trunk/include/bu.h brlcad/trunk/src/libbu/avs.c): change func to use enum args
20:00.42 *** join/#brlcad mpictor (~mark@2601:d:b280:3d4:d63d:7eff:fe2d:2505)
20:06.02 Notify 03BRL-CAD:indianlarry * 57234 brlcad/branches/nurbs/src/librt/primitives/brep/brep.cpp: first attempt to brute force those points that don't have jacobian inverse through subdivsion, if jacobian fails then subdivide around current failing u,v then recurse trying first order walk again. Passes through previous failed points but the recursion is dog slow and need to rework.
20:10.11 Notify 03BRL-CAD:tbrowder2 * 57235 brlcad/trunk/src/libged/attr.c: use const chars for arg choices
20:39.26 Notify 03BRL-CAD:tbrowder2 * 57236 brlcad/trunk/src/libged/attr.c: move var to func scope in preparation for refactoring
20:40.24 Notify 03BRL-CAD:tbrowder2 * 57237 brlcad/trunk/src/libged/attr.c: add new var for new display formats
20:48.11 *** join/#brlcad kesha__ (~kesha@1.38.26.53)
20:59.05 Notify 03BRL-CAD:starseeker * 57238 (brlcad/trunk/src/conv/step/g-step/ON_Brep.cpp brlcad/trunk/src/conv/step/g-step/ON_Brep.h): Not right yet, but work on integrating the 'split the curve' logic into the brep build
21:04.40 *** join/#brlcad caen23 (~caen23@92.81.193.179)
21:14.50 Notify 03BRL-CAD:tbrowder2 * 57239 brlcad/trunk/src/libged/attr.c: add some convenience enums and a func to ease maintaining guts of attr func; collect name and value lengths earlier in func
21:28.53 Notify 03BRL-CAD:carlmoore * 57240 brlcad/trunk/src/conv/off/g-off.c: remove some unneeded braces, and get -P into the Usage statement
21:32.40 *** join/#brlcad kesha__ (~kesha@49.249.0.218)
21:38.11 Notify 03BRL-CAD:tbrowder2 * 57241 brlcad/trunk/src/libged/attr.c: refactor attr listing into a local func
21:47.31 Notify 03BRL-CAD:mohitdaga * 57242 brlcad/trunk/doc/docbook/system/man1/en/bwfilter.xml: Update man page as per the recent changes due to incorporation of libicv apis in bwfilter.
21:50.36 Notify 03BRL-CAD:mohitdaga * 57243 brlcad/trunk/src/util/bwfilter.c: Add the code for verbose options.
22:00.34 Notify 03BRL-CAD:tbrowder2 * 57244 brlcad/trunk/src/libged/attr.c: add time stamps to normal attr show (the creation time stamp is not yet stable)
22:37.41 zero_level whenever there is a commit on bu.h. The complete src code has to be recompiled. o.O
22:41.54 ``Erik most of it, yes
22:42.19 ``Erik better than a change to CMakeLists.txt :D
22:44.43 Notify 03BRL-CAD:tbrowder2 * 57245 brlcad/trunk/src/libbu/avs.c: ensure old attrs have a creation time even if it's a current time
22:46.11 Notify 03BRL-CAD:tbrowder2 * 57246 brlcad/trunk/src/libbu/date-time.c: use the definition of the broken down time--zero is a valid value for year and month
22:51.59 Notify 03BRL-CAD:mohitdaga * 57247 brlcad/trunk/src/util/bwfilter.c: Incorporate usage of offset flag and kern division flag in bwfilter code. This was left in the initial commit.
23:08.56 *** join/#brlcad kesha__ (~kesha@49.249.0.218)

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