IRC log for #brlcad on 20140923

00:44.38 Notify 03BRL-CAD:starseeker * 62909 (brlcad/trunk/include/bu/cmd.h brlcad/trunk/src/bwish/cmd.c and 31 others): Fix bu/cmd.h header
00:46.36 Notify 03BRL-CAD:n_reed * 62910 brlcad/branches/brep-debug/src/libbrep/boolean.cpp: keep intermediate split faces that don't intersect with the current closed intersection curve
01:01.07 *** join/#brlcad FreezingCold (~Freezing@CPE602ad06bea2a-CM602ad06bea27.cpe.net.cable.rogers.com)
01:03.15 Notify 03BRL-CAD:starseeker * 62911 (brlcad/trunk/CMakeLists.txt brlcad/trunk/include/bio.h and 12 others): Try this approach for Winsock2.h.
01:05.53 *** join/#brlcad chick_ (~chick@41.205.22.41)
01:15.49 Notify 03BRL-CAD:starseeker * 62912 (brlcad/trunk/include/bu/cmd.h brlcad/trunk/include/fb/fb_wgl.h brlcad/trunk/include/ged.h): Try to use bio.h instead of windows.h
01:28.28 Notify 03BRL-CAD:starseeker * 62913 brlcad/trunk/src/libbu/tcl.c: Appears we need bu/bu_tcl.h in tcl.c in libbu for BU_EXPORT to work properly.
01:35.07 Notify 03BRL-CAD:starseeker * 62914 brlcad/trunk/src/libdm/dm-osgl.cpp: Put bio.h first
02:11.42 *** part/#brlcad chick_ (~chick@41.205.22.41)
02:40.33 Notify 03BRL-CAD:starseeker * 62915 (brlcad/trunk/src/other/openscenegraph/src/osg/CMakeLists.txt brlcad/trunk/src/other/openscenegraph/src/osgDB/CMakeLists.txt and 7 others): Add install logic for openscenegraph build.
02:52.29 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
04:12.01 *** join/#brlcad s3gfault (~s3gfault@213.5.69.186)
05:51.41 Notify 03BRL-CAD Wiki:Everyplace * 0 /wiki/User:Everyplace:
07:02.53 *** join/#brlcad d_rossberg (~rossberg@66-118-151-70.static.sagonet.net)
09:57.43 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
10:07.16 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
10:15.38 *** join/#brlcad WhiteCalf (~DarkCalf@173.231.40.98)
10:20.09 *** join/#brlcad ries (~ries@D979EA84.cm-3-2d.dynamic.ziggo.nl)
11:33.38 ``Erik starseeker: get it figured out? (you could always put canaries in (int someuniquestring;), use gcc -E and use that to hunt where the header is being included)
11:33.39 Notify 03BRL-CAD:starseeker * 62916 brlcad/trunk/src/other/openscenegraph/CMakeLists.txt: Try to make sure the path setup takes place at the beginning of the osg CMake setup
11:35.48 ``Erik brlcad: bz now has tls/ssl encrypted authenticated smtp for sending mail, using the elfga.com cert, supporting cram, md5, gssapi and password auth methods
11:37.32 ``Erik to the loop is closed with mail services for 'normal' muas, w00t
11:45.09 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
11:49.57 starseeker ``Erik: runs in build directory - now I'm trying to figure out why osg.dll isn't being included in the installer
12:35.23 *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee)
12:47.32 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
12:54.43 Notify 03BRL-CAD Wiki:Glazunov victor * 0 /wiki/User:Glazunov_victor:
13:07.59 *** join/#brlcad gaganjyot (~gagan@223.225.216.145)
13:21.11 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
13:33.53 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
13:44.56 Notify 03BRL-CAD:indianlarry * 62917 brlcad/trunk/src/other/openscenegraph/src/OpenThreads/CMakeLists.txt: headers for OSG OpenThreads weren't being found during install
14:20.45 Notify 03BRL-CAD:starseeker * 62918 (brlcad/trunk/src/libdm/dm-osgl.cpp brlcad/trunk/src/libdm/dm-osgl.h): Add a variable to the osgl dm to control whether or not a shadow is used behind text. Nice illustration of a clean, simple addition of a new user editable dm setting that is self-contained within the dm code for osgl.
14:27.54 Notify 03BRL-CAD:starseeker * 62919 brlcad/trunk/regress/repository.sh: Ignore misc/svn2git
14:32.58 Notify 03BRL-CAD:starseeker * 62920 (brlcad/trunk/include/fb/fb_osgl.h brlcad/trunk/src/adrt/isst_tcltk.c and 3 others): Remove some redundant includes (bio.h)
14:41.07 Notify 03BRL-CAD:starseeker * 62921 (brlcad/trunk/src/burst/Hm.c brlcad/trunk/src/conv/asc/asc2pix.c and 23 others): More redundant include removal (bio.h)
15:02.12 Notify 03BRL-CAD:starseeker * 62922 (brlcad/trunk/src/libdm/adc.c brlcad/trunk/src/libdm/axes.c and 195 others): More redundant include removal (bio.h)
15:06.57 Notify 03BRL-CAD:starseeker * 62923 (brlcad/trunk/regress/repository.sh brlcad/trunk/src/libdm/dm-plot.c and 13 others): Get the rest of the bio.h redundancy check failures, fully enable the check.
15:08.44 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
15:21.19 Notify 03BRL-CAD:carlmoore * 62924 brlcad/trunk/include/fb/fb_wgl.h: remove trailing blank or tab
15:34.20 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
15:52.15 *** join/#brlcad mihaineacsu (~mihaineac@92.85.197.70)
15:56.55 Notify 03BRL-CAD Wiki:HowardBarnes * 0 /wiki/User:HowardBarnes:
15:59.42 Notify 03BRL-CAD Wiki:HowardBarnes * 7753 /wiki/Developer_Documents:
16:16.17 *** join/#brlcad s3gfault3 (~s3gfault@185.2.29.229)
17:08.55 Notify 03BRL-CAD:n_reed * 62925 brlcad/branches/brep-debug/src/libbrep/boolean.cpp: improve splitting of unclosed curves that intersect the outerloop
17:44.52 Notify 03BRL-CAD:carlmoore * 62926 (brlcad/trunk/doc/docbook/system/man1/en/rt.xml brlcad/trunk/src/rt/opt.c brlcad/trunk/src/rt/view.c): fixes & touchup involving the perspective (allow values between 179 and 180 degrees)
17:50.26 Notify 03BRL-CAD:brlcad * 62927 brlcad/trunk/src/librt/search.c: need limits.h for INT_MAX
17:51.33 Notify 03BRL-CAD:n_reed * 62928 (brlcad/branches/brep-debug/CHANGES brlcad/branches/brep-debug/CMakeLists.txt and 431 others): sync from trunk through r62925
18:08.11 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
18:12.02 Notify 03BRL-CAD:starseeker * 62929 (brlcad/trunk/src/libdm/dm-ogl.c brlcad/trunk/src/libdm/dm-osgl.cpp and 2 others): Start with lighting on by default.
18:46.58 Notify 03BRL-CAD:carlmoore * 62930 brlcad/trunk/src/rt/view.c: add default comment for -l
19:07.13 Notify 03BRL-CAD:n_reed * 62931 brlcad/branches/brep-debug/src/libbrep/boolean.cpp: cite the paper the loop_boolean function was based on
21:03.53 Notify 03BRL-CAD:starseeker * 62932 (brlcad/trunk/src/other/openscenegraph/src/OpenThreads/pthreads/CMakeLists.txt brlcad/trunk/src/other/openscenegraph/src/OpenThreads/qt/CMakeLists.txt and 2 others): Clean up the openthreads CMake for a subbuild.
21:15.22 Notify 03BRL-CAD:starseeker * 62933 brlcad/trunk/src/other/freetype/CMakeLists.txt: Don't need the freetype dist command when freetype is acting as a subbuild.
21:17.52 Notify 03BRL-CAD:starseeker * 62934 brlcad/trunk/src/other/CMakeLists.txt: Set some target folders
21:23.10 Notify 03BRL-CAD:brlcad * 62935 brlcad/trunk/src/libged/comb.c: casting to db_op_t is wrong, the declaration needs to change.
22:07.42 Notify 03BRL-CAD:starseeker * 62936 (brlcad/trunk/CMakeLists.txt brlcad/trunk/misc/CMakeLists.txt): Add in some test files and logic for WIX installer generator.
22:16.21 brlcad starseeker: just got to the bio.h changes and I think there's a little bit of a mixup
22:19.40 starseeker oh?
22:19.44 brlcad bio.h is for input/ouput interface routines ... bin.h is for internet network socket routines (i.e., winsock/winsock2)
22:20.04 brlcad i'm thinking much of that might have just been a case of missing to include bin.h before bio.h
22:20.10 starseeker is bin.h always included before biol.h?
22:20.25 starseeker s/biol.h/bio.h
22:20.46 brlcad don't know, but it's a lot like sys/types.h
22:21.24 starseeker brlcad: if we hide it in bin, we'd have to guarantee bin before bio on Windows
22:21.38 brlcad hide what?
22:21.48 starseeker the winsock2.h include
22:21.50 brlcad bin.h is a wrap on winsock2
22:22.03 brlcad that's exactly what it's for :)
22:22.25 starseeker ok, then should bio.h include bin.h before windows.h?
22:22.37 brlcad we could certainly add some detection to make sure they're ordered, but the underlying issue here was "header missing"
22:23.02 brlcad that'd violate encapsulation/purpose of bio.h
22:23.40 brlcad the ordering has always been on windows, that's an ancient issue
22:23.48 starseeker ok, then we need to guarantee bin.h is always included before bio.h
22:23.48 brlcad been an *issue
22:24.54 starseeker brlcad: I'm not attached to any particular fix for that - if there's a better/more correct way I'm game
22:25.05 brlcad fwiw, bio.h is to unistd/windows as bin.h is to in/winsock2
22:25.26 starseeker nods
22:25.43 brlcad i'm more concerned about this changing the definition of that header ... now suddenly all inclusions getting networking declarations just doesn't seem right
22:25.54 brlcad when all they wanted was printf
22:26.12 starseeker nods - that was soley to make sure the ordering was right
22:26.39 starseeker bah - sorry, typing is a little erratic - uploading NSIS installer and my connection doesn't like it much
22:26.41 brlcad still, it's not going to detect that a header is *missing*
22:26.59 brlcad I presume your original fd_set issue was that
22:27.29 brlcad or was it redeclaration
22:27.45 starseeker I believe so - got redeclaration when I tried to fix it
22:28.34 starseeker so it may be as simple as putting bin.h before bio.h where fd_set is used
22:28.57 starseeker adds this to his pile of "Windows is lame" xamples
22:29.13 brlcad like I said, that's an ancient issue :)
22:29.30 brlcad pretty much every windows dev writing a network app runs into it and facepalms
22:29.46 brlcad goes all the way back to win95 days
22:30.51 starseeker brlcad: I'll try to rework it and see (another MSVC compile, hooray...)
22:31.05 brlcad in all fairness, linux/unix headers used to be the same way before there was concerted effort to have encapsulated headers ... there are still order-dependent headers today though
22:31.50 brlcad also note that you don't really need a header check for winsock
22:31.59 brlcad it self-defines _WINSOCKAPI_
22:32.00 starseeker so testing for winsock2.h is fairly pointless then
22:32.23 brlcad right, bin.h already does the right thing
22:32.54 brlcad it just probably needs a little toggle to make it aware when bio.h has already been included to issue a warning
22:33.45 starseeker tries to figure out how to back out the changes gracefully...
22:36.19 brlcad i'll try a couple things and you can test the build for me
22:36.29 Notify 03BRL-CAD:brlcad * 62937 brlcad/trunk/include/bin.h: make the bin.h header aware of the bio.h header, make sure it isn't already included. we don't want bio.h to always include bin.h, so we need to check.
22:36.36 brlcad most of the unistd/repository cleanups were good progress forward
22:37.02 brlcad it's the manual winsock->bio replacements that need to be bin.h and checked for ordering
22:37.06 starseeker is reverse merging 62911
22:38.01 Notify 03BRL-CAD:brlcad * 62938 brlcad/trunk/include/bin.h: before vs after
22:39.14 Notify 03BRL-CAD:starseeker * 62939 (brlcad/trunk/CMakeLists.txt brlcad/trunk/include/bio.h and 10 others): Reverse most of r62911
22:39.22 starseeker got a couple things wrong in that anyhow looks like
22:39.30 starseeker OK, let's see where we're at
22:41.47 brlcad if you see any fork/execl looking symbols, that would be process.h needing to be in bio.h
22:42.33 brlcad but I intentionally didn't add it until it came up, to see if windows.h provides (or if we even expose execl on windows)
22:42.54 brlcad we have several legacy inclusions that haven't been checked
22:45.37 Notify 03BRL-CAD:starseeker * 62940 (brlcad/trunk/include/fb.h brlcad/trunk/src/libfb/fb_generic.c): For sure we need fd_set in these two files, so add bin.h includes
22:46.13 starseeker ok, CMake commencing
22:49.35 starseeker adds a WIX template to his "interesting to do someday" list
22:55.12 starseeker loading visual studio project...
23:19.24 *** join/#brlcad FreezingCold (~Freezing@CPE602ad06bea2a-CM602ad06bea27.cpe.net.cable.rogers.com)
23:35.53 Notify 03BRL-CAD:starseeker * 62941 brlcad/trunk/src/libbu/gethostname.c: bin, then bio
23:41.36 Notify 03BRL-CAD:starseeker * 62942 brlcad/trunk/include/bu/cmd.h: For timeval on Windows, add bin.h
23:44.29 Notify 03BRL-CAD:starseeker * 62943 (brlcad/trunk/src/libbu/cmd.c brlcad/trunk/src/libbu/cmdhist.c and 2 others): cmd.h has bio.h - don't need it twice, especially when it makes things out of order.
23:54.13 Notify 03BRL-CAD:starseeker * 62944 (brlcad/trunk/src/libbrep/BBNode.cpp brlcad/trunk/src/libbrep/BRNode.cpp): add std::max includes
23:58.41 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)

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