IRC log for #brlcad on 20091210

01:00.08 *** join/#brlcad Nohla (n=jesica@201.255.230.172)
01:08.04 ``Erik pixar intro parody http://www.collegehumor.com/video:1921845
01:13.31 CIA-41 BRL-CAD: 03starseeker * r36855 10/brlcad/trunk/ (5 files in 5 dirs):
01:13.31 CIA-41 BRL-CAD: Take a few baby steps towards dm-tk + aquatk. Try to turn on ITK when aquatk is
01:13.31 CIA-41 BRL-CAD: on, itcl is being built and x11 is off, avoid a few X11/Xutil.h includes in the
01:13.31 CIA-41 BRL-CAD: DM_TK sections, disable the tk framebuffer stuff until the tk display manager
01:13.31 CIA-41 BRL-CAD: gets sorted out. Trying this with aquatk as it is a good way to ensure no X11
01:13.34 CIA-41 BRL-CAD: requirements in the tk display manager - hopefully this doesn't break
01:13.36 CIA-41 BRL-CAD: anything...
01:14.20 starseeker crosses fingers that ``Erik won't have more ammo to raz him about tomorrow...
01:15.43 ``Erik if I run out, I"ll just start making stuff up :D
01:16.17 starseeker mged won't come up with that setup (tk_open_dm fails) but amusingly enough archer does (but can't open a model without ogl, of course)
01:16.24 starseeker heh
01:17.20 starseeker much more annoyingly, we don't seem to have the ttk aqua them available
01:18.59 starseeker wonder if we need to pass a build flag in or something
01:26.23 starseeker humph - not even close - close X11 and nothing happens
01:26.31 starseeker doggone it
01:32.32 starseeker are we even building tk aqua in the first place?
01:34.30 starseeker uh oh
01:34.56 starseeker grep, why didn't you see a tk/unix configure line with aqua...
01:38.03 starseeker woot
01:38.27 *** join/#brlcad R0b0t1 (n=Enigma@unaffiliated/r0b0t1)
01:38.48 starseeker dunno why aqua wasn't getting triggered in the tk build - have to look into that - but manually doing it works
01:39.04 starseeker menus aren't working for some reason...
01:45.34 starseeker http://bzflag.bz/~starseeker/mged_aquatk_1st.png (OK, it's not really the first - brlcad has done this before - but first for me)
01:45.57 starseeker for some reason archer is glued to the upper left corner
01:46.01 starseeker http://bzflag.bz/~starseeker/archer_aquatk_1st.png
01:47.15 starseeker oh, there we go
01:49.06 starseeker apparently the clam theme doesn't play well with aquatk
01:49.18 starseeker http://bzflag.bz/~starseeker/archer_aquatk_aquatheme.png
01:51.14 starseeker no, now it's doing it again
01:51.15 starseeker weird
01:51.18 starseeker oh well, details
01:52.53 starseeker heads home
01:56.53 *** join/#brlcad Nohla (n=jesica@201.255.247.166)
02:32.33 brlcad starseeker: a great way to "explore" a code is to clean it up :)
02:33.01 brlcad quell warnings, restructure for no forward decls, remove dead code, cleanup comments ;)
02:35.50 brlcad starseeker: hah, that's pretty awesome that you even got that far... been a LONG while since I've seen MGED in that mode :)
02:36.12 brlcad looks like aquatk is coming along a lot better than it was at first!
02:37.14 brlcad you got that far just by turning everything back on, eh?
02:45.22 starseeker brlcad: more or less
02:48.03 brlcad heh, that's surprising, but cool
02:48.31 starseeker you can see what I did in commit 36855 - that's it except for manually doing an --enable-aquatk in tk/unix
02:48.34 brlcad exciting actually, that we could be sans x11 on mac os x ... :)
02:48.47 brlcad really would bump the priority of getting a brl-cad terminal going
02:48.53 starseeker grins evilly
02:49.03 starseeker would LOVE to ditch X11
02:49.08 brlcad yeah, I was reading the patch
02:49.28 starseeker ticklish part was the ITK build detection - still not sure I got that totally right
02:49.47 starseeker and I haven't messed with the tk framebuffer at all yet, so no raytracing
02:49.50 brlcad was libfb horked?
02:49.56 brlcad noticed you disabled it
02:51.35 brlcad or just keeping it simple
02:51.39 starseeker keeping it simple
02:51.55 starseeker I might have been able to ditch an X11 header and move forward, but I didn't want to complicate things
02:52.00 starseeker figured dm first, then fb
02:52.27 brlcad the AM_CONDITIONAL isn't probably what it needs to be
02:52.50 starseeker yeah, figured
02:52.53 brlcad build_brlcad_itcl is the switch, the other tests should affect that switch
02:53.18 starseeker um - apparently if not building X11 or tk itcl is on but itk is off
02:53.24 starseeker at least, that's what happened
02:53.53 brlcad in the section where that var is tested/set, can test for the other two vars
02:54.01 brlcad yeah, I think that was just part of the X11 weeding
02:54.23 starseeker oh - so there isn't a scenario with itcl but not itk?
02:54.26 brlcad to get it compiling on a system that didn't have X11
02:54.29 starseeker that would vastily simplify things
02:54.49 starseeker um - itk works with aquatk (apparently)
02:54.56 starseeker otherwise archer wouldn't aquify
02:55.24 brlcad yeah, that's where aquatk changes the logic
02:55.42 starseeker what really bothers me is why the aquatk tk build wasn't triggered by --enable-aquatk
02:55.53 starseeker might have had a stale compile or something I suppose...
02:57.29 brlcad logic should be something like "if x11 or aquatk, traverse into tk/itk"
02:58.44 starseeker I think it's at 3910 in configure.ac
02:59.08 brlcad you have a system Tk it was using?
02:59.10 starseeker looks OK, but I didn't see any subconfigure of tk
02:59.13 brlcad enable-all and it should have enabled
02:59.15 starseeker not intentionally
02:59.22 starseeker I had enable-all
02:59.35 brlcad should see --enable-aqua in config.log head
02:59.43 brlcad (for tk's config.log)
02:59.54 brlcad that's the toggle
03:00.02 brlcad it obviously worked :)
03:00.23 starseeker no, only when I manually did a cd into tk/unix and configured it myself
03:02.57 starseeker brlcad: if you're on a mac at home you can give it a whirl :-)
03:03.53 starseeker DID see --enable-aqua appear in the configure lines for misc/enigma and the other subconfigures, but I didn't see any triggering of a tk subconfigure at all
03:07.25 starseeker I think I did ./configure --enable-all --enable-aquatk --disable-X11 or some such
03:21.54 CIA-41 BRL-CAD: 03brlcad * r36856 10/brlcad/trunk/src/libgcv/region_end.c:
03:21.54 CIA-41 BRL-CAD: flatten and simplify the logic a little bit. make vars accessed post jump
03:21.54 CIA-41 BRL-CAD: 'static' in order to quell compilation warnings about setjmp/longjmp possibly
03:21.54 CIA-41 BRL-CAD: clobbering their register data. as static, they should be safe (but now this
03:21.55 CIA-41 BRL-CAD: routine isn't thread safe (not that it likely was to begin with)).
03:21.57 brlcad huh, was tk enabled?
03:23.18 brlcad wonder what compiler rev was reporting that jmp clobbage
06:05.32 *** join/#brlcad Computer_ (n=Computer@209-16-114-100.net.bhntampa.com)
06:14.43 *** join/#brlcad superlinux (n=imad@77.42.133.191)
06:14.48 superlinux starseeker, hi
06:15.10 superlinux where can i find the itk 3.2 to download it?
08:12.29 *** join/#brlcad superlinux (n=imad@85.195.142.183.satgate.net)
12:08.02 *** join/#brlcad __monty__ (n=toon@78-23-208-210.access.telenet.be)
13:12.11 *** join/#brlcad mafm (n=mafm@249.Red-88-11-185.dynamicIP.rima-tde.net)
13:14.23 *** join/#brlcad parigaudi (n=quassel@pd95b7f5e.dip0.t-ipconnect.de)
13:32.10 *** join/#brlcad Computer (n=Computer@unaffiliated/computer)
13:57.59 ``Erik brlcad: get it iwth both apple 4.0.1 and fbsd 4.2.1
14:20.59 starseeker cc1: warnings being treated as errors
14:20.59 starseeker ../../../brlcad/src/libbu/crashreport.c: In function ‘bu_crashreport’:
14:20.59 starseeker ../../../brlcad/src/libbu/crashreport.c:75: error: format not a string literal and no format arguments
14:21.02 starseeker make[2]: *** [crashreport.lo] Error 1
14:21.04 starseeker that's an fprintf
14:21.11 starseeker erm
14:22.24 starseeker wouldn't the snprintf to the buffer set up a string literal for the fprintf?
14:23.21 starseeker heads in
14:23.55 ``Erik neither of my boxen freak out on it
14:24.06 ``Erik though changing it to fprintf(fp, "%s", buf); might help?
14:25.49 *** join/#brlcad dli (n=dli@69.172.97.211)
14:44.00 ``Erik "at&t to put 5gb cap on iphone" nice
15:09.13 CIA-41 BRL-CAD: 03brlcad * r36857 10/rt^3/trunk/src/tests/GeometryServiceTest.cxx:
15:09.13 CIA-41 BRL-CAD: add an initial high-level integration test harness for chatting with the
15:09.13 CIA-41 BRL-CAD: geometry service. this stubs out some basic connections, probing and reporting
15:09.13 CIA-41 BRL-CAD: on the status of functionality. the client and server classes next need to get
15:09.13 CIA-41 BRL-CAD: filled out with an interaction with the actual GS protocol (either low-level or
15:09.16 CIA-41 BRL-CAD: via classes) but the intent is a dependency-free test of the protocol.
15:09.33 *** join/#brlcad brlcad (n=sean@BZ.BZFLAG.BZ)
15:09.43 brlcad grr
15:14.01 ``Erik dude, peer must have it out for you
15:22.28 brlcad hits the road, late
16:14.11 *** join/#brlcad Elrohir (n=kvirc@p5B149E94.dip.t-dialin.net)
16:23.43 CIA-41 BRL-CAD: 03erikgreenwald * r36858 10/brlcad/trunk/src/librt/primitives/ (metaball/metaball.c table.c): rt_metaball_get (for g2asc)
16:24.41 ``Erik flees before people yell at him for that
16:42.20 CIA-41 BRL-CAD: 03brlcad * r36859 10/brlcad/trunk/src/libbu/linebuf.c: ws
16:44.18 CIA-41 BRL-CAD: 03brlcad * r36860 10/brlcad/trunk/src/libbu/crashreport.c:
16:44.18 CIA-41 BRL-CAD: quell warning about fprintf without a string literal. that was intentionally
16:44.18 CIA-41 BRL-CAD: done to avoid fprintf needing to utilize an expansion buffer (whether on stack
16:44.18 CIA-41 BRL-CAD: or heap) in case we're crashing hard. instead, change up the fprintf with an
16:44.18 CIA-41 BRL-CAD: fwrite since that's the intent anyways, to just write out some bytes. make the
16:44.19 CIA-41 BRL-CAD: file stream unbuffered while we're at it.
16:48.37 CIA-41 BRL-CAD: 03brlcad * r36861 10/brlcad/trunk/src/libbu/crashreport.c: convert the other fprintfs to fwrite too except for the handful of static strings, leave them as fprintf.
16:52.49 brlcad wonders why anyone would yell at him for adding in g2asc support..
16:53.08 brlcad shoulda had it from the get-go
17:16.09 *** join/#brlcad starseeker (n=starseek@BZ.BZFLAG.BZ)
17:16.32 starseeker hmm
17:16.39 brlcad yeah, boo hiss
17:16.51 starseeker server hickup?
17:17.05 brlcad server katapulted
17:18.07 starseeker ow
17:18.55 starseeker tries aquatk again from a clean build to see if tk/unix gets the word...
17:20.46 starseeker ok, there's the configure line this time :-)
17:20.56 starseeker let there be make
17:24.27 CIA-41 BRL-CAD: 03brlcad * r36862 10/rt^3/trunk/src/tests/GeometryServiceTest.cxx: make the various sections more distinct with some comment formatting. add another one for testing event notifications.
17:43.10 CIA-41 BRL-CAD: 03brlcad * r36863 10/rt^3/trunk/src/tests/GeometryServiceTest.cxx: comment out what the classes are, what they are meant to represent. break out the macros into multiple lines and add a check to make sure the server stays running.
17:45.06 starseeker oh, I'm wrong - the menus aren't missing, they're just where apple puts 'em
18:01.26 CIA-41 BRL-CAD: 03brlcad * r36864 10/rt^3/trunk/src/tests/GeometryServiceTest.cxx: make sure the server will restart
18:02.22 brlcad new screenshot?
18:03.47 starseeker oh, sure :-) one sec
18:05.33 CIA-41 BRL-CAD: 03starseeker * r36865 10/brlcad/trunk/src/other/Makefile.am: Don't turn off TK building if X11 isn't there anymore.
18:05.35 starseeker bet that was my Tk problem
18:06.15 ``Erik the busted-assed twisty maze of code for v4 vs v5 is a pain
18:12.34 CIA-41 BRL-CAD: 03brlcad * r36866 10/rt^3/trunk/src/tests/GeometryServiceTest.cxx: additional tests for getting .g representations, persisting geometry versions, and server-side raytracing.
18:12.57 brlcad something other than havoc would be nice too :)
18:13.22 starseeker brlcad: now you tell me :-P
18:13.27 starseeker remaking...
18:14.58 starseeker erm - well - here's the havoc one, I'll make another one in a second... http://bzflag.bz/~starseeker/mged_aqua_withmenu.png
18:21.57 starseeker brlcad: how about this: http://bzflag.bz/~starseeker/mged_aqua_jeep.png
18:33.43 ``Erik are you sure we have enough havoc screenshots?
18:39.35 starseeker ``Erik: heh
18:39.45 starseeker I use that one because the wireframe is a pain in the neck
18:40.30 CIA-41 BRL-CAD: 03erikgreenwald * r36867 10/brlcad/trunk/src/adrt/librender/cut.c: use VJOIN1 instead of VCOMB2
18:46.51 starseeker oo - tkhtml3 doesn't like aqua
18:46.56 starseeker crud
18:47.09 ``Erik *cough* O:-)
18:47.31 ``Erik nifty, toyjeep doesn't facetize wel
18:51.43 ``Erik niftier, pinewood facetizes the two starboard wheels, but not the two port wheels.
19:19.53 starseeker good - aquatk now compile straight. Time to figure out what's busted and why
19:38.57 starseeker ok, looks like the tk framebuffer isn't as far along
21:00.40 CIA-41 BRL-CAD: 03indianlarry * r36868 10/brlcad/trunk/src/conv/step/ (OpenNurbsInterfaces.cpp PullbackCurve.cpp): Cleaned up check_pullback_seam_bridge() in pullback code, also adjusted bounds of linear extrude, conical and cylindrical surfaces. Added some debugging code related to trimming curves crossing seam bounaries(still WIP).
21:04.05 CIA-41 BRL-CAD: 03indianlarry * r36869 10/brlcad/trunk/src/librt/primitives/brep/brep.cpp: Added code to push 2d UV coordinates back into domain for closed surfaces that have wrapped past the seam.
21:07.09 CIA-41 BRL-CAD: 03indianlarry * r36870 10/brlcad/trunk/src/librt/opennurbs_ext.cpp: Make sure 'ctree' assigned to NULL when trims are removed ( starts without trims in STEP converter)
21:27.40 CIA-41 BRL-CAD: 03starseeker * r36871 10/brlcad/trunk/doc/html/manuals/archer/ (Archer_Documentation.chm Makefile.am): Opened this on a Windows box, no content to speak of in it (same as the tool on Linux tried earlier) - byebye
21:48.55 *** join/#brlcad Nohla (n=jesica@201.255.247.166)
22:12.55 *** join/#brlcad talcite (n=matthew@dhcp-143-147.mcme-students.carleton.ca)
22:42.34 brlcad nice screenshots starseeker
22:42.47 brlcad queues them up
22:48.31 *** join/#brlcad Elrohir (n=kvirc@p5B149E94.dip.t-dialin.net)
23:34.36 CIA-41 BRL-CAD: 03erikgreenwald * r36872 10/brlcad/trunk/src/libwdb/ (Makefile.am metaball.c): beginnings of mk_metaball. Not adding it to wdb.h as I don't think I like the signature.
23:41.04 yukonbob indeed, screenshots are look clean and cool.
23:41.20 yukonbob s/are look/look/
23:43.20 ``Erik scratches his brain
23:46.13 CIA-41 BRL-CAD: 03erikgreenwald * r36873 10/brlcad/trunk/src/libwdb/metaball.c: erm, already was an entry in wdb.h, just no implementation
23:47.24 ``Erik what the flying hell
23:49.03 ``Erik how the feck did it compile earlier? O.o
23:49.11 CIA-41 BRL-CAD: 03erikgreenwald * r36874 10/brlcad/trunk/src/libwdb/ (Makefile.am metaball.c): ... already had it
23:49.16 starseeker ``Erik: welcome to my world :)
23:49.46 ``Erik heh
23:50.53 starseeker brlcad: apparently archer help is "not yet implemented"
23:59.12 ``Erik bah
23:59.37 ``Erik all that work is sitting in an editor window screwed up because those ... people can't figure out the difference between 5:00 and 3:30

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