Clifford Yapp
e5403a286d
Changes merged, delete brep-debug (svn branch delete)
...
svn:revision:77232
svn:branch:brep-debug
svn:account:starseeker
2020-09-25 16:52:15 +00:00
Clifford Yapp
4198b5d007
Add libged symbol for libtclcad's use of ged_dplot
...
svn:revision:77229
svn:branch:brep-debug
svn:account:starseeker
2020-09-25 16:29:19 +00:00
Clifford Yapp
827c71210e
Port the dplot logic from tclcad_obj.c to the new setup.
...
svn:revision:77228
svn:branch:brep-debug
svn:account:starseeker
2020-09-25 16:28:34 +00:00
Clifford Yapp
24a06afaf6
dplot command needs to make the transition to the new ged command structure.
...
svn:revision:77227
svn:branch:brep-debug
svn:account:starseeker
2020-09-25 15:57:21 +00:00
Clifford Yapp
3536c92db7
Move bool development guide
...
svn:revision:77226
svn:branch:brep-debug
svn:account:starseeker
2020-09-25 15:35:15 +00:00
Clifford Yapp
25bcf35115
Move bool development guide (preliminary file move commit)
2020-09-25 15:35:15 +00:00
Clifford Yapp
4cbc21b73a
Merge trunk r76151 through r77224
...
svn:revision:77225
svn:branch:brep-debug
svn:account:starseeker
2020-09-25 14:49:43 +00:00
Clifford Yapp
abe3f08bb6
Merge analyze command rework from branch, add doc update and NEWS items. Immediate functionality is to use geometric inside/outside testing to peform boolean ops on point clouds and generate new point sets, but should be implemented in such a way as to allow for expansion of additional capabilities.
...
svn:revision:77222
svn:branch:trunk
svn:account:starseeker
2020-09-25 13:41:24 +00:00
Clifford Yapp
51e94328ff
Merge from trunk r76942 through r77219
...
svn:revision:77221
svn:branch:analyze_cmd
svn:account:starseeker
2020-09-25 12:41:33 +00:00
Clifford Yapp
0130d99d32
Switch MSVC back to a Ninja build.
...
svn:revision:77219
svn:branch:trunk
svn:account:starseeker
2020-09-25 01:10:32 +00:00
Clifford Yapp
ab130d7882
Since even serial building isn't guaranteeing stable outcomes, go ahead and re-enable parallel.
...
svn:revision:77218
svn:branch:trunk
svn:account:starseeker
2020-09-24 21:20:54 +00:00
Clifford Yapp
b933702ac2
fix CMake syntax
...
svn:revision:77217
svn:branch:trunk
svn:account:starseeker
2020-09-24 20:55:45 +00:00
Clifford Yapp
4b017f4003
This is a workaround, but if the build fails once try it a few more times before giving up. Since a fair number of the failures seen so far are intermittent, multiple attemps may succeed instead of generating false negatives. Switch execute_process to one call per action - per CMake docs that's the way to do sequential execution.
...
svn:revision:77216
svn:branch:trunk
svn:account:starseeker
2020-09-24 20:50:13 +00:00
Clifford Yapp
2d2d6c8afa
Try to do a more minimal build to generate smaller artifacts. Eventually will need a series of stages for this smaller/frequent -> full/infrequent, but right now we're testing pretty frequently...
...
svn:revision:77215
svn:branch:trunk
svn:account:starseeker
2020-09-24 19:31:43 +00:00
Clifford Yapp
c9b772ee84
Another (potentially) useful note.
...
svn:revision:77214
svn:branch:trunk
svn:account:starseeker
2020-09-24 19:25:16 +00:00
Clifford Yapp
4d2249c81e
Add the ability to optionally disable building the components needing STEPcode.
...
svn:revision:77213
svn:branch:trunk
svn:account:starseeker
2020-09-24 16:40:19 +00:00
Clifford Yapp
9bb26b2102
Make sure we're building gdal before enabling this regression test
...
svn:revision:77212
svn:branch:trunk
svn:account:starseeker
2020-09-24 16:16:45 +00:00
Clifford Yapp
3ff33239b9
Adjust targets for BRL-CAD rather than the test setup.
...
svn:revision:77211
svn:branch:trunk
svn:account:starseeker
2020-09-24 16:12:25 +00:00
Clifford Yapp
eb17eda081
Get selected BRL-CAD binary packages as artifacts from the build. Really will beg for an aggressive policy to clear out older versions, since an active commit day may produce a *lot* of large package files and there's a size cap.
...
svn:revision:77210
svn:branch:trunk
svn:account:starseeker
2020-09-24 16:09:43 +00:00
Clifford Yapp
7d29c3e701
Not quite sure where this should go, but want to capture info about how to go about debugging runtime behavior on github runners by making small test repositories with the binary build and using github actions.
...
svn:revision:77209
svn:branch:trunk
svn:account:starseeker
2020-09-24 12:18:25 +00:00
Clifford Yapp
4d1bcb8db5
Make a note to investigate cleanup logic for artifacts
...
svn:revision:77208
svn:branch:trunk
svn:account:starseeker
2020-09-24 12:04:24 +00:00
Clifford Yapp
b749b685b2
Test to see if this is what Jenkins/BSD is unhappy about with the benchmark changes.
...
svn:revision:77207
svn:branch:trunk
svn:account:starseeker
2020-09-24 11:44:38 +00:00
Christopher Sean Morrison
830619553b
eliminate usage of /dev/null throughout the benchmark as it's not necessary if we restructure things a bit. output is simply caputured and ignored/logged as desired. also do a little better reporting on the logfile.
...
svn:revision:77206
svn:branch:trunk
svn:account:brlcad
2020-09-24 06:43:37 +00:00
Clifford Yapp
14f1f3f31a
Looks like the real issue is we can't build parallel safely - the runner I/O doesn't complete reliably when we do. Re-enable Ninja, but do it single threaded.
...
svn:revision:77205
svn:branch:trunk
svn:account:starseeker
2020-09-23 22:31:52 +00:00
Clifford Yapp
c41c01bfb9
fix command name
...
svn:revision:77204
svn:branch:trunk
svn:account:starseeker
2020-09-23 22:30:50 +00:00
Christopher Sean Morrison
3d4b95532d
try the inverse, detecting if NUL appears to work as a special device.
...
svn:revision:77203
svn:branch:trunk
svn:account:brlcad
2020-09-23 21:31:46 +00:00
Christopher Sean Morrison
fd64bf5bad
msys path conversion appears to be making test -e /dev/null succeed as well. lets try to tell msys to just cut it out, no conversions.
...
svn:revision:77202
svn:branch:trunk
svn:account:brlcad
2020-09-23 20:32:12 +00:00
Clifford Yapp
84159389e7
See if we get fewer intermittent build failures on the VMs with default tools instead of Ninja
...
svn:revision:77201
svn:branch:trunk
svn:account:starseeker
2020-09-23 17:59:23 +00:00
Clifford Yapp
58ad069612
Update checkout to v2
...
svn:revision:77200
svn:branch:trunk
svn:account:starseeker
2020-09-23 14:54:39 +00:00
Clifford Yapp
6bdaa84a89
Add a NEWS item for new MGED stat command. Purpose is to support structured reporting of .g object information.
...
svn:revision:77199
svn:branch:trunk
svn:account:starseeker
2020-09-23 12:48:37 +00:00
Clifford Yapp
4afc77883f
Use std::set to build up the unique set of directory pointers.
...
svn:revision:77198
svn:branch:trunk
svn:account:starseeker
2020-09-23 12:38:50 +00:00
Clifford Yapp
bb8590df4f
If the search filters rule out all possible outputs, we know the answer already.
...
svn:revision:77197
svn:branch:trunk
svn:account:starseeker
2020-09-23 03:42:58 +00:00
Christopher Sean Morrison
d51b1cfb89
don't try to assert something unused...
...
svn:revision:77196
svn:branch:trunk
svn:account:brlcad
2020-09-23 03:07:04 +00:00
Clifford Yapp
6373fcc722
Incorrect - revert
...
svn:revision:77195
svn:branch:trunk
svn:account:starseeker
2020-09-23 02:52:58 +00:00
Clifford Yapp
761f101951
Windows #define of stat doesn't work in this file.
...
svn:revision:77194
svn:branch:trunk
svn:account:starseeker
2020-09-23 02:40:32 +00:00
Clifford Yapp
b2cf42f47c
Don't want to overwrite a terminating NULL, so avoid the last byte when calling strlcpy.
...
svn:revision:77193
svn:branch:trunk
svn:account:starseeker
2020-09-23 02:17:41 +00:00
Clifford Yapp
6d781ae70c
fix regress-licenses
...
svn:revision:77192
svn:branch:trunk
svn:account:starseeker
2020-09-22 14:02:59 +00:00
Clifford Yapp
c49d1d697e
Fixes for regress-repository - not sure if the bu_strlcat replacements are correctly using sz yet - our usage isn't exercising that code.
...
svn:revision:77191
svn:branch:trunk
svn:account:starseeker
2020-09-22 13:57:23 +00:00
Clifford Yapp
f1a4b20a32
Far enough along now to be interesting. Implement a tabular stat command for reporting database object info, using https://github.com/seleznevae/libfort for table printing. Can specify columns and sorting, as well as applying search filters to focus output. Not sure this is a keeper, but checkpoint so progress is recorded.
...
svn:revision:77190
svn:branch:trunk
svn:account:starseeker
2020-09-22 02:51:00 +00:00
Clifford Yapp
7d5462dce8
Whoops, grabbed too many files in previous commit.
...
svn:revision:77189
svn:branch:trunk
svn:account:starseeker
2020-09-21 23:39:03 +00:00
Clifford Yapp
0c2667ad75
Checkpoint
...
svn:revision:77188
svn:branch:trunk
svn:account:starseeker
2020-09-21 23:37:41 +00:00
Christopher Sean Morrison
cad2545bc6
missing delimiter on some older releases, shorten one that wa stoo long
...
svn:revision:77186
svn:branch:trunk
svn:account:brlcad
2020-09-21 03:27:42 +00:00
Clifford Yapp
09b034afd1
Note default branch rename step.
...
svn:revision:77185
svn:branch:trunk
svn:account:starseeker
2020-09-19 21:59:16 +00:00
Clifford Yapp
4981dcd247
trim code code we're not using - this will probably go in a different direction.
...
svn:revision:77184
svn:branch:trunk
svn:account:starseeker
2020-09-19 14:20:59 +00:00
Clifford Yapp
cafc3eed44
Replace hardcoded ged command listings with ged_exec
...
svn:revision:77183
svn:branch:trunk
svn:account:starseeker
2020-09-19 13:57:12 +00:00
Clifford Yapp
01441ddedd
fix regress-licenses
...
svn:revision:77182
svn:branch:trunk
svn:account:starseeker
2020-09-19 02:22:22 +00:00
Clifford Yapp
dedf967ed9
Don't call show() here - this is what's causing the "Negative sizes (-1,-1) are not possible" messages.
...
svn:revision:77181
svn:branch:trunk
svn:account:starseeker
2020-09-19 02:17:44 +00:00
Clifford Yapp
4fb5d489e0
Remove glm from qged subdir.
...
svn:revision:77180
svn:branch:trunk
svn:account:starseeker
2020-09-19 02:02:30 +00:00
Clifford Yapp
a0c447bc80
Backport switch from glm to internal Qt math types from arbalest
...
svn:revision:77179
svn:branch:trunk
svn:account:starseeker
2020-09-19 02:00:53 +00:00
Clifford Yapp
eec76b3f08
Not falling through here means we're missing most of the highlighting.
...
svn:revision:77178
svn:branch:trunk
svn:account:starseeker
2020-09-19 01:20:09 +00:00
Clifford Yapp
274fa798c1
We're getting multiple populations of the tree children. Probably means we need to revisit the whole cadtreemodel design, but for now just don't populate if we've already done so.
...
svn:revision:77177
svn:branch:trunk
svn:account:starseeker
2020-09-19 01:02:12 +00:00
Clifford Yapp
3dc198874f
Jot down a note about a possibly interesting bit of code for future use...
...
svn:revision:77176
svn:branch:trunk
svn:account:starseeker
2020-09-18 23:57:38 +00:00
Clifford Yapp
8098b001fa
Correct the gdiff man page examples for the new verbosity options.
...
svn:revision:77175
svn:branch:trunk
svn:account:starseeker
2020-09-18 19:59:19 +00:00
Clifford Yapp
d594e144e7
Copy/paste error for help message of gdiff's -F option.
...
svn:revision:77174
svn:branch:trunk
svn:account:starseeker
2020-09-18 14:17:29 +00:00
Clifford Yapp
b0649b5370
Sean found the Pty-Qt widget, of definite interest here.
...
svn:revision:77173
svn:branch:trunk
svn:account:starseeker
2020-09-18 13:18:23 +00:00
Clifford Yapp
a2d9462fa5
These probably belong in ged/commands.h
...
svn:revision:77172
svn:branch:trunk
svn:account:starseeker
2020-09-17 19:53:56 +00:00
Clifford Yapp
1540762f7d
Checkpoint an experiment to use Damerau–Levenshtein edit distance lookup to suggest corrections to potentially mistyped ged commands.
...
svn:revision:77171
svn:branch:trunk
svn:account:starseeker
2020-09-17 19:43:34 +00:00
Christopher Sean Morrison
bea8449ba7
looks like mged -c graphical attach modes (at least using the initial prompt) got released broken. fixed the bomb by checking for an empty arg condition.
...
svn:revision:77170
svn:branch:trunk
svn:account:brlcad
2020-09-17 13:29:57 +00:00
Christopher Sean Morrison
f839539e7b
validate args before proceeding
...
svn:revision:77169
svn:branch:trunk
svn:account:brlcad
2020-09-17 13:23:34 +00:00
Christopher Sean Morrison
5d929065e4
prevent overflow condition if caller passes a -1 or other negative/invalid value. encountered during dm option processing.
...
svn:revision:77168
svn:branch:trunk
svn:account:brlcad
2020-09-17 13:19:52 +00:00
Christopher Sean Morrison
f48723cf3a
with eric murray's help, isolated the bug where the graphics window filepath fails to update after opening a .g file. bug was due to spaces in the filename. quoting the filename fixed the title and it now displays correctly even if there are newlines.
...
svn:revision:77167
svn:branch:trunk
svn:account:brlcad
2020-09-17 03:18:42 +00:00
Christopher Sean Morrison
a5399f923b
fixed the titlebar bug when opening a filename with spaces
...
svn:revision:77166
svn:branch:trunk
svn:account:brlcad
2020-09-17 03:13:46 +00:00
Christopher Sean Morrison
45165c4a3d
make sure we quote the filename in case it has spaces so the window title bar gets updated appropriately. this fixes a user-reported bug
...
svn:revision:77165
svn:branch:trunk
svn:account:brlcad
2020-09-17 03:11:47 +00:00
Christopher Sean Morrison
31faa7c5c0
accept sf patch 555 (Add linefeed to output log file of CREO-BRL converter) from Red Carrera (redcarrera) that adds a newline to the output, for improved readability.
...
svn:revision:77164
svn:branch:trunk
svn:account:brlcad
2020-09-15 20:22:26 +00:00
Clifford Yapp
f1d54e1d8f
Looks like we may need a separate push for tags
...
svn:revision:77163
svn:branch:trunk
svn:account:starseeker
2020-09-15 19:53:22 +00:00
Christopher Sean Morrison
6a973ff683
spaces cause the title bar problem
...
svn:revision:77162
svn:branch:trunk
svn:account:brlcad
2020-09-14 21:16:10 +00:00
Clifford Yapp
e344f614ce
This should be an "ALL" custom target, so a build always stages the bin/benchmark script whether anything requrires it or not.
...
svn:revision:77161
svn:branch:trunk
svn:account:starseeker
2020-09-14 17:03:40 +00:00
Clifford Yapp
ed8ee0c482
Note required package for rpm building
...
svn:revision:77160
svn:branch:trunk
svn:account:starseeker
2020-09-14 13:43:41 +00:00
Clifford Yapp
435458a808
Our minimum version may be newer than this, but for sure it's not gcc 3...
...
svn:revision:77159
svn:branch:trunk
svn:account:starseeker
2020-09-14 13:42:03 +00:00
Clifford Yapp
288d5d66c9
Stash useful note on what to do about CentOS in VirtualBox if networking isn't set up by default.
...
svn:revision:77158
svn:branch:trunk
svn:account:starseeker
2020-09-14 13:36:18 +00:00
Clifford Yapp
e4fa8b76fb
Stage the version numbers for the next release.
...
svn:revision:77157
svn:branch:trunk
svn:account:starseeker
2020-09-14 13:00:25 +00:00
Clifford Yapp
ae0cb6a17c
Pull in file updates from RELEASE
...
svn:revision:77156
svn:branch:trunk
svn:account:starseeker
2020-09-14 12:58:25 +00:00
Clifford Yapp
61bb7f6a40
bump to next development revision after tagging the 7.32.0 release
...
svn:revision:77155
svn:branch:trunk
svn:account:starseeker
2020-09-14 12:40:26 +00:00
Clifford Yapp
51fc0b0808
The gcv API changes aren't in RELEASE - adjust ChangeLog.
...
svn:revision:77151
svn:branch:RELEASE
svn:account:starseeker
2020-09-14 12:12:11 +00:00
Clifford Yapp
569eb6791e
Add instructions for older CentOS vanilla image - should be representative of what to do generally if one is on a Redhat based image that has a too-old default toolset.
...
svn:revision:77150
svn:branch:trunk
svn:account:starseeker
2020-09-14 11:31:09 +00:00
Clifford Yapp
2da7ac68cd
Grab one other trunk file that slipped through the cracks.
...
svn:revision:77149
svn:branch:RELEASE
svn:account:starseeker
2020-09-14 10:25:28 +00:00
Clifford Yapp
03f1277aba
distclean line from RELEASE
...
svn:revision:77148
svn:branch:trunk
svn:account:starseeker
2020-09-14 10:22:25 +00:00
Clifford Yapp
64929a3200
Hmm - missed the deletion of README.other in the merges.
...
svn:revision:77147
svn:branch:RELEASE
svn:account:starseeker
2020-09-14 10:18:18 +00:00
Clifford Yapp
a49269facb
Update ChangeLog. It's been a while since we've done a full sync from trunk, so this is the trunk log back to Dec. 2019. (Commit r74972 entry is hand added here and doesn't list all files, as the svn2cl.sh script can't handle it.)
...
svn:revision:77146
svn:branch:RELEASE
svn:account:starseeker
2020-09-14 10:08:28 +00:00
Clifford Yapp
34b97a29c9
Update version numbers, spelling/wording in release note, set release date.
...
svn:revision:77145
svn:branch:RELEASE
svn:account:starseeker
2020-09-14 09:52:48 +00:00
Clifford Yapp
36f3abc02e
Merge from trunk - r77133 through r77143
...
svn:revision:77144
svn:branch:RELEASE
svn:account:starseeker
2020-09-14 09:46:29 +00:00
Christopher Sean Morrison
03ead520f3
include a brief summary writeup of highlights
...
svn:revision:77143
svn:branch:trunk
svn:account:brlcad
2020-09-14 08:45:52 +00:00
Christopher Sean Morrison
730f44162e
document the util fixes in addition to the fb fixes for Windows.
...
looks nominally like confirmed binary input mode fix dpix-pix,
bwshrink, halftone, pixshrink, sun-pix, as well as the plot and brep
plot commands. also possibly fixed by marking input as binary includes bw-a,
bw-png, bw-ps, bwscale, mac-pix, pix-ppm, pix-ps, pix3filter,
pixbgstrip, pixborder, pixembed, pixfilter, pixhalf, pixrot, pixscale,
plot3-ps, ap-pix, bwcrop, bwhisteq, bwstat, pixcrop, pixdiff, pixhist,
pixhist3d-plot3, pixhist3d, pixstat, plot3-asc, plot3stat, asc-plot3, bombardier, bw-pix, bwcrop, bwdif, pix-ppm, pix3filer, pixblend, pixclump, pixcount, pixcrop, pixdiff, pixinterp2x, pixmerge, pixmorph, pixuntile, plot3-dm, plot3rot
svn:revision:77142
svn:branch:trunk
svn:account:brlcad
2020-09-14 07:20:57 +00:00
Christopher Sean Morrison
a1a9c4847b
cliff added asc v4/v5 import/export support to gcv, circa r76277 and commits forward.
...
svn:revision:77141
svn:branch:trunk
svn:account:brlcad
2020-09-14 05:08:43 +00:00
Christopher Sean Morrison
260e750d09
note that cline is intentionally not included
...
svn:revision:77140
svn:branch:trunk
svn:account:brlcad
2020-09-14 04:47:16 +00:00
Christopher Sean Morrison
291a0d75ab
cliff added asc v4/v5 import support to gcv, circa r76277.
...
svn:revision:77139
svn:branch:trunk
svn:account:brlcad
2020-09-14 04:31:09 +00:00
Christopher Sean Morrison
1e899fdc04
there's an article, but need a gcv manual page
...
svn:revision:77138
svn:branch:trunk
svn:account:brlcad
2020-09-14 04:25:51 +00:00
Clifford Yapp
081b2e58d4
Just directly alter the problematic names in the openNURBS headers, so we don't have to try and work around it in ours.
...
svn:revision:77137
svn:branch:trunk
svn:account:starseeker
2020-09-14 03:31:11 +00:00
Clifford Yapp
b18d64f9f0
Technically user visible - document man page update for remrt in r76897
...
svn:revision:77136
svn:branch:trunk
svn:account:starseeker
2020-09-14 00:57:56 +00:00
Clifford Yapp
78b66b117c
Mention alphanum search output sorting in man page.
...
svn:revision:77135
svn:branch:trunk
svn:account:starseeker
2020-09-13 21:11:59 +00:00
Clifford Yapp
6d3de77b4b
Pull RELEASE-only changes back into trunk, r77106 through r77132
...
svn:revision:77134
svn:branch:trunk
svn:account:starseeker
2020-09-13 17:29:04 +00:00
Clifford Yapp
95abf7a100
Merge from trunk r76963 through r77132, sans libgcv/gcv changes.
...
svn:revision:77133
svn:branch:RELEASE
svn:account:starseeker
2020-09-13 17:25:19 +00:00
Clifford Yapp
2ad3c3f7f9
Update the silent NSIS template to match the main version.
...
svn:revision:77132
svn:branch:trunk
svn:account:starseeker
2020-09-13 17:24:05 +00:00
Clifford Yapp
d6ead7d047
At least for now, back out the cwd manipulation - looking into addressing this in the NSIS installer instead, which won't have the potentially broad impact this does.
...
svn:revision:77131
svn:branch:RELEASE
svn:account:starseeker
2020-09-13 16:20:37 +00:00
Clifford Yapp
3c462a5dfa
See if we can manipulate the startup directory of the shortcuts via NSIS
...
svn:revision:77130
svn:branch:trunk
svn:account:starseeker
2020-09-13 15:58:34 +00:00
Clifford Yapp
aae0fb71ca
The 'nburst' refactor of the burst code is available. Mostly a general cleanup of the code, which was previously in an early coding style quite different from most of BRL-CAD. Although primarily intended for batch processing, it also provides a new command line interactive mode that replaces the early terminal menu system removed in 7.30.2.
...
svn:revision:77129
svn:branch:trunk
svn:account:starseeker
2020-09-13 15:47:13 +00:00
Clifford Yapp
82765de6eb
overlay and screengrab commands gained -F options that let them interact with the framebuffer, rather than the display manager scene. Useful for capturing and updating the contents of the embedded MGED framebuffer.
...
svn:revision:77128
svn:branch:trunk
svn:account:starseeker
2020-09-13 15:27:40 +00:00
Clifford Yapp
5d524a878d
bolt man page was added to MGED's category, but we still have the command line tool as well.
...
svn:revision:77127
svn:branch:trunk
svn:account:starseeker
2020-09-13 14:47:05 +00:00
Clifford Yapp
852f545d4d
whichair and whichid can now also search subsets of .g file using the --root specifier, in addition to the standard search of all objects.
...
svn:revision:77126
svn:branch:trunk
svn:account:starseeker
2020-09-13 14:37:31 +00:00
Clifford Yapp
806e791a4c
Update whichair man page for new capabilities.
...
svn:revision:77125
svn:branch:trunk
svn:account:starseeker
2020-09-13 14:34:09 +00:00
Clifford Yapp
ea5d155b0c
Added a new 'bot set' command to match 'bot get' - only supports mode and orientation right now, but these should eventually be expanded to other bot operations.
...
svn:revision:77124
svn:branch:trunk
svn:account:starseeker
2020-09-13 14:04:59 +00:00
Clifford Yapp
7e1875abc6
We're now returning semantically meaningful strings for bot mode and orientation with the low level 'bot get' command - users don't know how to interpret the raw numbers.
...
svn:revision:77123
svn:branch:trunk
svn:account:starseeker
2020-09-13 14:03:20 +00:00
Clifford Yapp
97e5046796
Circa r75774, added an extrude subcommand to the GED bot command for making ARB6 volumes based on BoT triangles. This is a simple extrude operation - it can't guarantee 'smooth' alignment between individual ARB6 extrusions at adjacent faces.
...
svn:revision:77122
svn:branch:trunk
svn:account:starseeker
2020-09-13 13:56:22 +00:00
Christopher Sean Morrison
592b9e68bb
remove the subdir
...
svn:revision:77121
svn:branch:trunk
svn:account:brlcad
2020-09-13 06:37:21 +00:00
Christopher Sean Morrison
e073a6a694
IRIX was retired in 2013 and we subsequently no longer compile there due to c++11. AIX is still quite active (particularly on HPC) but our README commentary is entirely obsolete.
...
svn:revision:77120
svn:branch:trunk
svn:account:brlcad
2020-09-13 06:36:32 +00:00
Christopher Sean Morrison
1c07f950d8
remove the notes for a 2014 oscon presentation. exists in history and is inconsistent (i.e., confusing) with the platform READMEs
...
svn:revision:77119
svn:branch:trunk
svn:account:brlcad
2020-09-13 06:31:35 +00:00
Christopher Sean Morrison
ab8fb7fbf0
moving platform-specific README's together. platforms should be presented equitably or can result in a dismissive perspective harmful in the long term. best practice and project ethos has always been to handle cross-platform variants on valid footing.
...
svn:revision:77118
svn:branch:trunk
svn:account:brlcad
2020-09-13 06:29:24 +00:00
Christopher Sean Morrison
de85d76bc4
whichid and whichair commands now let one specify a range of IDs. the changes were prototyped by nick in a script, and more recently adopted into libged by cliff
...
svn:revision:77117
svn:branch:trunk
svn:account:brlcad
2020-09-13 06:05:48 +00:00
Clifford Yapp
9f94126766
Turn off debug printing for RtImage.tcl
...
svn:revision:77116
svn:branch:RELEASE
svn:account:starseeker
2020-09-13 00:41:55 +00:00
Clifford Yapp
a3e593ed4e
Don't make a failure here fatal - just warn.
...
svn:revision:77115
svn:branch:RELEASE
svn:account:starseeker
2020-09-13 00:32:36 +00:00
Clifford Yapp
d66c1c2ca8
Do the working directory check for Archer and MGED as well.
...
svn:revision:77114
svn:branch:RELEASE
svn:account:starseeker
2020-09-13 00:27:23 +00:00
Clifford Yapp
fc64d05f3a
See if we can get rtwizard's working dir out of the binary directory if it's set there - if that's a read-only location we get some nasty side effects like duplicate dirbuild objects in the tree.
...
svn:revision:77113
svn:branch:RELEASE
svn:account:starseeker
2020-09-13 00:09:36 +00:00
Clifford Yapp
fd9adc6d66
Workaround for struct parsing failures on GhostBSD
...
Was getting 'Structure inconsistency detected parsing 'width'' bombs
on one of the GhostBSD optimized distcheck configs with rtedge. gdb
session shows us simply entering the parse_struct_lookup function,
starting to iterate over the structures loop, skipping the loc
calculation completely, and jumping right to the loc==NULL test. In
this case loc has a value of NULL rather than a garbage value, so we
bomb out.
Assigning the (base + sdp->sp_offset) calculation result as an
initialization to loc also results in loc == NULL, as does printing
the calculation's numerical value in a bu_log, but when run
interactively in the gdb session the same expression evaluates
non-zero.
Work around this by checking for a NULL base, and in that case use the
sdp->sp_offset value without attempting to add the NULL base to it.
Still not clear why some compile settings appear to be producing
different behaviors evaluating this expression, but on GhostBSD at
least this seems to avoid the issue and let the regression tests
succeed...
svn:revision:77112
svn:branch:RELEASE
svn:account:starseeker
2020-09-12 19:08:22 +00:00
Clifford Yapp
7092bec8dd
Whoops - protect both calls, not just Tcl_Close
...
svn:revision:77111
svn:branch:RELEASE
svn:account:starseeker
2020-09-12 16:47:48 +00:00
Clifford Yapp
6b64273e33
Cherrypick r77109 - null check before Tcl_Close
...
svn:revision:77110
svn:branch:RELEASE
svn:account:starseeker
2020-09-12 16:36:25 +00:00
Clifford Yapp
2499417d75
Check for null before calling Tcl_Close
...
svn:revision:77109
svn:branch:trunk
svn:account:starseeker
2020-09-12 16:34:57 +00:00
Clifford Yapp
cb9bb57929
Whoops - just the conditional path inclusion, not both...
...
svn:revision:77108
svn:branch:RELEASE
svn:account:starseeker
2020-09-12 03:35:44 +00:00
Clifford Yapp
936e64b98d
On HaikuOS we can actually have an unset TK_INCLUDE_PATH - check in those build files that use it.
...
svn:revision:77107
svn:branch:RELEASE
svn:account:starseeker
2020-09-12 03:28:03 +00:00
Clifford Yapp
24622ea534
Pull test fix from trunk.
...
svn:revision:77106
svn:branch:RELEASE
svn:account:starseeker
2020-09-11 19:15:21 +00:00
Christopher Sean Morrison
71c52c026c
/dev/null is a special device and -f is only for regular files, so we really just want to check for existence here.
...
svn:revision:77105
svn:branch:trunk
svn:account:brlcad
2020-09-11 19:05:03 +00:00
Clifford Yapp
4658fd9e64
List top level file for cleaning
...
svn:revision:77104
svn:branch:RELEASE
svn:account:starseeker
2020-09-11 18:58:14 +00:00
Clifford Yapp
03bdbcc8ec
The 'test -f /dev/null' test is failing when run inside of CTest on linux, resulting in an NUL file being created that isn't discleaned. Use the OSTYPE var to check for MSYS sh.exe.
...
svn:revision:77103
svn:branch:RELEASE
svn:account:starseeker
2020-09-11 18:14:56 +00:00
Clifford Yapp
658fa011b3
List CMakeLists.txt file
...
svn:revision:77102
svn:branch:RELEASE
svn:account:starseeker
2020-09-11 16:15:44 +00:00
Clifford Yapp
64029526a9
Merge from trunk: r76955 through r76962
...
svn:revision:77101
svn:branch:RELEASE
svn:account:starseeker
2020-09-11 16:04:24 +00:00
Clifford Yapp
c4fbe5d511
Actually, we probably want to use the context mime type on filters.
...
svn:revision:77100
svn:branch:trunk
svn:account:starseeker
2020-09-10 15:20:06 +00:00
Clifford Yapp
2639333671
Attempt to generalize the GCV plugin typing system beyond just models.
...
svn:revision:77099
svn:branch:trunk
svn:account:starseeker
2020-09-10 14:28:59 +00:00
Christopher Sean Morrison
be2611ca97
clarify some of the icv_image_size() parameters.
...
svn:revision:77098
svn:branch:trunk
svn:account:brlcad
2020-09-10 04:20:56 +00:00
Clifford Yapp
9fb67bd6bd
Merge from trunk: r77078 through r77096
...
svn:revision:77097
svn:branch:RELEASE
svn:account:starseeker
2020-09-10 02:08:29 +00:00
Christopher Sean Morrison
a6cc7d3278
search issue was fixed in r77076. it's all good.
...
svn:revision:77096
svn:branch:trunk
svn:account:brlcad
2020-09-10 00:41:59 +00:00
Clifford Yapp
dd43f0d356
One of the unit tests for bu_file failed on the Mac github runner using the system realpath. Might be the test isn't valid, but we're right before release - just put back the internal version for now.
...
svn:revision:77095
svn:branch:trunk
svn:account:starseeker
2020-09-09 22:50:57 +00:00
Christopher Sean Morrison
a21e165d06
search -exec appears to be completely non-functional. I'm getting no output. Build from a couple month back appears to be working, so maybe related to process/channel/io changes.
...
svn:revision:77094
svn:branch:trunk
svn:account:brlcad
2020-09-09 20:33:35 +00:00
Christopher Sean Morrison
1c026e8e34
elaborate thoughts on an object-awar gsort/tables/filter command.
...
svn:revision:77093
svn:branch:trunk
svn:account:brlcad
2020-09-09 20:32:12 +00:00
Christopher Sean Morrison
f50fb8b232
applied sf patch 554 (Added libicv man page in doc/docbook/system/man3/) from Sumagna Das
...
svn:revision:77092
svn:branch:trunk
svn:account:brlcad
2020-09-09 13:23:22 +00:00
Christopher Sean Morrison
f9ebeed397
fix ws indent
...
svn:revision:77091
svn:branch:trunk
svn:account:brlcad
2020-09-09 13:18:21 +00:00
Christopher Sean Morrison
d53706c272
support /dev/null and the NUL special file construct on Windows (for git bash and msys2-based scripting environments)
...
svn:revision:77090
svn:branch:trunk
svn:account:brlcad
2020-09-09 03:55:11 +00:00
Christopher Sean Morrison
764daebad7
turn off path conversion in msys2 and in git's customized msys-based shell. likely getting /dev/null conversion for free, so fix for that is next
...
svn:revision:77089
svn:branch:trunk
svn:account:brlcad
2020-09-09 03:41:33 +00:00
Clifford Yapp
74052e46aa
This came up again... forward port and enable the most basic of the search command size filters from r67646. This is just the dp->d_len object size filter, but it pairs with the ls options that can report size - with this in place, we can use ls -lS to get an overall report of object sizes and then search with -size and other filters to identify large or small subsets based on type. Particular use case was trying to find a large plate mode bot in the FAA Generic_Twin.g example: ls -lS to get an idea of size distributions and then search -type plate -size >50000 to find larger examples. Would be nice to be able to specify sorting the search output on size at some point as well...
...
svn:revision:77088
svn:branch:trunk
svn:account:starseeker
2020-09-08 20:38:51 +00:00
Clifford Yapp
90e3a7e068
Note a quirk of bot -V visualizations that needs attention at some point.
...
svn:revision:77086
svn:branch:trunk
svn:account:starseeker
2020-09-08 20:27:03 +00:00
Christopher Sean Morrison
bced8ab8cb
note the mged startup path issues, discussed with a few users. need to investigate and document the current behavior for command-line, double-click, drag-n-drop file opening, GUI menu opening, and GUI CLI opening.
...
svn:revision:77085
svn:branch:trunk
svn:account:brlcad
2020-09-08 19:29:31 +00:00
Christopher Sean Morrison
826e107ecd
looks like we missed documenting a gci contribution from jeffrey liu that added support for reading EBM data from binunif database objects (previously only supported files)
...
svn:revision:77083
svn:branch:trunk
svn:account:brlcad
2020-09-08 17:46:02 +00:00
Christopher Sean Morrison
4a4041c354
retroactively document all of ali haydar's summer 2019 work on annotations. not included, but it's worth noting that his changes were realized through additional effort and mentoring by daniel roßberg.
...
svn:revision:77082
svn:branch:trunk
svn:account:brlcad
2020-09-08 17:40:58 +00:00
Christopher Sean Morrison
7f7a28e041
rishabh has been working all summer on the opencl pipeline in brl-cad with several more primitives converted including hyp and a bug, with untested/unfinished work on pipe, vol, arbn, and cline.
...
svn:revision:77081
svn:branch:trunk
svn:account:brlcad
2020-09-08 17:30:49 +00:00
Christopher Sean Morrison
8159c7bf7a
daniel actually applied patches from ali haydar affecting display of annotations on windows.
...
svn:revision:77080
svn:branch:trunk
svn:account:brlcad
2020-09-08 17:28:44 +00:00
Christopher Sean Morrison
b2d45fb553
credit 2020 gsoc student rishab suthar with his openCL gpgpu pipeline contributions
...
svn:revision:77079
svn:branch:trunk
svn:account:brlcad
2020-09-08 17:27:44 +00:00
Clifford Yapp
e05d18c952
Merge from trunk: r77067 through r77077
...
svn:revision:77078
svn:branch:RELEASE
svn:account:starseeker
2020-09-08 16:46:19 +00:00
Clifford Yapp
ee0cb62f33
Teach bot GED command to set orientation and mode, and report user-understandable strings for get in those cases rather than the raw number.
...
svn:revision:77077
svn:branch:trunk
svn:account:starseeker
2020-09-08 16:41:21 +00:00
Clifford Yapp
98c35b6131
Whoops - need to set the interp callbacks here as well.
...
svn:revision:77076
svn:branch:trunk
svn:account:starseeker
2020-09-08 16:38:30 +00:00
Christopher Sean Morrison
d662d6fbb0
credit sumagna das for his work implementing the beginnings of a new gcv plugin (png-to-vol).
...
svn:revision:77075
svn:branch:trunk
svn:account:brlcad
2020-09-08 16:22:11 +00:00
Clifford Yapp
22ce3b9e67
Need separate channels for in/out/err (MGED on Windows was crashing trying to close due to callbacks for both stdout and stderr channel closing.)
...
svn:revision:77074
svn:branch:trunk
svn:account:starseeker
2020-09-08 15:29:25 +00:00
Clifford Yapp
f232ad9c28
Add header and footer (caught by regress-licenses)
...
svn:revision:77073
svn:branch:trunk
svn:account:starseeker
2020-09-06 14:33:29 +00:00
Christopher Sean Morrison
634fba4aac
add a bit more debugging to understand what's going on, if any are being called
...
svn:revision:77072
svn:branch:trunk
svn:account:brlcad
2020-09-06 06:26:12 +00:00
Christopher Sean Morrison
3ec75fed74
vol plugin needs to export gcv_plugin_info as a callable function
...
svn:revision:77071
svn:branch:trunk
svn:account:brlcad
2020-09-06 06:15:21 +00:00
Christopher Sean Morrison
039610eadc
don't crash if we can't determine the unit type in the gdal plugin. still can't handle png and bombs out, but at least aborts slightly more gracefully.
...
svn:revision:77070
svn:branch:trunk
svn:account:brlcad
2020-09-06 06:14:13 +00:00
Christopher Sean Morrison
9db1493f75
apply zulip patch from Sumagna Das that stubs in an initial vol-from-png plugin. not yet functional, but compiles and exposes a few other issues in libgcv.
...
svn:revision:77069
svn:branch:trunk
svn:account:brlcad
2020-09-06 05:50:07 +00:00
Christopher Sean Morrison
cf9ff54128
fit comments and separate if expression from the true block for consistent readability
...
svn:revision:77068
svn:branch:trunk
svn:account:brlcad
2020-09-06 05:48:11 +00:00
Clifford Yapp
5cccfb483a
Merge from trunk: r77032 through r77066
...
svn:revision:77067
svn:branch:RELEASE
svn:account:starseeker
2020-09-04 21:05:55 +00:00
Clifford Yapp
3f1f4abc44
Unused string
...
svn:revision:77066
svn:branch:trunk
svn:account:starseeker
2020-09-04 20:52:45 +00:00
Christopher Sean Morrison
374f9165fa
per the usage, the caller can say 'No' and still provide the remaining 4 region args, it just won't do anything with them. don't make it a fatal condition if that happens, just continue, since the caller (as is the case in mged) may just be a script that passes defaults. avoids the caller needing to conditionalize. undoing the error avoids a failure editing non-region combs via the combination editor in mged.
...
svn:revision:77065
svn:branch:trunk
svn:account:brlcad
2020-09-04 20:08:34 +00:00
Clifford Yapp
03617e02eb
OK, not a new issue - calling reopen with a read-only database is what's doing this.
...
svn:revision:77064
svn:branch:trunk
svn:account:starseeker
2020-09-04 18:35:13 +00:00
Clifford Yapp
d3d7f90a38
It's that the database is read-only, not that it's on Windows.
...
svn:revision:77063
svn:branch:trunk
svn:account:starseeker
2020-09-04 15:43:22 +00:00
Clifford Yapp
e4d1bd1ea3
See if this lets us use system realpath. If so, we may be able to yank the bsd fallback implementation.
...
svn:revision:77062
svn:branch:trunk
svn:account:starseeker
2020-09-04 15:41:39 +00:00
Clifford Yapp
eb5d4b5568
More uniformly define MAXPATHLEN across the code.
...
Tcl defines MAXPATHLEN, and there was a potential for different
definitions between their headers and ours. Not certain, but that is
one possible source of the strange realpath crash observed on Linux
but not reproducible in isolation - if code with one definition of
MAXPATHLEN created a buffer and then fed it to a library compiled using
a different definition, those different assumptions are a source of
possible trouble. I think that's what was happening with the whoami.c
code after I switched it to using MAXPATHLEN. Previously that code
called realpath directly rather than bu_file_realpath. After the
MAXPATHLEN switch, those raw realpath calls triggered a segfault on
Linux - most likely due to a non-PATH_MAX definition of MAXPATHLEN
previously being defaulted to by the bu/defines.h definition.
Move the MAXPATHLEN definition to common.h, which is always included
before tcl.h in our code, and add a couple definitions from the Tcl
headers to use as fallbacks. Would be nice if there is some way to
systematically check for this kind of issue...
svn:revision:77061
svn:branch:trunk
svn:account:starseeker
2020-09-04 15:30:34 +00:00
Clifford Yapp
d31f38d3ed
realpath -> bu_file_realpath
...
svn:revision:77060
svn:branch:trunk
svn:account:starseeker
2020-09-04 14:08:38 +00:00
Clifford Yapp
84e5b7e434
PATH_MAX->MAXPATHLEN
...
svn:revision:77059
svn:branch:trunk
svn:account:starseeker
2020-09-04 13:46:49 +00:00
Clifford Yapp
1cff8a1416
WiX .msi is getting more useful - add some notes to README.Windows.
...
svn:revision:77058
svn:branch:trunk
svn:account:starseeker
2020-09-04 13:39:03 +00:00
Christopher Sean Morrison
ae49e8dd29
update file header filenames. use ./ relative header path to denote local include files.
...
svn:revision:77057
svn:branch:trunk
svn:account:brlcad
2020-09-04 05:55:04 +00:00
Christopher Sean Morrison
f7d884db0c
rename most tclcad files to consistently not use a filename prefix. updating contents separately.
...
svn:revision:77056
svn:branch:trunk
svn:account:brlcad
2020-09-04 05:35:29 +00:00
Christopher Sean Morrison
d97fdd0119
go ahead and put the snippets into code/endcode blocks to make their callout more explicit and obvious.
...
svn:revision:77055
svn:branch:trunk
svn:account:brlcad
2020-09-04 04:34:13 +00:00
Christopher Sean Morrison
b340b07f23
doxygen / comment cleanup
...
svn:revision:77054
svn:branch:trunk
svn:account:brlcad
2020-09-04 04:14:46 +00:00
Christopher Sean Morrison
9b6a0f0069
convert define and enum comments for doxygen
...
svn:revision:77053
svn:branch:trunk
svn:account:brlcad
2020-09-04 04:13:26 +00:00
Christopher Sean Morrison
2a99e5ee8a
document the struct elements where already documented
...
svn:revision:77052
svn:branch:trunk
svn:account:brlcad
2020-09-04 04:09:09 +00:00
Christopher Sean Morrison
22007c42ec
put the cond/endcond doxygen markers in doxy blocks
...
svn:revision:77051
svn:branch:trunk
svn:account:brlcad
2020-09-04 04:01:16 +00:00
Clifford Yapp
7652add335
Only on Windows, getting db_dircheck reports of duplicate objects on rtwizard startup.
...
svn:revision:77050
svn:branch:trunk
svn:account:starseeker
2020-09-04 03:06:26 +00:00
Clifford Yapp
5c1cf853e4
Typo
...
svn:revision:77049
svn:branch:trunk
svn:account:starseeker
2020-09-04 01:57:12 +00:00
Clifford Yapp
e20d146111
If I'm understanding this correctly, the WiX msi installer relies on the application to provide the icon, unlike NSIS. Do what wish.exe does and try specifying rc files that identify the icons.
...
svn:revision:77048
svn:branch:trunk
svn:account:starseeker
2020-09-04 01:43:55 +00:00
Clifford Yapp
a8bf0a12cd
Note potentially relevant WiX example in CMake itself.
...
svn:revision:77047
svn:branch:trunk
svn:account:starseeker
2020-09-03 22:42:36 +00:00
Clifford Yapp
a05b0d33b7
Shouldn't hardcode 'bin' string
...
svn:revision:77046
svn:branch:trunk
svn:account:starseeker
2020-09-03 22:08:52 +00:00
Clifford Yapp
c68066bf5f
Try setting the CPACK install properties.
...
svn:revision:77045
svn:branch:trunk
svn:account:starseeker
2020-09-03 22:06:51 +00:00
Clifford Yapp
246e6ad68d
CPACK_START_MENU_SHORTCUTS may let us get the menu set up without a custom template.
...
svn:revision:77044
svn:branch:trunk
svn:account:starseeker
2020-09-03 21:49:28 +00:00
Clifford Yapp
e0d141e156
correct filename
...
svn:revision:77043
svn:branch:trunk
svn:account:starseeker
2020-09-03 19:49:58 +00:00
Clifford Yapp
93e805ec31
Tweak WiX images.
...
svn:revision:77042
svn:branch:trunk
svn:account:starseeker
2020-09-03 19:12:54 +00:00
Clifford Yapp
68f3357fe5
Remove debug message
...
svn:revision:77041
svn:branch:trunk
svn:account:starseeker
2020-09-03 17:46:14 +00:00
Clifford Yapp
fc1926d11c
See if we can point to the CMake standard built-in template and get the same installer as leaving the template unset.
...
svn:revision:77040
svn:branch:trunk
svn:account:starseeker
2020-09-03 17:36:11 +00:00
Clifford Yapp
6e0a6fa91b
Adjust path hunting for WiX
...
svn:revision:77039
svn:branch:trunk
svn:account:starseeker
2020-09-03 17:22:47 +00:00
Clifford Yapp
43476a2c26
Untested as yet, but see if we can key CPack setup on Windows off of what installer generators we have available.
...
svn:revision:77038
svn:branch:trunk
svn:account:starseeker
2020-09-03 17:09:04 +00:00
Clifford Yapp
b59c27ce4c
Toss in a quick utility to try and detect headers in source hierarchies that aren't #included by any of the local files.
...
svn:revision:77037
svn:branch:trunk
svn:account:starseeker
2020-09-03 13:52:11 +00:00
Clifford Yapp
cd5ae91c05
Missing CMakeLists.txt file
...
svn:revision:77036
svn:branch:trunk
svn:account:starseeker
2020-09-03 13:47:38 +00:00
Christopher Sean Morrison
71b1f7a3c6
move gcv's only unit test into a subdir like our other libs.
...
svn:revision:77035
svn:branch:trunk
svn:account:brlcad
2020-09-03 07:13:01 +00:00
Christopher Sean Morrison
54947587f8
move gcv's only unit test into a subdir like our other libs. (preliminary file move commit)
2020-09-03 07:13:01 +00:00
Christopher Sean Morrison
153488c48f
oof, probably shouldn't assume it's a model mime type.
...
svn:revision:77034
svn:branch:trunk
svn:account:brlcad
2020-09-03 07:04:04 +00:00
Clifford Yapp
fe77151e69
Note user report that the WiX msi installer has an ability to install silently. Need to explore what it would take to match features with the NSIS .exe installer.
...
svn:revision:77033
svn:branch:trunk
svn:account:starseeker
2020-09-02 18:08:50 +00:00
Clifford Yapp
274d4cc2a1
Merge from trunk: r77015 through r77031
...
svn:revision:77032
svn:branch:RELEASE
svn:account:starseeker
2020-09-01 20:26:40 +00:00
Clifford Yapp
617e2e8f21
Clear the remainder of the doxygen warnings
...
svn:revision:77031
svn:branch:trunk
svn:account:starseeker
2020-09-01 19:30:05 +00:00
Clifford Yapp
633680cb32
Clear some more doxygen warnings
...
svn:revision:77030
svn:branch:trunk
svn:account:starseeker
2020-09-01 19:17:05 +00:00
Clifford Yapp
e140e5f723
Adjust comment for doxygen
...
svn:revision:77029
svn:branch:trunk
svn:account:starseeker
2020-09-01 19:09:33 +00:00
Clifford Yapp
cc26d42870
Tell doxygen not to worry about these includes
...
svn:revision:77028
svn:branch:trunk
svn:account:starseeker
2020-09-01 19:05:57 +00:00
Clifford Yapp
c4b14ef938
Add group for bu/process.h
...
svn:revision:77027
svn:branch:trunk
svn:account:starseeker
2020-09-01 18:45:28 +00:00
Clifford Yapp
846678c5ac
Increase DOT_GRAPH_MAX_NODES to avoid warnings about too many notes.
...
svn:revision:77026
svn:branch:trunk
svn:account:starseeker
2020-09-01 18:36:20 +00:00
Clifford Yapp
2b9a0a03b4
Indent for doxygen
...
svn:revision:77025
svn:branch:trunk
svn:account:starseeker
2020-09-01 18:28:32 +00:00
Christopher Sean Morrison
ae8f5dd64c
delete extra doxygen closure
...
svn:revision:77024
svn:branch:trunk
svn:account:brlcad
2020-09-01 18:04:55 +00:00
Christopher Sean Morrison
f6f1a09da7
ditto, use addtogroup instead of ingroup for consistency.
...
svn:revision:77023
svn:branch:trunk
svn:account:brlcad
2020-09-01 18:01:03 +00:00
Christopher Sean Morrison
369cd00dcf
use addtogroup instead of ingroup, consistent with the rest and fixes an unbalanced grouping error.
...
svn:revision:77022
svn:branch:trunk
svn:account:brlcad
2020-09-01 17:59:55 +00:00
Christopher Sean Morrison
a929ce348e
missing @ sign
...
svn:revision:77021
svn:branch:trunk
svn:account:brlcad
2020-09-01 17:51:57 +00:00
Clifford Yapp
9a9cbf6004
Per discussion with Sean, most of these don't qualify as needing the deprecation process.
...
svn:revision:77020
svn:branch:trunk
svn:account:starseeker
2020-09-01 17:47:48 +00:00
Christopher Sean Morrison
2191fe3623
PERL_PATH and MSCGEN_PATH are deprecated, so remove them. we weren't using them anyways.
...
svn:revision:77019
svn:branch:trunk
svn:account:brlcad
2020-09-01 17:47:31 +00:00
Clifford Yapp
89fe174a67
This is looking quite tricky - did some experiments in swrast branch, but no quick fix popping out so far - bump down.
...
svn:revision:77018
svn:branch:trunk
svn:account:starseeker
2020-09-01 17:42:44 +00:00
Clifford Yapp
957c26014c
List some of the more obscure MGED menu entries for deprecation.
...
svn:revision:77017
svn:branch:trunk
svn:account:starseeker
2020-09-01 15:20:57 +00:00
Clifford Yapp
3f5b4dda53
Merge from trunk: r76994 through r77014
...
svn:revision:77016
svn:branch:RELEASE
svn:account:starseeker
2020-09-01 14:52:39 +00:00
Clifford Yapp
92a7163087
Merge from trunk: r76980 through r76991
...
svn:revision:77015
svn:branch:RELEASE
svn:account:starseeker
2020-09-01 14:44:36 +00:00
Clifford Yapp
943f9edfe9
More doxygen adjustments
...
svn:revision:77014
svn:branch:trunk
svn:account:starseeker
2020-09-01 13:49:46 +00:00
Clifford Yapp
7b6afed752
Organize libbg doxygen comments
...
svn:revision:77013
svn:branch:trunk
svn:account:starseeker
2020-09-01 13:27:07 +00:00
Clifford Yapp
7e5de9d7d9
Categorize for doxygen
...
svn:revision:77012
svn:branch:trunk
svn:account:starseeker
2020-09-01 12:59:39 +00:00
Clifford Yapp
17a618a3b8
Add some doxygen adjustments.
...
svn:revision:77011
svn:branch:trunk
svn:account:starseeker
2020-09-01 12:41:57 +00:00
Christopher Sean Morrison
472ec8ae94
note that our bundld libpng and zlib libraries now compile with API prefixes so as not to clash with system versions. the libraries are also installed with a _brl suffix to avoid accidentally matching a system library.
...
svn:revision:77010
svn:branch:trunk
svn:account:brlcad
2020-09-01 07:21:39 +00:00
Christopher Sean Morrison
aabd9ab2ec
oof, document the biggest change in this release, tcl/tk is upgraded
...
svn:revision:77009
svn:branch:trunk
svn:account:brlcad
2020-09-01 06:55:01 +00:00
Christopher Sean Morrison
852fba1492
posthumously document when the mged.bat script was killed
...
svn:revision:77008
svn:branch:trunk
svn:account:brlcad
2020-09-01 06:51:57 +00:00
Christopher Sean Morrison
7c73576eeb
improved nurbs ray tracing performance back in r74817 by eliminating unnecessary computation. chould be minimally or not evident in production builds, but likely evident as no warnings were issued
...
svn:revision:77007
svn:branch:trunk
svn:account:brlcad
2020-09-01 06:23:26 +00:00
Christopher Sean Morrison
09ec35ffa0
stray n
...
svn:revision:77006
svn:branch:trunk
svn:account:brlcad
2020-09-01 06:01:11 +00:00
Christopher Sean Morrison
5f091ba78d
document the util fixes in addition to the fb fixes for Windows. look nominally like dpix-pix, bwshrink, halftone, pixshrink as well as the plot and brep plot commands
...
svn:revision:77005
svn:branch:trunk
svn:account:brlcad
2020-09-01 06:00:40 +00:00
Christopher Sean Morrison
961569453f
vdeck should handle windows text files now
...
svn:revision:77004
svn:branch:trunk
svn:account:brlcad
2020-09-01 05:52:27 +00:00
Christopher Sean Morrison
4c7669c302
dm command is published, so documenting the change. sports a new type subcommand (replaces set dmtype
...
svn:revision:77003
svn:branch:trunk
svn:account:brlcad
2020-09-01 05:36:54 +00:00
Christopher Sean Morrison
ac1a123ee6
document the three subcommands to dm. bad usage as synopsis is indeterminant, and can't be resolved because all three are different.
...
svn:revision:77002
svn:branch:trunk
svn:account:brlcad
2020-09-01 05:35:41 +00:00
Christopher Sean Morrison
610339ea5b
cliff removed the Display Manager menu options and associated options for switching display managers
...
svn:revision:77001
svn:branch:trunk
svn:account:brlcad
2020-09-01 05:14:55 +00:00
Christopher Sean Morrison
49db60d494
unwrap
...
svn:revision:76994
svn:branch:trunk
svn:account:brlcad
2020-08-31 08:06:33 +00:00
Christopher Sean Morrison
5f5249c6d8
document the claim on db5_diradd's previously unused clientdata. if it's set to one, the object will now be flagged as inmem.
...
svn:revision:76993
svn:branch:trunk
svn:account:brlcad
2020-08-31 08:00:21 +00:00
Christopher Sean Morrison
047dd7f643
unclear and undocumented why db_lookup is explicitly turning off the inmem flag, so leave a note to investigate.
...
svn:revision:76992
svn:branch:trunk
svn:account:brlcad
2020-08-31 07:57:28 +00:00
Christopher Sean Morrison
21a2644aa9
rtweight now reports just once on the first material ID with no density file entry, and doesn't report on those unset.
...
svn:revision:76991
svn:branch:trunk
svn:account:brlcad
2020-08-31 05:18:06 +00:00
Christopher Sean Morrison
d52ac128a3
the libs exist. conversion is ongoing and non-specific
...
svn:revision:76990
svn:branch:trunk
svn:account:brlcad
2020-08-30 18:41:47 +00:00
Christopher Sean Morrison
020844a020
adapting weights for modern times, modes for pix-bw
...
svn:revision:76989
svn:branch:trunk
svn:account:brlcad
2020-08-30 18:40:46 +00:00
Christopher Sean Morrison
00136fe7e9
document the weights for all the options including the new conversion modes
...
svn:revision:76988
svn:branch:trunk
svn:account:brlcad
2020-08-30 18:39:17 +00:00
Christopher Sean Morrison
cd4b741a66
use more precision to more closely match the standard for ntsc. add additional conversion modes for hdtv, hdr, and the default simple averaging as an explicit mode. no consideration of linear vs non-linear.
...
svn:revision:76987
svn:branch:trunk
svn:account:brlcad
2020-08-30 18:38:46 +00:00
Clifford Yapp
12bb3de984
Note possible resources for qged console widget improvements.
...
svn:revision:76981
svn:branch:trunk
svn:account:starseeker
2020-08-27 20:56:40 +00:00
Clifford Yapp
aafb0192e9
Merge from trunk: r76975 through r76979
...
svn:revision:76980
svn:branch:RELEASE
svn:account:starseeker
2020-08-27 18:21:43 +00:00
Clifford Yapp
69585ef2ba
Looks like the Creo plugin needs our local versions of these headers on Windows to build. See if we can override the suppression of the 3rd party header installs in the specific cases where it is necessary.
...
svn:revision:76979
svn:branch:trunk
svn:account:starseeker
2020-08-27 15:43:33 +00:00
Clifford Yapp
85f6a36983
Couple more naming adjustments for 3rd party libs
...
svn:revision:76978
svn:branch:trunk
svn:account:starseeker
2020-08-27 14:50:09 +00:00
Clifford Yapp
eac0ada72a
fix comment
...
svn:revision:76977
svn:branch:trunk
svn:account:starseeker
2020-08-27 14:44:09 +00:00
Clifford Yapp
eaba70e3cd
Looks like not all versions use MDIR - look for it, but try to proceed even if it isn't found.
...
svn:revision:76976
svn:branch:trunk
svn:account:starseeker
2020-08-27 13:54:33 +00:00
Clifford Yapp
8d7557f148
The adjustments to the src/other build logic have changed the lib names - quick stab at updating them, but need to test.
...
svn:revision:76975
svn:branch:trunk
svn:account:starseeker
2020-08-27 12:25:03 +00:00
Clifford Yapp
495a0fa47c
Experiment is in swrast branch.
...
svn:revision:76974
svn:branch:trunk
svn:account:starseeker
2020-08-27 12:17:55 +00:00
Clifford Yapp
3c0ac6bc8c
Whoops - disable, then commit
...
svn:revision:76971
svn:branch:trunk
svn:account:starseeker
2020-08-26 23:54:04 +00:00
Clifford Yapp
74143d72f5
Experiment with hooking a cut down version of https://github.com/zauonlok/renderer into the tcl_img demo code playing the role of the 'dm' viewer. Using one of the demo scenes, not any sort of CAD code, but better than random noise for visual inspection purposes.
...
svn:revision:76970
svn:branch:trunk
svn:account:starseeker
2020-08-26 23:32:10 +00:00
Christopher Sean Morrison
189ddbd4c3
created a lighting environment manually too many times. need a studio box routine. note some other models that we be grand to have as well.
...
svn:revision:76969
svn:branch:trunk
svn:account:brlcad
2020-08-26 22:04:22 +00:00
Clifford Yapp
2237b2aa35
Merge from trunk: r76963 through r76967
...
svn:revision:76968
svn:branch:RELEASE
svn:account:starseeker
2020-08-26 16:43:49 +00:00
Clifford Yapp
73d7fd8dbd
Print an indicator of what the next DM/FB update will be.
...
svn:revision:76967
svn:branch:trunk
svn:account:starseeker
2020-08-26 15:55:14 +00:00
Clifford Yapp
61ca896b63
Spoke too soon - embedded framebuffer is still an issue.
...
svn:revision:76966
svn:branch:trunk
svn:account:starseeker
2020-08-26 15:13:17 +00:00
Clifford Yapp
88a7b70e24
Set the dm dirty flag when we're not using the DMP global as well
...
svn:revision:76965
svn:branch:trunk
svn:account:starseeker
2020-08-26 14:48:55 +00:00
Clifford Yapp
37d3a47dba
Need to set the dm dirty flag here. Unfortunately, it looks like we were getting away with the X dm embedding in Tk by not having the embedded framebuffer come up - with this enabled we're back to crashing when we try to do an embedded X24 framebuffer in the main MGED Tk window.
...
svn:revision:76964
svn:branch:trunk
svn:account:starseeker
2020-08-26 14:37:05 +00:00
Clifford Yapp
23d4e354f2
Need to clear out an old GEDP before creating a new one.
...
svn:revision:76963
svn:branch:trunk
svn:account:starseeker
2020-08-26 14:09:33 +00:00
Daniel Rossberg
f25c39ebab
don't want to duplicate db5_diradd() and db5_diradd_handler() because of setting a single flag - used the free client_data parameter instead
...
maybe there is a better posibility to detect an inmem directory handle which I don't know
svn:revision:76962
svn:branch:trunk
svn:account:d_rossberg
2020-08-26 13:11:27 +00:00
Clifford Yapp
b5c562d39b
Remove note in trunk branch as well.
...
svn:revision:76961
svn:branch:trunk
svn:account:starseeker
2020-08-26 13:10:10 +00:00
Clifford Yapp
ae4ef01250
This issue has been addressed - removed non-working dmtype command, improved update triggering via the "dirty" flag in MGED.
...
svn:revision:76960
svn:branch:RELEASE
svn:account:starseeker
2020-08-26 12:40:32 +00:00
Clifford Yapp
1090941e88
Merge from trunk r76861 through 76954
...
svn:revision:76959
svn:branch:RELEASE
svn:account:starseeker
2020-08-26 12:21:02 +00:00
Clifford Yapp
a327a0b00e
Use Ninja where we can.
...
svn:revision:76958
svn:branch:trunk
svn:account:starseeker
2020-08-26 12:12:42 +00:00
Daniel Rossberg
dc70156784
reverted a bit from previous commit
...
looks like it breaked at least the asc2g
svn:revision:76957
svn:branch:trunk
svn:account:d_rossberg
2020-08-26 11:54:36 +00:00
Daniel Rossberg
90b92ad637
functions to read the binary database data (as it is contained in a .g file) from RAM into an in-memory database instance
...
the main function to use is rt_dirbuild_inmem()
very early alpha status, but can be tested
svn:revision:76955
svn:branch:trunk
svn:account:d_rossberg
2020-08-26 10:54:40 +00:00
Clifford Yapp
9a02610bb6
Fix copyright regex
...
svn:revision:76954
svn:branch:trunk
svn:account:starseeker
2020-08-26 03:06:49 +00:00
Clifford Yapp
110d1a0273
Latest qtads defines a concept of a central widget, which matches what we need for the central display of an Archer style interface.
...
svn:revision:76953
svn:branch:trunk
svn:account:starseeker
2020-08-26 01:27:15 +00:00
Clifford Yapp
e3cde2a014
Update qtads with latest upstream changes.
...
svn:revision:76952
svn:branch:trunk
svn:account:starseeker
2020-08-26 01:18:07 +00:00
Christopher Sean Morrison
746184357d
initialize the window's background color in case it's defaulting to nothing (i.e., transparent). seems to matter on direct visuals with an alpha with latest X11.
...
svn:revision:76951
svn:branch:trunk
svn:account:brlcad
2020-08-25 22:37:45 +00:00
Clifford Yapp
8eb62b788b
Definitely user visible - fix transparent window selection problem with some Linux desktop environments for DM and FB windows.
...
svn:revision:76950
svn:branch:trunk
svn:account:starseeker
2020-08-25 20:59:13 +00:00
Clifford Yapp
aae1615fad
Fix transparent display and framebuffer windows.
...
Some configurations of Linux desktops (including default Gnome setups
on Ubuntu and Redhat) have started using transparency by default. This
has resulted in an odd semi-transparent window for default ogl display
manger and framebuffer windows.
Fix this by adding a filter the X11 visual choosing functions that
rejects any window reporting an alpha mask. With this filter the
selection returns opaque windows and restores the expected rendering
appearance.
svn:revision:76949
svn:branch:trunk
svn:account:starseeker
2020-08-25 20:58:11 +00:00
Clifford Yapp
c4f719e6c3
Fix regress-licenses
...
svn:revision:76948
svn:branch:trunk
svn:account:starseeker
2020-08-25 18:44:56 +00:00
Clifford Yapp
edd8d9dad1
Remove the dmtype menu items, help entry
...
svn:revision:76947
svn:branch:trunk
svn:account:starseeker
2020-08-25 18:39:22 +00:00
Clifford Yapp
e204b783d4
Checkpoint some work on the repocheck tool.
...
brlcad.org's BSD is suddenly producing segfaults with the repocheck
tool, which aren't reproduced on Linux. Debugging, it looks as if
the bu_mapped_file strings aren't being accepted by the C++ string
and strstr routines. The most likely cause is non-NULL termination
of the bu_mapped_file buffer character arrays (which aren't guaranteed).
Using the std::string constructor we can supply buflen from the mapped
file to explicitly manage the content length, but strstr doesn't have
such an option. The speedup from the strstr preliminary check is
considerable, but what strnstr implementations do exist are fairly
platform specific. Instead, took a stab at creating a fast, portable
"bu_strnstr" by altering OpenBSD's strstr implementation to accept a
length limit. For now, just adding in with the repocheck since this
is experimental, but it may be that this is a concern more generally
with strstr operations on bu_mapped_files, and if so it may belong
in libbu proper...
svn:revision:76946
svn:branch:trunk
svn:account:starseeker
2020-08-25 17:37:57 +00:00
Clifford Yapp
12e152a35d
When constructing the string, use the explicit buflen from the mapped file.
...
svn:revision:76945
svn:branch:trunk
svn:account:starseeker
2020-08-25 16:10:26 +00:00
Clifford Yapp
078960161d
Runtime display manager type switching with dmtype never worked all that well, and currently doesn't work at all. Move the type reporting function (dmtype with no args reported the currently running dm type) to a subcommand of the dm command where it should have been in the first place (dmtype -> dm type). Remove the runtime dm type setting - to change MGED display manager types, alter the mged_default(dm_type) property in .mgedrc
...
svn:revision:76944
svn:branch:trunk
svn:account:starseeker
2020-08-25 15:41:33 +00:00
Clifford Yapp
45ceb70bdb
Merge from trunk r76940 through r76942
...
svn:revision:76943
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-25 14:29:18 +00:00
Clifford Yapp
daa4c3023e
Tag the dm as dirty when update_views is set as well.
...
svn:revision:76942
svn:branch:trunk
svn:account:starseeker
2020-08-25 14:27:38 +00:00
Clifford Yapp
1a8d545908
Quote pathname
...
svn:revision:76941
svn:branch:trunk
svn:account:starseeker
2020-08-25 13:43:02 +00:00
Clifford Yapp
0795bcb01e
Merge from trunk - r76836 through r76939
...
svn:revision:76940
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-25 13:03:57 +00:00
Clifford Yapp
4360644591
List files for distclean
...
svn:revision:76939
svn:branch:trunk
svn:account:starseeker
2020-08-25 12:51:00 +00:00
Clifford Yapp
fbe895409c
uncomment
...
svn:revision:76938
svn:branch:trunk
svn:account:starseeker
2020-08-25 12:27:04 +00:00
Clifford Yapp
29a46d43ca
couple more dm sets for the dirty flag
...
svn:revision:76937
svn:branch:trunk
svn:account:starseeker
2020-08-25 11:57:36 +00:00
Clifford Yapp
12559fb96d
Needs more testing, but adjusting the setting of the dirty flags gives saner behavior with the classic X libdm backend. Still can't embed the X dm backend in Tk with 8.6 - that seems to be a different category of failure - but this allows the X dm to function in classic mode. Checkpointing a state that shows progress.
...
svn:revision:76936
svn:branch:trunk
svn:account:starseeker
2020-08-25 03:03:02 +00:00
Clifford Yapp
f07e65e762
Switch MGED's display set from using bu_list to using a bu_ptbl.
...
svn:revision:76935
svn:branch:trunk
svn:account:starseeker
2020-08-25 02:29:42 +00:00
Christopher Sean Morrison
b67b98ab74
It's always been a bit strange to me that one can't just put a matrix over any object (comb or primitive). Probably a carryover from comgeom days, but one we really should rectify in v6.
...
svn:revision:76934
svn:branch:trunk
svn:account:brlcad
2020-08-25 01:51:25 +00:00
Clifford Yapp
8e0843d861
dmlp->m_dmp
...
svn:revision:76933
svn:branch:trunk
svn:account:starseeker
2020-08-24 22:22:51 +00:00
Clifford Yapp
87c6279375
dml_->dm_
...
svn:revision:76932
svn:branch:trunk
svn:account:starseeker
2020-08-24 22:21:14 +00:00
Clifford Yapp
e662206c41
curr_dm_list -> mged_curr_dm
...
svn:revision:76931
svn:branch:trunk
svn:account:starseeker
2020-08-24 22:15:43 +00:00
Clifford Yapp
6d3e3c4ecd
Rename dm_list container to better reflect what it is - an mged superset of struct dm
...
svn:revision:76930
svn:branch:trunk
svn:account:starseeker
2020-08-24 22:11:09 +00:00
Clifford Yapp
2c2e991462
rename
...
svn:revision:76929
svn:branch:trunk
svn:account:starseeker
2020-08-24 22:04:25 +00:00
Clifford Yapp
4a1b21736e
Make it a little easier to grep for the MGED dirty flag. The attached X dm seems to be hot spinning (refreshing continually when nothing has changed, maxing one CPU core), need to figure out why...
...
svn:revision:76928
svn:branch:trunk
svn:account:starseeker
2020-08-24 22:00:51 +00:00
Clifford Yapp
07b597765e
Note these functions will always fall back to 'nu'
...
svn:revision:76927
svn:branch:trunk
svn:account:starseeker
2020-08-24 21:05:56 +00:00
Clifford Yapp
18ae5dc8fc
Check mvars and vparse returns once, up front, before use
...
svn:revision:76926
svn:branch:trunk
svn:account:starseeker
2020-08-24 20:53:20 +00:00
Clifford Yapp
7496eb3ddc
System Tcl/Tk doesn't like calling Tk_DeleteGenericHandler in classic mode with a non-Tk dm like txt. Only do Tk event handler logic if the dm we open reports it is graphical.
...
svn:revision:76925
svn:branch:trunk
svn:account:starseeker
2020-08-24 18:30:50 +00:00
Clifford Yapp
cdad7bab53
Protect a couple more pointer returning dm functions with magic checks.
...
svn:revision:76924
svn:branch:trunk
svn:account:starseeker
2020-08-24 18:22:08 +00:00
Clifford Yapp
604c8551e0
Don't actually use dm_get_vp - remove
...
svn:revision:76923
svn:branch:trunk
svn:account:starseeker
2020-08-24 15:45:57 +00:00
Clifford Yapp
51a9154641
Adjust several dm functions to never return NULL.
...
svn:revision:76922
svn:branch:trunk
svn:account:starseeker
2020-08-24 15:40:35 +00:00
Clifford Yapp
bada1ae84c
Add a BU_CKMAG check to ensure vls returning function calls can never return NULL.
...
svn:revision:76921
svn:branch:trunk
svn:account:starseeker
2020-08-24 15:30:50 +00:00
Clifford Yapp
e63767f0d9
libdm initialization should vls init this, not the app
...
svn:revision:76920
svn:branch:trunk
svn:account:starseeker
2020-08-24 15:30:02 +00:00
Clifford Yapp
f16fc63541
Few more get_pathname adjustments
...
svn:revision:76919
svn:branch:trunk
svn:account:starseeker
2020-08-24 15:07:40 +00:00
Clifford Yapp
542c86cc1c
Fix dm pointer validation target, check result.
...
svn:revision:76918
svn:branch:trunk
svn:account:starseeker
2020-08-24 13:49:57 +00:00
Christopher Sean Morrison
8cac9a0df6
checking null is unnecessary/redundant with BU_STR_EQUIV() as it handles them (they're equivalent to an empty string) so there's no risk of crashing.
...
svn:revision:76917
svn:branch:trunk
svn:account:brlcad
2020-08-24 13:40:30 +00:00
Clifford Yapp
d002304da1
Variety of dm NULL checks, local vars to improve readability.
...
svn:revision:76916
svn:branch:trunk
svn:account:starseeker
2020-08-24 13:39:45 +00:00
Clifford Yapp
ef8c3643c9
Check dm_get_pathname result in to_is_viewable
...
svn:revision:76915
svn:branch:trunk
svn:account:starseeker
2020-08-24 13:17:57 +00:00
Clifford Yapp
31f11b8e75
More adjustments to dm_get_pathname calls
...
svn:revision:76914
svn:branch:trunk
svn:account:starseeker
2020-08-24 13:17:35 +00:00
Clifford Yapp
2af03db628
Set local struct bu_vls * var to dm_get_pathname output - improve readability, check for NULL and zero length.
...
svn:revision:76913
svn:branch:trunk
svn:account:starseeker
2020-08-24 13:11:04 +00:00
Clifford Yapp
6d2a840d21
Start going through Sean's list of dm functions - check their behavior in the calling code if NULL is returned. Ways to go yet...
...
svn:revision:76912
svn:branch:trunk
svn:account:starseeker
2020-08-24 12:49:07 +00:00
Christopher Sean Morrison
9d2587487d
per todo, improve rtweight docs explaining that it reports the geometric centroid of objects
...
svn:revision:76911
svn:branch:trunk
svn:account:brlcad
2020-08-24 05:46:41 +00:00
Christopher Sean Morrison
b063fd1bf1
put a header line on the rtweight density table output.
...
svn:revision:76910
svn:branch:trunk
svn:account:brlcad
2020-08-24 04:59:59 +00:00
Christopher Sean Morrison
0a4c552be1
explain what set_factor was doing, had wrong comment, and renamed for future clarity.
...
svn:revision:76909
svn:branch:trunk
svn:account:brlcad
2020-08-24 03:42:52 +00:00
Clifford Yapp
d59a5c7f42
Report the TCP port, which is what the user is most likely to actually need when setting up a remrt run.
...
svn:revision:76908
svn:branch:trunk
svn:account:starseeker
2020-08-23 17:48:46 +00:00
Christopher Sean Morrison
c4dcdc34ec
consolidate the embedded bu_vls strings to encourage initializing/releasing together.
...
svn:revision:76907
svn:branch:trunk
svn:account:brlcad
2020-08-23 16:44:34 +00:00
Christopher Sean Morrison
9c819878a1
protect against null dereferencing
...
svn:revision:76906
svn:branch:trunk
svn:account:brlcad
2020-08-23 16:18:37 +00:00
Christopher Sean Morrison
2c85224cc6
should manually initialize all embedded structs on creation, particularly vls so the magic is set correctly
...
svn:revision:76905
svn:branch:trunk
svn:account:brlcad
2020-08-23 16:15:00 +00:00
Christopher Sean Morrison
21a1ca6e4a
eliminate the preprocessor indirection, check for null dereferencing
...
svn:revision:76904
svn:branch:trunk
svn:account:brlcad
2020-08-23 16:13:18 +00:00
Christopher Sean Morrison
f9a9878153
make sure we're not dereferencing null
...
svn:revision:76903
svn:branch:trunk
svn:account:brlcad
2020-08-23 16:12:28 +00:00
Christopher Sean Morrison
0b9bc9cc4b
ws consistency cleanup
...
svn:revision:76902
svn:branch:trunk
svn:account:brlcad
2020-08-23 16:10:28 +00:00
Christopher Sean Morrison
d05078ac98
simplify and make sure we're not printing a null pointer. seems unlikely logic is correctly / gracefully handling there being no dm.
...
svn:revision:76901
svn:branch:trunk
svn:account:brlcad
2020-08-23 16:09:08 +00:00
Christopher Sean Morrison
f60b5ca15e
trigger an anything greater than our capacity for safety, not just the full value.
...
svn:revision:76900
svn:branch:trunk
svn:account:brlcad
2020-08-23 13:35:34 +00:00
Christopher Sean Morrison
152b8908b8
init more, remove some continuations.
...
svn:revision:76899
svn:branch:trunk
svn:account:brlcad
2020-08-23 05:50:34 +00:00
Christopher Sean Morrison
9ad179d73e
fbclear -c appears to hang indefinitely. don't know when it broke.
...
svn:revision:76898
svn:branch:trunk
svn:account:brlcad
2020-08-23 03:49:50 +00:00
Clifford Yapp
741c846f62
Attempt to add a start-to-finish example of a Hellow World remrt usage.
...
svn:revision:76897
svn:branch:trunk
svn:account:starseeker
2020-08-23 02:12:47 +00:00
Clifford Yapp
0647e25528
Note support for help options added to g2asc and asc2dsp
...
svn:revision:76896
svn:branch:trunk
svn:account:starseeker
2020-08-23 00:42:39 +00:00
Clifford Yapp
9afac44b7e
Check implementation, not wrapping pointer
...
svn:revision:76895
svn:branch:trunk
svn:account:starseeker
2020-08-22 23:49:24 +00:00
Clifford Yapp
37b53fd095
Don't special case in fb_open, just add the built-in fb interfaces to the map.
...
svn:revision:76894
svn:branch:trunk
svn:account:starseeker
2020-08-22 22:23:10 +00:00
Clifford Yapp
ca127c0c36
Handle help options in debug2c so it won't write spurious -? file in usage.sh execution.
...
svn:revision:76893
svn:branch:trunk
svn:account:starseeker
2020-08-22 16:17:52 +00:00
Clifford Yapp
b8f72eabe2
IIF we're doing one process at a time, check for -? files
...
svn:revision:76892
svn:branch:trunk
svn:account:starseeker
2020-08-22 16:14:01 +00:00
Clifford Yapp
292201841a
Spotted a couple of programs in usage.sh output that are treating '-h' and '-?' as filenames and creating a '-?' ouput file. Add basic option handling so they interpret -h and -? as help requests.
...
svn:revision:76891
svn:branch:trunk
svn:account:starseeker
2020-08-22 16:03:27 +00:00
Clifford Yapp
a4fa580abe
The bare '-' character may be used to denote arguments for programs (for example, to use stdin or stdout in lieu of a file) - update bu_opt to recognize that the isolated '-' char isn't an option. (Note - need to think about whether the "--" string is in the same category... probably...
...
svn:revision:76890
svn:branch:trunk
svn:account:starseeker
2020-08-22 15:53:17 +00:00
Clifford Yapp
de64063c78
The 'old' test doesn't run - input file reports invalid characters - but the new one does run. Rather than completely turn off the test, run the conversion that does work.
...
svn:revision:76889
svn:branch:trunk
svn:account:starseeker
2020-08-22 15:31:32 +00:00
Clifford Yapp
f851a2e513
This is the source of the bu_malloc(0) report and dauto crash log in the usage.sh run. Need to validate the numerical conversion before trying to malloc memory. Still not sure why I was seeing intermittent failure to print the usage message, but so far can't reproduce that failure after fixing this.
...
svn:revision:76888
svn:branch:trunk
svn:account:starseeker
2020-08-22 14:40:56 +00:00
Christopher Sean Morrison
5e9a7e9b94
still could be broken/wrong. need to simplly use the variable.
...
svn:revision:76887
svn:branch:trunk
svn:account:brlcad
2020-08-22 06:22:13 +00:00
Christopher Sean Morrison
963cfd8f57
set mged commands to a variable so they can be automatically found
...
svn:revision:76886
svn:branch:trunk
svn:account:brlcad
2020-08-22 06:15:08 +00:00
Christopher Sean Morrison
55efd5a249
revert c76872. bu_exit() is not the problem. bug masking is a straight up antipattern.
...
svn:revision:76885
svn:branch:trunk
svn:account:brlcad
2020-08-22 06:06:04 +00:00
Christopher Sean Morrison
5d60723c77
unable to reproduce, bu_exit() is working as intended on mac.
...
svn:revision:76884
svn:branch:trunk
svn:account:brlcad
2020-08-22 05:54:30 +00:00
Christopher Sean Morrison
79959ba674
it's correct to include setjmp.h because the implementation directly calls longjmp(), even if headers include it for other reasons
...
svn:revision:76883
svn:branch:trunk
svn:account:brlcad
2020-08-22 05:19:27 +00:00
Christopher Sean Morrison
03c52aad94
document removal of facetall.sh
...
svn:revision:76882
svn:branch:trunk
svn:account:brlcad
2020-08-22 04:43:24 +00:00
Christopher Sean Morrison
0f183eff8c
reword for clarity (Remove the old facetall.sh script - MGED facetize command should now be a superset of this functionality.)
...
svn:revision:76881
svn:branch:trunk
svn:account:brlcad
2020-08-22 04:25:53 +00:00
Clifford Yapp
e088dbd093
Cleanup, provide Tclcad_Init for .so file loading
...
svn:revision:76880
svn:branch:trunk
svn:account:starseeker
2020-08-21 23:50:16 +00:00
Clifford Yapp
ba248a9429
tclcad_init is the call to use. Also not directly initing Itcl from rtwizard.
...
svn:revision:76879
svn:branch:trunk
svn:account:starseeker
2020-08-21 22:35:50 +00:00
Clifford Yapp
43076c7739
We need to do better than exact string lookup - replicate the old _if_list[i]->if_name bu_strncmp check in the plugin test. Fixes rtwizard preview and render.
...
svn:revision:76878
svn:branch:trunk
svn:account:starseeker
2020-08-21 22:33:42 +00:00
Clifford Yapp
6d4b1ac186
No longer need to do this.
...
svn:revision:76877
svn:branch:trunk
svn:account:starseeker
2020-08-21 22:18:50 +00:00
Clifford Yapp
43a267ad1e
Sumagna Das reported that drawing a VOL primitive with missing data file was crashing MGED. Plotting routine wasn't validating the map in vip before trying to access it. Check first, and simply return if no map is present (nothing to draw.)
...
svn:revision:76876
svn:branch:trunk
svn:account:starseeker
2020-08-21 20:45:06 +00:00
Clifford Yapp
3c7627c7c6
Checkpoint work on logic to read through the regression tests and spot the execution of programs. Patterns undoubtedly need improvement, but getting semi-sane results commiting with the regression test itself commented out.
...
svn:revision:76875
svn:branch:trunk
svn:account:starseeker
2020-08-21 20:27:20 +00:00
Clifford Yapp
bd32c3e5d3
Have the build system report out the BRLCAD_ADDEXEC programs that aren't test programs or otherwise excluded from installation. These are the programs of primary interest for testing.
...
svn:revision:76874
svn:branch:trunk
svn:account:starseeker
2020-08-21 16:50:18 +00:00
Clifford Yapp
61d2590144
Remove the old facetall.sh script - MGED facetize command should now be a superset of this functionality.
...
svn:revision:76873
svn:branch:trunk
svn:account:starseeker
2020-08-21 16:02:01 +00:00
Clifford Yapp
b3c5e08c22
Still can't determine why bu_exit is an issue in these cases (only commonality seems to be bu_exit called right after isatty - not sure why that would matter...) but bu_exit isn't really necessary to print the help msgs. Just bu_log and return. usage.sh can complete its run without throwing bombs now on linux, although one or more programs are producing a '-?' file rather than intepreting ? as a help option.
...
svn:revision:76872
svn:branch:trunk
svn:account:starseeker
2020-08-21 15:43:20 +00:00
Clifford Yapp
fdab9d195d
Add some sanity checking for the sphmap routines called by pix-spm.
...
svn:revision:76871
svn:branch:trunk
svn:account:starseeker
2020-08-21 15:37:41 +00:00
Clifford Yapp
c57fbf0c0a
No, that doesn't do it either. Failure doesn't seem to be 100% reliable - usage.sh can trigger it, but testing in isoluation only produces occasional failures. Almost as if some global state is involved...
...
svn:revision:76870
svn:branch:trunk
svn:account:starseeker
2020-08-21 15:20:40 +00:00
Clifford Yapp
25c2baf0ef
Ah! There we go. Adding setjmp.h to bomb.c's system headers works. Should already have been coming in from bu/parallel.h though...
...
svn:revision:76869
svn:branch:trunk
svn:account:starseeker
2020-08-21 15:09:51 +00:00
Clifford Yapp
0a12b853ad
Including bu/parallel.h gets bu_exit behaving again, but not clear why.
...
svn:revision:76868
svn:branch:trunk
svn:account:starseeker
2020-08-21 15:05:15 +00:00
Clifford Yapp
9c4ad27e03
bu_exit doesn't seem to succeed here - BU_SETJMP is set somehow, and bu_bomb is called by bu_exit. Just log the message and return, until it's clearer what's going on.
...
svn:revision:76867
svn:branch:trunk
svn:account:starseeker
2020-08-21 14:55:20 +00:00
Clifford Yapp
cc22b18faf
rtwizard check caught it - /dev/mem and /dev/stack interfaces are built in, not loaded as plugins - check accordingly.
...
svn:revision:76866
svn:branch:trunk
svn:account:starseeker
2020-08-21 14:27:34 +00:00
Clifford Yapp
32a0877a20
scrub unnecessary logging lines from solids.sh
...
svn:revision:76865
svn:branch:trunk
svn:account:starseeker
2020-08-21 14:09:38 +00:00
Clifford Yapp
251ffaccaa
Fix logfile name being grepped by comgeom regression test for errors.
...
svn:revision:76864
svn:branch:trunk
svn:account:starseeker
2020-08-21 14:02:16 +00:00
Clifford Yapp
71d4f90093
Merge from trunk: r76859 through r76861
...
svn:revision:76862
svn:branch:RELEASE
svn:account:starseeker
2020-08-21 12:34:08 +00:00
Clifford Yapp
93123a42e5
Make a couple of build system adjustments (set target folders, mark as advanced). Major change is to do for libdm what we did for libged and make a single target for apps to use as a dependency lister, rather than calling out individual backends - that's not robust to changes in backend target names and would be fragile in the long run.
...
svn:revision:76861
svn:branch:trunk
svn:account:starseeker
2020-08-21 12:30:38 +00:00
Clifford Yapp
258cec8f1e
Merge from trunk: r76794 through r76858
...
svn:revision:76859
svn:branch:RELEASE
svn:account:starseeker
2020-08-20 22:47:56 +00:00
Clifford Yapp
469f4af1d3
fix help msg
...
svn:revision:76858
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-20 02:11:22 +00:00
Clifford Yapp
6200df24a7
fix help printing
...
svn:revision:76857
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-20 02:10:26 +00:00
Clifford Yapp
b1009a4fc3
Put the subtraction capability back in as well.
...
svn:revision:76856
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-20 02:07:59 +00:00
Clifford Yapp
65b3d02971
Cleanup. This successfully trims away points from a pnts object specifying two spheres in succession - analyze intersect -o interior.pnts pnts.s sph1.s sph2.s
...
svn:revision:76855
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-20 02:02:36 +00:00
Clifford Yapp
67fd942fc3
checkpoint
...
svn:revision:76854
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-20 00:05:33 +00:00
Clifford Yapp
d315970ce3
checkpoint
...
svn:revision:76853
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-19 23:30:53 +00:00
Clifford Yapp
4e80e69b23
Checkpoint
...
svn:revision:76852
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-19 22:55:01 +00:00
Clifford Yapp
36d3266509
Break out primitive specific logic into files, and wire up the summary function of the analyze command as a subcommand.
...
svn:revision:76851
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-19 17:50:31 +00:00
Clifford Yapp
a40e0c77c5
Stub in bare bones of a subcommand based analyze command.
...
svn:revision:76850
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-19 15:26:00 +00:00
Clifford Yapp
c8ada24f43
Stash a note - not sure where the number 20 came from here...
...
svn:revision:76849
svn:branch:trunk
svn:account:starseeker
2020-08-19 14:54:56 +00:00
Clifford Yapp
1eb79e5f4e
Sean reports negative experience with Tcl_Sleep - not clear how much benefit it provides here, so remove it until there's a clear need.
...
svn:revision:76848
svn:branch:trunk
svn:account:starseeker
2020-08-19 14:18:47 +00:00
Clifford Yapp
6cdfc5aa51
Valgrind pegged which fd was getting leaked. If we close this, also shouldn't process Tcl events in cmdline mode after the commands finish.
...
svn:revision:76847
svn:branch:trunk
svn:account:starseeker
2020-08-19 13:39:24 +00:00
Christopher Sean Morrison
29cb67d216
more thread-sane, print as one block
...
svn:revision:76846
svn:branch:trunk
svn:account:brlcad
2020-08-19 08:21:31 +00:00
Christopher Sean Morrison
db2f98657f
track and report on the first few IDs that don't have a density defined, still silently ignoring the rest. update the message as being a warning instead of advisotry. don't report on objects without an ID.
...
svn:revision:76845
svn:branch:trunk
svn:account:brlcad
2020-08-19 08:18:17 +00:00
Clifford Yapp
139017eb43
Dust off the root3 subdivision test program.
...
svn:revision:76844
svn:branch:trunk
svn:account:starseeker
2020-08-19 02:06:49 +00:00
Clifford Yapp
a499483f2b
Fix comment
...
svn:revision:76843
svn:branch:trunk
svn:account:starseeker
2020-08-19 01:44:46 +00:00
Clifford Yapp
ad11eb69f1
Rename to match the convention used by related functions in libbn (which need to migrate to libbg)
...
svn:revision:76842
svn:branch:trunk
svn:account:starseeker
2020-08-19 01:36:00 +00:00
Clifford Yapp
1b11a38232
Experience with CDT proved it is better to implement convex hull functions in such a way that the decision of whether to allocate new arrays for vertices is left to the caller. Will need to change function signatures, and provide separatew utility functions that package up that bookkeeping.
...
svn:revision:76841
svn:branch:trunk
svn:account:starseeker
2020-08-19 01:24:19 +00:00
Clifford Yapp
55a4cd0a83
Remove a few more old, unused files
...
svn:revision:76840
svn:branch:trunk
svn:account:starseeker
2020-08-19 01:05:00 +00:00
Clifford Yapp
3442e7c57d
Strip out disable/incomplete code from the CDT implementation. VCS has it if an opportunity to revisit it appears.
...
svn:revision:76839
svn:branch:trunk
svn:account:starseeker
2020-08-19 00:59:34 +00:00
Clifford Yapp
eff511fd56
Arrrgh. Looks like I recorded the wrong triangle - probably followed the ray backwards instead of forwards, from the looks of things. Not a useful test, will have to track down another example.
...
svn:revision:76838
svn:branch:trunk
svn:account:starseeker
2020-08-19 00:37:19 +00:00
Clifford Yapp
50f27261ae
Actually, before we get into this should probably do basic setup on the analyze command itself
...
svn:revision:76837
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-18 23:22:05 +00:00
Clifford Yapp
25441b4e2c
Pull in inside/outside pnts logic from trunk for refactoring
...
svn:revision:76836
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-18 20:57:50 +00:00
Clifford Yapp
5bf90d62ad
Make a branch to experiment with an analyze cmd refactor
...
svn:revision:76835
svn:branch:analyze_cmd
svn:account:starseeker
2020-08-18 20:50:54 +00:00
Clifford Yapp
a924ab45ac
Back out the exposure of the point inside/outside test - needs more design thought.
...
svn:revision:76834
svn:branch:trunk
svn:account:starseeker
2020-08-18 20:07:39 +00:00
Clifford Yapp
bc0ba220e9
Add a test .g file for the cg pnts operation - this has three points on or inside the sphere and three outside it. Not sure yet if we're ready to actually wire up a test.
...
svn:revision:76833
svn:branch:trunk
svn:account:starseeker
2020-08-18 16:26:30 +00:00
Christopher Sean Morrison
c16706fc61
back_inserter needs iterator.h
...
svn:revision:76832
svn:branch:trunk
svn:account:brlcad
2020-08-18 16:03:12 +00:00
Clifford Yapp
7e0c826807
Remove the 'inside' subcommand from pnts
...
svn:revision:76831
svn:branch:trunk
svn:account:starseeker
2020-08-18 15:58:37 +00:00
Clifford Yapp
bb6c04b566
Add the point inside/outside test to cg
...
This supports two operations - intersection and subtraction - between
a point cloud on the left and a volumetric object on the right. It
will find the subset of the points in the left hand object that are
either inside and on (i.e. intersecting) or outside the test volume.
Command form is:
cg eval "pnts.s + sph.s" inside.pnts
cg eval "pnts.s - sph.s" outside.pnts
svn:revision:76830
svn:branch:trunk
svn:account:starseeker
2020-08-18 15:57:34 +00:00
Clifford Yapp
b8dc5345e3
Stub in a cg LIBGED command - no functionality yet, just a basic command logic framework.
...
svn:revision:76829
svn:branch:trunk
svn:account:starseeker
2020-08-18 14:43:01 +00:00
Clifford Yapp
d8d285f5eb
C++ file, not C file - fix footer
...
svn:revision:76828
svn:branch:trunk
svn:account:starseeker
2020-08-18 14:13:48 +00:00
Clifford Yapp
6278a2772f
Very simple cap on the number of times this message is printed. bu_logging from the hit callback is generally not a great idea to begin with, since you'll have lots of threads simultaneously hitting bu_log most of the time... even if that's not an issue for the application it's fairly hard to interpret. Better would be to store any information we want to report about this issue per-thread and then summarize it at the dispatcher level...
...
svn:revision:76827
svn:branch:trunk
svn:account:starseeker
2020-08-18 13:16:42 +00:00
Clifford Yapp
e75e89819c
Throttle the event checking a bit to try and avoid an all-out hot spin waiting for output.
...
svn:revision:76826
svn:branch:trunk
svn:account:starseeker
2020-08-18 12:21:16 +00:00
Clifford Yapp
ebb949bcf9
When we're in command execution mode, clear out all the Tcl events (if any) from subprocesses *before* we exit, in order to print their output.
...
svn:revision:76825
svn:branch:trunk
svn:account:starseeker
2020-08-18 11:56:49 +00:00
Clifford Yapp
3490700e07
STDOUT, not STDERR - already have a STDERR handler
...
svn:revision:76824
svn:branch:trunk
svn:account:starseeker
2020-08-18 11:29:43 +00:00
Clifford Yapp
b19fcd25df
Rather than bu_log at the library level, let the calling code decide what to do about validating argv[0] with the information returned by the GED_UNKNOWN flag and argv[0] value itself.
...
svn:revision:76823
svn:branch:trunk
svn:account:starseeker
2020-08-18 11:07:46 +00:00
Clifford Yapp
a44f877faf
Rather than fatally aborting when we find a command mismatch on a named ged function call, warn and override with the "root" function name. This should work in every case the command would originally have worked - the only failure would be if there is a command that the plugin is supposed to be providing that didn't get set up, which would be a legitimate bug on libged's end.
...
svn:revision:76822
svn:branch:trunk
svn:account:starseeker
2020-08-18 10:57:01 +00:00
Clifford Yapp
55342f9691
Listen for both stdout and stderr output from the rt tools - this gets the summary in MGED GUI mode, but we still don't get anything at all in classic mode. Not sure why yet. tclcad_create_io_handler is being called, but Tcl_CreateFileHandler is never triggered so _ged_rt_output_handler isn't called. Apparently this was also true in 72189, as the output is printed without the callback ever being triggered there as well...
...
svn:revision:76821
svn:branch:trunk
svn:account:starseeker
2020-08-18 02:28:28 +00:00
Clifford Yapp
816ff87bf9
Didn't mean to delete that comment
...
svn:revision:76820
svn:branch:trunk
svn:account:starseeker
2020-08-17 17:47:52 +00:00
Clifford Yapp
e66af599f9
Not ready for Ninja yet, go with just a make all/check rather than distcheck
...
svn:revision:76819
svn:branch:trunk
svn:account:starseeker
2020-08-17 17:34:42 +00:00
Clifford Yapp
afc093be42
Expose point inside/outside testing using the raytracer via the pnts command. Not documented yet, needs more testing.
...
svn:revision:76818
svn:branch:trunk
svn:account:starseeker
2020-08-17 15:19:51 +00:00
Clifford Yapp
fea21b51b9
Extract the inside/outside pnt test with the raytracer created for the polygonizer.
...
svn:revision:76817
svn:branch:trunk
svn:account:starseeker
2020-08-17 13:08:40 +00:00
Clifford Yapp
06cf75b9c4
revert r76808 - github runner didn't like that approach either...
...
svn:revision:76816
svn:branch:trunk
svn:account:starseeker
2020-08-17 12:50:54 +00:00
Clifford Yapp
518e5e2ec6
Nope, that approach won't work - code is too interdependent. Put gdal back the way it was.
...
svn:revision:76815
svn:branch:trunk
svn:account:starseeker
2020-08-17 03:43:51 +00:00
Clifford Yapp
770945c87d
Whoops, caught a tmp file
...
svn:revision:76814
svn:branch:trunk
svn:account:starseeker
2020-08-17 02:57:36 +00:00
Clifford Yapp
c188f4134b
See if collapsing ogr into its own lib helps... may be too big by itself
...
svn:revision:76813
svn:branch:trunk
svn:account:starseeker
2020-08-17 02:56:07 +00:00
Clifford Yapp
66f6becdc7
See if collapsing ogr into its own lib helps... may be too big by itself (preliminary file move commit)
2020-08-17 02:56:07 +00:00
Clifford Yapp
d3f7c4c2a9
Still produces a long object list - try a library
...
svn:revision:76812
svn:branch:trunk
svn:account:starseeker
2020-08-17 02:10:56 +00:00
Clifford Yapp
c4d97b1395
I may be mistaken, but it looks like the Windows Ninja CMake setup can't handle super-long object lists - if I disable all of the formats the buidl will complete. Try collapsing the frmts subdirs into a single object build and see if that helps.
...
svn:revision:76811
svn:branch:trunk
svn:account:starseeker
2020-08-17 01:55:50 +00:00
Clifford Yapp
f6800ff12d
I may be mistaken, but it looks like the Windows Ninja CMake setup can't handle super-long object lists - if I disable all of the formats the buidl will complete. Try collapsing the frmts subdirs into a single object build and see if that helps. (preliminary file move commit)
2020-08-17 01:55:50 +00:00
Clifford Yapp
e4c0b34562
Whoops, point was to remove these. Probably didn't do the previous refactor right - should have removed the -D prefixes - but if this works we can go with it for now.
...
svn:revision:76810
svn:branch:trunk
svn:account:starseeker
2020-08-16 19:09:56 +00:00
Clifford Yapp
47ca428ca4
Note that vcvars64.bat is important for getting 64 bit building
...
svn:revision:76809
svn:branch:trunk
svn:account:starseeker
2020-08-16 19:06:45 +00:00
Christopher Sean Morrison
704e97c844
try the same trick, casting NULL through to a uintptr_t. if the platform has a non-zero null representation, it should trigger.
...
svn:revision:76808
svn:branch:trunk
svn:account:brlcad
2020-08-16 18:53:14 +00:00
Clifford Yapp
f5f000e915
See if making the targeted assignments more focused helps
...
svn:revision:76807
svn:branch:trunk
svn:account:starseeker
2020-08-16 18:38:22 +00:00
Clifford Yapp
bd95c316ca
More reordering
...
svn:revision:76806
svn:branch:trunk
svn:account:starseeker
2020-08-16 18:16:49 +00:00
Clifford Yapp
40c321008a
Ditto tk - try to match previous ordering
...
svn:revision:76805
svn:branch:trunk
svn:account:starseeker
2020-08-16 18:08:52 +00:00
Clifford Yapp
c0d371dd0b
Do the custom assignments after the generic assignments
...
svn:revision:76804
svn:branch:trunk
svn:account:starseeker
2020-08-16 18:07:20 +00:00
Clifford Yapp
519133b93c
Don't apply flags to tclsh.rc
...
svn:revision:76803
svn:branch:trunk
svn:account:starseeker
2020-08-16 17:51:23 +00:00
Clifford Yapp
27d79f6ccf
Flags aren't global any longer, apply them to more source files
...
svn:revision:76802
svn:branch:trunk
svn:account:starseeker
2020-08-16 17:47:48 +00:00
Clifford Yapp
c9aa039f1d
Main build isn't ready yet, but see if we can use Ninja for building on all platforms.
...
svn:revision:76801
svn:branch:trunk
svn:account:starseeker
2020-08-16 17:23:40 +00:00
Clifford Yapp
4e423bfaed
Remove debug messages
...
svn:revision:76800
svn:branch:trunk
svn:account:starseeker
2020-08-16 17:21:53 +00:00
Clifford Yapp
a7565014cd
Give rc.exe an include directory for wish.exe.manifest
...
svn:revision:76799
svn:branch:trunk
svn:account:starseeker
2020-08-16 17:19:42 +00:00
Clifford Yapp
ae83c90aef
See if the same approach will work for Tk
...
svn:revision:76798
svn:branch:trunk
svn:account:starseeker
2020-08-16 16:55:29 +00:00
Clifford Yapp
ce41ea46de
Fix function applying definitions
...
svn:revision:76797
svn:branch:trunk
svn:account:starseeker
2020-08-16 16:49:14 +00:00
Clifford Yapp
7b4417aed6
See if we can set this up to avoid the flags causing rc.exe problems from being set on that file.
...
svn:revision:76796
svn:branch:trunk
svn:account:starseeker
2020-08-16 16:36:51 +00:00
Clifford Yapp
2348c57a5f
Merge from trunk: r76790 through r76794
...
svn:revision:76795
svn:branch:RELEASE
svn:account:starseeker
2020-08-16 13:56:30 +00:00
Clifford Yapp
941b47ad71
Call out asc2pix
...
svn:revision:76794
svn:branch:trunk
svn:account:starseeker
2020-08-15 16:38:22 +00:00
Clifford Yapp
e27a639e5a
Append one extra number to ensure dm plugins will be rejected by ged and vice versa, if they end up in the wrong place.
...
svn:revision:76793
svn:branch:trunk
svn:account:starseeker
2020-08-15 15:38:22 +00:00
Clifford Yapp
119b567d47
Looks like the github runner Ubuntu+GCC doesn't like the non-NULL pointer check here.
...
svn:revision:76792
svn:branch:trunk
svn:account:starseeker
2020-08-15 15:17:50 +00:00
Clifford Yapp
600fca47a3
Merge from trunk: r76788 through r76790
...
svn:revision:76791
svn:branch:RELEASE
svn:account:starseeker
2020-08-15 14:47:29 +00:00
Clifford Yapp
bf2cf9c154
Match LIBDM changes in LIBGED plugin api as well.
...
svn:revision:76790
svn:branch:trunk
svn:account:starseeker
2020-08-15 14:35:14 +00:00
Clifford Yapp
5dfca4c744
Merge from trunk: r76770 through r76788
...
svn:revision:76789
svn:branch:RELEASE
svn:account:starseeker
2020-08-15 14:31:44 +00:00
Clifford Yapp
591afdd0ee
The background color setting was getting a ged_gvp set by calling set_curr_dm, even though that's not what we want in that case. Work around the issue, but MGED's state management will need some thought going forward.
...
svn:revision:76788
svn:branch:trunk
svn:account:starseeker
2020-08-15 14:25:49 +00:00
Christopher Sean Morrison
0f74fd92e5
document that it must be first
...
svn:revision:76787
svn:branch:trunk
svn:account:brlcad
2020-08-15 14:14:30 +00:00
Christopher Sean Morrison
c932902603
the alignment check isn't needed, just check the version number
...
svn:revision:76786
svn:branch:trunk
svn:account:brlcad
2020-08-15 14:11:58 +00:00
Christopher Sean Morrison
3dc23a713c
document the checks being used by BU_CKMAG since they're fairly low-level operations. add a direct check for nullity, too. will have to keep an eye on whether the null check provokes an unreachable expression warning on linters (e.g., coverity). shouldn't be redundant on a platform with non-zero valued null pointers.
...
svn:revision:76785
svn:branch:trunk
svn:account:brlcad
2020-08-15 14:06:46 +00:00
Clifford Yapp
c80ddb18f1
As with LIBDM, introduce a plugin API version for LIBGED
...
svn:revision:76784
svn:branch:trunk
svn:account:starseeker
2020-08-15 14:06:45 +00:00
Clifford Yapp
ee60ca4556
dm-ps needs TCL_LIBRARY
...
svn:revision:76783
svn:branch:trunk
svn:account:starseeker
2020-08-15 13:52:59 +00:00
Clifford Yapp
9b5ed3e224
Allow for empty list in CMAKEFILES function
...
svn:revision:76782
svn:branch:trunk
svn:account:starseeker
2020-08-15 13:45:48 +00:00
Clifford Yapp
cc34471562
distcheck is still a bit too problematic with MSVC - do what we do manually, build everything and run the check target.
...
svn:revision:76781
svn:branch:trunk
svn:account:starseeker
2020-08-15 13:42:31 +00:00
Clifford Yapp
f3bbaafde9
Remove debug message
...
svn:revision:76780
svn:branch:trunk
svn:account:starseeker
2020-08-15 13:39:25 +00:00
Clifford Yapp
7a9c0346d4
Handle any .github files temporarily so we can run distcheck more easily
...
svn:revision:76779
svn:branch:trunk
svn:account:starseeker
2020-08-15 13:39:03 +00:00
Clifford Yapp
73c30d9920
List files for distcheck
...
svn:revision:76778
svn:branch:trunk
svn:account:starseeker
2020-08-15 13:21:51 +00:00
Christopher Sean Morrison
402027be2e
ws
...
svn:revision:76777
svn:branch:trunk
svn:account:brlcad
2020-08-15 12:28:39 +00:00
Christopher Sean Morrison
19ed8fadd8
bu_units_string is itself undocumented and appears to be used via the undocumented 'units -t' switch for getting a listing of length units. needs cleanup
...
svn:revision:76776
svn:branch:trunk
svn:account:brlcad
2020-08-15 12:27:33 +00:00
Christopher Sean Morrison
b561fa2e55
document bu_units_conversion() in more detail with examples
...
svn:revision:76775
svn:branch:trunk
svn:account:brlcad
2020-08-15 04:35:38 +00:00
Christopher Sean Morrison
2baf649afc
note these tables should be kept sorted
...
svn:revision:76774
svn:branch:trunk
svn:account:brlcad
2020-08-15 04:35:07 +00:00
Christopher Sean Morrison
ba6adade14
expand bu_units_conversion() to also match conversion value so that callers may specify '4ft' for example, and it will evaluate to the corresponding conversion factor.
...
svn:revision:76773
svn:branch:trunk
svn:account:brlcad
2020-08-15 04:15:00 +00:00
Christopher Sean Morrison
ed447ae08e
input is const, no reason for copying it
...
svn:revision:76772
svn:branch:trunk
svn:account:brlcad
2020-08-15 02:33:03 +00:00
Christopher Sean Morrison
b05b266192
remove the statements of discouragement as it can be misleading to cursory encounters.
...
svn:revision:76771
svn:branch:trunk
svn:account:brlcad
2020-08-15 02:29:08 +00:00
Clifford Yapp
9339a722f5
Pull in the latest RELEASE changes through r76769.
...
svn:revision:76770
svn:branch:trunk
svn:account:starseeker
2020-08-15 01:11:03 +00:00
Clifford Yapp
147206519a
This is getting too painful to keep straight - just go ahead and pull in the more recent trunk changes to RELEASE. Better to sort them out now instead of trying to untangle the trunk and RELEASE changes after an even longer divergence.
...
svn:revision:76769
svn:branch:RELEASE
svn:account:starseeker
2020-08-15 01:05:57 +00:00
Clifford Yapp
fb025fbf9a
Turn postscript libdm plugin back on
...
svn:revision:76768
svn:branch:RELEASE
svn:account:starseeker
2020-08-15 00:35:05 +00:00
Clifford Yapp
9ed177d29d
Add a version number validation to the libdm plugin loading
...
svn:revision:76767
svn:branch:RELEASE
svn:account:starseeker
2020-08-15 00:29:12 +00:00
Clifford Yapp
1883d5d04a
Merge trunk changes from r76747 through r76764
...
svn:revision:76766
svn:branch:RELEASE
svn:account:starseeker
2020-08-15 00:28:25 +00:00
Christopher Sean Morrison
b71508520c
fix typo and clarify why these opts aren't included
...
svn:revision:76765
svn:branch:trunk
svn:account:brlcad
2020-08-15 00:28:10 +00:00
Christopher Sean Morrison
50ed34a3c2
dynamic command loading for libged too
...
svn:revision:76764
svn:branch:trunk
svn:account:brlcad
2020-08-14 23:21:50 +00:00
Christopher Sean Morrison
a3dda2fa82
note that mged and archer now load displays dynamically as a significant architecture change for the upcoming 7.32.0 releaes
...
svn:revision:76763
svn:branch:trunk
svn:account:brlcad
2020-08-14 22:51:04 +00:00
Christopher Sean Morrison
6daa188863
there's no need or benefit of having the densityfile_vls be on the heap or come from the small-memory allocator. just put the struct on the stack.
...
svn:revision:76762
svn:branch:trunk
svn:account:brlcad
2020-08-14 21:39:44 +00:00
Christopher Sean Morrison
a1970511d0
note that this is a fatal error condition, not a warning, and tell the caller why configure is being halted so the causality is obvious.
...
svn:revision:76761
svn:branch:trunk
svn:account:brlcad
2020-08-14 20:00:07 +00:00
Clifford Yapp
584c09763d
Couple build system fixes, add debugging message to dm_init.cpp
...
svn:revision:76760
svn:branch:trunk
svn:account:starseeker
2020-08-14 19:42:12 +00:00
Clifford Yapp
6783f994d7
fix comment
...
svn:revision:76759
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 19:11:33 +00:00
Clifford Yapp
d3b7a34f2f
Auugh. VS clean target exists all right, but it doesn't seem to be happy with the solution file generated by CMake - claims there are two regress targets defined, even though grep only sees one. Possibly some variation on this issue? https://github.com/dotnet/msbuild/issues/3019 Fall back on just the distcheck script.
...
svn:revision:76758
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 19:07:59 +00:00
Clifford Yapp
6efed6a5a1
More distclean fixes - ninja distclean now works after regress
...
svn:revision:76757
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 19:04:09 +00:00
Clifford Yapp
f8ad945a1f
See if we can trigger the distclean target portably using CMake
...
svn:revision:76756
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 18:55:22 +00:00
Clifford Yapp
880db1450c
Improve distclean listing logic
...
svn:revision:76755
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 18:46:44 +00:00
Clifford Yapp
a260a7a2b1
Actually, it looks like there is a clean target, we just may not be defining things correctly to use it...
...
svn:revision:76754
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 18:23:21 +00:00
Clifford Yapp
69f575af2e
Visual Studio generators apparently don't have a clean rule, so we'll need to scrub it down manually to restore an original state. Just use GLOB_RECURSE, since there isn't any cleaning behavior to check in the first place... (untested.)
...
svn:revision:76753
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 14:47:14 +00:00
Clifford Yapp
c0c3080130
That doesn't help - lots of bu_log calls are buried in subsequent function calls. fwrite to stderr is failing when MGED launches rtweight and then quites...
...
svn:revision:76752
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 14:14:31 +00:00
Clifford Yapp
d1f44a445e
bu_log seems to be unhappy here on BSD?
...
svn:revision:76751
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 14:03:48 +00:00
Clifford Yapp
4dea61af44
Cherrypick r76663 - distinguish between static and dynamic MSVC builds in openNURBS.
...
svn:revision:76750
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 13:07:56 +00:00
Clifford Yapp
03369138b4
Cherrypick r76662 from trunk - win32-msvc Dll update
...
svn:revision:76749
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 13:03:49 +00:00
Clifford Yapp
f4c83269b6
Don't have time to dig into these right now, and they're not new failures (these tests have never been run on Windows before) so conditionally disable in order to allow the rest of the testing to proceed.
...
svn:revision:76748
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 12:42:35 +00:00
Clifford Yapp
7c2442c5f0
Merge changes from RELEASE branch - r76726 through r76746
...
svn:revision:76747
svn:branch:trunk
svn:account:starseeker
2020-08-14 12:40:14 +00:00
Clifford Yapp
b3ee6f3368
The same thing that made OpenBSD such a pain for bu_dir works against the GED plugins - we need bu_setprogname for the initialization to work reliably, but at library load we don't have the program name. Handle it by having the two accessor commands - ged_cmd_valid and ged_exec - check to make sure the command map is populated before trying anything, and if it is not re-attempt the initialization. By the time we're calling those functions bu_setprogname should be set and the initialization should now succeed. The regression test that checks for bu_setprogname should ensure this will work across all BRL-CAD commands - any program that does NOT call bu_setprogname and attempts to use a GED command will now fail on OpenBSD. In some sense knowing the BRL-CAD root path has always been integral to BRL-CAD's design, but the conversion of GED commands to plugins elevates not knowing the path from an obscure source of occasional problems to immediate breakage.
...
svn:revision:76746
svn:branch:RELEASE
svn:account:starseeker
2020-08-14 12:11:13 +00:00
Clifford Yapp
e7b1eb8513
Add test of -q option
...
svn:revision:76745
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 19:39:21 +00:00
Clifford Yapp
093ee526fb
Add a couple tolerance tests
...
svn:revision:76744
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 19:36:14 +00:00
Clifford Yapp
c112696807
Add some regression tests for gdiff - there are a lot of combinations, and recent experience suggests it's easy to break one while altering another...
...
svn:revision:76743
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 19:27:49 +00:00
Clifford Yapp
41b0a9c9cd
Make sure we have some of the rt commands for the MGED test
...
svn:revision:76742
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 19:26:34 +00:00
Clifford Yapp
6eb885ebe3
Return -1 if error, cap verbosity at 4
...
svn:revision:76741
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 18:43:24 +00:00
Clifford Yapp
f4c32a0768
This is now useful enough to warrant checkpointing - using Github CI actions to do BRL-CAD builds on multiple platforms.
...
svn:revision:76740
svn:branch:trunk
svn:account:starseeker
2020-08-13 17:31:14 +00:00
Clifford Yapp
031de1279a
See if we can filter out carriage return chars as well...
...
svn:revision:76739
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 17:17:11 +00:00
Clifford Yapp
ff59365603
Separate out reference files
...
svn:revision:76738
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 17:02:24 +00:00
Clifford Yapp
ececfd49f2
Only set mode if we're dealing with stdin/stdout
...
svn:revision:76737
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 16:46:04 +00:00
Clifford Yapp
a27c03d09a
Use the VERBATIM option to try and get sane behavior for a terminating $ character in the regex. Per the CMake add_custom_target documentation, 'VERBATIM is recommended as it enables correct behavior - without it the behavior is platform specfiic because there is no protection of tool specific special characters.
...
svn:revision:76736
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 15:26:43 +00:00
Clifford Yapp
5b70209935
Revert run usage
...
svn:revision:76735
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 15:17:09 +00:00
Clifford Yapp
b7440723cc
I may be wrong, but it looks like the asc2dsp test isn't working (and hasn't worked) since asc2pix finds an illegal hex character in the old input file.
...
svn:revision:76734
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 15:10:14 +00:00
Clifford Yapp
2ca8db0acc
Nope, looks like run isn't general purpose
...
svn:revision:76733
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 14:45:22 +00:00
Clifford Yapp
13f903d086
Merge r76729 through r76730 from trunk
...
svn:revision:76732
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 14:11:02 +00:00
Clifford Yapp
d696236534
See if we can make more use of run
...
svn:revision:76731
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 14:10:48 +00:00
Clifford Yapp
57ddca3001
These are primarily debugging messages at the moment - not much useful we can currently do with them at a user level.
...
svn:revision:76730
svn:branch:trunk
svn:account:starseeker
2020-08-13 14:01:28 +00:00
Clifford Yapp
5cbbce837b
Losing added and removed objects with filters - rework the filtering selection.
...
svn:revision:76729
svn:branch:trunk
svn:account:starseeker
2020-08-13 13:17:30 +00:00
Clifford Yapp
f9f63ba04a
Quote LOGFILE in case of spaces
...
svn:revision:76728
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 12:22:09 +00:00
Clifford Yapp
6ac66a5d75
See if we can make more use of the run function - looks like some failures aren't ending up triggering script failures?
...
svn:revision:76727
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 12:20:08 +00:00
Clifford Yapp
ddaac92b15
Merge changes from RELEASE branch - r76703 through r76725
...
svn:revision:76726
svn:branch:trunk
svn:account:starseeker
2020-08-13 12:03:20 +00:00
Clifford Yapp
2aada86240
Fix distclean list
...
svn:revision:76725
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 11:41:10 +00:00
Clifford Yapp
0a8fabaace
Fixes for regression test quoting - seen in odd pathnames test
...
svn:revision:76724
svn:branch:RELEASE
svn:account:starseeker
2020-08-13 00:12:47 +00:00
Clifford Yapp
94f8074b5f
Print some information on what these scripts are doing...
...
svn:revision:76723
svn:branch:RELEASE
svn:account:starseeker
2020-08-12 20:59:40 +00:00
Clifford Yapp
b4afbede0a
Fix asc2dsp file base names
...
svn:revision:76722
svn:branch:RELEASE
svn:account:starseeker
2020-08-12 20:51:29 +00:00
Clifford Yapp
899fef2d47
init_gui is unused with Tk off
...
svn:revision:76721
svn:branch:RELEASE
svn:account:starseeker
2020-08-12 19:47:56 +00:00
Clifford Yapp
7e5103d0bf
Be more verbose on failure
...
svn:revision:76720
svn:branch:RELEASE
svn:account:starseeker
2020-08-12 17:22:03 +00:00
Clifford Yapp
e70b19ec66
Git's sh.exe on windows is expanding the /dev/debug string into a path, which is breaking the check. Just write the rt output to a file that is immediately removed instead. Longer term we'll have to figure out what to do about sh.exe - it's breaking running rt with -F on the command line as well - but for now this should get the test running.
...
svn:revision:76719
svn:branch:RELEASE
svn:account:starseeker
2020-08-12 16:59:15 +00:00
Clifford Yapp
344b338ee7
Whoops - Archer uses that tkwin check
...
svn:revision:76718
svn:branch:RELEASE
svn:account:starseeker
2020-08-12 14:32:37 +00:00
Clifford Yapp
e035511084
Make the tclcad_init function with gui toggle look more like Tclcad_Init - swapping in the former for the latter broke some GUI elements in MGED (man viewer, overlap tool) in commit r76338.
...
svn:revision:76717
svn:branch:RELEASE
svn:account:starseeker
2020-08-12 14:29:52 +00:00
Clifford Yapp
b7463dc593
Accomidate _mged_ prefixed argv[0] values for GED commands.
...
svn:revision:76716
svn:branch:RELEASE
svn:account:starseeker
2020-08-12 13:35:47 +00:00
Clifford Yapp
5928709ebb
In the github runner environment, we should print everything since we aren't able to long in and look at the log files... was a tossup to print or not previously, but in this environment we should print. Will need to update other tests as well.
...
svn:revision:76715
svn:branch:RELEASE
svn:account:starseeker
2020-08-12 02:44:13 +00:00
Clifford Yapp
881b92e509
Remove source archive directories - they take up a lot of space and aren't needed once the archive files are generated.
...
svn:revision:76714
svn:branch:RELEASE
svn:account:starseeker
2020-08-12 00:02:38 +00:00
Clifford Yapp
baecad56c2
Need to clean out the benchmark copy
...
svn:revision:76713
svn:branch:RELEASE
svn:account:starseeker
2020-08-11 23:11:15 +00:00
Clifford Yapp
6cd5b87e61
Make a stab at getting benchmark set up to use generator expressions to launch the run.
...
svn:revision:76712
svn:branch:RELEASE
svn:account:starseeker
2020-08-11 20:54:49 +00:00
Clifford Yapp
e68e5af50b
Git sh.exe is getting detected by CMake on the git runner, which is populating SH_EXEC in CMake and activating logic previously always dormant on Windows. Expand the ensearch directory set - will also need to figure out something for benchmark...
...
svn:revision:76711
svn:branch:RELEASE
svn:account:starseeker
2020-08-11 20:21:19 +00:00
Clifford Yapp
4cae111bcf
initialize
...
svn:revision:76710
svn:branch:RELEASE
svn:account:starseeker
2020-08-11 19:19:14 +00:00
Clifford Yapp
5cc60909b9
Try to avoid the CMP0007 warning...
...
svn:revision:76709
svn:branch:RELEASE
svn:account:starseeker
2020-08-11 18:40:48 +00:00
Clifford Yapp
2e4a1e26ac
Add a note on where to look for the SDK version. There may be a better way to do this...
...
svn:revision:76708
svn:branch:trunk
svn:account:starseeker
2020-08-11 18:07:32 +00:00
Clifford Yapp
a13cedc7e9
forgot termcap file
...
svn:revision:76707
svn:branch:RELEASE
svn:account:starseeker
2020-08-11 18:02:56 +00:00
Clifford Yapp
fd2837e77a
Catch files that aren't listed for distcheck by any of the build targets specifically on Windows.
...
svn:revision:76706
svn:branch:RELEASE
svn:account:starseeker
2020-08-11 17:36:18 +00:00
Clifford Yapp
fe82825c67
Another CI feature to investigate
...
svn:revision:76705
svn:branch:trunk
svn:account:starseeker
2020-08-11 15:38:51 +00:00
Clifford Yapp
c83ec745d6
Merge changes from RELEASE: r76693 through r76703
...
svn:revision:76704
svn:branch:trunk
svn:account:starseeker
2020-08-11 14:19:35 +00:00
Clifford Yapp
01f0d3b7ef
A relatively simple pattern match suggests that we've got the ged_<cmd> calls inside libged adjusted - they now need to provide valid argv[0] values, which wasn't always the case historically.
...
svn:revision:76703
svn:branch:RELEASE
svn:account:starseeker
2020-08-11 13:38:43 +00:00
Clifford Yapp
5b952cf1f5
Use a valid ged_copy command name
...
svn:revision:76702
svn:branch:RELEASE
svn:account:starseeker
2020-08-11 13:24:56 +00:00
Clifford Yapp
5dbf5275e5
Ah - MGED wasn't using ged_blast to implement 'B'.
...
svn:revision:76701
svn:branch:RELEASE
svn:account:starseeker
2020-08-11 13:21:45 +00:00
Clifford Yapp
a359dac988
Adjust argv[0] before calling ged_killrefs within killall cmd
...
svn:revision:76700
svn:branch:RELEASE
svn:account:starseeker
2020-08-11 12:32:38 +00:00
Clifford Yapp
acae7e2a2b
whoops, got .g sample by mistake
...
svn:revision:76695
svn:branch:trunk
svn:account:starseeker
2020-08-10 17:18:58 +00:00
Clifford Yapp
053763e59f
Cherrypick r76693 (B cmd fix) from RELEASE
...
svn:revision:76694
svn:branch:trunk
svn:account:starseeker
2020-08-10 17:18:06 +00:00
Clifford Yapp
29b85a298d
B is another manifestation of the draw command
...
svn:revision:76693
svn:branch:RELEASE
svn:account:starseeker
2020-08-10 17:16:54 +00:00
Clifford Yapp
7928c8344d
Sync a few more differences
...
svn:revision:76684
svn:branch:trunk
svn:account:starseeker
2020-08-07 14:38:45 +00:00
Clifford Yapp
95be1f3205
ws
...
svn:revision:76683
svn:branch:trunk
svn:account:starseeker
2020-08-07 14:30:50 +00:00
Clifford Yapp
d918287150
more syncing between MGED and fbserv
...
svn:revision:76682
svn:branch:trunk
svn:account:starseeker
2020-08-07 14:23:49 +00:00
Clifford Yapp
f11979b3fe
Rename to match standalone fbserv
...
svn:revision:76681
svn:branch:trunk
svn:account:starseeker
2020-08-07 14:14:04 +00:00
Clifford Yapp
a091c957dc
consolidate
...
svn:revision:76680
svn:branch:trunk
svn:account:starseeker
2020-08-07 13:55:15 +00:00
Clifford Yapp
ce4d493109
Move a few functions and rename to make it a little easier to compare the MGED version of this code with the standalone version.
...
svn:revision:76679
svn:branch:trunk
svn:account:starseeker
2020-08-07 13:45:31 +00:00
Clifford Yapp
43468943e5
Replace/refactor another hardcoding of dm backend names
...
svn:revision:76678
svn:branch:trunk
svn:account:starseeker
2020-08-06 18:38:32 +00:00
Clifford Yapp
454f09b53c
Push the conditionals and the ignore files into the plugin build logic
...
svn:revision:76676
svn:branch:trunk
svn:account:starseeker
2020-08-06 18:01:54 +00:00
Clifford Yapp
9b02cc353f
Shouldn't need the defines at lower levels either...
...
svn:revision:76675
svn:branch:trunk
svn:account:starseeker
2020-08-06 17:40:33 +00:00
Clifford Yapp
3a1645b062
No change in body of function due to if defined...
...
svn:revision:76674
svn:branch:trunk
svn:account:starseeker
2020-08-06 17:32:20 +00:00
Clifford Yapp
8aa4e2e0d4
Simplify the libdm build logic - we no longer need to supply the DM_* defines to MGED.
...
svn:revision:76673
svn:branch:trunk
svn:account:starseeker
2020-08-06 17:30:06 +00:00
Clifford Yapp
217e1a0b96
Move the extern declarations down into subheaders (except for the null dm)
...
svn:revision:76672
svn:branch:trunk
svn:account:starseeker
2020-08-06 17:18:58 +00:00
Clifford Yapp
9978f20d4a
Put DM specific definitions in the local headers
...
svn:revision:76671
svn:branch:trunk
svn:account:starseeker
2020-08-06 17:10:08 +00:00
Clifford Yapp
baceab0e10
Not sure why these are conditionalized? Just define them until it is clear why that won't work...
...
svn:revision:76670
svn:branch:trunk
svn:account:starseeker
2020-08-06 17:05:45 +00:00
Clifford Yapp
ad4857e26c
Key off of OpenGL. TODO: this feature belongs at a lower level...
...
svn:revision:76669
svn:branch:trunk
svn:account:starseeker
2020-08-06 16:49:39 +00:00
Clifford Yapp
33f40adea6
Remove the last use of DM_* ifdefs from MGED
...
svn:revision:76668
svn:branch:trunk
svn:account:starseeker
2020-08-06 16:34:01 +00:00
Clifford Yapp
0d0f9e6739
Have the caller provide a vls to dm_list_types, remove some more DM ifdefs
...
svn:revision:76667
svn:branch:trunk
svn:account:starseeker
2020-08-06 16:11:47 +00:00
Clifford Yapp
5bfe74b9c2
Make a stab at pushing down the DM-specific event functions into libdm. The dirty flag needs more attention - as MGED is using it, the scope appears to be all DMs rather than each individual instance, and there's no internal 'this DM is no longer dirty' reset post-draw at the moment (as one would expect for a DM scoped flag of this sort.) Need to better understand the relationship between DMP, stuct dm_list, and how it should or shouldn't relate to bview.
...
svn:revision:76666
svn:branch:trunk
svn:account:starseeker
2020-08-06 14:53:49 +00:00
Clifford Yapp
88e0c44fe5
This is probably obsolete now...
...
svn:revision:76665
svn:branch:trunk
svn:account:starseeker
2020-08-06 13:14:22 +00:00
Clifford Yapp
71a1619e27
No longer need these
...
svn:revision:76664
svn:branch:trunk
svn:account:starseeker
2020-08-06 13:10:31 +00:00
Daniel Rossberg
eb746089e6
we still need to distinguish between dynamic and static library MSVC builds, with ON_DLL_EXPORTS/ON_DLL_IMPORTS set or unset
...
svn:revision:76663
svn:branch:trunk
svn:account:d_rossberg
2020-08-06 08:23:51 +00:00
Daniel Rossberg
4b0b5cfc1b
lz4 is now embedded in librt
...
svn:revision:76662
svn:branch:trunk
svn:account:d_rossberg
2020-08-06 08:17:37 +00:00
Clifford Yapp
aa87c69581
Cherrypick r76655 from trunk
...
svn:revision:76656
svn:branch:RELEASE
svn:account:starseeker
2020-08-03 21:32:52 +00:00
Clifford Yapp
7d05d1ee8d
r76624 broke rt command in Archer on Windows. Switch to using a semantic enum to specifiy I/O channel in the API, rather than any sort of int.
...
svn:revision:76655
svn:branch:trunk
svn:account:starseeker
2020-08-03 21:17:01 +00:00
Clifford Yapp
3ac240768f
Fix libtclcad build on Windows
...
svn:revision:76653
svn:branch:trunk
svn:account:starseeker
2020-08-03 17:56:27 +00:00
Clifford Yapp
d40460194d
fix closedb+opendb behavior in RELEASE
...
svn:revision:76651
svn:branch:RELEASE
svn:account:starseeker
2020-08-03 01:04:39 +00:00
Clifford Yapp
7a3c7c0254
After closedb, need to set up a blank struct ged so commands will work.
...
svn:revision:76650
svn:branch:trunk
svn:account:starseeker
2020-08-03 00:58:13 +00:00
Clifford Yapp
4431812196
Now that we've gotten trunk into RELEASE so we can work on 7.32.0, merge the latest bioh changes to libged/libtclcad back into trunk. Next steps are likely to be more invasive, so this seems to be a reasonable sync point.
...
svn:revision:76646
svn:branch:trunk
svn:account:starseeker
2020-08-02 20:15:01 +00:00
Clifford Yapp
bcce9ea1ea
Merge from trunk through r76644
...
svn:revision:76645
svn:branch:RELEASE
svn:account:starseeker
2020-08-02 19:53:00 +00:00
Clifford Yapp
d1ce91cbd3
Don't unpack fdp unless we're non-NULL
...
svn:revision:76644
svn:branch:trunk
svn:account:starseeker
2020-08-02 19:51:14 +00:00
Clifford Yapp
132a41b607
Merge changes from trunk r74976 through r76640. This isn't really a merge - we're forcing RELEASE to match trunk as of r76640. A lot of trunk changes were cherrypicked into prior patch releases, so this represents a deliberate full sync to trunk in preparation for 7.32.0.
...
svn:revision:76642
svn:branch:RELEASE
svn:account:starseeker
2020-08-02 18:52:52 +00:00
Clifford Yapp
884aa14698
Fix NEWS release date
...
svn:revision:76640
svn:branch:trunk
svn:account:starseeker
2020-08-02 17:53:26 +00:00
Christopher Sean Morrison
23fe522ce2
unable to reproduce, tested multiple files and count was correct.
...
svn:revision:76629
svn:branch:trunk
svn:account:brlcad
2020-08-01 06:55:05 +00:00
Christopher Sean Morrison
958debb97b
idents cn longer bombs simply when run from a read-only path
...
svn:revision:76628
svn:branch:trunk
svn:account:brlcad
2020-08-01 06:47:28 +00:00
Christopher Sean Morrison
8dcbfafc72
fix idents crash when running from read-only dir
...
if the output file could not be created, an attempt to free an
unallocate and uninitialized ptbl would cause a bu_bomb. now its on
the stack, so nothing to free, and error messages are updated to be a
bit more helpful.
svn:revision:76627
svn:branch:trunk
svn:account:brlcad
2020-08-01 06:44:27 +00:00
Christopher Sean Morrison
2621519205
gosh this gets so convoluted to read. one concept per line. separate vars, arg validation, main logic, and return for readability.
...
svn:revision:76625
svn:branch:trunk
svn:account:brlcad
2020-08-01 04:24:18 +00:00
Christopher Sean Morrison
cf41190757
not safe to assume 0/1/2 actually correspond with stdin/stdout/stderr
...
go through the std vars as they are more likley to remain semantically
aligned to a corresponding in/out/err descriptor even if
closed/reopened. this API still assumes too much, but there's not a
good alternative that doesn't entail significant rework at this point.
svn:revision:76624
svn:branch:trunk
svn:account:brlcad
2020-08-01 04:18:09 +00:00
Christopher Sean Morrison
dea172cf6c
dead code, probably not supposed to be here
...
svn:revision:76623
svn:branch:trunk
svn:account:brlcad
2020-08-01 04:03:46 +00:00
Christopher Sean Morrison
85249b4ba2
bu_process_fd() can return null, must check it
...
svn:revision:76622
svn:branch:trunk
svn:account:brlcad
2020-08-01 04:01:35 +00:00
Christopher Sean Morrison
1cabf78ad2
document a rather fugly idents bug recently reported
...
svn:revision:76615
svn:branch:trunk
svn:account:brlcad
2020-07-31 19:58:34 +00:00
Christopher Sean Morrison
490e800cc1
rename from rt_cmdtab to rt_do_tab.. tired of hunting for it.
...
svn:revision:76605
svn:branch:trunk
svn:account:brlcad
2020-07-30 21:37:40 +00:00
Christopher Sean Morrison
34cf7eb834
debugging null ptble error during idents command. update formatting
...
svn:revision:76589
svn:branch:trunk
svn:account:brlcad
2020-07-30 06:12:21 +00:00
Clifford Yapp
7afca78f04
Don't remove the .asc files - they're inputs
...
svn:revision:76587
svn:branch:trunk
svn:account:starseeker
2020-07-30 00:52:00 +00:00
Clifford Yapp
10bd7a8595
Quote input paths for odd pathname distcheck
...
svn:revision:76585
svn:branch:trunk
svn:account:starseeker
2020-07-29 20:37:39 +00:00
Clifford Yapp
977ea727c8
Cherrypick r76577 from bioh - open+reopen. Was seeing an issue starting up Archer with a supplied .g file, this clears it.
...
svn:revision:76578
svn:branch:trunk
svn:account:starseeker
2020-07-29 18:31:02 +00:00
Clifford Yapp
c9fe21154b
define both reopen and open as commands, so we have a command matching the filename
...
svn:revision:76577
svn:branch:bioh
svn:account:starseeker
2020-07-29 18:26:52 +00:00
Clifford Yapp
34654aeedc
Shift the view name down to bview
...
svn:revision:76576
svn:branch:bioh
svn:account:starseeker
2020-07-29 17:39:26 +00:00
Clifford Yapp
398c4a52cf
Move the hidden flag down to bview
...
svn:revision:76575
svn:branch:bioh
svn:account:starseeker
2020-07-29 17:29:12 +00:00
Clifford Yapp
104c33ebf2
No longer using vo_callback/vo_observers
...
svn:revision:76574
svn:branch:bioh
svn:account:starseeker
2020-07-29 17:19:11 +00:00
Clifford Yapp
4428831eeb
Start trying to get an overall view of what callbacks we have defined
...
svn:revision:76573
svn:branch:bioh
svn:account:starseeker
2020-07-29 17:03:44 +00:00
Clifford Yapp
a47a5277dd
Tweak flags definition
...
svn:revision:76572
svn:branch:bioh
svn:account:starseeker
2020-07-29 15:38:47 +00:00
Clifford Yapp
99e236b56d
group ged callbacks
...
svn:revision:76571
svn:branch:bioh
svn:account:starseeker
2020-07-29 15:38:15 +00:00
Clifford Yapp
8512d418c6
Per ged/defines.h, with the exception of GED_OK we're actually supposed to be checking fore these returns via masking, not with an equality test. Fix.
...
svn:revision:76570
svn:branch:bioh
svn:account:starseeker
2020-07-29 14:43:33 +00:00
Clifford Yapp
206b9dbd0c
Merge changes from trunk through r76568
...
svn:revision:76569
svn:branch:bioh
svn:account:starseeker
2020-07-29 14:16:57 +00:00
Clifford Yapp
b7c6ffce9a
Rename the commit rebuild options - this mechanism is not actually CVS specific, and may be useful somewhere down the road even post-conversion.
...
svn:revision:76568
svn:branch:trunk
svn:account:starseeker
2020-07-29 14:07:05 +00:00
Clifford Yapp
cfee248907
Flesh out the notes about subsequent steps.
...
svn:revision:76567
svn:branch:trunk
svn:account:starseeker
2020-07-29 13:40:11 +00:00
Clifford Yapp
dc1162cb81
Don't bail at this point, keep going
...
svn:revision:76566
svn:branch:trunk
svn:account:starseeker
2020-07-29 13:12:39 +00:00
Clifford Yapp
501490d85a
Make sure cvs lines are also separated by a new line from commit msg
...
svn:revision:76565
svn:branch:trunk
svn:account:starseeker
2020-07-29 02:33:11 +00:00
Clifford Yapp
5102a86b73
Improve cvs output, use trees subdir for fi files (there may be a lot of them...)
...
svn:revision:76564
svn:branch:trunk
svn:account:starseeker
2020-07-29 00:48:02 +00:00
Clifford Yapp
9905f2019c
More notes on the increasingly complicated post-processing steps.
...
svn:revision:76563
svn:branch:trunk
svn:account:starseeker
2020-07-28 19:51:48 +00:00
Clifford Yapp
3a1a6de723
Add a note about what NOT to do when using git fast-export
...
svn:revision:76562
svn:branch:trunk
svn:account:starseeker
2020-07-28 19:40:02 +00:00
Clifford Yapp
f4d184b574
First cut at incorporating the CVS generated information into commit messages.
...
svn:revision:76561
svn:branch:trunk
svn:account:starseeker
2020-07-28 19:39:32 +00:00
Clifford Yapp
1629cfcd36
Generate a SHA1 based map as well, in case a situation arises where we can use original-oids to do the mapping.
...
svn:revision:76560
svn:branch:trunk
svn:account:starseeker
2020-07-28 15:30:19 +00:00
Clifford Yapp
d737604e3b
Use the branch info pre-processed from the git repository. If that process arrived at a wrong answer the last resort might be to iterate through the git branches looking for one that matches, if they are all different it would probably reach the point of needing human judgement.
...
svn:revision:76559
svn:branch:trunk
svn:account:starseeker
2020-07-28 15:23:15 +00:00
Clifford Yapp
3f44f2e124
For commits on multiple non-master git branches, assign them to the branch they are on with the oldest final commit. This may mis-assign some older commits that were actually made on another branch and then merged, but we seem to be hitting the limit of what Git can tell us. A few of these might show up as failed CVS checkouts in a validation attempt, but I'm not sure how else we would spot them.
...
svn:revision:76558
svn:branch:trunk
svn:account:starseeker
2020-07-28 14:58:48 +00:00
Clifford Yapp
8f784988e2
Read and analyze the maps put out by the scripts - bad news is that the keys aren't unique, which means we've got commits in the chain history of more than one branch despite filtering out any commits in the master chain. Hmm...
...
svn:revision:76557
svn:branch:trunk
svn:account:starseeker
2020-07-28 13:29:14 +00:00
Clifford Yapp
11ee1cfea7
Note script for generating the key->sha1 map
...
svn:revision:76556
svn:branch:trunk
svn:account:starseeker
2020-07-28 12:41:18 +00:00
Clifford Yapp
7c8e222547
master-UNNAMED-BRANCH isn't a valid CVS branch, skip.
...
svn:revision:76555
svn:branch:trunk
svn:account:starseeker
2020-07-28 12:14:57 +00:00
Clifford Yapp
53789575e1
Extract CVS commit info from cvs-fast-export
...
This script uses a cvs-fast-export conversion of the original CVS
repository without an authormap in order to extract the original
association between commit ids and commits. Because SHA1s won't
map for the main conversion, use a combination of message SHA1
and timestamp to uniquely identify the commits. When we move to
map this information into the final commit messages, we will
need to generate a similar map between this information and the
SHA1 values in the repowork input repository. Reading both maps
will then serve as a key connecting new SHA1 values to the old
CVS data.
In addition, we also used the --first-parent option of rev-list
to follow the actual branch chains for the CVS conversions -
these will be recorded as cvs:branch: entries. Anything not
on a branch will be deemed to be cvs:branch:trunk commits.
svn:revision:76554
svn:branch:trunk
svn:account:starseeker
2020-07-28 11:32:04 +00:00
Clifford Yapp
7bd7e3a448
Check branch string for invalid chars before attempting a CVS checkout.
...
svn:revision:76553
svn:branch:trunk
svn:account:starseeker
2020-07-28 10:01:44 +00:00
Christopher Sean Morrison
61ed137aa1
port dmod and imod
...
svn:revision:76552
svn:branch:trunk
svn:account:brlcad
2020-07-28 08:10:45 +00:00
Christopher Sean Morrison
13ea76fedc
open pipes binary too
...
svn:revision:76551
svn:branch:trunk
svn:account:brlcad
2020-07-28 08:10:24 +00:00
Christopher Sean Morrison
de1b9c381f
it's a binary reader, must open file in binary road
...
svn:revision:76550
svn:branch:trunk
svn:account:brlcad
2020-07-28 08:10:00 +00:00
Christopher Sean Morrison
dd28da365b
plot files are binary
...
svn:revision:76549
svn:branch:trunk
svn:account:brlcad
2020-07-28 07:37:26 +00:00
Christopher Sean Morrison
d822d4e778
use argv0
...
svn:revision:76548
svn:branch:trunk
svn:account:brlcad
2020-07-28 06:24:10 +00:00
Christopher Sean Morrison
6f736e35c7
only make input binary, output asc in text mode (other tools handle both)
...
svn:revision:76547
svn:branch:trunk
svn:account:brlcad
2020-07-28 06:23:56 +00:00
Christopher Sean Morrison
dbe3282e0e
use fileno instead of assuming
...
svn:revision:76546
svn:branch:trunk
svn:account:brlcad
2020-07-28 06:20:40 +00:00
Christopher Sean Morrison
868ac73b96
needs binary mode for windows
...
svn:revision:76545
svn:branch:trunk
svn:account:brlcad
2020-07-28 05:47:55 +00:00
Christopher Sean Morrison
6f13605a21
need the fd, not fp
...
svn:revision:76544
svn:branch:trunk
svn:account:brlcad
2020-07-28 05:43:26 +00:00
Christopher Sean Morrison
441f140983
more binary. get dpix-pix working on windows.
...
svn:revision:76543
svn:branch:trunk
svn:account:brlcad
2020-07-28 04:59:37 +00:00
Christopher Sean Morrison
9883d764d8
if we reopen the input, make sure it stays binary
...
svn:revision:76542
svn:branch:trunk
svn:account:brlcad
2020-07-28 04:55:28 +00:00
Christopher Sean Morrison
a7256d2698
obj parser is set up to already handle either mode, so make them consistently use binary
...
svn:revision:76541
svn:branch:trunk
svn:account:brlcad
2020-07-28 04:03:18 +00:00
Christopher Sean Morrison
457f597524
also break on carriage returns just in case we're fed a windows vdeck input. this should make them seem like double-newlines.
...
svn:revision:76540
svn:branch:trunk
svn:account:brlcad
2020-07-28 02:15:47 +00:00
Clifford Yapp
1a517acf0d
fix option
...
svn:revision:76539
svn:branch:trunk
svn:account:starseeker
2020-07-28 01:35:51 +00:00
Clifford Yapp
a280e2924d
Put the branch query in with the slow portion of the code - diff checking - so we can iterate faster.
...
svn:revision:76538
svn:branch:trunk
svn:account:starseeker
2020-07-28 01:32:07 +00:00
Clifford Yapp
7a6eedf837
May have some of the CVS lines wrong somehow? Occasionally getting empty CVS checkouts, which is probably not what we want... don't generate override SHA1 files in those cases.
...
svn:revision:76537
svn:branch:trunk
svn:account:starseeker
2020-07-27 23:39:52 +00:00
Christopher Sean Morrison
010fbfe965
more single expression per line simplifications for readability and consistency
...
svn:revision:76536
svn:branch:trunk
svn:account:brlcad
2020-07-27 20:48:06 +00:00
Christopher Sean Morrison
a76a651c06
ws cleanup, operator *= reduction
...
svn:revision:76535
svn:branch:trunk
svn:account:brlcad
2020-07-27 20:46:49 +00:00
Christopher Sean Morrison
40195b5dd7
ugh, terrible readability
...
svn:revision:76534
svn:branch:trunk
svn:account:brlcad
2020-07-27 20:28:31 +00:00
Christopher Sean Morrison
33746a1f93
general ws cleanup, some reformatting for consistency
...
svn:revision:76533
svn:branch:trunk
svn:account:brlcad
2020-07-27 20:11:12 +00:00
Clifford Yapp
63637973db
Check, then open
...
svn:revision:76532
svn:branch:trunk
svn:account:starseeker
2020-07-27 20:07:58 +00:00
Christopher Sean Morrison
3635656abb
update corresponding usage mentions
...
svn:revision:76531
svn:branch:trunk
svn:account:brlcad
2020-07-27 19:50:55 +00:00
Christopher Sean Morrison
cc66132901
lowercase for sanity on case sensitive filesystems
...
svn:revision:76530
svn:branch:trunk
svn:account:brlcad
2020-07-27 19:48:54 +00:00
Christopher Sean Morrison
03cc10e3f0
more one expression per line where embedding isn't required
...
svn:revision:76529
svn:branch:trunk
svn:account:brlcad
2020-07-27 19:41:45 +00:00
Christopher Sean Morrison
49e3b07f90
excellent example of why one expression per line is a best practice. the if statement expression gets lost like an afterthought.
...
svn:revision:76528
svn:branch:trunk
svn:account:brlcad
2020-07-27 19:30:50 +00:00
Clifford Yapp
261f6b7317
This may be long running - make a stab at a way to resume partial progress
...
svn:revision:76527
svn:branch:trunk
svn:account:starseeker
2020-07-27 19:18:59 +00:00
Christopher Sean Morrison
cdd5ff8947
brep plotting needs to be binary for windows too
...
svn:revision:76526
svn:branch:trunk
svn:account:brlcad
2020-07-27 18:59:05 +00:00
Christopher Sean Morrison
0dd059863f
one expression per line where embedding isn't required
...
svn:revision:76525
svn:branch:trunk
svn:account:brlcad
2020-07-27 18:57:45 +00:00
Christopher Sean Morrison
8a1929142a
plot data is binary, open file correctly on windows.
...
svn:revision:76524
svn:branch:trunk
svn:account:brlcad
2020-07-27 18:45:18 +00:00
Clifford Yapp
572b16a108
git branch -a --contains won't always output just branch names - see if we can filter out the lines we don't want
...
svn:revision:76523
svn:branch:trunk
svn:account:starseeker
2020-07-27 18:35:13 +00:00
Clifford Yapp
f42d830ad8
Wasn't getting CVS branches properly when there isn't an SVN branch available... try asking Git, although this is likely problematic since Git commits don't have a notion of origination branch...
...
svn:revision:76522
svn:branch:trunk
svn:account:starseeker
2020-07-27 18:12:02 +00:00
Clifford Yapp
7c1002e590
Add some examples
...
svn:revision:76521
svn:branch:trunk
svn:account:starseeker
2020-07-27 15:18:11 +00:00
Clifford Yapp
37058c9697
verify needs the sphflake file
...
svn:revision:76520
svn:branch:trunk
svn:account:starseeker
2020-07-27 15:09:36 +00:00
Clifford Yapp
b34b6dbc32
A quick test suggests we might be able to avoid writing blob.fi files - would be nice if true, since it makes things more compact and faster
...
svn:revision:76519
svn:branch:trunk
svn:account:starseeker
2020-07-27 15:04:10 +00:00
Clifford Yapp
be71af5ff3
Make verify a bit more self contained
...
svn:revision:76518
svn:branch:trunk
svn:account:starseeker
2020-07-27 14:50:08 +00:00
Clifford Yapp
1237abe9a6
Weird pathnames caused problems with the git hash calculating - see if we can just do it directly and avoid the pathname hassle...
...
svn:revision:76517
svn:branch:trunk
svn:account:starseeker
2020-07-27 12:47:29 +00:00
Clifford Yapp
2a3aae0918
Demonstrate (for N=1) ability to replace contents of a CVS commit with contents generated from a checkout.
...
svn:revision:76516
svn:branch:trunk
svn:account:starseeker
2020-07-27 01:55:14 +00:00
Clifford Yapp
24cbca2fe8
Start trying to incorporate CVS generated updates into the repowork flow
...
svn:revision:76515
svn:branch:trunk
svn:account:starseeker
2020-07-27 01:12:45 +00:00
Clifford Yapp
933b2d1357
List the problem sha1s for which we are generating outputs in a file.
...
svn:revision:76514
svn:branch:trunk
svn:account:starseeker
2020-07-26 23:29:23 +00:00
Clifford Yapp
2514f78775
See if we can teach verify to go ahead and write out the necessary pieces if it finds a CVS commit that doesn't match.
...
svn:revision:76513
svn:branch:trunk
svn:account:starseeker
2020-07-26 23:12:50 +00:00
Clifford Yapp
a968fa25ae
Checkpoint some work trying to set up to use CVS checkouts to rebuild individual 'bad' CVS commits. In principle the idea is similar to the svnfexport fallback which does a deleteall + full tree commit when the delta processing doesn't produce a matching checkout, but this time we are trying to do it without requiring a 2 week rebuild... repowork should allow for selective commit redefinition if we do it right. Will also have to produce blobs and tree states from the CVS checkouts... ick.
...
svn:revision:76512
svn:branch:trunk
svn:account:starseeker
2020-07-26 21:59:41 +00:00
Clifford Yapp
3b3021ac4b
Skip note commits, improve CVS only checking
...
svn:revision:76511
svn:branch:trunk
svn:account:starseeker
2020-07-26 20:22:43 +00:00
Clifford Yapp
672ade5c12
Taking too long to debug - rework for much faster setup.
...
svn:revision:76510
svn:branch:trunk
svn:account:starseeker
2020-07-26 19:37:18 +00:00
Clifford Yapp
4f2b136925
Don't assume svn error - we may not be testing for it
...
svn:revision:76509
svn:branch:trunk
svn:account:starseeker
2020-07-26 18:10:05 +00:00
Clifford Yapp
1d099b79ff
Print sha1 when we get a difference
...
svn:revision:76508
svn:branch:trunk
svn:account:starseeker
2020-07-26 18:07:27 +00:00
Clifford Yapp
e1b964b510
add a couple more options to verify
...
svn:revision:76507
svn:branch:trunk
svn:account:starseeker
2020-07-26 18:01:30 +00:00
Clifford Yapp
2c5b66d28b
Merge changes from trunk through r76505
...
svn:revision:76506
svn:branch:bioh
svn:account:starseeker
2020-07-26 02:18:58 +00:00
Clifford Yapp
887d34b464
remove redundant header
...
svn:revision:76505
svn:branch:trunk
svn:account:starseeker
2020-07-26 01:16:01 +00:00
Clifford Yapp
0e486a27d3
If I keep going down this rabbit hole I'm going to encounter Professor Lidenbrock... teach the verification code how to check the CVS repository in addition to the SVN repository.
...
svn:revision:76504
svn:branch:trunk
svn:account:starseeker
2020-07-25 22:59:19 +00:00
Clifford Yapp
08fea08aad
give verify a subdirectory
...
svn:revision:76503
svn:branch:trunk
svn:account:starseeker
2020-07-25 21:21:14 +00:00
Clifford Yapp
c7d73eff02
need bio.h here
...
svn:revision:76502
svn:branch:trunk
svn:account:starseeker
2020-07-25 21:00:36 +00:00
Clifford Yapp
019d40a64b
Want this process ordered by commit number, for easier resuming
...
svn:revision:76501
svn:branch:trunk
svn:account:starseeker
2020-07-25 18:59:50 +00:00
Clifford Yapp
2ee8f75c82
Needs a double-check, and testing on Windows.
...
svn:revision:76500
svn:branch:trunk
svn:account:starseeker
2020-07-25 17:45:40 +00:00
Clifford Yapp
6eae5bd81b
Put stdin and stdout in binary mode up front for utilities. This won't matter on most platforms, but should help on Windows unless we've got an implicit assumption of O_TEXT mode sneaking in there somewhere.
...
svn:revision:76499
svn:branch:trunk
svn:account:starseeker
2020-07-25 17:40:03 +00:00
Clifford Yapp
a1c47a6e83
Add binary flags for more fopen calls
...
svn:revision:76498
svn:branch:trunk
svn:account:starseeker
2020-07-25 16:40:42 +00:00
Clifford Yapp
82f6a16963
Add binary 'b' flag to more fopen calls
...
svn:revision:76497
svn:branch:trunk
svn:account:starseeker
2020-07-25 16:27:23 +00:00
Clifford Yapp
4ba2420c2f
Add binary 'b' flag to some fopen calls
...
svn:revision:76496
svn:branch:trunk
svn:account:starseeker
2020-07-25 16:25:45 +00:00
Clifford Yapp
743aa4c59e
Add option to skip newer commits, don't try to verify branch delete commits (svn checkout won't work).
...
svn:revision:76495
svn:branch:trunk
svn:account:starseeker
2020-07-25 16:08:46 +00:00
Clifford Yapp
a1807a399e
terra.dsp needs to be regarded as a binary - we've had trouble with that in the past. Make a note.
...
svn:revision:76494
svn:branch:trunk
svn:account:starseeker
2020-07-25 14:47:03 +00:00
Clifford Yapp
66903221b2
Tweak the svn branch for dmtogl
...
svn:revision:76493
svn:branch:trunk
svn:account:starseeker
2020-07-25 14:20:15 +00:00
Clifford Yapp
cb697dcbb4
Add a utility intended to use the svn metadata in the git comments to do a svn vs git comparison - in a sense, this is the mirror image of what the original conversion was doing. Will be slow to run, but in princile can diff every post-CVS commit. Pre CVS is more problematic - there's not a guarantee things will line up, as witnessed by the need for a sync commit between the CVS and SVN histories, and the checkout pattern will change once we get old enough. Can be done if someone wants to badly enough, but the guarantees of matching aren't really there due to cvs2svn vs cvs2git differences so the utility is a bit iffy.
...
svn:revision:76492
svn:branch:trunk
svn:account:starseeker
2020-07-25 14:17:54 +00:00
Clifford Yapp
78f5032ba9
Whoops - write svn style name for trunk instead of git name
...
svn:revision:76491
svn:branch:trunk
svn:account:starseeker
2020-07-25 13:09:44 +00:00
Clifford Yapp
2ae2e93c2b
Match the notes formatting to that of the main BRL-CAD conversion so we can also post-process these repositories to remove the notes.
...
svn:revision:76490
svn:branch:trunk
svn:account:starseeker
2020-07-25 11:11:21 +00:00
Clifford Yapp
efc7aafdfa
Pull latest svn-fast-export changes from upstream
...
svn:revision:76489
svn:branch:trunk
svn:account:starseeker
2020-07-25 10:38:15 +00:00
Clifford Yapp
85e21caa08
Remove obsolete account-map file
...
svn:revision:76488
svn:branch:trunk
svn:account:starseeker
2020-07-25 10:21:40 +00:00
Clifford Yapp
8a8c484296
Try building this with Qt5
...
svn:revision:76487
svn:branch:trunk
svn:account:starseeker
2020-07-25 10:12:09 +00:00
Christopher Sean Morrison
cf221db2f8
copy-paste typo
...
svn:revision:76486
svn:branch:trunk
svn:account:brlcad
2020-07-25 06:58:48 +00:00
Christopher Sean Morrison
ecd86f2eef
fb utilities should be done
...
svn:revision:76485
svn:branch:trunk
svn:account:brlcad
2020-07-25 05:14:17 +00:00
Christopher Sean Morrison
9e23c957a6
note that all fb tools should now be fixed on windows when using redirected input/output as well as the cv command
...
svn:revision:76484
svn:branch:trunk
svn:account:brlcad
2020-07-25 05:12:26 +00:00
Christopher Sean Morrison
45ab2cc9fe
fix file mode on bw-fb, fb-bw, fb-pix, fb-png, gif-fb, gif2fb, pix-fb, plot3-fb, and png-fb for windows when reading/writing from redirected input/output respecitvely
...
svn:revision:76483
svn:branch:trunk
svn:account:brlcad
2020-07-25 05:11:00 +00:00
Christopher Sean Morrison
3dc95c12bd
fixed bw-fb and cv so they work on windows
...
svn:revision:76482
svn:branch:trunk
svn:account:brlcad
2020-07-25 04:55:34 +00:00
Christopher Sean Morrison
9bafb1d2f5
make cv work in binary on windows
...
svn:revision:76481
svn:branch:trunk
svn:account:brlcad
2020-07-25 04:55:05 +00:00
Christopher Sean Morrison
c9a4ad1635
don't specify more than binary mode since it can mismatch
...
svn:revision:76480
svn:branch:trunk
svn:account:brlcad
2020-07-25 04:54:37 +00:00
Christopher Sean Morrison
a45eddf9f9
bw-fb needs to specify binary for windows
...
svn:revision:76479
svn:branch:trunk
svn:account:brlcad
2020-07-25 04:50:43 +00:00
Christopher Sean Morrison
8a34d28dd6
update bo docs to include & explain the 'u' type. include a dsp example too.
...
svn:revision:76478
svn:branch:trunk
svn:account:brlcad
2020-07-25 04:44:50 +00:00
Clifford Yapp
5dd549aab5
Go with svn nomenclature account' for output
...
svn:revision:76477
svn:branch:trunk
svn:account:starseeker
2020-07-25 01:46:30 +00:00
Clifford Yapp
99aed5df05
Now that we have a git version to try distcheck on... couple fixes to the repo check.
...
svn:revision:76476
svn:branch:trunk
svn:account:starseeker
2020-07-24 23:53:38 +00:00
Clifford Yapp
f1bcaaea0e
Sean correctly noted that using 'author' for this label has implications which are not necessarily accurate - there are many instaces where the committer is applying a patch authored by someone else. Switch to git's terminology 'committer' (git in fact has entries for both author and committer.)
...
svn:revision:76473
svn:branch:trunk
svn:account:starseeker
2020-07-24 22:02:40 +00:00
Clifford Yapp
0dd4e6e062
Update ChangLog and release date in NEWS
...
svn:revision:76472
svn:branch:RELEASE
svn:account:starseeker
2020-07-24 20:15:56 +00:00
Clifford Yapp
f9308750c8
Bump version number
...
svn:revision:76471
svn:branch:RELEASE
svn:account:starseeker
2020-07-24 20:14:35 +00:00
Clifford Yapp
74db998015
Reorganize, note how to specify SDK
...
svn:revision:76470
svn:branch:trunk
svn:account:starseeker
2020-07-24 19:51:31 +00:00
Clifford Yapp
24b13f4b7d
Older version of FindGDAL isn't properly detecting - try newer one.
...
svn:revision:76469
svn:branch:RELEASE
svn:account:starseeker
2020-07-24 15:59:27 +00:00
Clifford Yapp
e440ce09c5
repository check needs to ignore repowork as well
...
svn:revision:76467
svn:branch:trunk
svn:account:starseeker
2020-07-24 14:40:00 +00:00
Clifford Yapp
5e996d6106
Merge gedplugins branch into trunk.
...
svn:revision:76466
svn:branch:trunk
svn:account:starseeker
2020-07-24 14:39:33 +00:00
Clifford Yapp
2b4963e4d9
Making scripts better reflect conversion process
...
If at all avoidable, we don't want to have to manually update the custom commit
information again now that repowork allows for post-conversion email
manipulation. However, we also want account-map to be accurate. The secondary
repositories in the SVN repository (rt3, geomcore, etc.) will eventually be
converted with svn-fast-export - they do not use the custom process developed
for the main history. Consequently, they will need a correct account-map file
with the most current addresses.
To handle this, we specifically stash the versions of the maps that match the
custom commits currently checked in and update the conversion scripts to reference
them specifically. Also stash the email mapping file used by repowork, so we
can make sure we're capturing all updates made between the start of the conversion
and the final post-processing.
svn:revision:76465
svn:branch:trunk
svn:account:starseeker
2020-07-24 13:46:02 +00:00
Clifford Yapp
c2081eeef1
Doing this manually right now, but make the scripts look more like what the final process is actually turning out to be.
...
svn:revision:76464
svn:branch:trunk
svn:account:starseeker
2020-07-24 12:58:09 +00:00
Clifford Yapp
ba833fd55d
Need better check for original-oid information
...
svn:revision:76463
svn:branch:trunk
svn:account:starseeker
2020-07-24 12:48:52 +00:00
Clifford Yapp
979e827c40
Ah - a fast-import generated without original-oid information won't work if we're dealing with notes - check and bail instead of proceeding.
...
svn:revision:76462
svn:branch:trunk
svn:account:starseeker
2020-07-24 12:22:54 +00:00
Christopher Sean Morrison
ff4aef4a9c
merge release branch from r76000:76451 back to trunk. NEWS should typically reflect identical on RELEASE and STABLE
...
svn:revision:76461
svn:branch:trunk
svn:account:brlcad
2020-07-24 05:24:27 +00:00
Christopher Sean Morrison
a2a4bfe9f7
document the in command bug fixes with DB5_MINORTYPE_BRLCAD not getting set. appears to have broken four of the newer object types.
...
svn:revision:76460
svn:branch:trunk
svn:account:brlcad
2020-07-24 04:55:34 +00:00
Christopher Sean Morrison
e3c321dff6
superell, joints, and script objects were also busted with DB5_MAJORTYPE_BRLCAD not being set.
...
svn:revision:76459
svn:branch:trunk
svn:account:brlcad
2020-07-24 04:29:43 +00:00
Clifford Yapp
46f212b081
Cherrypick trunk commit r75729 to try and resolve the *seek* function issues on Windows.
...
svn:revision:76458
svn:branch:RELEASE
svn:account:starseeker
2020-07-23 23:07:42 +00:00
Clifford Yapp
293f90a965
Make wrap width a user option
...
svn:revision:76457
svn:branch:trunk
svn:account:starseeker
2020-07-23 22:37:09 +00:00
Clifford Yapp
47e3815027
Improve commit line wrapping, assign svn authors as well to commit metadata given map
...
svn:revision:76456
svn:branch:trunk
svn:account:starseeker
2020-07-23 22:24:52 +00:00
Clifford Yapp
76c3568104
Cherrypick r75053 - avoid mixing open and C++ for Windows
...
svn:revision:76455
svn:branch:RELEASE
svn:account:starseeker
2020-07-23 22:15:12 +00:00
Clifford Yapp
414dd77e5d
ignore repowork for license check
...
svn:revision:76454
svn:branch:trunk
svn:account:starseeker
2020-07-23 22:01:22 +00:00
Christopher Sean Morrison
4f324621d8
per user request, always write out the assembly name to a CREO_NAME attribute. this makes it easier to script and inspect, and it informs when the object name is later changed in BRL-CAD.
...
svn:revision:76453
svn:branch:trunk
svn:account:brlcad
2020-07-23 21:38:36 +00:00
Clifford Yapp
b5078f78f2
Prune down output to a space separated number/name pair
...
svn:revision:76452
svn:branch:trunk
svn:account:starseeker
2020-07-23 20:26:49 +00:00
Clifford Yapp
bb540008d5
Cherrypick r75565 and r75566 - fix for bw-png on Windows
...
svn:revision:76451
svn:branch:RELEASE
svn:account:starseeker
2020-07-23 20:04:19 +00:00
Clifford Yapp
eca984f69c
Cherrypick r75811 improving the failure message of the 3dm-g converter.
...
svn:revision:76450
svn:branch:RELEASE
svn:account:starseeker
2020-07-23 19:58:35 +00:00
Clifford Yapp
78e7aa44f0
Backport trunk fix r76443 for missing idb_major_type assignment in "in" command for datums - fixes inability to generate datums that manfiested in r71953 (post 7.26 series releases).
...
svn:revision:76449
svn:branch:RELEASE
svn:account:starseeker
2020-07-23 19:45:21 +00:00
Clifford Yapp
6316c1ca4a
I thought this was going to be too tricky to be worthwhile, but repowork may offer enough flexibility for us to make use of it - make a note on how to get a listing that maps between SVN revision numbers and author ids.
...
svn:revision:76448
svn:branch:trunk
svn:account:starseeker
2020-07-23 19:05:17 +00:00
Clifford Yapp
7becbab82e
Stash the repowork tool being used to post-process git fast-import files. Unlike the rest of the repoconv code this has potential use down the road, so give it its own directory.
...
svn:revision:76444
svn:branch:trunk
svn:account:starseeker
2020-07-23 14:15:54 +00:00
Christopher Sean Morrison
29808146b4
majortype is missing??
...
svn:revision:76443
svn:branch:trunk
svn:account:brlcad
2020-07-23 13:08:27 +00:00
Christopher Sean Morrison
abde1ec2dc
woot, finally got ahold of phil! 692 more accounted for.
...
svn:revision:76442
svn:branch:trunk
svn:account:brlcad
2020-07-23 03:50:53 +00:00
Christopher Sean Morrison
d72f75e2ab
remove obsolete arl.army.mil e-mails and update the activity flags
...
svn:revision:76441
svn:branch:trunk
svn:account:brlcad
2020-07-23 03:09:55 +00:00
Christopher Sean Morrison
310d976f03
sync with the other one
...
svn:revision:76440
svn:branch:trunk
svn:account:brlcad
2020-07-23 02:44:38 +00:00
Christopher Sean Morrison
d3407eb2e0
grosh confirmed he would like his llnl address be used
...
svn:revision:76439
svn:branch:trunk
svn:account:brlcad
2020-07-23 02:41:15 +00:00
Clifford Yapp
26c7ca6508
Pull changes from trunk - contents should now match trunk branch at r76385
...
svn:revision:76386
svn:branch:bioh
svn:account:starseeker
2020-07-21 13:06:35 +00:00
Clifford Yapp
25611737b7
Revert plugin changes in bioh - that work will now proceed in the gedplugins branch
...
svn:revision:76385
svn:branch:bioh
svn:account:starseeker
2020-07-21 13:01:44 +00:00
Clifford Yapp
af0250a589
Add some notes
...
svn:revision:76382
svn:branch:bioh
svn:account:starseeker
2020-07-21 00:08:08 +00:00
Clifford Yapp
3d3ec3d66a
to_view_func_plus I think translates as do the callback and update the view.
...
svn:revision:76381
svn:branch:bioh
svn:account:starseeker
2020-07-20 23:45:39 +00:00
Clifford Yapp
d01a593719
Looking at libtclcad, there are a number of possible desired cmd behaviors (not counting option parsing changing them, which futher increases complexity.) See if we can use bit flags to make this more managable.
...
svn:revision:76380
svn:branch:bioh
svn:account:starseeker
2020-07-20 23:34:23 +00:00
Clifford Yapp
6ff8434e61
Building on the libbu/libdm setup, experiment with turning the zoom command into a loadable plugin that can be run with a ged_exec call. Gets as far as successfully loading and executing in gsh.
...
svn:revision:76378
svn:branch:bioh
svn:account:starseeker
2020-07-20 21:40:51 +00:00
Clifford Yapp
a20b076073
Merge changes from trunk r71095 through r76151
...
svn:revision:76153
svn:branch:brep-debug
svn:account:starseeker
2020-06-18 15:37:23 +00:00
Clifford Yapp
021ac0456b
Update release date
...
svn:revision:75757
svn:branch:RELEASE
svn:account:starseeker
2020-05-08 14:22:16 +00:00
Clifford Yapp
f00dd42be0
Update Changelog
...
svn:revision:75756
svn:branch:RELEASE
svn:account:starseeker
2020-05-08 14:21:42 +00:00
Clifford Yapp
47a0bd7bb8
libregex doesn't appear to use lseek and it's making VS2019 unhappy to redefine it.
...
svn:revision:75697
svn:branch:RELEASE
svn:account:starseeker
2020-05-05 18:39:57 +00:00
Clifford Yapp
72dad385b7
don't need stdio.h here
...
svn:revision:75687
svn:branch:RELEASE
svn:account:starseeker
2020-05-04 17:35:45 +00:00
Christopher Sean Morrison
a3064251ee
clarify
...
svn:revision:72643
svn:branch:brep-debug
svn:account:brlcad
2019-03-15 20:34:00 +00:00