| 00:53.23 | starseeker | when in doubt, blame the cat |
| 00:56.57 | starseeker | eyes write_solid - talk about a candidate for refactoring into a per-primitive call... |
| 00:57.06 | starseeker | er writesolid |
| 01:05.07 | brlcad | heh |
| 01:05.25 | brlcad | command or func? |
| 01:05.45 | starseeker | function |
| 01:05.57 | starseeker | in tedit.c, I believe |
| 01:06.02 | brlcad | ah |
| 01:06.12 | starseeker | big switch statement with per-primitive type cases |
| 01:08.41 | starseeker | so is readsolid, for that matter |
| 01:13.25 | brlcad | functab refactor targets |
| 01:30.10 | brlcad | 37900 works |
| 01:33.44 | CIA-43 | BRL-CAD: 03starseeker * r38178 10/brlcad/trunk/src/mged/tedit.c: Add case for mged classic mode and doing terminal in-window. |
| 01:35.19 | CIA-43 | BRL-CAD: 03starseeker * r38179 10/brlcad/trunk/src/mged/tedit.c: Comment fix |
| 01:42.11 | brlcad | hrmph, 38000 seems to work too |
| 01:42.27 | brlcad | maybe it really did just break a few days ago |
| 01:54.26 | brlcad | gah, or maybe the problem is more specific than my test was.. |
| 01:54.34 | brlcad | facetizing just a sphere didn't fail |
| 02:02.49 | CIA-43 | BRL-CAD: 03johnranderson * r38180 10/brlcad/trunk/src/rt/view.c: |
| 02:02.49 | CIA-43 | BRL-CAD: Fixed bug in "-k" option to rt (kut plane). |
| 02:02.49 | CIA-43 | BRL-CAD: Loop that was selecting partition to be viewed was incorrect. |
| 02:20.53 | *** join/#brlcad Maloeran (~maloeran@glvortex.net) | |
| 02:38.42 | CIA-43 | BRL-CAD: 03starseeker * r38181 10/brlcad/trunk/src/mged/tedit.c: Tweak editor decision logic some more... |
| 02:54.01 | CIA-43 | BRL-CAD: 03starseeker * r38182 10/brlcad/trunk/src/libged/editit.c: Enable calling with the editor_opt option if it's non-null. |
| 03:45.56 | brlcad | damnits.. need to try a clean build, but the 64-bit linux compile I just tested worked fine all the way to head, but reproduced on 32-bit Mac |
| 03:46.17 | brlcad | (only tested head on Mac, need to backtrack) |
| 03:47.28 | brlcad | curiously, it's writing the right number of faces, so it's highly likely that it's just a problem during shot |
| 03:55.16 | brlcad | ahh, looks like just plot is fuk3d |
| 03:56.19 | brlcad | yeah, rt and tess are fine, getting closer |
| 03:58.18 | brlcad | which would be the very last change... introduced during the obj testing, the change that fixed the crash |
| 04:00.10 | brlcad | yep |
| 04:00.32 | brlcad | that was 9 days ago |
| 04:01.07 | brlcad | http://brlcad.svn.sourceforge.net/viewvc/brlcad/brlcad/trunk/src/librt/primitives/bot/bot.c?r1=38065&r2=38066 |
| 04:10.48 | CIA-43 | BRL-CAD: 03brlcad * r38183 10/brlcad/trunk/src/librt/primitives/bot/bot.c: defruckage of insantiy badness. curiously the vertex index capacity for bot_ip->vertices[] is not bot_ip->num_vertices. |
| 04:14.24 | CIA-43 | BRL-CAD: 03brlcad * r38184 10/brlcad/trunk/src/librt/primitives/bot/bot.c: AHA! .. refracking vertices are also triplets, so num_vertices would also need to be multiplied by 3. instead just remove the face multiplier and things seem much happier now. sanity restored. |
| 04:18.32 | brlcad | starseeker: editor invocation works here on Mac |
| 04:18.42 | brlcad | always kicks off an xterm, even for classic, but works now |
| 04:20.12 | CIA-43 | BRL-CAD: 03brlcad * r38185 10/brlcad/trunk/src/mged/tedit.c: remove os debug string |
| 04:21.10 | CIA-43 | BRL-CAD: 03brlcad * r38186 10/brlcad/trunk/src/mged/tedit.c: ws consistency cleanup, space after commas, no padded parens. |
| 05:01.12 | CIA-43 | BRL-CAD: 03brlcad * r38187 10/brlcad/trunk/src/mged/tedit.c: why set an osname variable in the interpreter? just read the variable. this way avoids needing to get/set/reset the result state after a Tcl_Eval(). |
| 05:01.43 | brlcad | hm, and now it behaves okay.. no xterm. odd. |
| 05:01.54 | brlcad | either way, seems to be working great now |
| 05:02.05 | brlcad | ~starseeker++ |
| 05:32.40 | *** join/#brlcad akafubu (~akafubu@unaffiliated/akafubu) | |
| 09:31.55 | *** join/#brlcad mafm (~mafm@83.45.253.170) | |
| 09:34.04 | *** join/#brlcad mafm (~mafm@83.45.253.170) | |
| 12:53.53 | *** join/#brlcad mafm (~mafm@83.45.253.170) | |
| 13:01.34 | CIA-43 | BRL-CAD: 03erikgreenwald * r38188 10/brlcad/trunk/src/librt/primitives/nmg/nmg_tri_mc.c: begin cubes outside of region bounding box (fixes missing face issue in box test case) |
| 13:19.50 | CIA-43 | BRL-CAD: 03erikgreenwald * r38189 10/brlcad/trunk/src/librt/primitives/nmg/nmg_tri_mc.c: remove unused global. start thinking about threading. fix bug in zomfg abort. |
| 13:32.32 | ``Erik | hah http://www.youtube.com/watch?v=AgqnOqfehJE the "doritos tablet" |
| 13:49.00 | CIA-43 | BRL-CAD: 03erikgreenwald * r38190 10/brlcad/trunk/src/librt/primitives/nmg/nmg_tri_mc.c: return # of valid triangles back through the call chain |
| 13:49.23 | CIA-43 | BRL-CAD: 03erikgreenwald * r38191 10/brlcad/trunk/src/libgcv/region_end_mc.c: only create NMG is triangles are actually added to it |
| 13:50.21 | ``Erik | s/is/if/ |
| 15:15.45 | CIA-43 | BRL-CAD: 03starseeker * r38192 10/brlcad/trunk/src/mged/tedit.c: The new logic for editors should avoid these problems - the comment can go. |
| 17:34.53 | starseeker | reflects that edi is undoubtedly really really really simple... |
| 17:36.43 | starseeker | and when set as EDITOR it can open a file... |
| 17:37.24 | starseeker | too bad backspace doesn't seem to delete... key bindings must need some tlc.. |
| 17:37.31 | starseeker | hmm |
| 17:48.21 | ``Erik | one key to bind them all? |
| 17:49.11 | starseeker | ``Erik: brlcad and I were discussing the default editor problem last night - part of the issue is we want a "last ditch" option to be easy to use, which rules out vi based options |
| 17:49.51 | ``Erik | vi is user friendly, it's |
| 17:50.01 | ``Erik | just picky about who its friends are |
| 17:50.42 | ``Erik | (what's the license on nano?) |
| 17:50.46 | starseeker | (the theory is if the user environment and/or user skillset is so constrained as to not be able to install/use an external editor we need to aim for simple and foolproof |
| 17:50.50 | starseeker | GPLv3 :-( |
| 17:51.03 | starseeker | that'd be my pick, if not for that |
| 17:51.22 | ``Erik | and pico's is even worse heh |
| 17:51.38 | ``Erik | edit.com ftw O.o :D |
| 17:52.31 | starseeker | for Windows, maybe |
| 17:52.46 | starseeker | not clear if the 64 bit versions still have even that |
| 17:53.00 | starseeker | Diakonos would have been ideal, but it's written in ruby |
| 17:55.08 | starseeker | most open source text editors apparently use GPL |
| 17:55.15 | ``Erik | dang, here's a "notepad" like app in tk, but the site seems gone |
| 17:55.51 | ``Erik | hm, http://www.gnu.org/software/zile/ |
| 17:55.52 | starseeker | there are a couple Tk possibilities for the graphical side - the console (classic mode) is tougher |
| 17:56.29 | ``Erik | woops, gpl |
| 17:56.43 | ``Erik | http://www.linux.org/apps/AppId_7221.html claims zile is bsd :( |
| 17:57.09 | ``Erik | ed. The one true editor. |
| 18:00.08 | ``Erik | (this commit message is SUPPOSED to hurt your brain.) |
| 18:00.08 | CIA-43 | BRL-CAD: 03erikgreenwald * r38193 10/brlcad/trunk/src/librt/primitives/nmg/nmg_tri_mc.c: Back cross rays out MORE than the bn_tol distance (otherwise they are seen to start on the surface). Pring when spooky edge action occurs. De-magic some magic and print info when magic goes magicky. |
| 18:00.19 | ``Erik | s/pring/print/ |
| 18:06.01 | starseeker | ow |
| 18:08.00 | starseeker | dingnabbit, I'm still annoyed by jove but it seems to live in a mighty small space - console text editors with non-GPL licensing |
| 18:19.36 | CIA-43 | BRL-CAD: 03erikgreenwald * r38194 10/brlcad/trunk/src/librt/primitives/nmg/nmg_tri_mc.c: move ugly macro guts into a function |
| 18:21.49 | starseeker | led might have possibilities: http://led-editor.sourceforge.net/ |
| 18:22.32 | ``Erik | freshmeat.net has some search/filter capabilities that might help ya look |
| 18:22.55 | starseeker | nods - that's how I found edi (or rather, how brlcad found it) |
| 18:23.12 | starseeker | also is the basis for my statement that the non-GPL editor space is kinda poor |
| 18:24.15 | starseeker | almost wonders how hard it is to translate ruby to C |
| 18:24.28 | ``Erik | hm, depends on what bits of ruby :D |
| 18:24.42 | starseeker | http://purepistos.net/diakonos/ |
| 18:25.17 | ``Erik | if it was written by a C++ developer, it'd probably map to C++ fairly cleanly... |
| 18:25.25 | ``Erik | if a lisp developer wrote it, hah |
| 18:25.44 | ``Erik | ruby has some neat bits to it :D |
| 18:26.40 | starseeker | http://rubyforge.org/projects/ruby2c/ might help for a start... |
| 18:27.08 | starseeker | or, alternately, could piece together stuff from the few free editors out there |
| 18:28.08 | starseeker | http://edt-text-editor.sourceforge.net/ might have a helpful bit or two... |
| 18:29.04 | *** join/#brlcad mafm (~mafm@83.45.253.170) | |
| 18:30.00 | ``Erik | huh |
| 18:30.49 | ``Erik | after that change, I seem to sometimes be creating stl files that cause stl-g to crash (in libbn) |
| 18:31.34 | starseeker | heh - here we go - "Linux console Text Editor in Pure TCL" http://wiki.tcl.tk/11820 |
| 18:50.18 | *** join/#brlcad mafm (~mafm@83.45.253.170) | |
| 19:10.38 | brlcad | starseeker: http://en.wikipedia.org/wiki/Comparison_of_text_editors |
| 19:10.47 | brlcad | can sort on license |
| 19:10.52 | brlcad | several there |
| 19:15.26 | ``Erik | http://brlcad.org/~erik/mc/nissan-1mm.png |
| 19:28.17 | brlcad | progress! |
| 19:28.35 | brlcad | starseeker: if you hadn't seen this, also a possibility: http://wiki.tcl.tk/11820 |
| 19:29.01 | brlcad | would take a little rewriting to make it portable, but nothing we couldn't handle |
| 19:29.45 | brlcad | related: http://wiki.tcl.tk/16056 |
| 19:30.07 | brlcad | that one is moderately still active |
| 20:09.34 | *** join/#brlcad ibot (ibot@rikers.org) | |
| 20:09.34 | *** topic/#brlcad is BRL-CAD Open Source Solid Modeling || http://brlcad.org || http://sf.net/projects/brlcad || #brlcad logs: http://ibot.rikers.org/%23brlcad/ || BRL-CAD is now available on Gentoo! (20100225) | |
| 20:10.19 | ``Erik | oh, starseeker, that nissan truck... proof that it runs on more complex geometry :( something with the m35 must be fruity (or I used a tolerance that tickled it funny) |
| 20:10.46 | ``Erik | cracks open this tin of loose leaf earl gray and looks for his teaball O.o |
| 20:35.26 | starseeker | brlcad: saw the first one - is there any license info? |
| 20:36.03 | starseeker | must admit it appeals to handle it with tcl, since edcodes et al. are mged specific commands |
| 20:37.38 | starseeker | based on the comments though it looks like it might not be all that portable |
| 20:39.40 | starseeker | notes led doesn't want to compile out of the box... well, I guess edi didn't either |
| 20:44.13 | starseeker | brlcad: looking over the wikipedia page, I don't see any non-GUI BSD editors there (interestingly, there are a couple BSD Windows editors) |
| 20:48.34 | *** join/#brlcad Computer (~Computer@unaffiliated/computer) | |
| 20:49.17 | starseeker | ponders a nano-esque gui ontop of a vi core... |
| 20:52.17 | starseeker | eyes elvis - it seems to hint that it can run in a Windows console... |
| 20:56.16 | starseeker | just put it in insert mode and make a few Ctrl-* bindings, slap a help list at the bottom of the screen... |
| 20:56.38 | starseeker | hrm |
| 20:58.19 | starseeker | wonders how many vi faithful would be trying to lynch him for doing something like that... |
| 22:00.59 | CIA-43 | BRL-CAD: 03starseeker * r38195 10/brlcad/trunk/src/ (5 files in 2 dirs): This should (hopefully) both remove the argv[0] abomination and get all the editor based commands running. |
| 22:06.01 | brlcad | ``Erik: loose leaf? so you're not into teabagging eh? |
| 22:06.47 | brlcad | starseeker: it's not portable, but would probably work on everything but windows |
| 22:26.55 | CIA-43 | BRL-CAD: 03r_weiss * r38196 10/brlcad/trunk/src/conv/obj-g_new.c: more work on removing duplicate vertices |
| 22:27.33 | CIA-43 | BRL-CAD: 03starseeker * r38197 10/brlcad/trunk/src/mged/tedit.c: One more time with the editor logic for classic - was getting invocations on the Mac of TextEdit from classic. |
| 22:57.33 | ``Erik | ed ftw |
| 22:58.09 | ``Erik | loose tea, yes. I usually do nasty teabags, but I figured I'd shake things up a bit |
| 22:58.24 | ``Erik | get a faceful of something pleasant for a change |
| 22:58.48 | ``Erik | holy crap, richard committed? did starseeker have to walk over and demand it? |
| 22:59.45 | ``Erik | (he has a fear that he'll be mocked for committing imperfect code... I'm frankly a bit tempted to tell him that he's mocked for NOT committing :/ ) |
| 23:02.02 | ``Erik | starseeker: if env EDITOR is respected, they deserve whatever they get. |
| 23:02.31 | ``Erik | indeed: svn will simply fail and tell you to set an editor in an environment variable.. |
| 23:31.21 | *** join/#brlcad indianla1ry (~indianlar@BZ.BZFLAG.BZ) | |