00:15.33 |
*** join/#brlcad gcibot
(~IgnacioUy@unaffiliated/ignaciouy/bot/gcibot) |
00:19.55 |
*** join/#brlcad ignacio|here
(~IgnacioUy@unaffiliated/ignaciouy) |
01:25.18 |
Notify |
03BRL-CAD:n_reed * 59880
brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl: Archer was
calling search command on startup with empty -name option, causing
new db_search to print a warning message. |
02:24.21 |
brlcad |
andromed`: that would very much be of interest
(factoring tk) |
02:31.13 |
brlcad |
there's a variety of issues there that you
could tackle too such as removing all tcl/tk from libraries, making
mged and/or archer include libraries via tcl package require
mechanism instead of the compiled libtclcad method we use, creating
a separate module as you mentioned (sort of a variant on the
first) |
02:37.39 |
*** join/#brlcad
andromeda-galaxy
(~user@108-225-17-54.lightspeed.sntcca.sbcglobal.net) |
02:37.56 |
brlcad |
andromeda-galaxy: let me know if you need me
to repeat the reply ;) |
02:38.10 |
andromeda-galaxy |
brlcad: sorry, my IRC client malfunctioned, so
I missed what you said... |
02:39.22 |
*** join/#brlcad FreezingCold
(~FreezingC@135.0.41.14) |
02:39.40 |
brlcad |
basically "that would very much be of interest
(factoring tk into a module)" |
02:39.54 |
brlcad |
there's a variety of potential project and
approaches there |
02:39.54 |
andromeda-galaxy |
brlcad: I think I saw that... |
02:40.01 |
andromeda-galaxy |
brlcad: I'm not sure if you saw my next
question: |
02:40.13 |
andromeda-galaxy |
does this only apply to TK or to all of TCL in
general? |
02:40.37 |
brlcad |
what do you mean? |
02:40.49 |
brlcad |
tk will eventually go away |
02:41.27 |
andromeda-galaxy |
brlcad: I might be wrong, but I thought that
BRL-CAD included some amount of TCL code separate from TK used for
certain computations --- I was wondering if factoring that out
would be useful as well as factoring out the calls to the TK
graphics library |
02:41.27 |
brlcad |
at least our use of it for gui work will go
away |
02:42.06 |
brlcad |
it's a fair bit complicated |
02:42.43 |
brlcad |
so best would probably be to set a specific
goal instead of thinking about it as tcl or tk |
02:43.10 |
brlcad |
there's tcl/tk code (written in tcl/tk) and
tcl/tk api (written in C, libtcl and libtk functions) |
02:43.18 |
brlcad |
we use both pretty heavily |
02:43.40 |
brlcad |
tcl/tk API use can and should go away
completely, and that can pretty much happen today |
02:43.48 |
brlcad |
that's probably the best/easiest starting
point |
02:44.12 |
andromeda-galaxy |
brlcad: Okay, I will try to find calls to the
TCL/TK apis and remove them if possible |
02:44.13 |
brlcad |
the distinction make sense? |
02:44.24 |
andromeda-galaxy |
brlcad: I think so |
02:44.26 |
brlcad |
I'd suggest starting simple, one lib |
02:44.55 |
andromeda-galaxy |
brlcad: thank you for all the help, I will try
to do that |
02:45.19 |
andromeda-galaxy |
By the way, when building BRL-CAD earlier
today a couple of files in include/rt/ failed the -Wc++-compat
tests |
02:45.49 |
andromeda-galaxy |
Sorry, I mean include/RtServerImpl.h and a
file in include/rt |
02:46.27 |
brlcad |
suggest trying src/librt first, so you get an
idea of how it's being used |
02:47.08 |
brlcad |
grep -r Tcl src/librt | grep -v
tcl.c |
02:47.24 |
andromeda-galaxy |
is tcl.c a TCL interface to librt? |
02:47.25 |
brlcad |
(the tcl.c file is a binding source so the .so
can be run-time loaded) |
02:47.32 |
andromeda-galaxy |
I see, thanks |
02:47.42 |
brlcad |
basically can ignore, not technically part of
librt |
02:47.49 |
andromeda-galaxy |
I see.... |
02:48.07 |
brlcad |
we compile it in currently but that's easy to
make type-agnostic |
02:48.26 |
brlcad |
you'll find a tcl.c in libbu and libbn where
we've pretty much already eliminated tcl api use |
02:48.48 |
andromeda-galaxy |
that makes sense... |
02:48.57 |
brlcad |
a common use it tcl list splitting (string
processing) and hash tables |
02:49.01 |
brlcad |
s/it/is/ |
02:49.21 |
brlcad |
we have facilities in libbu for those now (and
anything we don't have could be added easily) |
02:49.44 |
andromeda-galaxy |
Do you know of a document that clarifies the
libbu hash table APIs? I found them a little confusing... |
02:49.56 |
*** join/#brlcad FreezingCold
(~FreezingC@135.0.41.14) |
02:50.37 |
andromeda-galaxy |
Also, it looks like some code uses
Pcl_DecrRefCount extensively; would that require implementing some
kind of general reference counting framework in C? |
02:50.57 |
brlcad |
andromeda-galaxy: easiest is to find some
place where they're used and see how they use them |
02:51.08 |
brlcad |
then go back and document an example in bu.h
;) |
02:51.27 |
andromeda-galaxy |
brlcad: okay, thanks... I will do that when I
get a chance |
02:51.45 |
brlcad |
or consider a different container
altogether |
02:52.03 |
brlcad |
there's often no explicit need for a hash,
case-by-case |
02:52.19 |
brlcad |
sometimes the code calling tcl can get
entirley eliminated too, so depends where it's used |
02:52.26 |
andromeda-galaxy |
That makes sense --- it's just a convenient
data structure |
02:53.15 |
andromeda-galaxy |
convenient -> easy to index with keys, even
if the perfomance of a hash table is not necessary |
02:53.39 |
brlcad |
we have other key-index containers
too |
02:55.09 |
andromeda-galaxy |
brlcad: thank you for all of the information
--- brl-cad is so large that even after working on on it for a
while I still don't know half of what it contains. |
02:55.21 |
andromeda-galaxy |
brlcad: I will start working on some of the
librt stuff tomorrow |
02:55.35 |
andromeda-galaxy |
rt_bot_adjust seems like a good candidate to
start with... |
02:55.41 |
brlcad |
like bu_avs (literally a key=value container),
bu's redblack trees, and even a plain ol' array of a simple struct
if use is limited |
02:56.12 |
brlcad |
andromeda-galaxy: I've been working on it for
over a decade and I still find things I didn't know
existed |
02:59.27 |
andromeda-galaxy |
brlcad: I have something that I need to leave
for, but I'll try to work on some of the TCL/TK stuff tomorrow.
Would you mind if I sent you a patch for my first attempt on one of
them before committing it? I'm not sure if I'm completely clear on
the usage of the reference counters, but I think I know what is
going on. |
02:59.41 |
brlcad |
all the more reason to spend time to refactor,
clean up, reduce, reuse |
02:59.43 |
brlcad |
sure, go for it |
03:00.04 |
brlcad |
you can just commit it and I can review
that |
03:00.06 |
brlcad |
I read them all |
03:01.29 |
andromeda-galaxy |
brlcad: okay, thanks |
03:03.06 |
brlcad |
the only place we have to be careful is when
changing public API (if you end up needing to modify something in
the include/ dir) |
03:03.34 |
brlcad |
there are rules and conventions to follow when
adding, removing, modifying the public API |
03:03.45 |
brlcad |
implementation files, however, are
unbound |
03:11.37 |
Notify |
03BRL-CAD Wiki:Sean * 6432
/wiki/Google_Summer_of_Code/Project_Ideas: testing collapsible
content |
03:19.07 |
*** join/#brlcad FreezingAlt
(~FreezingC@135.0.41.14) |
03:43.33 |
Notify |
03BRL-CAD Wiki:MariusKintel * 0
/wiki/User:MariusKintel: |
03:48.55 |
Notify |
03BRL-CAD Wiki:MariusKintel * 6433
/wiki/Google_Summer_of_Code/Project_Ideas: /* Project Categories
*/ |
03:51.27 |
Notify |
03BRL-CAD Wiki:MariusKintel * 6434
/wiki/Google_Summer_of_Code/Project_Ideas: /* Mentors */ |
03:59.13 |
*** join/#brlcad kesha
(~kesha@49.249.17.94) |
04:18.41 |
Notify |
03BRL-CAD Wiki:MariusKintel * 6435
/wiki/Google_Summer_of_Code/Project_Ideas: /* OpenSCAD Projects
*/ |
04:24.07 |
Notify |
03BRL-CAD Wiki:Sean * 6436
/wiki/Google_Summer_of_Code/Project_Ideas: still not done, but tone
the style down considerably |
04:29.57 |
brlcad |
``Erik: your update.php script got killed,
running for about 8 hours full steam |
08:01.44 |
*** join/#brlcad jasleen
(~chatzilla@117.253.226.43) |
08:12.41 |
brlcad |
maths22: I upgraded mediawiki to the latest
1.22.2 |
08:14.14 |
brlcad |
quite a number of issues, but one that took a
while to isolate has me a bit stumped .. if the SpamBlacklist
extension is enabled, it hangs in httpd when submitting an edited
page |
09:05.22 |
*** join/#brlcad FreezingAlt
(~FreezingC@135.0.41.14) |
09:16.10 |
*** join/#brlcad Anaphaxeton
(~george@unaffiliated/anaphaxeton) |
09:37.24 |
*** join/#brlcad luca79
(~luca@net-188-216-229-231.cust.vodafonedsl.it) |
09:54.04 |
Notify |
03BRL-CAD Wiki:Sean * 6437
/wiki/Template:Stub: avoid specifying a width? |
09:58.08 |
*** join/#brlcad merzo
(~merzo@user-94-45-58-138-1.skif.com.ua) |
10:00.21 |
Notify |
03BRL-CAD Wiki:Sean * 6438
/wiki/Template:Stub: clean up the stub template |
10:08.45 |
Notify |
03BRL-CAD Wiki:Sean * 6439
/wiki/Google_Summer_of_Code/Project_Ideas: openscad table cleaned
up |
10:13.14 |
Notify |
03BRL-CAD Wiki:Sean * 6440
/wiki/Google_Summer_of_Code/Project_Ideas: remove impact
column |
10:14.53 |
*** join/#brlcad jasleen
(~chatzilla@117.253.226.43) |
10:26.37 |
Notify |
03BRL-CAD Wiki:Sean * 6441
/wiki/Google_Summer_of_Code/Project_Ideas: more
consistency |
10:28.38 |
Notify |
03BRL-CAD Wiki:Sean * 6442
/wiki/Google_Summer_of_Code/Project_Ideas: remove the idea label,
apparent |
10:32.50 |
*** join/#brlcad Anaphaxeton
(~george@unaffiliated/anaphaxeton) |
12:53.33 |
*** join/#brlcad Anaphaxeton
(~george@unaffiliated/anaphaxeton) |
13:05.36 |
*** join/#brlcad Anaphaxeton
(~george@unaffiliated/anaphaxeton) |
13:57.44 |
*** part/#brlcad ignacio|here
(~IgnacioUy@unaffiliated/ignaciouy) |
14:34.26 |
*** join/#brlcad jasleen
(~chatzilla@117.253.226.43) |
14:38.06 |
*** join/#brlcad ignacio|here
(~IgnacioUy@unaffiliated/ignaciouy) |
15:38.19 |
*** join/#brlcad infobot
(~infobot@rikers.org) |
15:38.19 |
*** topic/#brlcad is BRL-CAD
|| http://brlcad.org || logs:
http://ibot.rikers.org/%23brlcad/
|| GCI winners: Jacob Burroughs and Peter Amidon! Thanks to all of
our participants for the awesome work; stay in touch! || We're
applying to GSoC 2014 |
15:46.07 |
Notify |
03BRL-CAD Wiki:Jasleen Kaur * 6444
/wiki/Google_Summer_of_Code/Project_Ideas: /* Project Categories
*/ |
15:46.56 |
*** join/#brlcad
andromeda-galaxy
(~user@108-225-17-54.lightspeed.sntcca.sbcglobal.net) |
15:50.39 |
Notify |
03BRL-CAD Wiki:Jasleen Kaur * 6445
/wiki/Google_Summer_of_Code/Project_Ideas: /* LibreCAD Projects
*/ |
16:17.33 |
*** join/#brlcad jasleen
(~chatzilla@117.253.226.43) |
16:24.50 |
Notify |
03BRL-CAD:carlmoore * 59881
brlcad/trunk/misc/doxygen/Doxyfile.in: fix spelling in a
comment |
16:32.46 |
*** join/#brlcad archivist
(~archivist@host81-149-189-98.in-addr.btopenworld.com) |
16:35.40 |
*** join/#brlcad jasleen
(~chatzilla@117.255.242.83) |
17:15.11 |
*** join/#brlcad archivist
(~archivist@host81-149-189-98.in-addr.btopenworld.com) |
18:08.12 |
*** join/#brlcad
andromeda-galaxy
(~user@108-225-17-54.lightspeed.sntcca.sbcglobal.net) |
19:25.39 |
*** join/#brlcad Muna
(~chick@41.205.22.53) |
20:33.02 |
*** join/#brlcad
andromeda-galaxy
(~user@108-225-17-54.lightspeed.sntcca.sbcglobal.net) |
22:39.04 |
*** join/#brlcad
andromeda-galaxy
(~user@108-225-17-54.lightspeed.sntcca.sbcglobal.net) |
22:45.54 |
*** join/#brlcad hightower4
(~abc@213.147.97.58) |
23:07.50 |
*** join/#brlcad Yoshi47
(~jan@d157-114-139.home4.cgocable.net) |