IRC log for #brlcad on 20100505

00:12.02 *** join/#brlcad Nohla (~jesica@201.255.237.179)
00:26.08 starseeker makes documentation card...
00:26.41 starseeker and getopt_long card...
00:30.53 ``Erik O.o
00:31.01 starseeker hmm?
00:31.02 ``Erik card? like a tri-fold cheat sheet or something? heh
00:31.21 starseeker I think that needs updating too, come to think of it
00:33.20 CIA-73 BRL-CAD: 03brlcad * r38969 10/brlcad/trunk/TODO: add some of teh todo items that came up during GPM2009 and earlier. kdtree spatial partioning for librt, SAH heuristic on prims (using ray tracing), API routine for computing volumes (gqa-style yo), and parallel prep.
00:34.26 ``Erik indianlarry has been talking about a genericized kd-tree or something for various things, fwiw
01:10.29 brlcad would be a useful libbu facility if the librt sah portions coul get implemented
01:11.21 brlcad interesting paper we missed from spm2009: http://portal.acm.org/citation.cfm?id=1629255.1629281&coll=portal&dl=ACM&type=series&idx=SERIES534&part=series&WantType=Proceedings&title=SPM
01:15.48 *** part/#brlcad Fade (~fade@outrider.deepsky.com)
01:26.30 starseeker scowls at configure.ac
01:27.11 starseeker supposes it's obvious how to check for AGL and OpenGL frameworks on the mac...
01:28.09 brlcad look for common patterns
01:28.16 brlcad there are already other framework checks
01:28.34 brlcad configure.ac is broken up into various sections to start with
01:29.31 ``Erik -framework OpenGL should do it
01:29.46 starseeker nods - getting thrown a little by the -framework stuff - looks like it's needed for both CPPFLAGS and linking flags?
01:30.23 starseeker -Xlinker -framework -Xlinker OpenGL to link
01:30.31 starseeker -framework OpenGL to compile?
01:32.21 brlcad look at the JavaVM test
01:32.34 brlcad it's -framework OpenGL for both compilation and linking
01:33.09 starseeker Hmm. OK - out of curiosity, what are the Cocoa and Carbon linking tests up to?
01:33.33 brlcad tk requires them iirc
01:34.09 starseeker Ah - so the -Xlinker stuff is a special case?
01:34.22 starseeker q
01:34.24 starseeker whoops
01:36.57 brlcad that's to overcome a libtool bug
01:37.15 starseeker ah, k - thanks :-)
01:37.16 brlcad for .la libs
01:45.10 CIA-73 BRL-CAD: 03brlcad * r38970 10/brlcad/trunk/include/ged.h: there is no apparent reason the ged.h interface header should include windows i/o headers.
01:49.11 brlcad starseeker: that new tclscript needs mods
01:49.27 brlcad shouldn't just shut off glob compat mode like that
01:49.31 brlcad tclindex needs updating
01:49.44 starseeker brlcad: it's not ready to be a command yet
01:50.07 starseeker I wasn't sure about the name or whether that was the best place for the functionality - just wanted to have it available somewhere
01:50.18 brlcad then it probably shouldn't be installed
01:50.36 starseeker can extradist it
01:50.58 starseeker it's handy if someone needs to use facetall.sh bots to rebuild a tree
01:51.46 starseeker but I wanted to discuss with you whether that functionality should be rolled with a tcl version of facetall into one command
01:52.13 brlcad if it's *really* handy, then facetall.sh should be reworked into more than a proof-of-concept script
01:52.33 brlcad and that new script merged in as functionality
01:52.40 starseeker well, let's just say I've gotten a few helpdesk calls related to it
01:53.02 starseeker <shrug>
01:54.05 CIA-73 BRL-CAD: 03starseeker * r38971 10/brlcad/trunk/src/tclscripts/mged/Makefile.am: Extradist rrmb.tcl until we sort out how to handle the functionality.
01:54.23 brlcad sounds like it's worth it then, it'd be just an afternoon to tweak it up proper
01:55.34 starseeker almost thought it made the most sense as an option to the MGED facetize command
01:56.17 brlcad yes, facetall.sh shouldn't even exist
01:57.47 ``Erik heh
02:12.18 starseeker puzzles as to what TRY_LINK is looking for in the wasy of test code...
02:13.50 brlcad headers then body of main then action if succeed and then action if failed
02:14.40 ``Erik wonders if our AC_TRY_LINK stuff should be AC_TRY_RUN instead
02:15.25 starseeker I think tht might actually work...
02:15.40 starseeker is doing something wrong... hang on...
02:16.35 starseeker http://pastebin.org/202263
02:17.40 brlcad TRY_RUN does something rather different -- the existing tests specifically are only looking at linkability on purpose
02:18.22 brlcad doesn't look like your test is right
02:18.29 brlcad OpenGL/gl.h isn't what I'd expect
02:18.43 brlcad look at the config.log to see what the output is
02:19.03 brlcad it will show the actual test program used, the linker call, linker output, etc
02:20.00 starseeker didn't like argc in there
02:20.36 starseeker http://pastebin.org/202267
02:20.48 starseeker tweaks...
02:23.31 starseeker worked without the argc - OpenGL/gl.h is what Togl uses when TOGL_AGL is defined - maybe it's specific to AGL
02:24.17 ``Erik <GL/gl.h> is the normal way
02:25.15 starseeker nods - I've seen the OpenGL/gl.h thing before though in discussions about Apple opengl
02:25.31 starseeker it may distinguish it from X11 installs of gl.h
02:25.36 brlcad OpenGL/gl.h may work for the framework, but the usual form is <FRAMEWORK/FRAMEWORK.h> to get the main framework header -- anything else is a subheader
02:26.20 brlcad there is undoubtedly a gl.h subheader, so it should work -- just not the usual "mac framework way"
02:26.57 starseeker so I should try OpenGL/OpenGL.h?
02:31.43 starseeker twiddles thumbs while autogen burns...
02:33.42 starseeker yep, that worked too
02:33.49 starseeker OK, standard way it is
02:35.41 starseeker thanks guys :-)
03:05.39 starseeker hah - togl subconfigures fairly cleanly now out of box, with only a few tweaks - interesting
03:07.22 starseeker package require works...
03:07.46 starseeker gears.tcl works without using X11
03:08.04 ``Erik neat
03:08.24 starseeker will check the C side tomorrow - see if ogl can use togl calls to set up GL context instead of straight GLX calls
03:08.53 starseeker after that, should be straight up GL, possibly even "plug and play"
03:09.19 ``Erik pets SDL :D
03:09.26 starseeker heh
03:09.53 starseeker is after a "quick and dirty" opengl display manager/framebuffer on OSX without X
03:10.42 starseeker since both Bob and ``Erik think the GLX code should be close to AGL code, I'm hopeful both will be close to the cross-platform togl calls, whatever they may be
03:11.46 starseeker minimal mods for maximum functionality ftw
03:13.00 starseeker ``Erik: too bad SDL looks like a bit of a pain to embed in Tk...
03:13.18 starseeker 'course, full-screen isst makes that moot...
03:14.30 ``Erik the togl stuff seems to lack clean tear-down bits
03:14.46 starseeker does it?
03:14.48 starseeker hmm
03:15.13 starseeker well, guess we can add our own wrapper for that if we must
03:15.31 starseeker (need to do it anyhow, either there or in ogl/wgl/agl...)
03:18.06 starseeker hits the road...
03:35.27 brlcad all of the *gl* implementations are pretty close to each other, even windowsgl
08:26.16 *** join/#brlcad Stattrav (~Stattrav@202.3.77.233)
08:41.44 CIA-73 BRL-CAD: 03d_rossberg * r38972 10/brlcad/trunk/include/ged.h: unfortunately there is a reason why the ged.h interface header includes windows.h: struct ged_run_rt needs it for HANDLE and DWORD
08:47.23 *** join/#brlcad Stattrav (~Stattrav@202.3.77.233)
08:47.23 *** join/#brlcad Ralith (~ralith@216.162.199.202)
08:47.23 *** join/#brlcad d-lo (~claymore@BZ.BZFLAG.BZ)
08:47.24 *** join/#brlcad poolio (~poolio@BZ.BZFLAG.BZ)
09:30.04 *** join/#brlcad mafm (~mafm@198.Red-79-159-1.staticIP.rima-tde.net)
10:54.44 CIA-73 BRL-CAD: 03d_rossberg * r38973 10/brlcad/trunk/include/conf/ (BrlcadConfig.tmpl Makefile.am make.vbs):
10:54.44 CIA-73 BRL-CAD: make.vbs is now able to create the desired brlcad-config on MS Windows (e.g. in a MSVC prebuild step)
10:54.44 CIA-73 BRL-CAD: usage: make.vbs BrlcadConfig=pathToBins\brlcad-config.bat
11:02.40 d-lo Mernin all!
11:04.33 CIA-73 BRL-CAD: 03davidloman * r38974 10/rt^3/trunk/ (2 files in 2 dirs): Add in a getter for GeometryServiceDaemon::GeometryService
11:19.12 d-lo Mernin all!
11:22.19 d-lo FYI, I got tired of dealing with the QT class docs layout on their site and put together a simple html framing: http://brlcad.org/~claymore/QT_462_Classes.html
11:56.56 *** join/#brlcad Nohla (~jesica@201.255.236.141)
12:03.58 *** join/#brlcad Stattrav (~Stattrav@202.3.77.233)
12:04.12 *** join/#brlcad d_rossberg (~rossberg@BZ.BZFLAG.BZ)
12:24.42 *** join/#brlcad Nohla (~jesica@201.255.236.141)
13:01.55 CIA-73 BRL-CAD: 03erikgreenwald * r38975 10/brlcad/trunk/src/adrt/ (7 files in 2 dirs): collapse the libtie headers
13:13.52 CIA-73 BRL-CAD: 03davidloman * r38976 10/rt^3/trunk/ (include/GeometryServiceApp.h src/GS/GeometryServiceApp.cxx): Introduce GeometryServiceApp. Extends BaseApp. Non "fire and forget" complement to GeometryServiceDaemon.
13:22.05 CIA-73 BRL-CAD: 03davidloman * r38977 10/rt^3/trunk/ (6 files in 2 dirs): Modify GeometryService to no longer extend BaseApp. GeometryServiceApp is a BaseApp subclass that wraps a GeometryService object. GeometryServiceDaemon is a QThread subclass that wraps a GeometryServiceApp object.
13:29.58 CIA-73 BRL-CAD: 03davidloman * r38978 10/rt^3/trunk/ (include/GeometryService.h src/GS/GeometryService.cxx): Add the ability to stop the GeometryService from listening on a address:port
13:34.25 CIA-73 BRL-CAD: 03davidloman * r38979 10/rt^3/trunk/tests/GS/CMakeLists.txt: Add libgs to list of linked libs for GeometryServiceTests
13:35.07 d-lo wow, SF is having a 'fast' day today.....
13:35.56 CIA-73 BRL-CAD: 03davidloman * r38980 10/rt^3/trunk/ (include/GeometryService.h src/GS/GeometryService.cxx): Add state checker GeometryService::isListening()
13:38.43 d-lo brlcad: Noticed you used the _ suffix on some variables. Is that a convention or just your prefrence?
13:41.06 ``Erik probably conflict evasion
13:41.30 d-lo nah, its a super simple class. 3 fields, 4 functions.
13:41.36 ``Erik <-- almost changed 'near' and 'far' in the tie stuff to _near and _far due to conflicts with winderz/dos segment crud
13:41.56 ``Erik #ifdef _WIN32 #undef near ... heh :)
13:43.59 brlcad it's a minor convention commonly used on private/protected data, to identify them as non-public data and so that function parameters can always have clean names
13:44.03 CIA-73 BRL-CAD: 03erikgreenwald * r38981 10/brlcad/trunk/src/adrt/ (17 files in 3 dirs): wrap exported shtuff in BU_EXPORT BU_EXTERN
13:44.34 ``Erik ran into issues with prefixing _'s and expecting things sane or not sane on osX.2 when doing some dlopen/dlsym type stuff
13:44.37 brlcad not critical, but a somewhat common and useful pattern when used consistently in a class
13:44.53 ``Erik in c++, it's all safe from mangling, I'd think
13:45.01 brlcad yeah, it is
13:45.07 brlcad plus these are not global symbols
13:45.39 brlcad they're all private or protected data vars within a class only
13:47.11 d-lo righto. I read up on the hACKING doc and it calls for a _ prefix. I saw you used a suffix, and combined with the observation that you're a stickler for formatting ( ;) ), I figured I'd ask.
13:48.25 d-lo hears Ed volunteering brlcad for something....
13:49.39 ``Erik kevin's leaving, so only glenn will be around, and glenn will probably need help making xquartz happen
13:49.49 ``Erik (and getting crap back to a sane state)
13:55.53 ``Erik w00t, a valid libadrt.dll
13:57.22 d-lo eww... dlls
13:57.25 d-lo :P
14:00.51 *** join/#brlcad alex_joni (~alex_joni@emc/board-of-directors/alexjoni)
14:16.44 CIA-73 BRL-CAD: 03davidloman * r38982 10/rt^3/trunk/ (include/Logger.h src/utility/Logger.cxx): Add the ability to turn on/off logging to screen and file separately.
14:19.31 CIA-73 BRL-CAD: 03davidloman * r38983 10/rt^3/trunk/TODO:
14:19.31 CIA-73 BRL-CAD: Add to TODO file: Replace QT's signals 'n' slots functionality with a simpler in
14:19.31 CIA-73 BRL-CAD: house version that utilizes the JobManager. Signals 'n' Slots requires a
14:19.31 CIA-73 BRL-CAD: QCoreApplication.exec() to be blocked for it to work. Hampers current design
14:19.31 CIA-73 BRL-CAD: goals.
14:21.35 CIA-73 BRL-CAD: 03davidloman * r38984 10/rt^3/trunk/tests/GS/GeometryServiceTest.cxx: Partial implementation of GeometryServer class (inside the GeometryServiceTest.cxx file)
14:22.36 CIA-73 BRL-CAD: 03davidloman * r38985 10/rt^3/trunk/ (2 files in 2 dirs): Add the ability to safely stop a GeometryServiceDaemon thread.
14:22.46 ``Erik gotta do what ya gotta do
14:23.10 d-lo working on getting isst to run on windows then?
14:23.49 ``Erik yeah
14:23.59 ``Erik can't let lee one-up me like that, y'know? :D
14:24.06 d-lo hahaha
14:24.11 d-lo so how close are ya?
14:24.29 ``Erik the library is there, looking at docs for the msvc sdl stuff right now
14:42.43 *** join/#brlcad d_rossberg (~rossberg@BZ.BZFLAG.BZ)
14:57.21 ``Erik and now I've decided I've had enough of windows for a bit O.o getting errors in bu.h trying to link an external project
17:36.09 CIA-73 BRL-CAD: 03starseeker * r38986 10/brlcad/trunk/BUGS: Add more details about the MGED rotation bug.
17:38.43 CIA-73 BRL-CAD: 03davidloman * r38987 10/rt^3/trunk/src/libEvent/ (8 files): Add dir for libEvent. Will be the replacement for QT's signals 'n slots.
17:52.32 CIA-73 BRL-CAD: 03erikgreenwald * r38988 10/brlcad/trunk/src/adrt/ (27 files in 3 dirs): normalize shader function signatures and generate the prototypes with a macro. Collapse the shader headers.
17:59.36 CIA-73 BRL-CAD: 03davidloman * r38989 10/rt^3/trunk/src/libEvent/ (Event.cxx Event.h): Implement the details of Event class.
18:05.25 CIA-73 BRL-CAD: 03erikgreenwald * r38990 10/brlcad/trunk/include/conf/Makefile.am: BrlcadComfig.tmpl should be BrlcadConfig.tmpl.
18:12.30 CIA-73 BRL-CAD: 03davidloman * r38991 10/rt^3/trunk/include/: Modify svn:ignore to include event.h
18:13.39 CIA-73 BRL-CAD: 03davidloman * r38992 10/rt^3/trunk/ (8 files in 2 dirs): Move libEvent public headers/interfaces to /include/
18:30.00 CIA-73 BRL-CAD: 03brlcad * r38993 10/brlcad/tags/rel-7-16-8/NEWS: bah, asterisk, not pound
18:33.06 CIA-73 BRL-CAD: 03brlcad * r38994 10/brlcad/trunk/NEWS:
18:33.07 CIA-73 BRL-CAD: bob fixed a bug/assumption in mged where it was failing to find rt, dbupgrade,
18:33.07 CIA-73 BRL-CAD: asc2g, g2asc, asc-pl, and pl-asc on windows. probably due to bu_brlcad_root not
18:33.07 CIA-73 BRL-CAD: finding a file without the .exe suffix, causing the failure. he added checks to
18:33.07 CIA-73 BRL-CAD: see whether the windows exe suffix is needed. this should fix a variety of
18:33.07 CIA-73 BRL-CAD: spurious failures being observed on windows.
18:40.10 CIA-73 BRL-CAD: 03davidloman * r38995 10/rt^3/trunk/include/ (IEventPublisher.h IEventSubscriber.h): Stub in IEventSubscriber interface
18:41.56 CIA-73 BRL-CAD: 03davidloman * r38996 10/rt^3/trunk/src/libEvent/ (CMakeLists.txt EventSubscription.cxx EventSubscription.h): Implement EventSubscription class
18:51.06 CIA-73 BRL-CAD: 03davidloman * r38997 10/rt^3/trunk/ (include/Event.h src/libEvent/Event.cxx): Remove message setter, add second constructor. Ensures message is non-null
18:57.41 CIA-73 BRL-CAD: 03davidloman * r38998 10/rt^3/trunk/include/INetMsgHandler.h: Interface function was not written as purely virtual. This has been fixed.
18:59.53 CIA-73 BRL-CAD: 03davidloman * r38999 10/rt^3/trunk/ (include/EventManager.h src/libEvent/EventManager.cxx): Stub in EventManager::submitEvent(Event*) for now.
19:01.14 CIA-73 BRL-CAD: 03davidloman * r39000 10/rt^3/trunk/ (include/Event.h src/libEvent/Event.cxx): Fix circular include with forward declaration.
19:05.48 CIA-73 BRL-CAD: 03davidloman * r39001 10/rt^3/trunk/include/ (IEventPublisher.h IEventSubscriber.h): Implement IEvent* interfaces.
19:06.17 CIA-73 BRL-CAD: 03davidloman * r39002 10/rt^3/trunk/src/CMakeLists.txt: Add libEvent to the configure/build system.
19:11.46 CIA-73 BRL-CAD: 03davidloman * r39003 10/rt^3/trunk/src/libEvent/CMakeLists.txt: Add libJob to libEvent's link deps.
19:14.25 CIA-73 BRL-CAD: 03erikgreenwald * r39004 10/brlcad/trunk/src/adrt/ (15 files in 2 dirs): remove hit.h
19:16.00 CIA-73 BRL-CAD: 03davidloman * r39005 10/rt^3/trunk/ (include/AbstractJob.h src/libJob/AbstractJob.cxx): Incorrectly implemented virtual _doJob(). Fixed. Is now a true virtual function.
19:21.55 CIA-73 BRL-CAD: 03starseeker * r39006 10/brlcad/trunk/configure.ac: Start roughing in the build support for Apple's opengl framework
19:25.29 CIA-73 BRL-CAD: 03davidloman * r39007 10/rt^3/trunk/ (include/EventManager.h src/libEvent/EventManager.cxx): Add private class SubmitEventJob. Used to ensure the thread calling EventManager::submitEvent() and the thread actually doing the work inside EventManger are different.
19:26.05 CIA-73 BRL-CAD: 03erikgreenwald * r39008 10/isst/trunk/configure.ac: add tie directory to include path. check for unistd.h and sys/time.h
19:28.40 CIA-73 BRL-CAD: 03erikgreenwald * r39009 10/isst/trunk/sdl/ (event.c main.c): adjust include stuff
19:34.05 CIA-73 BRL-CAD: 03erikgreenwald * r39010 10/isst/trunk/gtk/ (gui.c net_worker.c): forcibly disable networking stuff.
19:39.56 CIA-73 BRL-CAD: 03davidloman * r39011 10/rt^3/trunk/src/libEvent/ (4 files): Roll EventSubscription into a private class for EventManager
19:50.20 CIA-73 BRL-CAD: 03davidloman * r39012 10/rt^3/trunk/ (include/EventManager.h src/libEvent/EventManager.cxx): Forgot two #defines. Re-arrange for proper declaration.
19:50.40 CIA-73 BRL-CAD: 03davidloman * r39013 10/rt^3/trunk/include/IEventSubscriber.h: Add subscriber functions.
19:52.21 CIA-73 BRL-CAD: 03brlcad * r39014 10/brlcad/trunk/TODO: report that red isn't working
19:57.04 CIA-73 BRL-CAD: 03erikgreenwald * r39015 10/brlcad/trunk/src/adrt/librender/ (camera.c camera.h): unified shader init function
19:58.00 CIA-73 BRL-CAD: 03erikgreenwald * r39016 10/isst/trunk/gtk/local_worker.c: use unified shader func
20:10.05 CIA-73 BRL-CAD: 03erikgreenwald * r39017 10/isst/trunk/sdl/event.c: add mode switching
21:25.25 CIA-73 BRL-CAD: 03erikgreenwald * r39018 10/isst/trunk/sdl/event.c: calculate per frame time delta to make mouse interactions more consistent
21:34.55 CIA-73 BRL-CAD: 03r_weiss * r39019 10/brlcad/trunk/src/conv/obj-g_new.c: adding more functions to support direct to bot
21:48.17 CIA-73 BRL-CAD: 03erikgreenwald * r39020 10/isst/trunk/sdl/event.c: some more ... stuff
22:49.07 *** join/#brlcad ``Erik (erik@c-69-140-109-104.hsd1.md.comcast.net)
23:21.51 ``Erik hah, everything in /usr/include was timestamped in 2031, no wonder make was being silly :)

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